create-fastify-flux 3.1.3 → 3.3.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.
package/dist/action.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.actionHandler =
|
|
6
|
+
exports.actionHandler = actionHandler;
|
|
7
7
|
const path_1 = __importDefault(require("path"));
|
|
8
8
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
9
9
|
async function updatePackageJson(file, options) {
|
|
@@ -36,5 +36,4 @@ Done. Now run:
|
|
|
36
36
|
npm run dev
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
|
-
exports.actionHandler = actionHandler;
|
|
40
39
|
//# sourceMappingURL=action.js.map
|
package/dist/action.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.js","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"action.js","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":";;;;;AAiBA,sCA4BC;AA7CD,gDAAwB;AACxB,wDAA0B;AAE1B,KAAK,UAAU,iBAAiB,CAAC,IAAY,EAAE,OAAyB;IACtE,MAAM,OAAO,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAExC,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;QACjB,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;IACpC,OAAO,CAAC,YAAY,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC;IAC/C,OAAO,CAAC,eAAe,CAAC,kBAAkB,CAAC,GAAG,OAAO,CAAC;IAEtD,MAAM,kBAAE,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AACnD,CAAC;AAEM,KAAK,UAAU,aAAa,CAAC,OAGnC;IACC,IAAI,MAAM,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,aAAa,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACpE,IAAI,CAAC,CAAC,MAAM,kBAAE,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;QACnC,MAAM,GAAG,cAAI,CAAC,IAAI,CAChB,SAAS,EACT,iCAAiC,OAAO,CAAC,QAAQ,GAAG,CACrD,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,MAAM,kBAAE,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE9B,MAAM,iBAAiB,CAAC,cAAI,CAAC,IAAI,CAAC,MAAM,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;IAEpE,OAAO,CAAC,GAAG,CAAC;sBACQ,MAAM;;;;OAIrB,OAAO,CAAC,IAAI;;;;;CAKlB,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -17,26 +17,26 @@
|
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fastify/swagger": "
|
|
21
|
-
"@fastify/swagger-ui": "
|
|
22
|
-
"@prisma/client": "
|
|
23
|
-
"fastify": "
|
|
20
|
+
"@fastify/swagger": "9.5.1",
|
|
21
|
+
"@fastify/swagger-ui": "5.2.3",
|
|
22
|
+
"@prisma/client": "6.9.0",
|
|
23
|
+
"fastify": "5.3.3",
|
|
24
24
|
"fastify-flux": "workspace:*",
|
|
25
25
|
"tsconfig-paths": "4.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/jest": "29.5.
|
|
29
|
-
"@types/node": "
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "
|
|
31
|
-
"@typescript-eslint/parser": "
|
|
32
|
-
"axios": "1.
|
|
33
|
-
"esbuild": "0.
|
|
34
|
-
"eslint": "
|
|
28
|
+
"@types/jest": "29.5.14",
|
|
29
|
+
"@types/node": "24.0.0",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "8.34.0",
|
|
31
|
+
"@typescript-eslint/parser": "8.34.0",
|
|
32
|
+
"axios": "1.9.0",
|
|
33
|
+
"esbuild": "0.25.5",
|
|
34
|
+
"eslint": "9.28.0",
|
|
35
35
|
"fastify-flux-cli": "workspace:*",
|
|
36
|
-
"jest": "
|
|
37
|
-
"pino-pretty": "
|
|
38
|
-
"prisma": "
|
|
39
|
-
"ts-jest": "29.
|
|
40
|
-
"typescript": "5.
|
|
36
|
+
"jest": "30.0.0",
|
|
37
|
+
"pino-pretty": "13.0.0",
|
|
38
|
+
"prisma": "6.9.0",
|
|
39
|
+
"ts-jest": "29.3.4",
|
|
40
|
+
"typescript": "5.8.3"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -235,7 +235,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
235
235
|
* @request DELETE:/todos/{id}
|
|
236
236
|
*/
|
|
237
237
|
remove: (id: number, params: RequestParams = {}) =>
|
|
238
|
-
this.request<
|
|
238
|
+
this.request<any, any>({
|
|
239
239
|
path: `/todos/${id}`,
|
|
240
240
|
method: 'DELETE',
|
|
241
241
|
format: 'json',
|
package/package.json
CHANGED
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
"author": "",
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"chalk": "5.
|
|
12
|
-
"commander": "
|
|
11
|
+
"chalk": "5.4.1",
|
|
12
|
+
"commander": "14.0.0",
|
|
13
13
|
"enquirer": "2.4.1",
|
|
14
|
-
"fs-extra": "11.
|
|
14
|
+
"fs-extra": "11.3.0",
|
|
15
15
|
"source-map-support": "0.5.21"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/fs-extra": "11.0.4",
|
|
19
|
-
"@types/jest": "29.5.
|
|
20
|
-
"@types/node": "
|
|
21
|
-
"jest": "
|
|
22
|
-
"ts-jest": "29.
|
|
23
|
-
"typescript": "5.
|
|
19
|
+
"@types/jest": "29.5.14",
|
|
20
|
+
"@types/node": "24.0.0",
|
|
21
|
+
"jest": "30.0.0",
|
|
22
|
+
"ts-jest": "29.3.4",
|
|
23
|
+
"typescript": "5.8.3"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"cli.js",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"templates/"
|
|
29
29
|
],
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": "20.
|
|
31
|
+
"node": "20.18.1"
|
|
32
32
|
},
|
|
33
|
-
"version": "3.
|
|
33
|
+
"version": "3.3.0",
|
|
34
34
|
"scripts": {
|
|
35
35
|
"clean": "rm -rf dist/",
|
|
36
36
|
"test": "exit 0",
|