Skip to content

Commit

Permalink
fix broken version
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbgt committed Dec 13, 2024
1 parent 7612d2b commit b919b3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"scripts": {
"dev:app": "npm run dev --workspace packages/app",
"dev:cli": "npm run dev --workspace packages/cli",
"build:cleanup": "rm -rf packages/cli/dist && rm -rf packages/app/dist",
"build:packages": "npm run build --workspaces",
"build:copy-dist": "cp -r packages/app/dist packages/cli/dist/app_dist",
"build:add-shebang": "echo '#!/usr/bin/env node' | cat - packages/cli/dist/src/index.js > temp && mv temp packages/cli/dist/src/index.js && chmod +x packages/cli/dist/src/index.js",
"build": "npm run build:cleanup && npm run build:packages && npm run build:copy-dist && npm run build:add-shebang",
"build": "npm run build --workspace packages/cli",
"start": "npm run start --workspace packages/cli",
"lint": "eslint . --fix",
"lint:check": "eslint .",
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

Fix broken version

## [0.0.23] - 2024-12-13

Fix broken version
Expand Down
8 changes: 6 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@
},
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon src/index.ts",
"build": "tsc",
"build:cleanup": "rm -rf ./dist && rm -rf ../app/dist",
"build:app": "npm run build --prefix ../app",
"build:copy-app-dist": "cp -r ../app/dist ./dist/app_dist",
"build:cli": "tsc",
"build:add-shebang": "echo '#!/usr/bin/env node' | cat - ./dist/src/index.js > temp && mv temp ./dist/src/index.js && chmod +x ./dist/src/index.js",
"build": "npm run build:cleanup && npm run build:app && npm run build:cli && npm run build:copy-app-dist && npm run build:add-shebang",
"start": "node dist/src/index.js",
"test": "vitest",
"npm:publish": "npm publish",
"release": "npx release-it"
},
Expand Down

0 comments on commit b919b3d

Please sign in to comment.