You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: switch back to @DoPlan-dev organization and prepare v0.0.16-beta release
- Change package name from doplan-cli to @doplan-dev/cli
- Add access: public to publishConfig (required for public scoped packages)
- Update version to 0.0.16-beta
- Update all references in workflows and documentation
- Add changelog entry for v0.0.16-beta
Copy file name to clipboardExpand all lines: docs/development/NPM_PUBLISHING.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This document describes how to publish the DoPlan CLI to npm.
4
4
5
5
## Overview
6
6
7
-
The DoPlan CLI is published to npm as `doplan-cli`. The npm package includes a wrapper script that automatically downloads the platform-specific binary from GitHub releases.
7
+
The DoPlan CLI is published to npm as `@doplan-dev/cli`. The npm package includes a wrapper script that automatically downloads the platform-specific binary from GitHub releases.
8
8
9
9
## Package Structure
10
10
@@ -26,7 +26,7 @@ Publishing to npm is automated via GitHub Actions. When you push a tag matching
26
26
27
27
**Requirements:**
28
28
-`NPM_TOKEN` secret must be configured in GitHub repository settings
29
-
- Token must have publish permissions for the `doplan-cli` package
29
+
- Token must have publish permissions for the `@doplan-dev/cli` package
30
30
31
31
### Manual Publishing
32
32
@@ -46,7 +46,7 @@ npm run prepublishOnly
46
46
npm publish
47
47
48
48
# 5. Verify publication
49
-
npm view doplan-cli
49
+
npm view @doplan-dev/cli
50
50
```
51
51
52
52
## Setting up NPM_TOKEN
@@ -67,14 +67,14 @@ npm view doplan-cli
67
67
68
68
## Package Details
69
69
70
-
-**Package Name:**`doplan-cli`
70
+
-**Package Name:**`@doplan-dev/cli`
71
71
-**Registry:**https://registry.npmjs.org/
72
-
-**Access:** Public (unscoped packages are public by default)
73
-
-**Scoped:**No (unscoped package published by idorgham account)
72
+
-**Access:** Public (requires "access": "public" in publishConfig for scoped packages)
73
+
-**Scoped:**Yes (scoped package under @doplan-dev organization)
74
74
75
75
## How It Works
76
76
77
-
1.**Installation:** When users run `npm install -g doplan-cli`:
77
+
1.**Installation:** When users run `npm install -g @doplan-dev/cli`:
78
78
- npm installs the package files
79
79
-`postinstall.js` runs automatically
80
80
- Downloads the platform-specific binary from GitHub releases
0 commit comments