Skip to content

Commit

Permalink
Merge pull request #54 from prisma/patch-2
Browse files Browse the repository at this point in the history
fix(custom): add public flag to publish
  • Loading branch information
ankur-arch authored Nov 14, 2024
2 parents 038c161 + 664c173 commit d6475b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
node-version: "lts/*"
- name: Configure npm for Authentication
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_NUXT_TOKEN }}" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
echo "@prisma:registry=https://registry.npmjs.org/" >> ~/.npmrc
- run: npm clean-install
- run: npx nuxi prepare
- run: npm run dev:build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"docs": "cd docs && npm run dev",
"release": "npm run lint && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"release": "npm run lint && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest watch",
Expand Down

0 comments on commit d6475b5

Please sign in to comment.