nsgm-cli 2.1.18 → 2.1.20

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.
@@ -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",
@@ -0,0 +1,6 @@
1
+ {
2
+ "printWidth": 120,
3
+ "trailingComma": "es5",
4
+ "singleQuote": false,
5
+ "semi": true
6
+ }
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "jsx": "preserve",
4
4
  "target": "ES2022",
5
- "module": "commonjs",
5
+ "module": "esnext",
6
6
  "declaration": true,
7
7
  "strict": true,
8
8
  "lib": ["dom", "ES2022"],
@@ -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: (0, path_1.resolve)(constants_1.sourceGenerationPath + 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),