create-nest-minimum 0.0.46 → 0.0.48
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/index.mjs +2 -11
- package/package.json +3 -3
- package/template/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,6 @@ import { cancel, confirm, intro, isCancel, outro, select, tasks, text } from "@c
|
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { scheduler } from "node:timers/promises";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
9
|
-
|
|
10
9
|
//#region src/context.ts
|
|
11
10
|
var Context = class {
|
|
12
11
|
scriptsToSet = {};
|
|
@@ -39,7 +38,6 @@ var Context = class {
|
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
};
|
|
42
|
-
|
|
43
41
|
//#endregion
|
|
44
42
|
//#region src/messages.ts
|
|
45
43
|
const MESSAGES = {
|
|
@@ -58,12 +56,7 @@ const MESSAGES = {
|
|
|
58
56
|
OPERATION_ABORTED: "Operation cancelled.",
|
|
59
57
|
DRY_RUN_MODE: "Dry run mode enabled. No files were created or modified."
|
|
60
58
|
};
|
|
61
|
-
|
|
62
|
-
//#endregion
|
|
63
|
-
//#region src/utils.ts
|
|
64
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
65
|
-
const __dirname = dirname(__filename);
|
|
66
|
-
|
|
59
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
67
60
|
//#endregion
|
|
68
61
|
//#region src/action.ts
|
|
69
62
|
let HttpLibrary = /* @__PURE__ */ function(HttpLibrary) {
|
|
@@ -307,7 +300,6 @@ var Action = class {
|
|
|
307
300
|
};
|
|
308
301
|
}
|
|
309
302
|
};
|
|
310
|
-
|
|
311
303
|
//#endregion
|
|
312
304
|
//#region src/index.ts
|
|
313
305
|
const pkg = readJsonFile(join(__dirname, "..", "package.json"));
|
|
@@ -319,6 +311,5 @@ program.on("command:*", () => {
|
|
|
319
311
|
console.log(`See ${red`--help`} for a list of available commands.\n`);
|
|
320
312
|
process.exit(1);
|
|
321
313
|
});
|
|
322
|
-
|
|
323
314
|
//#endregion
|
|
324
|
-
export {
|
|
315
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nest-minimum",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"description": "A create nest minimum app cli tool.",
|
|
5
5
|
"author": "YanluPei",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@release-it/conventional-changelog": "^10.0.5",
|
|
21
21
|
"release-it-pnpm": "^4.6.6",
|
|
22
|
-
"@types/node": "^24.
|
|
22
|
+
"@types/node": "^24.12.0",
|
|
23
23
|
"release-it": "^19.2.4",
|
|
24
24
|
"typescript": "^5.9.3",
|
|
25
25
|
"vitest": "^4.0.18",
|
|
26
|
-
"tsdown": "^0.
|
|
26
|
+
"tsdown": "^0.21.0",
|
|
27
27
|
"@vitest/coverage-v8": "^4.0.18"
|
|
28
28
|
},
|
|
29
29
|
"private": false,
|
package/template/package.json
CHANGED
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
"start:prod": "node dist/main.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@nestjs/common": "^11.1.
|
|
17
|
-
"@nestjs/core": "^11.1.
|
|
18
|
-
"@nestjs/platform-express": "^11.1.
|
|
19
|
-
"@nestjs/platform-fastify": "^11.1.
|
|
16
|
+
"@nestjs/common": "^11.1.16",
|
|
17
|
+
"@nestjs/core": "^11.1.16",
|
|
18
|
+
"@nestjs/platform-express": "^11.1.16",
|
|
19
|
+
"@nestjs/platform-fastify": "^11.1.16",
|
|
20
20
|
"reflect-metadata": "^0.2.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@nestjs/cli": "^11.0.16",
|
|
24
|
-
"@nestjs/testing": "^11.1.
|
|
24
|
+
"@nestjs/testing": "^11.1.16",
|
|
25
25
|
"@swc/cli": "^0.8.0",
|
|
26
|
-
"@swc/core": "^1.15.
|
|
27
|
-
"@types/node": "^24.
|
|
26
|
+
"@swc/core": "^1.15.18",
|
|
27
|
+
"@types/node": "^24.12.0",
|
|
28
28
|
"@types/supertest": "^6.0.3",
|
|
29
29
|
"@vitest/coverage-v8": "^4.0.18",
|
|
30
30
|
"supertest": "^7.2.2",
|