@book000/create-ts 0.2.102 → 0.2.104

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 CHANGED
@@ -64,6 +64,8 @@ Every project gets `tsconfig.json`, `.prettierrc.yml`, `eslint.config.mjs`, `ren
64
64
 
65
65
  Inside the generated project, `pnpm run lint`, `pnpm run test` (with `--test`), `pnpm start` and `pnpm run dev` are available.
66
66
 
67
+ The `fastify` test script enables Node.js VM modules so Jest can load ESM dependencies used by request injection. It requires Node.js v24.9 or later; the template pins a compatible version in `engines.node`.
68
+
67
69
  ## Development
68
70
 
69
71
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@book000/create-ts",
3
- "version": "0.2.102",
3
+ "version": "0.2.104",
4
4
  "description": "Create book000-style TypeScript projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "generate-schema": "typescript-json-schema --required src/config.ts ConfigInterface -o schema/Configuration.json"
20
20
  },
21
21
  "dependencies": {
22
- "@book000/node-utils": "1.26.24"
22
+ "@book000/node-utils": "1.26.25"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@book000/eslint-config": "1.16.125",
@@ -9,8 +9,8 @@ importers:
9
9
  .:
10
10
  dependencies:
11
11
  '@book000/node-utils':
12
- specifier: 1.26.24
13
- version: 1.26.24
12
+ specifier: 1.26.25
13
+ version: 1.26.25
14
14
  devDependencies:
15
15
  '@book000/eslint-config':
16
16
  specifier: 1.16.125
@@ -218,8 +218,8 @@ packages:
218
218
  peerDependencies:
219
219
  eslint: 10.14.0
220
220
 
221
- '@book000/node-utils@1.26.24':
222
- resolution: {integrity: sha512-L7szxExdilz16mSd6Ph+T+FNl9+1yqng0zn4Avl0vKvteikCWw52u4RLIGCsM7ifBvonFPoqHx7I5BNHyyWBvw==}
221
+ '@book000/node-utils@1.26.25':
222
+ resolution: {integrity: sha512-8+TsV7DZNCqw9heCR4BYgAg4udjsHaUCCBqnenext0VG3eGEJC8a/htbrMXFIGBrz5cKZA/M7w5pPN37+Ek7Mw==}
223
223
 
224
224
  '@cacheable/memory@2.2.0':
225
225
  resolution: {integrity: sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==}
@@ -2886,7 +2886,7 @@ snapshots:
2886
2886
  - ts-declaration-location
2887
2887
  - typescript
2888
2888
 
2889
- '@book000/node-utils@1.26.24':
2889
+ '@book000/node-utils@1.26.25':
2890
2890
  dependencies:
2891
2891
  '@sentry/node': 11.12.0
2892
2892
  cycle: 1.0.3
@@ -19,7 +19,7 @@
19
19
  "generate-schema": "typescript-json-schema --required src/config.ts ConfigInterface -o schema/Configuration.json"
20
20
  },
21
21
  "dependencies": {
22
- "@book000/node-utils": "1.26.24",
22
+ "@book000/node-utils": "1.26.25",
23
23
  "discord.js": "14.28.1"
24
24
  },
25
25
  "devDependencies": {
@@ -9,8 +9,8 @@ importers:
9
9
  .:
10
10
  dependencies:
11
11
  '@book000/node-utils':
12
- specifier: 1.26.24
13
- version: 1.26.24
12
+ specifier: 1.26.25
13
+ version: 1.26.25
14
14
  discord.js:
15
15
  specifier: 14.28.1
16
16
  version: 14.28.1
@@ -221,8 +221,8 @@ packages:
221
221
  peerDependencies:
222
222
  eslint: 10.14.0
223
223
 
224
- '@book000/node-utils@1.26.24':
225
- resolution: {integrity: sha512-L7szxExdilz16mSd6Ph+T+FNl9+1yqng0zn4Avl0vKvteikCWw52u4RLIGCsM7ifBvonFPoqHx7I5BNHyyWBvw==}
224
+ '@book000/node-utils@1.26.25':
225
+ resolution: {integrity: sha512-8+TsV7DZNCqw9heCR4BYgAg4udjsHaUCCBqnenext0VG3eGEJC8a/htbrMXFIGBrz5cKZA/M7w5pPN37+Ek7Mw==}
226
226
 
227
227
  '@cacheable/memory@2.2.0':
228
228
  resolution: {integrity: sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==}
@@ -2974,7 +2974,7 @@ snapshots:
2974
2974
  - ts-declaration-location
2975
2975
  - typescript
2976
2976
 
2977
- '@book000/node-utils@1.26.24':
2977
+ '@book000/node-utils@1.26.25':
2978
2978
  dependencies:
2979
2979
  '@sentry/node': 11.12.0
2980
2980
  cycle: 1.0.3
@@ -8,7 +8,7 @@
8
8
  "preinstall": "npx only-allow pnpm",
9
9
  "start": "tsx ./src/main.ts",
10
10
  "dev": "tsx watch ./src/main.ts",
11
- "test": "jest --runInBand --passWithNoTests --detectOpenHandles --forceExit",
11
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --passWithNoTests --detectOpenHandles --forceExit",
12
12
  "lint": "run-z lint:prettier,lint:eslint,lint:tsc",
13
13
  "lint:prettier": "prettier --check src/",
14
14
  "lint:eslint": "eslint src/ -c eslint.config.mjs",