@rickycourtes/mdtest 0.1.0 → 0.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1
4
+
5
+ - mdtest's own tests are now Markdown files in `tests/`, checked by mdtest.
6
+ - Publishing no longer runs the tests (`prepublishOnly` removed), so it
7
+ needs no Claude credential.
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  First release.
package/README.md CHANGED
@@ -277,8 +277,9 @@ const summary = await run({ rootDir: '.', reporter: defaultReporter() });
277
277
  process.exitCode = summary.success ? 0 : 1;
278
278
  ```
279
279
 
280
- `run` accepts a `verify(test, options)` function in place of Claude. That's
281
- how this package tests itself without API calls (`npm test`).
280
+ `run` accepts a `verify(test, options)` function in place of Claude, for
281
+ example to try a reporter without API calls. mdtest's own tests are Markdown
282
+ files in `tests/`.
282
283
 
283
284
  ## Try the example
284
285
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rickycourtes/mdtest",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Tests written in Markdown, checked by Claude. A Jest-style runner with no test code: describe behaviour in plain language and Claude verifies it against your project.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,9 +18,8 @@
18
18
  "CHANGELOG.md"
19
19
  ],
20
20
  "scripts": {
21
- "test": "node --test test/*.test.js",
22
- "example": "node bin/mdtest.js --rootDir example",
23
- "prepublishOnly": "npm test"
21
+ "test": "node bin/mdtest.js",
22
+ "example": "node bin/mdtest.js --rootDir example"
24
23
  },
25
24
  "engines": {
26
25
  "node": ">=20.3"