specweave 0.28.11 → 0.28.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/cli/commands/init.d.ts.map +1 -1
- package/dist/src/cli/commands/init.js +29 -18
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/helpers/init/index.d.ts +1 -0
- package/dist/src/cli/helpers/init/index.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/index.js +2 -0
- package/dist/src/cli/helpers/init/index.js.map +1 -1
- package/dist/src/cli/helpers/init/language-selection.d.ts +40 -0
- package/dist/src/cli/helpers/init/language-selection.d.ts.map +1 -0
- package/dist/src/cli/helpers/init/language-selection.js +281 -0
- package/dist/src/cli/helpers/init/language-selection.js.map +1 -0
- package/dist/src/cli/helpers/init/repository-setup.d.ts +2 -0
- package/dist/src/cli/helpers/init/repository-setup.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/repository-setup.js +156 -12
- package/dist/src/cli/helpers/init/repository-setup.js.map +1 -1
- package/dist/src/cli/helpers/init/translation-config.d.ts +10 -2
- package/dist/src/cli/helpers/init/translation-config.d.ts.map +1 -1
- package/dist/src/cli/helpers/init/translation-config.js +302 -81
- package/dist/src/cli/helpers/init/translation-config.js.map +1 -1
- package/dist/src/core/config/types.d.ts +30 -2
- package/dist/src/core/config/types.d.ts.map +1 -1
- package/dist/src/core/config/types.js.map +1 -1
- package/dist/src/sync/sync-coordinator.d.ts +5 -0
- package/dist/src/sync/sync-coordinator.d.ts.map +1 -1
- package/dist/src/sync/sync-coordinator.js +104 -6
- package/dist/src/sync/sync-coordinator.js.map +1 -1
- package/package.json +1 -1
- package/plugins/specweave/agents/pm/AGENT.md +41 -4
- package/plugins/specweave/agents/test-aware-planner/AGENT.md +54 -0
- package/plugins/specweave/commands/specweave-increment.md +30 -0
- package/plugins/specweave/commands/specweave-save.md +838 -0
- package/plugins/specweave/hooks/lib/update-status-line.sh +9 -1
- package/plugins/specweave/hooks/post-increment-completion.sh +4 -3
- package/plugins/specweave/hooks/post-metadata-change.sh +18 -4
- package/plugins/specweave/skills/increment-planner/SKILL.md +252 -2
- package/plugins/specweave/skills/spec-generator/SKILL.md +163 -0
- package/plugins/specweave/skills/umbrella-repo-detector/SKILL.md +79 -12
- package/plugins/specweave-release/commands/specweave-release-npm.md +14 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: specweave-release:npm
|
|
3
|
-
description: Bump patch version, create git tag, and trigger npm publish via GitHub Actions. Automates the complete release workflow with pre-flight checks, version bumping, tag creation, and GitHub Actions triggering. Use --only flag for
|
|
3
|
+
description: Bump patch version, create git tag, and trigger npm publish via GitHub Actions. Automates the complete release workflow with pre-flight checks, version bumping, tag creation, and GitHub Actions triggering. Use --only flag for quick local release (bumps version, builds, publishes to npm directly - NO git push, NO pipeline).
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# /specweave-release:npm - NPM Release Automation
|
|
@@ -9,8 +9,8 @@ You are the NPM Release Assistant. Your job is to automate the patch version rel
|
|
|
9
9
|
|
|
10
10
|
## Command Modes
|
|
11
11
|
|
|
12
|
-
**Default mode** (no flags): Push to GitHub → GitHub Actions publishes to npm
|
|
13
|
-
**Direct mode** (`--only`): Publish
|
|
12
|
+
**Default mode** (no flags): Bump → Push to GitHub → GitHub Actions publishes to npm
|
|
13
|
+
**Direct mode** (`--only`): Bump → Build → Publish to npm directly (NO git push, NO pipeline)
|
|
14
14
|
|
|
15
15
|
## Detecting Mode
|
|
16
16
|
|
|
@@ -186,16 +186,7 @@ npm publish
|
|
|
186
186
|
- Publishes to npm registry immediately
|
|
187
187
|
- No GitHub Actions involvement
|
|
188
188
|
|
|
189
|
-
### 6.
|
|
190
|
-
|
|
191
|
-
```bash
|
|
192
|
-
# Push the version bump commit and tag to GitHub
|
|
193
|
-
git push origin develop --follow-tags
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
**Note**: This syncs GitHub with npm but does NOT trigger publish workflow (already published).
|
|
197
|
-
|
|
198
|
-
### 7. Report Results (Direct Mode)
|
|
189
|
+
### 6. Report Results (Direct Mode)
|
|
199
190
|
|
|
200
191
|
Show the user:
|
|
201
192
|
```markdown
|
|
@@ -203,36 +194,37 @@ Show the user:
|
|
|
203
194
|
|
|
204
195
|
📦 **Version**: vX.Y.Z
|
|
205
196
|
🔗 **NPM**: https://www.npmjs.com/package/specweave
|
|
206
|
-
🏷️ **Git Tag**: vX.Y.Z (
|
|
197
|
+
🏷️ **Git Tag**: vX.Y.Z (local only)
|
|
207
198
|
|
|
208
199
|
**What happened**:
|
|
209
|
-
- ✅ Version bumped and committed
|
|
200
|
+
- ✅ Version bumped and committed locally
|
|
210
201
|
- ✅ Git tag created locally
|
|
211
202
|
- ✅ Package built (npm run rebuild)
|
|
212
203
|
- ✅ Published to npm directly
|
|
213
|
-
-
|
|
204
|
+
- ⏸️ Git NOT pushed (use `git push origin develop --follow-tags` later if needed)
|
|
214
205
|
|
|
215
206
|
**Verify**:
|
|
216
207
|
- Check npm: https://www.npmjs.com/package/specweave
|
|
217
208
|
- Verify version: `npm view specweave version`
|
|
218
209
|
- Install globally: `npm install -g specweave@X.Y.Z`
|
|
219
210
|
|
|
220
|
-
**Note**:
|
|
211
|
+
**Note**: Local release only. Push to GitHub manually when ready:
|
|
212
|
+
`git push origin develop --follow-tags`
|
|
221
213
|
```
|
|
222
214
|
|
|
223
215
|
## Direct Mode Safety Rules
|
|
224
216
|
|
|
225
217
|
- ✅ ALWAYS rebuild before publishing (`npm run rebuild`)
|
|
226
|
-
- ✅
|
|
227
|
-
- ✅ Use `--only` for emergency releases or local testing
|
|
218
|
+
- ✅ Use `--only` for emergency/quick releases or local testing
|
|
228
219
|
- ✅ Default mode (GitHub Actions) is preferred for regular releases
|
|
229
220
|
- ✅ Direct mode gives immediate feedback (no CI wait time)
|
|
221
|
+
- ⚠️ Remember to push git changes later to sync GitHub
|
|
230
222
|
|
|
231
223
|
## Success Criteria (Direct Mode)
|
|
232
224
|
|
|
233
225
|
✅ Version bumped in package.json
|
|
234
|
-
✅ Git commit created
|
|
235
|
-
✅ Git tag created
|
|
226
|
+
✅ Git commit created locally
|
|
227
|
+
✅ Git tag created locally
|
|
236
228
|
✅ Package rebuilt
|
|
237
229
|
✅ Published to npm directly
|
|
238
|
-
|
|
230
|
+
⏸️ Git NOT pushed (manual sync later)
|