Skip to content

Commit d08a8eb

Browse files
author
Test User
committed
feat: change package name to scoped @doplan-dev/doplan-cli
- Update package.json name to @doplan-dev/doplan-cli - Ensure publishConfig has public access for scoped packages - Update all references in workflows and documentation - Scoped packages require explicit public access in publishConfig
1 parent a40d318 commit d08a8eb

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 10 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/doplan-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/doplan-cli exists on npm"
190190
191191
# Get maintainers
192-
MAINTAINERS=$(npm view doplan-cli maintainers 2>&1 || echo "")
192+
MAINTAINERS=$(npm view @doplan-dev/doplan-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/doplan-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/doplan-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/doplan-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/doplan-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"
248+
echo "Package: @doplan-dev/doplan-cli@${{ steps.get_version.outputs.version }}"
249+
echo "npm URL: https://www.npmjs.com/package/@doplan-dev/doplan-cli"
250250
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/doplan-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/doplan-cli
137137
```
138138
139139
**Binary Release:**

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/doplan-cli
6565

6666
# Verify installation
6767
doplan --version

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "doplan-cli",
2+
"name": "@doplan-dev/doplan-cli",
33
"version": "0.0.1-beta",
44
"description": "Project workflow automation tool that transforms app ideas into well-structured, documented, and trackable development projects",
55
"main": "index.js",

0 commit comments

Comments
 (0)