We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f75eacb commit 9b61ed2Copy full SHA for 9b61ed2
.github/workflows/release.yml
@@ -16,6 +16,6 @@ jobs:
16
cache: 'yarn'
17
- run: yarn install --frozen-lockfile
18
- name: release on npm
19
- run: yarn release
+ run: npm publish
20
env:
21
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package.json
@@ -38,8 +38,7 @@
38
"dev:build": "nuxi build playground",
39
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
40
"lint": "eslint .",
41
- "prepack": "nuxt-module-build",
42
- "release": "nuxi prepare playground && yarn lint && yarn prepack && npm publish --registry https://registry.npmjs.org"
+ "prepublishOnly": "nuxi prepare playground && yarn lint && nuxt-module-build"
43
},
44
"dependencies": {
45
"@nuxt/kit": "^3.2.0",
0 commit comments