-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): improved process of releasing binaries
- Loading branch information
1 parent
99e5ea5
commit f049db4
Showing
4 changed files
with
29 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ build/ | |
data/ | ||
db/ | ||
logs/ | ||
dist/ | ||
.eslintcache | ||
*.log | ||
.DS_Store | ||
|
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 |
---|---|---|
|
@@ -3,11 +3,16 @@ | |
"private": true, | ||
"author": "Petio Team", | ||
"license": "MIT", | ||
"bin": "./pkg/api/dist/index.js", | ||
"workspaces": [ | ||
"pkg/api", | ||
"pkg/frontend", | ||
"pkg/admin" | ||
], | ||
"scripts": { | ||
"prepare": "is-ci || husky install", | ||
"release": "pkg . --no-bytecode --public-packages \"*\" --public" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
|
@@ -16,8 +21,24 @@ | |
"husky": "^8.0.1", | ||
"prettier": "^2.6.2" | ||
}, | ||
"scripts": { | ||
"prepare": "is-ci || husky install" | ||
"pkg": { | ||
"scripts": [], | ||
"assets": [ | ||
"./frontend/build/**/*" | ||
], | ||
"targets": [ | ||
"node16-alpine-arm64", | ||
"node16-alpine-x64", | ||
"node16-linux-arm64", | ||
"node16-linux-x64", | ||
"node16-linuxstatic-arm64", | ||
"node16-linuxstatic-x64", | ||
"node16-macos-x64", | ||
"node16-macos-arm64", | ||
"node16-windows-x64", | ||
"node16-windows-arm64" | ||
], | ||
"outputPath": "dist" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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