Skip to content

Commit

Permalink
chore: git add version.ts modification in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
hubert committed Jan 16, 2025
1 parent f4e69df commit 2d73998
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: |
npx lerna publish --yes
npx lerna publish --yes --no-granular-pathspec
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"build": "lerna run build --sort --stream --scope=@vue-async/*",
"test": "jest --coverage --passWithNoTests",
"version": "lerna run build:version --sort --stream --scope=@vue-async/*",
"prepublishOnly": "yarn install --ignore-scripts && yarn changelog && yarn build && yarn test",
"release": "lerna publish",
"release:git": "lerna publish form-git",
Expand Down
4 changes: 2 additions & 2 deletions packages/module-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"scripts": {
"serve:playground": "nuxt dev playground -p 7001",
"serve": "concurrently --raw \"tsc --project tsconfig.build.json --module es2015 --outDir esm -watch\" \"yarn serve:playground\"",
"prebuild": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build": "rimraf -rf lib esm dist && yarn build:cjs && yarn build:esm && yarn build:umd",
"build": "rimraf -rf lib esm dist && yarn build:version && yarn build:cjs && yarn build:esm && yarn build:umd",
"build:version": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build:cjs": "tsc --project tsconfig.build.json",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm",
"build:umd": "rollup --config",
Expand Down
4 changes: 2 additions & 2 deletions packages/resource-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"scripts": {
"serve:playground": "nuxt dev playground -p 7003",
"serve": "concurrently --raw \"tsc --project tsconfig.build.json --module es2015 --outDir esm -watch\" \"yarn serve:playground\"",
"prebuild": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build": "rimraf -rf lib esm dist && yarn build:cjs && yarn build:esm && yarn build:umd",
"build": "rimraf -rf lib esm dist && yarn build:version && yarn build:cjs && yarn build:esm && yarn build:umd",
"build:version": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build:cjs": "tsc --project tsconfig.build.json",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm",
"build:umd": "rollup --config",
Expand Down

0 comments on commit 2d73998

Please sign in to comment.