@dezkareid/osddt 1.10.0 → 1.10.1
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/index.js +7 -2
- package/package.json +7 -2
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Command } from 'commander';
|
|
3
|
-
import path from 'path';
|
|
4
3
|
import fs from 'fs-extra';
|
|
4
|
+
import path from 'path';
|
|
5
|
+
import { fileURLToPath } from 'url';
|
|
5
6
|
import select from '@inquirer/select';
|
|
6
7
|
import checkbox from '@inquirer/checkbox';
|
|
7
8
|
import { execSync } from 'child_process';
|
|
@@ -867,11 +868,15 @@ function contextCommand() {
|
|
|
867
868
|
return cmd;
|
|
868
869
|
}
|
|
869
870
|
|
|
871
|
+
const __filename$1 = fileURLToPath(import.meta.url);
|
|
872
|
+
const __dirname$1 = path.dirname(__filename$1);
|
|
873
|
+
const pkgPath = path.join(__dirname$1, '..', 'package.json');
|
|
874
|
+
const pkg = fs.readJsonSync(pkgPath);
|
|
870
875
|
const program = new Command();
|
|
871
876
|
program
|
|
872
877
|
.name('osddt')
|
|
873
878
|
.description('Spec-Driven Development tooling for monorepos and single-package repos')
|
|
874
|
-
.version(
|
|
879
|
+
.version(pkg.version);
|
|
875
880
|
program.addCommand(setupCommand());
|
|
876
881
|
program.addCommand(metaInfoCommand());
|
|
877
882
|
program.addCommand(doneCommand());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dezkareid/osddt",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "Package for Spec-Driven Development workflow",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spec-driven",
|
|
@@ -40,10 +40,14 @@
|
|
|
40
40
|
"tslib": "2.8.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
+
"@commitlint/cli": "20.5.0",
|
|
44
|
+
"@commitlint/config-conventional": "20.5.0",
|
|
45
|
+
"@dezkareid/eslint-config-ts-base": "1.0.0",
|
|
43
46
|
"@rollup/plugin-typescript": "12.1.4",
|
|
44
47
|
"@types/fs-extra": "11.0.4",
|
|
45
48
|
"@types/node": "25.0.10",
|
|
46
49
|
"eslint": "9.39.2",
|
|
50
|
+
"husky": "9.1.7",
|
|
47
51
|
"prettier": "3.8.1",
|
|
48
52
|
"rollup": "4.56.0",
|
|
49
53
|
"typescript": "5.9.3",
|
|
@@ -56,6 +60,7 @@
|
|
|
56
60
|
"test:watch": "vitest",
|
|
57
61
|
"lint": "eslint src",
|
|
58
62
|
"format": "prettier --write src",
|
|
59
|
-
"setup-local": "pnpm run build && npx osddt setup --agents claude --repo-type single"
|
|
63
|
+
"setup-local": "pnpm run build && npx osddt setup --agents claude --repo-type single",
|
|
64
|
+
"update-local": "pnpm run build && npx osddt update"
|
|
60
65
|
}
|
|
61
66
|
}
|