Skip to content

Commit 6c6592a

Browse files
author
Test User
committed
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
1 parent f3e9afd commit 6c6592a

File tree

9 files changed

+36
-27
lines changed

9 files changed

+36
-27
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -184,24 +184,24 @@ jobs:
184184
echo "✅ Authenticated as: $NPM_USER"
185185
186186
# Check if package exists and verify maintainer access
187-
PACKAGE_EXISTS=$(npm view doplan-cli version 2>&1 || echo "")
187+
PACKAGE_EXISTS=$(npm view @doplan-dev/cli version 2>&1 || echo "")
188188
if [ -n "$PACKAGE_EXISTS" ] && [ "$PACKAGE_EXISTS" != "null" ]; then
189-
echo "📦 Package doplan-cli exists on npm"
189+
echo "📦 Package @doplan-dev/cli exists on npm"
190190
191191
# Get maintainers
192-
MAINTAINERS=$(npm view doplan-cli maintainers 2>&1 || echo "")
192+
MAINTAINERS=$(npm view @doplan-dev/cli maintainers 2>&1 || echo "")
193193
echo "Maintainers: $MAINTAINERS"
194194
195195
# Verify current user is a maintainer
196-
IS_MAINTAINER=$(npm access ls-packages "$NPM_USER" 2>&1 | grep -q "doplan-cli" && echo "yes" || echo "no")
196+
IS_MAINTAINER=$(npm access ls-packages "$NPM_USER" 2>&1 | grep -q "@doplan-dev/cli" && echo "yes" || echo "no")
197197
if [ "$IS_MAINTAINER" = "no" ]; then
198-
echo "⚠️ Warning: User $NPM_USER may not have publish permissions for doplan-cli"
198+
echo "⚠️ Warning: User $NPM_USER may not have publish permissions for @doplan-dev/cli"
199199
echo "Please verify you are a maintainer of the package"
200200
else
201-
echo "✅ User $NPM_USER has access to doplan-cli"
201+
echo "✅ User $NPM_USER has access to @doplan-dev/cli"
202202
fi
203203
else
204-
echo "📦 Package doplan-cli does not exist yet (will be created on first publish)"
204+
echo "📦 Package @doplan-dev/cli does not exist yet (will be created on first publish)"
205205
echo "✅ Token has permissions to create new packages"
206206
fi
207207
env:
@@ -245,15 +245,15 @@ jobs:
245245
- name: Verify npm publication
246246
run: |
247247
echo "Published to npm successfully!"
248-
echo "Package: doplan-cli@${{ steps.get_version.outputs.version }}"
249-
echo "npm URL: https://www.npmjs.com/package/doplan-cli"
250-
248+
echo "Package: @doplan-dev/cli@${{ steps.get_version.outputs.version }}"
249+
echo "npm URL: https://www.npmjs.com/package/@doplan-dev/cli"
250+
251251
- name: Verify package maintainers
252252
run: |
253253
echo "Verifying package maintainers..."
254254
255255
# Get package info
256-
PACKAGE_INFO=$(npm view doplan-cli --json 2>&1 || echo "")
256+
PACKAGE_INFO=$(npm view @doplan-dev/cli --json 2>&1 || echo "")
257257
258258
if [ -n "$PACKAGE_INFO" ] && [ "$PACKAGE_INFO" != "null" ]; then
259259
echo "✅ Package published successfully"

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ release:
133133
134134
**npm (Recommended for Node.js users):**
135135
```bash
136-
npm install -g doplan-cli
136+
npm install -g @doplan-dev/cli
137137
```
138138
139139
**Binary Release:**

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.0.16-beta] - 2025-11-14
11+
12+
### Changed
13+
- Switched back to @doplan-dev organization scope
14+
- Changed package name from doplan-cli to @doplan-dev/cli
15+
- Published as public scoped package
16+
1017
## [0.0.15-beta] - 2025-11-14
1118

1219
### Changed
@@ -65,7 +72,8 @@ This is the first beta release of DoPlan CLI, a comprehensive project workflow a
6572
- Contribution guidelines
6673
- Release process documentation
6774

68-
[Unreleased]: https://github.com/DoPlan-dev/CLI/compare/v0.0.15-beta...HEAD
75+
[Unreleased]: https://github.com/DoPlan-dev/CLI/compare/v0.0.16-beta...HEAD
76+
[0.0.16-beta]: https://github.com/DoPlan-dev/CLI/releases/tag/v0.0.16-beta
6977
[0.0.15-beta]: https://github.com/DoPlan-dev/CLI/releases/tag/v0.0.15-beta
7078
[0.0.14-beta]: https://github.com/DoPlan-dev/CLI/releases/tag/v0.0.14-beta
7179
[0.0.13-beta]: https://github.com/DoPlan-dev/CLI/releases/tag/v0.0.13-beta

NPM_SETUP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Users can now install via npm:
9898

9999
```bash
100100
# Global installation
101-
npm install -g doplan-cli
101+
npm install -g @doplan-dev/cli
102102

103103
# Verify
104104
doplan --version

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Whether you're building a web application, API service, mobile app, or any softw
6161

6262
```bash
6363
# Install globally
64-
npm install -g doplan-cli
64+
npm install -g @doplan-dev/cli
6565

6666
# Verify installation
6767
doplan --version

docs/development/NPM_PUBLISHING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document describes how to publish the DoPlan CLI to npm.
44

55
## Overview
66

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.
88

99
## Package Structure
1010

@@ -26,7 +26,7 @@ Publishing to npm is automated via GitHub Actions. When you push a tag matching
2626

2727
**Requirements:**
2828
- `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
3030

3131
### Manual Publishing
3232

@@ -46,7 +46,7 @@ npm run prepublishOnly
4646
npm publish
4747

4848
# 5. Verify publication
49-
npm view doplan-cli
49+
npm view @doplan-dev/cli
5050
```
5151

5252
## Setting up NPM_TOKEN
@@ -67,14 +67,14 @@ npm view doplan-cli
6767

6868
## Package Details
6969

70-
- **Package Name:** `doplan-cli`
70+
- **Package Name:** `@doplan-dev/cli`
7171
- **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)
7474

7575
## How It Works
7676

77-
1. **Installation:** When users run `npm install -g doplan-cli`:
77+
1. **Installation:** When users run `npm install -g @doplan-dev/cli`:
7878
- npm installs the package files
7979
- `postinstall.js` runs automatically
8080
- Downloads the platform-specific binary from GitHub releases
@@ -160,5 +160,5 @@ Excluded files:
160160
For issues with npm publishing:
161161
- Check GitHub Actions workflow logs
162162
- Verify npm token permissions
163-
- Review npm package page: https://www.npmjs.com/package/doplan-cli
163+
- Review npm package page: https://www.npmjs.com/package/@doplan-dev/cli
164164

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "doplan-cli",
3-
"version": "0.0.15-beta",
2+
"name": "@doplan-dev/cli",
3+
"version": "0.0.16-beta",
44
"description": "Project workflow automation tool that transforms app ideas into well-structured, documented, and trackable development projects",
55
"main": "index.js",
66
"bin": {
@@ -56,6 +56,7 @@
5656
"arm64"
5757
],
5858
"publishConfig": {
59+
"access": "public",
5960
"registry": "https://registry.npmjs.org/"
6061
}
6162
}

press/one-pager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ DoPlan is a project workflow automation tool that transforms app ideas into stru
3737
brew install doplan
3838

3939
# npm (Node.js)
40-
npm install -g doplan-cli
40+
npm install -g @doplan-dev/cli
4141

4242
# Direct download
4343
# Visit https://github.com/DoPlan-dev/CLI/releases

press/press-release-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ DoPlan automates the tedious aspects of project management by generating documen
2121

2222
DoPlan CLI is available now via:
2323
- **Homebrew**: `brew install doplan`
24-
- **npm**: `npm install -g doplan-cli`
24+
- **npm**: `npm install -g @doplan-dev/cli`
2525
- **Direct download**: https://github.com/DoPlan-dev/CLI/releases
2626

2727
### Use Cases

0 commit comments

Comments
 (0)