Skip to content

Commit a510529

Browse files
committed
ci: fix npm provenance
1 parent 2302911 commit a510529

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
run: pnpm i
3737

3838
- name: Publish to NPM
39-
run: pnpm -r publish --provenance --access public --no-git-checks
39+
run: pnpm -r publish --access public --no-git-checks
4040
env:
4141
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
42+
NPM_CONFIG_PROVENANCE: true

packages/babel-helper-vue-transform-on/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@
55
"author": "Amour1688 <[email protected]>",
66
"license": "MIT",
77
"main": "index.js",
8-
"types": "index.d.ts"
8+
"types": "index.d.ts",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
12+
}
913
}

packages/babel-plugin-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"types": "dist/index.d.ts",
1111
"repository": {
1212
"type": "git",
13-
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
13+
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
1414
},
1515
"scripts": {
1616
"build": "tsup",

0 commit comments

Comments
 (0)