Skip to content

Commit 1ff12e6

Browse files
authored
scoped packages are private by default, TIL
1 parent 42ff17a commit 1ff12e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/npm-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
node-version: ${{ env.NODE_VERSION }}
4747
registry-url: https://registry.npmjs.org/
4848
- run: npm ci
49-
- run: npm publish
49+
- run: npm publish --access public
5050
env:
5151
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
5252

@@ -65,6 +65,6 @@ jobs:
6565
scope: "@aaronpowell"
6666
- run: npm ci
6767
- run: echo "registry=https://npm.pkg.github.com/@aaronpowell" >> .npmrc
68-
- run: npm publish
68+
- run: npm publish --access public
6969
env:
7070
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

react-static-web-apps-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aaronpowell/react-static-web-apps-auth",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "A library to help creating authenticated React apps on Azure Static Web Apps",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)