Commit 1b439ff
committed
fix: Correct NPM publishing command in workflows
- Fixed npm publish command to use package.json instead of package-npm.json
- Updated both npm-publish-only.yml and publish-all.yml workflows
- Now properly replaces package.json with NPM version before publishing
- This resolves the 404 error when trying to publish package-npm.json as a package name
The workflow now:
1. Creates a copy of package.json with unscoped name
2. Replaces the original package.json with NPM version
3. Publishes using standard npm publish command1 parent e228617 commit 1b439ff
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | | - | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments