mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 17:03:53 +00:00
remove pkg bundling of cli
This commit is contained in:
@@ -42,16 +42,6 @@ jobs:
|
||||
- name: Copy external
|
||||
run: cp -R apps/server/src/external apps/cli/external
|
||||
|
||||
- name: Build CLI
|
||||
run: pnpm build:cli
|
||||
|
||||
- name: Release Binary
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: './apps/cli/dist/*'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Publish to NPM
|
||||
run: pnpm publish --access public
|
||||
env:
|
||||
|
||||
@@ -19,26 +19,9 @@
|
||||
"external",
|
||||
"server"
|
||||
],
|
||||
"scripts": {
|
||||
"build:cli": "pkg ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.53.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"nodemon": "^2.0.20",
|
||||
"pkg": "^5.8.1",
|
||||
"prettier": "^3.0.3"
|
||||
},
|
||||
"pkg":{
|
||||
"assets": [
|
||||
"client/**/*",
|
||||
"external/**/*",
|
||||
"server/index.cjs"
|
||||
],
|
||||
"targets": [
|
||||
"node18-linux-x64",
|
||||
"node18-linux-arm64"
|
||||
],
|
||||
"outputPath": "dist"
|
||||
}
|
||||
}
|
||||
@@ -30,7 +30,6 @@
|
||||
"build:local": "turbo run build:local",
|
||||
"build:electron": "turbo run build:electron",
|
||||
"build:localdocker": "turbo run build:localdocker",
|
||||
"build:cli": "turbo run build:cli",
|
||||
"dist-win": "turbo run dist-win",
|
||||
"dist-mac": "turbo run dist-mac",
|
||||
"dist-linux": "turbo run dist-linux",
|
||||
|
||||
Generated
+6443
-5112
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,6 @@
|
||||
"build:local": {},
|
||||
"build:electron": {},
|
||||
"build:localdocker": {},
|
||||
"build:cli": {},
|
||||
"e2e": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user