specweave 0.16.2 → 0.16.3
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/bin/specweave.js +5 -1
- package/package.json +1 -1
package/bin/specweave.js
CHANGED
|
@@ -182,8 +182,12 @@ program
|
|
|
182
182
|
.description('Validate increment discipline compliance (WIP limits, hard cap)')
|
|
183
183
|
.option('-v, --verbose', 'Show detailed increment information')
|
|
184
184
|
.option('--json', 'Output results as JSON')
|
|
185
|
-
.option('--project-root <path>', 'Project root directory'
|
|
185
|
+
.option('--project-root <path>', 'Project root directory')
|
|
186
186
|
.action(async (options) => {
|
|
187
|
+
// Set default project-root at runtime, not module load time
|
|
188
|
+
if (!options.projectRoot) {
|
|
189
|
+
options.projectRoot = process.cwd();
|
|
190
|
+
}
|
|
187
191
|
const { checkDisciplineCommand } = await import('../dist/cli/commands/check-discipline.js');
|
|
188
192
|
await checkDisciplineCommand(options);
|
|
189
193
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specweave",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"description": "Spec-driven development framework for Claude Code. AI-native workflow with living documentation, intelligent agents, and multilingual support (9 languages). Enterprise-grade traceability with permanent specs and temporary increments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|