-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from makeark/build-dists
Distributables
- Loading branch information
Showing
11 changed files
with
173 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run format:prettier:diff | ||
npm run format:diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# .prettierignore | ||
.gitignore | ||
.gitattributes | ||
.circleci | ||
*.md | ||
|
||
build | ||
release | ||
|
||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,25 +5,27 @@ | |
"private": true, | ||
"homepage": "./", | ||
"main": "./build/renderer/electron/main.js", | ||
"repository": "github:makeark/ark", | ||
"scripts": { | ||
"start": "BROWSER=none ARK_ENTRY_URL=http://localhost:5173 concurrently \"vite\" \"sleep 2 && electron .\"", | ||
"dev:electron": "tsc --build electron/tsconfig.json -w", | ||
"dev:react": "vite dev", | ||
"format:prettier": "prettier -w .", | ||
"format:prettier:diff": "prettier --check --ignore-unknown $(git diff --staged --name-only --diff-filter=d origin/master) package.json", | ||
"format": "prettier -w .", | ||
"format:diff": "prettier --check --ignore-unknown $(git diff --staged --name-only --diff-filter=d origin/master) package.json", | ||
"build:renderer": "vite build", | ||
"build:main": "tsc --build electron/tsconfig.json", | ||
"build": "rimraf build && npm run build:renderer && npm run build:main", | ||
"pack": "electron-builder --dir", | ||
"dist:app_image": "electron-builder --linux", | ||
"dist:deb": "electron-builder --linux deb", | ||
"dist:macos_dmg": "electron-builder --macos", | ||
"dist:macos_deb": "echo 'Not supported for now'", | ||
"dist:linux": "electron-builder --linux", | ||
"dist:macos": "electron-builder --macos", | ||
"dist:windows": "electron-builder --windows", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook", | ||
"prepare": "husky install" | ||
}, | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Shashank Kaul" | ||
}, | ||
"browser": "none", | ||
"browserslist": { | ||
"production": [ | ||
|
@@ -40,6 +42,7 @@ | |
"build": { | ||
"productName": "ark", | ||
"appId": "dev.makeark.ark", | ||
"artifactName": "${name}-${os}-${version}-${arch}.${ext}", | ||
"extends": null, | ||
"files": [ | ||
"./build/**/*", | ||
|
@@ -48,11 +51,19 @@ | |
"to": "build/mongoshell.d.ts" | ||
} | ||
], | ||
"publish": [ | ||
{ | ||
"provider": "github", | ||
"vPrefixedTagName": false, | ||
"publishAutoUpdate": true | ||
} | ||
], | ||
"npmArgs": [ | ||
"--ignore-scripts" | ||
], | ||
"directories": { | ||
"output": "release/", | ||
"output": "release", | ||
"buildResources": "src/assets", | ||
"app": "./" | ||
}, | ||
"mac": { | ||
|
@@ -62,20 +73,6 @@ | |
"hardenedRuntime": true, | ||
"gatekeeperAssess": false | ||
}, | ||
"dmg": { | ||
"contents": [ | ||
{ | ||
"x": 130, | ||
"y": 220 | ||
}, | ||
{ | ||
"x": 410, | ||
"y": 220, | ||
"type": "link", | ||
"path": "/Applications" | ||
} | ||
] | ||
}, | ||
"win": { | ||
"target": [ | ||
"nsis" | ||
|
@@ -93,17 +90,12 @@ | |
}, | ||
"linux": { | ||
"target": [ | ||
"deb", | ||
"rpm", | ||
"AppImage" | ||
], | ||
"category": "Development" | ||
}, | ||
"extraResources": [ | ||
"./node_modules/**/*" | ||
], | ||
"publish": { | ||
"provider": "github", | ||
"owner": "makeark", | ||
"repo": "ark-foss" | ||
"category": "Development", | ||
"icon": "src/assets/icon.png" | ||
} | ||
}, | ||
"devDependencies": { | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters