Skip to content

Commit be24dcc

Browse files
SamTV12345claude
andcommitted
chore(release): publish as @samtv12345/etherpad-webcomponents on public npm
The unscoped etherpad-webcomponents name on npm is owned by another account, and GitHub Packages requires a token even for public installs. Publish under the @SamTV12345 personal scope on public npmjs instead: installs need zero auth for everyone, and the existing pre-built dist (correct Lit experimental-decorator transpilation) ships as-is. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent f793809 commit be24dcc

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
permissions:
1616
contents: write
1717
id-token: write
18-
packages: write
1918
steps:
2019
- uses: actions/checkout@v4
2120
with:
@@ -30,8 +29,8 @@ jobs:
3029
with:
3130
node-version: 22
3231
cache: pnpm
33-
registry-url: https://npm.pkg.github.com
34-
scope: '@ether'
32+
registry-url: https://registry.npmjs.org
33+
scope: '@samtv12345'
3534

3635
- run: pnpm install --frozen-lockfile
3736

@@ -51,9 +50,9 @@ jobs:
5150
run: pnpm build
5251

5352
- name: Publish
54-
run: pnpm publish --no-git-checks
53+
run: pnpm publish --access public --no-git-checks
5554
env:
56-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5756

5857
- name: Commit, tag & push
5958
run: |

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ether/etherpad-webcomponents",
2+
"name": "@samtv12345/etherpad-webcomponents",
33
"version": "0.0.12",
44
"description": "Etherpad Web Components built with Lit",
55
"type": "module",
@@ -75,8 +75,5 @@
7575
"overrides": {
7676
"etherpad-webcomponents": "link:../../AppData/Local/pnpm/global/5/node_modules/etherpad-webcomponents"
7777
}
78-
},
79-
"publishConfig": {
80-
"registry": "https://npm.pkg.github.com"
8178
}
8279
}

0 commit comments

Comments
 (0)