fix: verify-references installs TS deps; sync-check covers expansion tests; template gitignore and passWithNoTests
verify-references ran a bare `npx vitest run` in the staged reference, which fetched an unrelated vitest that could not load the reference config. It now installs the reference's devDependencies first. sync-check also checks each module's expansion/tests against ### headings in expansion/README.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ffa99785c3
commit
1453a00b9c
14 files changed
+59
-18
No files matched your search
@@ -244,10 +244,10 @@ cp -r workspace-template/ts ~/my-engine
|
||||
cd ~/my-engine
|
||||
git init && git add -A && git commit -m "start from template"
|
||||
npm install
|
||||
npm test -- --passWithNoTests
|
||||
npm test
|
||||
```
|
||||
|
||||
Copy the whole directory with `cp -r` so the hidden `.course.json` file (which records your track) comes along. With no tests yet, `cargo test` reports 0 tests, and `npm test` needs `--passWithNoTests` to exit cleanly.
|
||||
Copy the whole directory with `cp -r` so the hidden `.course.json` file (which records your track) comes along. With no tests yet, both `cargo test` and `npm test` report 0 tests and exit cleanly.
|
||||
|
||||
**Read the template's README.** Your engine goes in `src/engine/`, your cards in `src/content/`, and `src/harness` is the thin adapter the course's tests call.
|
||||
|
||||
|
||||
Reference in new issue
Block a user