@whook/create 22.0.0 → 24.0.0

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.
@@ -18,20 +18,16 @@ exports[`initAuthor should handle git failures 1`] = `
18
18
  ],
19
19
  "inquirerPromptCalls": [
20
20
  [
21
- [
22
- {
23
- "default": undefined,
24
- "message": "What's your name?",
25
- "name": "authorName",
26
- "type": "input",
27
- },
28
- {
29
- "default": undefined,
30
- "message": "Your email?",
31
- "name": "authorEmail",
32
- "type": "input",
33
- },
34
- ],
21
+ {
22
+ "default": undefined,
23
+ "message": "What's your name?",
24
+ },
25
+ ],
26
+ [
27
+ {
28
+ "default": undefined,
29
+ "message": "Your email?",
30
+ },
35
31
  ],
36
32
  ],
37
33
  "lockReleaseCalls": [
@@ -85,20 +81,10 @@ exports[`initAuthor should release the lock on failure 1`] = `
85
81
  ],
86
82
  "inquirerPromptCalls": [
87
83
  [
88
- [
89
- {
90
- "default": "Wayne Campbell",
91
- "message": "What's your name?",
92
- "name": "authorName",
93
- "type": "input",
94
- },
95
- {
96
- "default": "wayne@warner.com",
97
- "message": "Your email?",
98
- "name": "authorEmail",
99
- "type": "input",
100
- },
101
- ],
84
+ {
85
+ "default": "Wayne Campbell",
86
+ "message": "What's your name?",
87
+ },
102
88
  ],
103
89
  ],
104
90
  "lockReleaseCalls": [
@@ -138,20 +124,16 @@ exports[`initAuthor should work 1`] = `
138
124
  ],
139
125
  "inquirerPromptCalls": [
140
126
  [
141
- [
142
- {
143
- "default": "Wayne Campbell",
144
- "message": "What's your name?",
145
- "name": "authorName",
146
- "type": "input",
147
- },
148
- {
149
- "default": "wayne@warner.com",
150
- "message": "Your email?",
151
- "name": "authorEmail",
152
- "type": "input",
153
- },
154
- ],
127
+ {
128
+ "default": "Wayne Campbell",
129
+ "message": "What's your name?",
130
+ },
131
+ ],
132
+ [
133
+ {
134
+ "default": "wayne@warner.com",
135
+ "message": "Your email?",
136
+ },
155
137
  ],
156
138
  ],
157
139
  "lockReleaseCalls": [
@@ -107,7 +107,7 @@ DEV_MODE=1
107
107
  "format": "node --run prettier",
108
108
  "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
109
109
  "lint": "eslint 'src/**/*.ts'",
110
- "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx src/runBuild.js",
110
+ "postbuild": "NODE_ENV=\${NODE_ENV:-development} node dist/runBuild.js",
111
111
  "prettier": "prettier --write 'src/**/*.ts'",
112
112
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
113
113
  "repl": "NODE_ENV=\${NODE_ENV:-development} tsx src/run.js -- __inject repl",
@@ -129,15 +129,15 @@ DEV_MODE=1
129
129
  "@whook/cors": "<current_version>",
130
130
  "@whook/swagger-ui": "<current_version>",
131
131
  "@whook/whook": "<current_version>",
132
- "application-services": "^9.0.0",
133
- "common-services": "^19.0.0",
132
+ "application-services": "^9.0.1",
133
+ "common-services": "^20.0.0",
134
134
  "http-auth-utils": "^7.0.1",
135
- "jwt-service": "^12.0.1",
136
- "knifecycle": "^21.0.1",
135
+ "jwt-service": "^12.0.2",
136
+ "knifecycle": "^21.3.0",
137
137
  "strict-qs": "^10.0.0",
138
138
  "type-fest": "^5.5.0",
139
139
  "ya-json-schema-types": "^2.0.2",
140
- "ya-open-api-types": "^2.1.2",
140
+ "ya-open-api-types": "^2.2.0",
141
141
  "yerror": "^11.0.0",
142
142
  "yhttperror": "^9.0.2",
143
143
  "@whook/http-router": "<current_version>",
@@ -149,6 +149,7 @@ DEV_MODE=1
149
149
  "@swc/cli": "^0.8.1",
150
150
  "@swc/core": "^1.15.24",
151
151
  "@swc/jest": "^0.2.39",
152
+ "@whook/dev": "<current_version>",
152
153
  "axios": "^1.14.0",
153
154
  "esbuild-node-externals": "^1.20.1",
154
155
  "eslint": "^10.2.0",
@@ -159,7 +160,7 @@ DEV_MODE=1
159
160
  "jsarch": "^7.1.0",
160
161
  "prettier": "^3.8.1",
161
162
  "rimraf": "^6.1.3",
162
- "schema2dts": "^9.0.1",
163
+ "schema2dts": "^9.0.2",
163
164
  "streamtest": "^4.0.0",
164
165
  "tsx": "^4.21.0",
165
166
  "typescript": "^6.0.2",
@@ -418,7 +419,7 @@ DEV_MODE=1
418
419
  "format": "node --run prettier",
419
420
  "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
420
421
  "lint": "eslint 'src/**/*.ts'",
421
- "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx src/runBuild.js",
422
+ "postbuild": "NODE_ENV=\${NODE_ENV:-development} node dist/runBuild.js",
422
423
  "prettier": "prettier --write 'src/**/*.ts'",
423
424
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
424
425
  "repl": "NODE_ENV=\${NODE_ENV:-development} tsx src/run.js -- __inject repl",
@@ -440,15 +441,15 @@ DEV_MODE=1
440
441
  "@whook/cors": "<current_version>",
441
442
  "@whook/swagger-ui": "<current_version>",
442
443
  "@whook/whook": "<current_version>",
443
- "application-services": "^9.0.0",
444
- "common-services": "^19.0.0",
444
+ "application-services": "^9.0.1",
445
+ "common-services": "^20.0.0",
445
446
  "http-auth-utils": "^7.0.1",
446
- "jwt-service": "^12.0.1",
447
- "knifecycle": "^21.0.1",
447
+ "jwt-service": "^12.0.2",
448
+ "knifecycle": "^21.3.0",
448
449
  "strict-qs": "^10.0.0",
449
450
  "type-fest": "^5.5.0",
450
451
  "ya-json-schema-types": "^2.0.2",
451
- "ya-open-api-types": "^2.1.2",
452
+ "ya-open-api-types": "^2.2.0",
452
453
  "yerror": "^11.0.0",
453
454
  "yhttperror": "^9.0.2",
454
455
  "@whook/http-router": "<current_version>",
@@ -460,6 +461,7 @@ DEV_MODE=1
460
461
  "@swc/cli": "^0.8.1",
461
462
  "@swc/core": "^1.15.24",
462
463
  "@swc/jest": "^0.2.39",
464
+ "@whook/dev": "<current_version>",
463
465
  "axios": "^1.14.0",
464
466
  "esbuild-node-externals": "^1.20.1",
465
467
  "eslint": "^10.2.0",
@@ -470,7 +472,7 @@ DEV_MODE=1
470
472
  "jsarch": "^7.1.0",
471
473
  "prettier": "^3.8.1",
472
474
  "rimraf": "^6.1.3",
473
- "schema2dts": "^9.0.1",
475
+ "schema2dts": "^9.0.2",
474
476
  "streamtest": "^4.0.0",
475
477
  "tsx": "^4.21.0",
476
478
  "typescript": "^6.0.2",
@@ -767,7 +769,7 @@ DEV_MODE=1
767
769
  "format": "node --run prettier",
768
770
  "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
769
771
  "lint": "eslint 'src/**/*.ts'",
770
- "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx src/runBuild.js",
772
+ "postbuild": "NODE_ENV=\${NODE_ENV:-development} node dist/runBuild.js",
771
773
  "prettier": "prettier --write 'src/**/*.ts'",
772
774
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
773
775
  "repl": "NODE_ENV=\${NODE_ENV:-development} tsx src/run.js -- __inject repl",
@@ -789,15 +791,15 @@ DEV_MODE=1
789
791
  "@whook/cors": "<current_version>",
790
792
  "@whook/swagger-ui": "<current_version>",
791
793
  "@whook/whook": "<current_version>",
792
- "application-services": "^9.0.0",
793
- "common-services": "^19.0.0",
794
+ "application-services": "^9.0.1",
795
+ "common-services": "^20.0.0",
794
796
  "http-auth-utils": "^7.0.1",
795
- "jwt-service": "^12.0.1",
796
- "knifecycle": "^21.0.1",
797
+ "jwt-service": "^12.0.2",
798
+ "knifecycle": "^21.3.0",
797
799
  "strict-qs": "^10.0.0",
798
800
  "type-fest": "^5.5.0",
799
801
  "ya-json-schema-types": "^2.0.2",
800
- "ya-open-api-types": "^2.1.2",
802
+ "ya-open-api-types": "^2.2.0",
801
803
  "yerror": "^11.0.0",
802
804
  "yhttperror": "^9.0.2",
803
805
  "@whook/http-router": "<current_version>",
@@ -809,6 +811,7 @@ DEV_MODE=1
809
811
  "@swc/cli": "^0.8.1",
810
812
  "@swc/core": "^1.15.24",
811
813
  "@swc/jest": "^0.2.39",
814
+ "@whook/dev": "<current_version>",
812
815
  "axios": "^1.14.0",
813
816
  "esbuild-node-externals": "^1.20.1",
814
817
  "eslint": "^10.2.0",
@@ -819,7 +822,7 @@ DEV_MODE=1
819
822
  "jsarch": "^7.1.0",
820
823
  "prettier": "^3.8.1",
821
824
  "rimraf": "^6.1.3",
822
- "schema2dts": "^9.0.1",
825
+ "schema2dts": "^9.0.2",
823
826
  "streamtest": "^4.0.0",
824
827
  "tsx": "^4.21.0",
825
828
  "typescript": "^6.0.2",
@@ -1099,7 +1102,7 @@ DEV_MODE=1
1099
1102
  "format": "node --run prettier",
1100
1103
  "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
1101
1104
  "lint": "eslint 'src/**/*.ts'",
1102
- "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx src/runBuild.js",
1105
+ "postbuild": "NODE_ENV=\${NODE_ENV:-development} node dist/runBuild.js",
1103
1106
  "prettier": "prettier --write 'src/**/*.ts'",
1104
1107
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
1105
1108
  "repl": "NODE_ENV=\${NODE_ENV:-development} tsx src/run.js -- __inject repl",
@@ -1121,15 +1124,15 @@ DEV_MODE=1
1121
1124
  "@whook/cors": "<current_version>",
1122
1125
  "@whook/swagger-ui": "<current_version>",
1123
1126
  "@whook/whook": "<current_version>",
1124
- "application-services": "^9.0.0",
1125
- "common-services": "^19.0.0",
1127
+ "application-services": "^9.0.1",
1128
+ "common-services": "^20.0.0",
1126
1129
  "http-auth-utils": "^7.0.1",
1127
- "jwt-service": "^12.0.1",
1128
- "knifecycle": "^21.0.1",
1130
+ "jwt-service": "^12.0.2",
1131
+ "knifecycle": "^21.3.0",
1129
1132
  "strict-qs": "^10.0.0",
1130
1133
  "type-fest": "^5.5.0",
1131
1134
  "ya-json-schema-types": "^2.0.2",
1132
- "ya-open-api-types": "^2.1.2",
1135
+ "ya-open-api-types": "^2.2.0",
1133
1136
  "yerror": "^11.0.0",
1134
1137
  "yhttperror": "^9.0.2",
1135
1138
  "@whook/http-router": "<current_version>",
@@ -1141,6 +1144,7 @@ DEV_MODE=1
1141
1144
  "@swc/cli": "^0.8.1",
1142
1145
  "@swc/core": "^1.15.24",
1143
1146
  "@swc/jest": "^0.2.39",
1147
+ "@whook/dev": "<current_version>",
1144
1148
  "axios": "^1.14.0",
1145
1149
  "esbuild-node-externals": "^1.20.1",
1146
1150
  "eslint": "^10.2.0",
@@ -1151,7 +1155,7 @@ DEV_MODE=1
1151
1155
  "jsarch": "^7.1.0",
1152
1156
  "prettier": "^3.8.1",
1153
1157
  "rimraf": "^6.1.3",
1154
- "schema2dts": "^9.0.1",
1158
+ "schema2dts": "^9.0.2",
1155
1159
  "streamtest": "^4.0.0",
1156
1160
  "tsx": "^4.21.0",
1157
1161
  "typescript": "^6.0.2",
@@ -13,24 +13,16 @@ exports[`initProject should fail with access problems 1`] = `
13
13
  ],
14
14
  "inquirerPromptCalls": [
15
15
  [
16
- [
17
- {
18
- "default": "new-whook-project",
19
- "message": "What's this new project name",
20
- "name": "projectName",
21
- "type": "input",
22
- },
23
- ],
16
+ {
17
+ "default": "new-whook-project",
18
+ "message": "What's this new project name",
19
+ },
24
20
  ],
25
21
  [
26
- [
27
- {
28
- "default": "/home/whoiam/projects/super-project",
29
- "message": "Provide the project's directory",
30
- "name": "projectDirectory",
31
- "type": "input",
32
- },
33
- ],
22
+ {
23
+ "default": "/home/whoiam/projects/super-project",
24
+ "message": "Provide the project's directory",
25
+ },
34
26
  ],
35
27
  ],
36
28
  "lockReleaseCalls": [
@@ -68,24 +60,16 @@ exports[`initProject should work 1`] = `
68
60
  ],
69
61
  "inquirerPromptCalls": [
70
62
  [
71
- [
72
- {
73
- "default": "new-whook-project",
74
- "message": "What's this new project name",
75
- "name": "projectName",
76
- "type": "input",
77
- },
78
- ],
63
+ {
64
+ "default": "new-whook-project",
65
+ "message": "What's this new project name",
66
+ },
79
67
  ],
80
68
  [
81
- [
82
- {
83
- "default": "/home/whoiam/projects/super-project",
84
- "message": "Provide the project's directory",
85
- "name": "projectDirectory",
86
- "type": "input",
87
- },
88
- ],
69
+ {
70
+ "default": "/home/whoiam/projects/super-project",
71
+ "message": "Provide the project's directory",
72
+ },
89
73
  ],
90
74
  ],
91
75
  "lockReleaseCalls": [
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import { describe, test, beforeEach, jest, expect } from '@jest/globals';
3
- import _inquirer from 'inquirer';
3
+ import * as _inquirer from '@inquirer/prompts';
4
4
  import initAuthor from './author.js';
5
5
  import { YError } from 'yerror';
6
6
  import { type LogService, type LockService } from 'common-services';
@@ -11,13 +11,13 @@ describe('initAuthor', () => {
11
11
  take: jest.fn<LockService<unknown>['take']>(),
12
12
  release: jest.fn<LockService<unknown>['release']>(),
13
13
  };
14
- const inquirer = { prompt: jest.fn<(typeof _inquirer)['prompt']>() };
14
+ const inquirer = { input: jest.fn<(typeof _inquirer)['input']>() };
15
15
  const log = jest.fn<LogService>();
16
16
 
17
17
  beforeEach(() => {
18
18
  exec.mockReset();
19
19
  lock.take.mockReset();
20
- inquirer.prompt.mockReset();
20
+ inquirer.input.mockReset();
21
21
  lock.release.mockReset();
22
22
  log.mockReset();
23
23
  });
@@ -32,10 +32,8 @@ describe('initAuthor', () => {
32
32
  cb(null, 'wayne@warner.com'),
33
33
  );
34
34
  lock.take.mockResolvedValueOnce(undefined);
35
- inquirer.prompt.mockResolvedValueOnce({
36
- authorName: 'Wayne Campbell',
37
- authorEmail: 'wayne@warner.com',
38
- });
35
+ inquirer.input.mockResolvedValueOnce('Wayne Campbell');
36
+ inquirer.input.mockResolvedValueOnce('wayne@warner.com');
39
37
  lock.release.mockResolvedValueOnce(undefined);
40
38
 
41
39
  const author = await initAuthor({
@@ -47,7 +45,7 @@ describe('initAuthor', () => {
47
45
 
48
46
  expect({
49
47
  author,
50
- inquirerPromptCalls: inquirer.prompt.mock.calls,
48
+ inquirerPromptCalls: inquirer.input.mock.calls,
51
49
  lockTakeCalls: lock.take.mock.calls,
52
50
  lockReleaseCalls: lock.release.mock.calls,
53
51
  execCalls: exec.mock.calls,
@@ -65,10 +63,8 @@ describe('initAuthor', () => {
65
63
  cb(new Error('E_GIT_ERROR')),
66
64
  );
67
65
  lock.take.mockResolvedValueOnce(undefined);
68
- inquirer.prompt.mockResolvedValueOnce({
69
- authorName: 'Wayne Campbell',
70
- authorEmail: 'wayne@warner.com',
71
- });
66
+ inquirer.input.mockResolvedValueOnce('Wayne Campbell');
67
+ inquirer.input.mockResolvedValueOnce('wayne@warner.com');
72
68
  lock.release.mockResolvedValueOnce(undefined);
73
69
 
74
70
  const author = await initAuthor({
@@ -80,7 +76,7 @@ describe('initAuthor', () => {
80
76
 
81
77
  expect({
82
78
  author,
83
- inquirerPromptCalls: inquirer.prompt.mock.calls,
79
+ inquirerPromptCalls: inquirer.input.mock.calls,
84
80
  lockTakeCalls: lock.take.mock.calls,
85
81
  lockReleaseCalls: lock.release.mock.calls,
86
82
  execCalls: exec.mock.calls,
@@ -98,7 +94,7 @@ describe('initAuthor', () => {
98
94
  cb(null, 'wayne@warner.com'),
99
95
  );
100
96
  lock.take.mockResolvedValueOnce(undefined);
101
- inquirer.prompt.mockRejectedValueOnce(new Error('E_PROMPT_ERROR'));
97
+ inquirer.input.mockRejectedValueOnce(new Error('E_PROMPT_ERROR'));
102
98
  lock.release.mockResolvedValueOnce(undefined);
103
99
 
104
100
  try {
@@ -112,7 +108,7 @@ describe('initAuthor', () => {
112
108
  expect({
113
109
  errorCode: (err as YError).code,
114
110
  errorDebug: (err as YError).debug,
115
- inquirerPromptCalls: inquirer.prompt.mock.calls,
111
+ inquirerPromptCalls: inquirer.input.mock.calls,
116
112
  lockTakeCalls: lock.take.mock.calls,
117
113
  lockReleaseCalls: lock.release.mock.calls,
118
114
  execCalls: exec.mock.calls,
@@ -1,5 +1,5 @@
1
1
  import { autoService } from 'knifecycle';
2
- import _inquirer from 'inquirer';
2
+ import * as _inquirer from '@inquirer/prompts';
3
3
  import { printStackTrace, YError } from 'yerror';
4
4
  import { exec as _exec } from 'child_process';
5
5
  import { type LockService, type LogService } from 'common-services';
@@ -33,23 +33,14 @@ export default autoService(async function initAuthor({
33
33
  try {
34
34
  await lock.take('cli:input');
35
35
 
36
- const { authorName, authorEmail } = await inquirer.prompt<{
37
- authorName: string;
38
- authorEmail: string;
39
- }>([
40
- {
41
- name: 'authorName',
42
- type: 'input',
43
- message: "What's your name?",
44
- default: userName,
45
- },
46
- {
47
- name: 'authorEmail',
48
- type: 'input',
49
- message: 'Your email?',
50
- default: userEmail,
51
- },
52
- ]);
36
+ const authorName = await inquirer.input({
37
+ message: "What's your name?",
38
+ default: userName,
39
+ });
40
+ const authorEmail = await inquirer.input({
41
+ message: 'Your email?',
42
+ default: userEmail,
43
+ });
53
44
 
54
45
  await lock.release('cli:input');
55
46
 
@@ -45,6 +45,10 @@ describe('initCreateWhook', () => {
45
45
  '@whook/swagger-ui': '<current_version>',
46
46
  '@whook/whook': '<current_version>',
47
47
  },
48
+ devDependencies: {
49
+ ..._packageJSON.devDependencies,
50
+ '@whook/dev': '<current_version>',
51
+ },
48
52
  };
49
53
  const author = {
50
54
  name: 'Wayne Campbell',
@@ -178,15 +182,15 @@ describe('initCreateWhook', () => {
178
182
  "@whook/http-transaction": "<current_version>",
179
183
  "@whook/swagger-ui": "<current_version>",
180
184
  "@whook/whook": "<current_version>",
181
- "application-services": "^9.0.0",
182
- "common-services": "^19.0.0",
185
+ "application-services": "^9.0.1",
186
+ "common-services": "^20.0.0",
183
187
  "http-auth-utils": "^7.0.1",
184
- "jwt-service": "^12.0.1",
185
- "knifecycle": "^21.0.1",
188
+ "jwt-service": "^12.0.2",
189
+ "knifecycle": "^21.3.0",
186
190
  "strict-qs": "^10.0.0",
187
191
  "type-fest": "^5.5.0",
188
192
  "ya-json-schema-types": "^2.0.2",
189
- "ya-open-api-types": "^2.1.2",
193
+ "ya-open-api-types": "^2.2.0",
190
194
  "yerror": "^11.0.0",
191
195
  "yhttperror": "^9.0.2",
192
196
  },
@@ -196,6 +200,7 @@ describe('initCreateWhook', () => {
196
200
  "@swc/cli": "^0.8.1",
197
201
  "@swc/core": "^1.15.24",
198
202
  "@swc/jest": "^0.2.39",
203
+ "@whook/dev": "<current_version>",
199
204
  "axios": "^1.14.0",
200
205
  "esbuild-node-externals": "^1.20.1",
201
206
  "eslint": "^10.2.0",
@@ -206,7 +211,7 @@ describe('initCreateWhook', () => {
206
211
  "jsarch": "^7.1.0",
207
212
  "prettier": "^3.8.1",
208
213
  "rimraf": "^6.1.3",
209
- "schema2dts": "^9.0.1",
214
+ "schema2dts": "^9.0.2",
210
215
  "streamtest": "^4.0.0",
211
216
  "tsx": "^4.21.0",
212
217
  "typescript": "^6.0.2",
@@ -284,7 +289,7 @@ describe('initCreateWhook', () => {
284
289
  "format": "node --run prettier",
285
290
  "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
286
291
  "lint": "eslint 'src/**/*.ts'",
287
- "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx src/runBuild.js",
292
+ "postbuild": "NODE_ENV=\${NODE_ENV:-development} node dist/runBuild.js",
288
293
  "prettier": "prettier --write 'src/**/*.ts'",
289
294
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
290
295
  "repl": "NODE_ENV=\${NODE_ENV:-development} tsx src/run.js -- __inject repl",
@@ -392,15 +397,15 @@ describe('initCreateWhook', () => {
392
397
  "@whook/http-transaction": "<current_version>",
393
398
  "@whook/swagger-ui": "<current_version>",
394
399
  "@whook/whook": "<current_version>",
395
- "application-services": "^9.0.0",
396
- "common-services": "^19.0.0",
400
+ "application-services": "^9.0.1",
401
+ "common-services": "^20.0.0",
397
402
  "http-auth-utils": "^7.0.1",
398
- "jwt-service": "^12.0.1",
399
- "knifecycle": "^21.0.1",
403
+ "jwt-service": "^12.0.2",
404
+ "knifecycle": "^21.3.0",
400
405
  "strict-qs": "^10.0.0",
401
406
  "type-fest": "^5.5.0",
402
407
  "ya-json-schema-types": "^2.0.2",
403
- "ya-open-api-types": "^2.1.2",
408
+ "ya-open-api-types": "^2.2.0",
404
409
  "yerror": "^11.0.0",
405
410
  "yhttperror": "^9.0.2",
406
411
  },
@@ -410,6 +415,7 @@ describe('initCreateWhook', () => {
410
415
  "@swc/cli": "^0.8.1",
411
416
  "@swc/core": "^1.15.24",
412
417
  "@swc/jest": "^0.2.39",
418
+ "@whook/dev": "<current_version>",
413
419
  "axios": "^1.14.0",
414
420
  "esbuild-node-externals": "^1.20.1",
415
421
  "eslint": "^10.2.0",
@@ -420,7 +426,7 @@ describe('initCreateWhook', () => {
420
426
  "jsarch": "^7.1.0",
421
427
  "prettier": "^3.8.1",
422
428
  "rimraf": "^6.1.3",
423
- "schema2dts": "^9.0.1",
429
+ "schema2dts": "^9.0.2",
424
430
  "streamtest": "^4.0.0",
425
431
  "tsx": "^4.21.0",
426
432
  "typescript": "^6.0.2",
@@ -498,7 +504,7 @@ describe('initCreateWhook', () => {
498
504
  "format": "node --run prettier",
499
505
  "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
500
506
  "lint": "eslint 'src/**/*.ts'",
501
- "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx src/runBuild.js",
507
+ "postbuild": "NODE_ENV=\${NODE_ENV:-development} node dist/runBuild.js",
502
508
  "prettier": "prettier --write 'src/**/*.ts'",
503
509
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
504
510
  "repl": "NODE_ENV=\${NODE_ENV:-development} tsx src/run.js -- __inject repl",
@@ -586,15 +592,15 @@ describe('initCreateWhook', () => {
586
592
  "@whook/http-transaction": "<current_version>",
587
593
  "@whook/swagger-ui": "<current_version>",
588
594
  "@whook/whook": "<current_version>",
589
- "application-services": "^9.0.0",
590
- "common-services": "^19.0.0",
595
+ "application-services": "^9.0.1",
596
+ "common-services": "^20.0.0",
591
597
  "http-auth-utils": "^7.0.1",
592
- "jwt-service": "^12.0.1",
593
- "knifecycle": "^21.0.1",
598
+ "jwt-service": "^12.0.2",
599
+ "knifecycle": "^21.3.0",
594
600
  "strict-qs": "^10.0.0",
595
601
  "type-fest": "^5.5.0",
596
602
  "ya-json-schema-types": "^2.0.2",
597
- "ya-open-api-types": "^2.1.2",
603
+ "ya-open-api-types": "^2.2.0",
598
604
  "yerror": "^11.0.0",
599
605
  "yhttperror": "^9.0.2",
600
606
  },
@@ -604,6 +610,7 @@ describe('initCreateWhook', () => {
604
610
  "@swc/cli": "^0.8.1",
605
611
  "@swc/core": "^1.15.24",
606
612
  "@swc/jest": "^0.2.39",
613
+ "@whook/dev": "<current_version>",
607
614
  "axios": "^1.14.0",
608
615
  "esbuild-node-externals": "^1.20.1",
609
616
  "eslint": "^10.2.0",
@@ -614,7 +621,7 @@ describe('initCreateWhook', () => {
614
621
  "jsarch": "^7.1.0",
615
622
  "prettier": "^3.8.1",
616
623
  "rimraf": "^6.1.3",
617
- "schema2dts": "^9.0.1",
624
+ "schema2dts": "^9.0.2",
618
625
  "streamtest": "^4.0.0",
619
626
  "tsx": "^4.21.0",
620
627
  "typescript": "^6.0.2",
@@ -692,7 +699,7 @@ describe('initCreateWhook', () => {
692
699
  "format": "node --run prettier",
693
700
  "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
694
701
  "lint": "eslint 'src/**/*.ts'",
695
- "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx src/runBuild.js",
702
+ "postbuild": "NODE_ENV=\${NODE_ENV:-development} node dist/runBuild.js",
696
703
  "prettier": "prettier --write 'src/**/*.ts'",
697
704
  "rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
698
705
  "repl": "NODE_ENV=\${NODE_ENV:-development} tsx src/run.js -- __inject repl",