mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-03-13 14:14:40 +08:00
ci: fix npm provenance
This commit is contained in:
parent
23029114e6
commit
a5105297d7
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
|||||||
run: pnpm i
|
run: pnpm i
|
||||||
|
|
||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
run: pnpm -r publish --provenance --access public --no-git-checks
|
run: pnpm -r publish --access public --no-git-checks
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
NPM_CONFIG_PROVENANCE: true
|
||||||
|
@ -5,5 +5,9 @@
|
|||||||
"author": "Amour1688 <lcz_1996@foxmail.com>",
|
"author": "Amour1688 <lcz_1996@foxmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"types": "index.d.ts"
|
"types": "index.d.ts",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
|
"url": "git+https://github.com/vuejs/babel-plugin-jsx"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup",
|
"build": "tsup",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user