@leo-h/create-nodejs-app 1.0.17 → 1.0.19
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/package.json.js +1 -1
- package/package.json +17 -17
- package/templates/clean/eslint.config.mjs +25 -0
- package/templates/clean/package.json +15 -14
- package/templates/clean/pnpm-lock.yaml +749 -518
- package/templates/fastify/eslint.config.mjs +25 -0
- package/templates/fastify/package.json +21 -20
- package/templates/fastify/pnpm-lock.yaml +813 -511
- package/templates/nest/eslint.config.mjs +25 -0
- package/templates/nest/package.json +24 -23
- package/templates/nest/pnpm-lock.yaml +1066 -1063
- package/templates/clean/.eslintignore +0 -2
- package/templates/clean/.eslintrc.json +0 -22
- package/templates/fastify/.eslintignore +0 -2
- package/templates/fastify/.eslintrc.json +0 -22
- package/templates/nest/.eslintignore +0 -2
- package/templates/nest/.eslintrc.json +0 -22
package/dist/package.json.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0});const name="@leo-h/create-nodejs-app",version="1.0.
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});const name="@leo-h/create-nodejs-app",version="1.0.19",packageManager="pnpm@9.15.0",author="Leonardo Henrique <leonardo0507.business@gmail.com>",description="Create a modern Node.js app with TypeScript using one command.",license="MIT",keywords=["node","node.js","typescript"],bin={"create-nodejs-app":"./dist/index.js"},files=["./dist","./templates"],repository={type:"git",url:"https://github.com/Leo-Henrique/create-nodejs-app"},scripts={start:"node ./dist/index.js","start:dev":"tsx --env-file=.env.development ./src/index.ts","start:dev:watch":"tsx --env-file=.env.development watch ./src/index.ts",typecheck:"tsc --noEmit",lint:"eslint . --max-warnings 0 --cache","lint:fix":"pnpm lint --fix",format:"prettier . --write --cache","test:unit":"vitest run","test:unit:watch":"vitest","test:e2e":"vitest run --config ./vitest.config.e2e.mts","test:e2e:watch":"vitest --config ./vitest.config.e2e.mts","test:coverage":"vitest run --coverage.enabled=true",template:"tsx --env-file=.env.development ./scripts/template-cli.ts",prebuild:"rimraf ./dist",build:"unbuild",prepublishOnly:"pnpm build"},dependencies={commander:"12.1.0",picocolors:"1.1.1",prompts:"2.4.2","validate-npm-package-name":"5.0.1",zod:"3.24.1"},devDependencies={"@eslint/js":"9.17.0","@faker-js/faker":"8.4.1","@types/node":"20.17.10","@types/prompts":"2.4.9","@types/validate-npm-package-name":"4.0.2","@vitest/eslint-plugin":"1.1.18","conventional-changelog-conventionalcommits":"8.0.0",eslint:"9.17.0","eslint-config-prettier":"9.1.0",globals:"15.14.0",husky:"9.1.7","lint-staged":"15.2.11",prettier:"3.4.2",rimraf:"6.0.1",tsx:"4.19.2",typescript:"5.7.2","typescript-eslint":"8.18.1",unbuild:"2.0.0","vite-tsconfig-paths":"4.3.2",vitest:"1.6.0"},d={name,version,packageManager,author,description,license,keywords,bin,files,repository,scripts,dependencies,devDependencies};exports.author=author;exports.bin=bin;exports.default=d;exports.dependencies=dependencies;exports.description=description;exports.devDependencies=devDependencies;exports.files=files;exports.keywords=keywords;exports.license=license;exports.name=name;exports.packageManager=packageManager;exports.repository=repository;exports.scripts=scripts;exports.version=version;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@leo-h/create-nodejs-app",
|
3
|
-
"version": "1.0.
|
4
|
-
"packageManager": "pnpm@9.
|
3
|
+
"version": "1.0.19",
|
4
|
+
"packageManager": "pnpm@9.15.0",
|
5
5
|
"author": "Leonardo Henrique <leonardo0507.business@gmail.com>",
|
6
6
|
"description": "Create a modern Node.js app with TypeScript using one command.",
|
7
7
|
"license": "MIT",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"start:dev": "tsx --env-file=.env.development ./src/index.ts",
|
27
27
|
"start:dev:watch": "tsx --env-file=.env.development watch ./src/index.ts",
|
28
28
|
"typecheck": "tsc --noEmit",
|
29
|
-
"lint": "eslint . --
|
29
|
+
"lint": "eslint . --max-warnings 0 --cache",
|
30
30
|
"lint:fix": "pnpm lint --fix",
|
31
31
|
"format": "prettier . --write --cache",
|
32
32
|
"test:unit": "vitest run",
|
@@ -41,29 +41,29 @@
|
|
41
41
|
},
|
42
42
|
"dependencies": {
|
43
43
|
"commander": "12.1.0",
|
44
|
-
"picocolors": "1.
|
44
|
+
"picocolors": "1.1.1",
|
45
45
|
"prompts": "2.4.2",
|
46
46
|
"validate-npm-package-name": "5.0.1",
|
47
|
-
"zod": "3.
|
47
|
+
"zod": "3.24.1"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
|
+
"@eslint/js": "9.17.0",
|
50
51
|
"@faker-js/faker": "8.4.1",
|
51
|
-
"@types/node": "20.
|
52
|
+
"@types/node": "20.17.10",
|
52
53
|
"@types/prompts": "2.4.9",
|
53
54
|
"@types/validate-npm-package-name": "4.0.2",
|
54
|
-
"@
|
55
|
-
"@typescript-eslint/parser": "7.10.0",
|
55
|
+
"@vitest/eslint-plugin": "1.1.18",
|
56
56
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
57
|
-
"eslint": "
|
57
|
+
"eslint": "9.17.0",
|
58
58
|
"eslint-config-prettier": "9.1.0",
|
59
|
-
"
|
60
|
-
"husky": "9.
|
61
|
-
"lint-staged": "15.2.
|
62
|
-
"
|
63
|
-
"
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"typescript": "
|
59
|
+
"globals": "15.14.0",
|
60
|
+
"husky": "9.1.7",
|
61
|
+
"lint-staged": "15.2.11",
|
62
|
+
"prettier": "3.4.2",
|
63
|
+
"rimraf": "6.0.1",
|
64
|
+
"tsx": "4.19.2",
|
65
|
+
"typescript": "5.7.2",
|
66
|
+
"typescript-eslint": "8.18.1",
|
67
67
|
"unbuild": "2.0.0",
|
68
68
|
"vite-tsconfig-paths": "4.3.2",
|
69
69
|
"vitest": "1.6.0"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import eslint from "@eslint/js";
|
2
|
+
import vitestEslint from "@vitest/eslint-plugin";
|
3
|
+
import prettierEslint from "eslint-config-prettier";
|
4
|
+
import globals from "globals";
|
5
|
+
import typescriptEslint from "typescript-eslint";
|
6
|
+
|
7
|
+
export default typescriptEslint.config(
|
8
|
+
{
|
9
|
+
ignores: ["dist"],
|
10
|
+
},
|
11
|
+
{
|
12
|
+
extends: [
|
13
|
+
eslint.configs.recommended,
|
14
|
+
...typescriptEslint.configs.recommended,
|
15
|
+
prettierEslint,
|
16
|
+
vitestEslint.configs.recommended,
|
17
|
+
],
|
18
|
+
languageOptions: {
|
19
|
+
globals: { ...globals.node },
|
20
|
+
},
|
21
|
+
rules: {
|
22
|
+
"@typescript-eslint/no-unused-vars": "warn",
|
23
|
+
},
|
24
|
+
},
|
25
|
+
);
|
@@ -7,7 +7,7 @@
|
|
7
7
|
"start": "node ./dist/index.js",
|
8
8
|
"start:dev": "tsx watch ./src/index.ts",
|
9
9
|
"typecheck": "tsc --noEmit",
|
10
|
-
"lint": "eslint . --
|
10
|
+
"lint": "eslint . --max-warnings 0 --cache",
|
11
11
|
"lint:fix": "pnpm lint --fix",
|
12
12
|
"format": "prettier . --write --cache",
|
13
13
|
"test:unit": "vitest run",
|
@@ -17,23 +17,24 @@
|
|
17
17
|
"build": "unbuild"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"dotenv": "16.4.
|
21
|
-
"zod": "3.
|
20
|
+
"dotenv": "16.4.7",
|
21
|
+
"zod": "3.24.1"
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
|
+
"@eslint/js": "9.17.0",
|
24
25
|
"@faker-js/faker": "8.4.1",
|
25
|
-
"@types/node": "20.
|
26
|
-
"@
|
27
|
-
"
|
28
|
-
"eslint": "8.57.0",
|
26
|
+
"@types/node": "20.17.10",
|
27
|
+
"@vitest/eslint-plugin": "1.1.18",
|
28
|
+
"eslint": "9.17.0",
|
29
29
|
"eslint-config-prettier": "9.1.0",
|
30
|
-
"
|
31
|
-
"husky": "9.
|
32
|
-
"lint-staged": "15.2.
|
33
|
-
"prettier": "3.2
|
34
|
-
"rimraf": "
|
35
|
-
"tsx": "4.
|
36
|
-
"typescript": "5.
|
30
|
+
"globals": "15.14.0",
|
31
|
+
"husky": "9.1.7",
|
32
|
+
"lint-staged": "15.2.11",
|
33
|
+
"prettier": "3.4.2",
|
34
|
+
"rimraf": "6.0.1",
|
35
|
+
"tsx": "4.19.2",
|
36
|
+
"typescript": "5.7.2",
|
37
|
+
"typescript-eslint": "8.18.1",
|
37
38
|
"unbuild": "2.0.0",
|
38
39
|
"vite-tsconfig-paths": "4.3.2",
|
39
40
|
"vitest": "1.6.0"
|