development-companion 1.2.0 → 1.2.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/README.md +14 -0
- package/RELEASE.md +7 -7
- package/package.json +2 -2
- package/src/scaffold.mjs +4 -1
package/README.md
CHANGED
|
@@ -228,6 +228,20 @@ node bin/devcomp.mjs --help
|
|
|
228
228
|
|
|
229
229
|
Requirements: Node >= 22. No runtime dependencies, no `postinstall`, no telemetry.
|
|
230
230
|
|
|
231
|
+
### End-to-end framework test
|
|
232
|
+
|
|
233
|
+
The expense tracker is a repeatable E2E fixture for the framework itself:
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
DC_E2E_ITERATION=01 node scripts/e2e-expense.mjs
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
It deletes `~/repos/dc-e2e-expense`, installs the published package with `npx`, runs
|
|
240
|
+
`init`, `doctor`, and `scaffold`, copies the expense app, and runs unit, API, component,
|
|
241
|
+
and Playwright tests. Screenshots, command logs, process artifacts, and `report.md` are
|
|
242
|
+
written to `plannification/validation/e2e-expense/<iteration>/` (gitignored). The workdir
|
|
243
|
+
stays for inspection; the next run deletes it.
|
|
244
|
+
|
|
231
245
|
## Repository layout
|
|
232
246
|
|
|
233
247
|
```text
|
package/RELEASE.md
CHANGED
|
@@ -43,7 +43,7 @@ npm pack --pack-destination "$packdir"
|
|
|
43
43
|
app=$(mktemp -d)
|
|
44
44
|
cd "$app"
|
|
45
45
|
npm init -y
|
|
46
|
-
npm install "$packdir"/development-companion-1.2.
|
|
46
|
+
npm install "$packdir"/development-companion-1.2.1.tgz
|
|
47
47
|
./node_modules/.bin/devcomp --version
|
|
48
48
|
./node_modules/.bin/devcomp init . --yes --harness opencode --profile web
|
|
49
49
|
./node_modules/.bin/devcomp doctor .
|
|
@@ -71,7 +71,7 @@ republish immediately. Wait a few minutes and verify:
|
|
|
71
71
|
npm view development-companion version dist-tags
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
The `latest` tag must point to `1.2.
|
|
74
|
+
The `latest` tag must point to `1.2.1`, not `0.0.0-stage`. If it still points to the
|
|
75
75
|
placeholder after several minutes, check the npmjs.com package page and the Staged
|
|
76
76
|
Packages tab before retrying.
|
|
77
77
|
|
|
@@ -79,9 +79,9 @@ Packages tab before retrying.
|
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
81
|
cd "$(mktemp -d)"
|
|
82
|
-
npx development-companion@1.2.
|
|
83
|
-
npx development-companion@1.2.
|
|
84
|
-
npx development-companion@1.2.
|
|
82
|
+
npx development-companion@1.2.1 --version
|
|
83
|
+
npx development-companion@1.2.1 init . --yes --harness opencode --profile web
|
|
84
|
+
npx development-companion@1.2.1 doctor .
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
Also verify the package page:
|
|
@@ -93,14 +93,14 @@ https://www.npmjs.com/package/development-companion
|
|
|
93
93
|
## 6. Tag and publish the source release
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
|
-
git tag -a v1.2.
|
|
96
|
+
git tag -a v1.2.1 -m "v1.2.1"
|
|
97
97
|
git push origin main --tags
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
Create the release on Codeberg:
|
|
101
101
|
|
|
102
102
|
```text
|
|
103
|
-
https://codeberg.org/rockmadehome/development-companion/releases/new?tag=v1.2.
|
|
103
|
+
https://codeberg.org/rockmadehome/development-companion/releases/new?tag=v1.2.1
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
Include the install command, the supported harness tiers, and the breaking changes from
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "development-companion",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Harness-neutral development process, roles, and skills for AI coding agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"node": ">=22"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
|
-
"test": "node --test",
|
|
37
|
+
"test": "node --test test/*.test.mjs",
|
|
38
38
|
"pack:check": "npm pack --dry-run"
|
|
39
39
|
},
|
|
40
40
|
"keywords": [
|
package/src/scaffold.mjs
CHANGED
|
@@ -55,7 +55,7 @@ function webPackage() {
|
|
|
55
55
|
"@types/react": "^19.3.0",
|
|
56
56
|
"@types/react-dom": "^19.3.0",
|
|
57
57
|
"@vitejs/plugin-react": "^6.1.2",
|
|
58
|
-
"jsdom": "^
|
|
58
|
+
"jsdom": "^29.1.1",
|
|
59
59
|
"typescript": "^7.0.2",
|
|
60
60
|
"vite": "^8.3.5",
|
|
61
61
|
"vitest": "^5.0.5"
|
|
@@ -125,6 +125,9 @@ import react from "@vitejs/plugin-react";
|
|
|
125
125
|
|
|
126
126
|
export default defineConfig({
|
|
127
127
|
plugins: [react()],
|
|
128
|
+
server: {
|
|
129
|
+
host: "127.0.0.1"
|
|
130
|
+
},
|
|
128
131
|
test: {
|
|
129
132
|
environment: "jsdom"
|
|
130
133
|
}
|