Skip to content

Commit 2d73998

Browse files
author
hubert
committed
chore: git add version.ts modification in deploy
1 parent f4e69df commit 2d73998

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ jobs:
5555
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5656
- name: Publish
5757
run: |
58-
npx lerna publish --yes
58+
npx lerna publish --yes --no-granular-pathspec
5959
env:
6060
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"scripts": {
1111
"build": "lerna run build --sort --stream --scope=@vue-async/*",
1212
"test": "jest --coverage --passWithNoTests",
13+
"version": "lerna run build:version --sort --stream --scope=@vue-async/*",
1314
"prepublishOnly": "yarn install --ignore-scripts && yarn changelog && yarn build && yarn test",
1415
"release": "lerna publish",
1516
"release:git": "lerna publish form-git",

packages/module-loader/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"scripts": {
2727
"serve:playground": "nuxt dev playground -p 7001",
2828
"serve": "concurrently --raw \"tsc --project tsconfig.build.json --module es2015 --outDir esm -watch\" \"yarn serve:playground\"",
29-
"prebuild": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
30-
"build": "rimraf -rf lib esm dist && yarn build:cjs && yarn build:esm && yarn build:umd",
29+
"build": "rimraf -rf lib esm dist && yarn build:version && yarn build:cjs && yarn build:esm && yarn build:umd",
30+
"build:version": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
3131
"build:cjs": "tsc --project tsconfig.build.json",
3232
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm",
3333
"build:umd": "rollup --config",

packages/resource-manager/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"scripts": {
2525
"serve:playground": "nuxt dev playground -p 7003",
2626
"serve": "concurrently --raw \"tsc --project tsconfig.build.json --module es2015 --outDir esm -watch\" \"yarn serve:playground\"",
27-
"prebuild": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
28-
"build": "rimraf -rf lib esm dist && yarn build:cjs && yarn build:esm && yarn build:umd",
27+
"build": "rimraf -rf lib esm dist && yarn build:version && yarn build:cjs && yarn build:esm && yarn build:umd",
28+
"build:version": "node -p \"'export const version: string = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
2929
"build:cjs": "tsc --project tsconfig.build.json",
3030
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm",
3131
"build:umd": "rollup --config",

0 commit comments

Comments
 (0)