astro-accelerator-utils 0.3.78 → 0.3.80

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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -11,6 +11,8 @@ Utility classes for Astro Accelerator
11
11
 
12
12
  This package is tested with CucumberJS. The tests are written in the features folder and are run using the `pnpm test` command.
13
13
 
14
+ See [TEST.md](TEST.md) for detailed test results and coverage information.
15
+
14
16
  ## Update Type Information
15
17
 
16
18
  Run the command:
@@ -27,6 +29,12 @@ Run the command:
27
29
  pnpm test
28
30
  ```
29
31
 
32
+ To generate a coverage report in TEST.md, run:
33
+
34
+ ```bash
35
+ pnpm test:report
36
+ ```
37
+
30
38
  ## Create new version
31
39
 
32
40
  Run the command:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-accelerator-utils",
3
- "version": "0.3.78",
3
+ "version": "0.3.80",
4
4
  "description": "Astro utilities for Astro Accelerator.",
5
5
  "main": "index.mjs",
6
6
  "type": "module",
@@ -17,6 +17,7 @@
17
17
  "spell": "cspell lint \"**\"",
18
18
  "types": "node ./clean.mjs && npx tsc index.mjs --allowJs --declaration --emitDeclarationOnly",
19
19
  "test": "c8 --include='lib/**/*.mjs' --exclude='features/**' --reporter=text --all cucumber-js",
20
+ "test:report": "c8 --include='lib/**/*.mjs' --exclude='features/**' --reporter=text --all cucumber-js 2>&1 | tee TEST.md",
20
21
  "update-node": "bash -c 'source $NVM_DIR/nvm.sh && nvm install --lts && npm install -g pnpm'"
21
22
  },
22
23
  "repository": {
@@ -36,9 +37,9 @@
36
37
  "homepage": "https://astro.stevefenton.co.uk/",
37
38
  "devDependencies": {
38
39
  "@cucumber/cucumber": "^12.7.0",
39
- "@types/node": "^25.5.0",
40
+ "@types/node": "^25.5.2",
40
41
  "c8": "^11.0.0",
41
- "cspell": "^9.7.0",
42
+ "cspell": "^9.8.0",
42
43
  "rehype-stringify": "^10.0.1",
43
44
  "remark-parse": "^11.0.0",
44
45
  "remark-rehype": "^11.1.2",