nsgm-cli 2.1.16 → 2.1.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/generation/package.json +2 -0
- package/generation/tsconfig.json +2 -3
- package/lib/generate_init.js +6 -0
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/mysql.config.js +1 -1
- package/package.json +6 -6
- package/types/antd.d.ts +15 -0
package/generation/package.json
CHANGED
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^6",
|
|
35
35
|
"@testing-library/react": "^14",
|
|
36
36
|
"@testing-library/user-event": "^14",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
38
|
+
"@typescript-eslint/parser": "^8",
|
|
37
39
|
"@types/jest": "^30",
|
|
38
40
|
"eslint": "^9",
|
|
39
41
|
"eslint-config-prettier": "^10",
|
package/generation/tsconfig.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"jsx": "preserve",
|
|
4
4
|
"target": "ES2022",
|
|
5
|
-
"module": "
|
|
5
|
+
"module": "esnext",
|
|
6
6
|
"declaration": true,
|
|
7
7
|
"strict": true,
|
|
8
8
|
"lib": ["dom", "ES2022"],
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
"isolatedModules": true,
|
|
17
17
|
"noImplicitAny": false,
|
|
18
18
|
"incremental": true,
|
|
19
|
-
"baseUrl": ".",
|
|
20
19
|
"paths": {
|
|
21
|
-
"@/*": ["client/*"]
|
|
20
|
+
"@/*": ["./client/*"]
|
|
22
21
|
},
|
|
23
22
|
"noUnusedLocals": true,
|
|
24
23
|
"noUnusedParameters": true,
|
package/lib/generate_init.js
CHANGED
|
@@ -88,6 +88,8 @@ const ROOT_FILES = {
|
|
|
88
88
|
gitignoreSource: '/gitignore',
|
|
89
89
|
gitignore: '/.gitignore',
|
|
90
90
|
eslintrc: '/eslint.config.js',
|
|
91
|
+
prettierrcSource: '/.prettierrc',
|
|
92
|
+
prettierrc: '/.prettierrc',
|
|
91
93
|
nextEnvSource: '../next-env.d.ts',
|
|
92
94
|
nextEnv: '/next-env.d.ts',
|
|
93
95
|
readme: '/README.md',
|
|
@@ -504,6 +506,10 @@ const initRootFiles = (dictionary, newDestFolder) => {
|
|
|
504
506
|
source: (0, path_1.resolve)(constants_1.sourceGenerationPath + ROOT_FILES.eslintrc),
|
|
505
507
|
dest: (0, path_1.resolve)(baseDestPath + ROOT_FILES.eslintrc),
|
|
506
508
|
},
|
|
509
|
+
{
|
|
510
|
+
source: path_1.default.join(constants_1.sourceFolder, '..', ROOT_FILES.prettierrcSource),
|
|
511
|
+
dest: (0, path_1.resolve)(baseDestPath + ROOT_FILES.prettierrc),
|
|
512
|
+
},
|
|
507
513
|
{
|
|
508
514
|
source: path_1.default.join(constants_1.sourceFolder, ROOT_FILES.nextEnvSource),
|
|
509
515
|
dest: (0, path_1.resolve)(baseDestPath + ROOT_FILES.nextEnv),
|