@raisenow/tamaro-cli 1.4.1 → 1.5.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.
Files changed (123) hide show
  1. package/.eslintrc.cjs +1 -1
  2. package/.nvmrc +1 -1
  3. package/dist/{chunk-YWUYAGB6.js → chunk-HGPQTHLY.js} +8 -2
  4. package/dist/cli.js +25 -24
  5. package/dist/webpack.config.js +15 -3
  6. package/package.json +23 -22
  7. package/pnpm-workspace.yaml +7 -0
  8. package/renovate.json +3 -0
  9. package/.history/.eslintignore_20220609190420 +0 -4
  10. package/.history/.eslintignore_20230911190227 +0 -6
  11. package/.history/.eslintignore_20230911211247 +0 -7
  12. package/.history/.eslintignore_20230911211250 +0 -7
  13. package/.history/.eslintrc_20230911201601.js +0 -49
  14. package/.history/.eslintrc_20230911201643.js +0 -49
  15. package/.history/.eslintrc_20230911201735.js +0 -49
  16. package/.history/.eslintrc_20230911201913.js +0 -64
  17. package/.history/.eslintrc_20230911202002.js +0 -62
  18. package/.history/.eslintrc_20230911202138.js +0 -133
  19. package/.history/.eslintrc_20230911202140.js +0 -133
  20. package/.history/.eslintrc_20230911202145.js +0 -133
  21. package/.history/.eslintrc_20230911202147.js +0 -133
  22. package/.history/.eslintrc_20230911202406.js +0 -133
  23. package/.history/.eslintrc_20230911202447.js +0 -133
  24. package/.history/.eslintrc_20230911202453.js +0 -133
  25. package/.history/.eslintrc_20230911202511.js +0 -133
  26. package/.history/.eslintrc_20230911202527.js +0 -133
  27. package/.history/.eslintrc_20230911202639.js +0 -125
  28. package/.history/.eslintrc_20230911202721.js +0 -149
  29. package/.history/.eslintrc_20230911202746.js +0 -149
  30. package/.history/.eslintrc_20240423125702.cjs +0 -148
  31. package/.history/.gitignore_20220609190420 +0 -14
  32. package/.history/.gitignore_20230911185959 +0 -4
  33. package/.history/.gitignore_20230911190006 +0 -4
  34. package/.history/.gitignore_20230911190007 +0 -4
  35. package/.history/.nmprc_20241004144025 +0 -0
  36. package/.history/.nmprc_20241004144041 +0 -1
  37. package/.history/.npmrc_20241004144040 +0 -1
  38. package/.history/.npmrc_20241004144152 +0 -1
  39. package/.history/.npmrc_20241004145639 +0 -2
  40. package/.history/.npmrc_20241004145649 +0 -1
  41. package/.history/.nvmrc_20250729181039 +0 -1
  42. package/.history/.prettierignore_20220609190420 +0 -5
  43. package/.history/.prettierignore_20230911190242 +0 -7
  44. package/.history/.prettierignore_20230911190245 +0 -7
  45. package/.history/.prettierignore_20230911211301 +0 -8
  46. package/.history/CHANGELOG_20250729195139.md +0 -28
  47. package/.history/CHANGELOG_20250729195148.md +0 -29
  48. package/.history/CHANGELOG_20250729195156.md +0 -28
  49. package/.history/CHANGELOG_20250729195218.md +0 -29
  50. package/.history/CHANGELOG_20250729195223.md +0 -27
  51. package/.history/CHANGELOG_20250729195506.md +0 -29
  52. package/.history/CHANGELOG_20250729224404.md +0 -30
  53. package/.history/CHANGELOG_20250729224411.md +0 -30
  54. package/.history/CHANGELOG_20250730124538.md +0 -41
  55. package/.history/CHANGELOG_20250730124603.md +0 -38
  56. package/.history/CHANGELOG_20250730124627.md +0 -36
  57. package/.history/CHANGELOG_20250730124638.md +0 -36
  58. package/.history/CHANGELOG_20250730124640.md +0 -36
  59. package/.history/README_20230911145033.md +0 -245
  60. package/.history/README_20230911151749.md +0 -245
  61. package/.history/README_20230911151844.md +0 -245
  62. package/.history/README_20230911153040.md +0 -245
  63. package/.history/README_20230911202959.md +0 -245
  64. package/.history/bitbucket-pipelines_20250729111540.yml +0 -46
  65. package/.history/bitbucket-pipelines_20250729210338.yml +0 -46
  66. package/.history/bitbucket-pipelines_20250729210340.yml +0 -46
  67. package/.history/bitbucket-pipelines_20250729210342.yml +0 -46
  68. package/.history/bitbucket-pipelines_20250729222234.yml +0 -47
  69. package/.history/bitbucket-pipelines_20250729222554.yml +0 -47
  70. package/.history/bitbucket-pipelines_20250729222555.yml +0 -47
  71. package/.history/bitbucket-pipelines_20250729223022.yml +0 -46
  72. package/.history/bitbucket-pipelines_20250729223024.yml +0 -46
  73. package/.history/cli_20241005014539 +0 -3
  74. package/.history/cli_20241005014542 +0 -3
  75. package/.history/cli_20241005014848 +0 -3
  76. package/.history/dist/chunk-FICM3HUI_20230912183408.js +0 -302
  77. package/.history/dist/chunk-FICM3HUI_20230912201610.js +0 -302
  78. package/.history/package_20250729182417.json +0 -111
  79. package/.history/package_20250729182419.json +0 -111
  80. package/.history/package_20250729182618.json +0 -110
  81. package/.history/package_20250729182834.json +0 -110
  82. package/.history/package_20250729183032.json +0 -110
  83. package/.history/package_20250729183033.json +0 -110
  84. package/.history/package_20250729185750.json +0 -110
  85. package/.history/package_20250729185815.json +0 -110
  86. package/.history/package_20250729185846.json +0 -110
  87. package/.history/package_20250729185854.json +0 -110
  88. package/.history/package_20250729185943.json +0 -110
  89. package/.history/package_20250729190645.json +0 -110
  90. package/.history/package_20250729195934.json +0 -110
  91. package/.history/package_20250729200013.json +0 -110
  92. package/.history/package_20250729200056.json +0 -110
  93. package/.history/package_20250729200434.json +0 -110
  94. package/.history/package_20250729200808.json +0 -110
  95. package/.history/package_20250729200944.json +0 -110
  96. package/.history/package_20250729214420.json +0 -114
  97. package/.history/package_20250729223112.json +0 -110
  98. package/.history/package_20250729223127.json +0 -110
  99. package/.history/package_20250729223134.json +0 -110
  100. package/.history/package_20250730124647.json +0 -114
  101. package/.history/tsconfig_20241005001442.json +0 -34
  102. package/.history/tsconfig_20241005001500.json +0 -34
  103. package/.history/tsconfig_20241005001540.json +0 -34
  104. package/.history/tsconfig_20241005014429.json +0 -42
  105. package/.history/tsconfig_20241005014436.json +0 -42
  106. package/.history/tsconfig_20241005014439.json +0 -38
  107. package/.history/tsconfig_20241005014455.json +0 -38
  108. package/.history/tsconfig_20241005014521.json +0 -38
  109. package/.history/vitest.config_20250729214539.ts +0 -0
  110. package/.history/vitest.config_20250729214659.ts +0 -24
  111. package/.history/vitest.config_20250729214748.ts +0 -21
  112. package/.history/vitest.config_20250729214825.ts +0 -21
  113. package/.history/vitest.config_20250729214902.ts +0 -21
  114. package/.history/vitest.config_20250729222125.ts +0 -20
  115. package/.history/vitest.config_20250729222213.ts +0 -20
  116. package/.idea/codeStyles/Project.xml +0 -131
  117. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  118. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  119. package/.idea/misc.xml +0 -17
  120. package/.idea/modules.xml +0 -8
  121. package/.idea/prettier.xml +0 -6
  122. package/.idea/tamaro-cli.iml +0 -12
  123. package/.idea/vcs.xml +0 -6
package/.eslintrc.cjs CHANGED
@@ -124,7 +124,7 @@ module.exports = {
124
124
  extends: ['plugin:yml/standard'],
125
125
  rules: {
126
126
  // 'yml/no-irregular-whitespace': 0,
127
- // 'yml/quotes': [2, {prefer: 'double', avoidEscape: true}],
127
+ 'yml/quotes': [2, {prefer: 'single', avoidEscape: true}],
128
128
  'yml/plain-scalar': 0,
129
129
  'yml/no-multiple-empty-lines': [2, {max: 1}],
130
130
  },
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v22.17.1
1
+ v22.19.0
@@ -1,4 +1,4 @@
1
- // node_modules/.pnpm/tsup@8.5.0_jiti@1.21.0_postcss@8.5.6_tsx@4.19.1_typescript@5.8.3/node_modules/tsup/assets/esm_shims.js
1
+ // node_modules/.pnpm/tsup@8.5.0_jiti@2.6.0_postcss@8.5.6_tsx@4.19.1_typescript@5.9.2/node_modules/tsup/assets/esm_shims.js
2
2
  import path from "path";
3
3
  import { fileURLToPath } from "url";
4
4
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -202,7 +202,11 @@ var getEnvVars = (files, ifMin, ifCore, ifLocalCore, ifHttps) => {
202
202
  } else {
203
203
  let version = process.env.CORE_VERSION;
204
204
  version = version ? `@${version}` : "";
205
- process.env.CORE_URL ??= `https://cdn.jsdelivr.net/npm/@raisenow/tamaro-core${version}/dist/index.js`;
205
+ process.env.CORE_URL_PATTERN ??= "https://cdn.jsdelivr.net/npm/@raisenow/tamaro-core{{version}}/dist/index.js";
206
+ process.env.CORE_URL ??= process.env.CORE_URL_PATTERN.replace(
207
+ "{{version}}",
208
+ version
209
+ );
206
210
  }
207
211
  }
208
212
  const varNames = [
@@ -220,8 +224,10 @@ var getEnvVars = (files, ifMin, ifCore, ifLocalCore, ifHttps) => {
220
224
  // config
221
225
  "WIDGET_UUID",
222
226
  "CORE_URL",
227
+ "CORE_URL_PATTERN",
223
228
  "CORE_VERSION",
224
229
  // should be explicitly specified in each config
230
+ "DISABLE_URL_VERSION_OVERRIDE",
225
231
  // epik (obsolete since Tamaro v2.5.0)
226
232
  "EPP_API_KEY_DEFAULT",
227
233
  "EPP_API_URL_STAGE",
package/dist/cli.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  resolveBin,
23
23
  resolveOwn,
24
24
  runCommandSync
25
- } from "./chunk-YWUYAGB6.js";
25
+ } from "./chunk-HGPQTHLY.js";
26
26
 
27
27
  // src/cli.ts
28
28
  import { createCommand } from "commander";
@@ -714,17 +714,17 @@ var prepareFlags4 = async (options) => {
714
714
  // package.json
715
715
  var package_default = {
716
716
  name: "@raisenow/tamaro-cli",
717
- version: "1.4.1",
717
+ version: "1.5.0",
718
718
  author: {
719
719
  name: "RaiseNow",
720
720
  email: "development@raisenow.com"
721
721
  },
722
722
  type: "module",
723
723
  bin: "dist/cli.js",
724
- packageManager: "pnpm@10.13.1",
724
+ packageManager: "pnpm@10.17.1",
725
725
  engines: {
726
726
  node: ">=22",
727
- pnpm: ">= 10",
727
+ pnpm: ">=10",
728
728
  npm: "please-use-pnpm",
729
729
  yarn: "please-use-pnpm"
730
730
  },
@@ -742,21 +742,21 @@ var package_default = {
742
742
  "test:coverage": "vitest --coverage"
743
743
  },
744
744
  dependencies: {
745
- "@babel/cli": "^7.28.0",
746
- "@babel/core": "^7.28.0",
745
+ "@babel/cli": "^7.28.3",
746
+ "@babel/core": "^7.28.4",
747
747
  "@babel/plugin-proposal-decorators": "^7.28.0",
748
748
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
749
- "@babel/plugin-transform-runtime": "^7.28.0",
750
- "@babel/preset-env": "^7.28.0",
749
+ "@babel/plugin-transform-runtime": "^7.28.3",
750
+ "@babel/preset-env": "^7.28.3",
751
751
  "@babel/preset-react": "^7.27.1",
752
752
  "@babel/preset-typescript": "^7.27.1",
753
- "@babel/runtime-corejs3": "^7.28.2",
753
+ "@babel/runtime-corejs3": "^7.28.4",
754
754
  "@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
755
755
  "@statoscope/webpack-plugin": "^5.29.0",
756
756
  "@types/columnify": "^1.5.4",
757
757
  "@types/handlebars-helpers": "^0.5.6",
758
758
  "@types/lodash": "^4.17.20",
759
- "@types/node": "^22.17.0",
759
+ "@types/node": "^22.18.6",
760
760
  "@types/node-notifier": "^8.0.5",
761
761
  "@types/prompts": "^2.4.9",
762
762
  "@types/resolve-bin": "^0.4.3",
@@ -765,17 +765,17 @@ var package_default = {
765
765
  "@typescript-eslint/parser": "^7.18.0",
766
766
  autoprefixer: "^10.4.21",
767
767
  "babel-loader": "^10.0.0",
768
- "babel-plugin-istanbul": "^7.0.0",
768
+ "babel-plugin-istanbul": "^7.0.1",
769
769
  "babel-plugin-lodash": "^3.3.4",
770
- chalk: "^5.4.1",
770
+ chalk: "^5.6.2",
771
771
  "clean-webpack-plugin": "^4.0.0",
772
772
  columnify: "^1.6.0",
773
- commander: "^14.0.0",
774
- "copy-webpack-plugin": "^13.0.0",
775
- "core-js": "^3.44.0",
773
+ commander: "^14.0.1",
774
+ "copy-webpack-plugin": "^13.0.1",
775
+ "core-js": "^3.45.1",
776
776
  "css-loader": "^7.1.2",
777
777
  "css-minimizer-webpack-plugin": "^7.0.2",
778
- dotenv: "^17.2.1",
778
+ dotenv: "^17.2.2",
779
779
  "escape-string-regexp": "^5.0.0",
780
780
  eslint: "^8.57.1",
781
781
  "eslint-config-prettier": "^10.1.8",
@@ -794,31 +794,32 @@ var package_default = {
794
794
  handlebars: "^4.7.8",
795
795
  "handlebars-helpers": "^0.10.0",
796
796
  "html-loader": "^5.1.0",
797
- "html-webpack-plugin": "^5.6.3",
797
+ "html-webpack-plugin": "^5.6.4",
798
798
  "json-loader": "^0.5.7",
799
799
  lodash: "^4.17.21",
800
- "mini-css-extract-plugin": "^2.9.2",
800
+ "mini-css-extract-plugin": "^2.9.4",
801
801
  "node-notifier": "^10.0.1",
802
- portfinder: "^1.0.37",
802
+ portfinder: "^1.0.38",
803
803
  postcss: "^8.5.6",
804
804
  "postcss-custom-properties": "^14.0.6",
805
805
  "postcss-import": "^16.1.1",
806
- "postcss-loader": "^8.1.1",
806
+ "postcss-loader": "^8.2.0",
807
807
  "postcss-nested": "^7.0.2",
808
808
  prettier: "^3.6.2",
809
809
  prompts: "^2.4.2",
810
810
  "react-refresh": "^0.17.0",
811
811
  "resolve-url-loader": "^5.0.0",
812
- sass: "^1.89.2",
812
+ sass: "^1.93.1",
813
813
  "sass-loader": "^16.0.5",
814
- "strip-indent": "^4.0.0",
814
+ "strip-indent": "^4.1.0",
815
815
  "style-loader": "^4.0.0",
816
+ "terser-webpack-plugin": "^5.3.14",
816
817
  "tsconfig-paths-webpack-plugin": "^4.2.0",
817
818
  tsup: "^8.5.0",
818
- typescript: "^5.8.3",
819
+ typescript: "^5.9.2",
819
820
  "url-loader": "^4.1.1",
820
821
  vitest: "^3.2.4",
821
- webpack: "^5.101.0",
822
+ webpack: "^5.101.3",
822
823
  "webpack-cli": "^6.0.1",
823
824
  "webpack-config-utils": "^2.3.1",
824
825
  "webpack-dev-server": "^5.2.2",
@@ -10,7 +10,7 @@ import {
10
10
  logTitle,
11
11
  resolveApp,
12
12
  resolveEslintPluginConfig
13
- } from "./chunk-YWUYAGB6.js";
13
+ } from "./chunk-HGPQTHLY.js";
14
14
 
15
15
  // src/webpack.config.ts
16
16
  import { existsSync } from "fs";
@@ -26,6 +26,7 @@ import ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
26
26
  import { globSync } from "glob";
27
27
  import HtmlWebpackPlugin2 from "html-webpack-plugin";
28
28
  import MiniCssExtractPlugin from "mini-css-extract-plugin";
29
+ import TerserPlugin from "terser-webpack-plugin";
29
30
  import { TsconfigPathsPlugin } from "tsconfig-paths-webpack-plugin";
30
31
  import webpack from "webpack";
31
32
  import { getIfUtils, removeEmpty } from "webpack-config-utils";
@@ -352,8 +353,19 @@ var getWebpackConfig = (env) => {
352
353
  removeEmptyChunks: true,
353
354
  // moduleIds: 'deterministic', // todo: use instead of HashedModuleIdsPlugin
354
355
  // chunkIds: 'named',
355
- minimizer: ["...", new CssMinimizerPlugin()]
356
- // sourceMaps: true?
356
+ minimizer: [
357
+ // Keep class names as they are used in runtime for logging purposes
358
+ new TerserPlugin({
359
+ terserOptions: {
360
+ keep_classnames: true,
361
+ keep_fnames: true,
362
+ compress: {
363
+ passes: 2
364
+ }
365
+ }
366
+ }),
367
+ new CssMinimizerPlugin()
368
+ ]
357
369
  },
358
370
  plugins: removeEmpty([
359
371
  new webpack.ProgressPlugin(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raisenow/tamaro-cli",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "author": {
5
5
  "name": "RaiseNow",
6
6
  "email": "development@raisenow.com"
@@ -9,26 +9,26 @@
9
9
  "bin": "dist/cli.js",
10
10
  "engines": {
11
11
  "node": ">=22",
12
- "pnpm": ">= 10",
12
+ "pnpm": ">=10",
13
13
  "npm": "please-use-pnpm",
14
14
  "yarn": "please-use-pnpm"
15
15
  },
16
16
  "dependencies": {
17
- "@babel/cli": "^7.28.0",
18
- "@babel/core": "^7.28.0",
17
+ "@babel/cli": "^7.28.3",
18
+ "@babel/core": "^7.28.4",
19
19
  "@babel/plugin-proposal-decorators": "^7.28.0",
20
20
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
21
- "@babel/plugin-transform-runtime": "^7.28.0",
22
- "@babel/preset-env": "^7.28.0",
21
+ "@babel/plugin-transform-runtime": "^7.28.3",
22
+ "@babel/preset-env": "^7.28.3",
23
23
  "@babel/preset-react": "^7.27.1",
24
24
  "@babel/preset-typescript": "^7.27.1",
25
- "@babel/runtime-corejs3": "^7.28.2",
25
+ "@babel/runtime-corejs3": "^7.28.4",
26
26
  "@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
27
27
  "@statoscope/webpack-plugin": "^5.29.0",
28
28
  "@types/columnify": "^1.5.4",
29
29
  "@types/handlebars-helpers": "^0.5.6",
30
30
  "@types/lodash": "^4.17.20",
31
- "@types/node": "^22.17.0",
31
+ "@types/node": "^22.18.6",
32
32
  "@types/node-notifier": "^8.0.5",
33
33
  "@types/prompts": "^2.4.9",
34
34
  "@types/resolve-bin": "^0.4.3",
@@ -37,17 +37,17 @@
37
37
  "@typescript-eslint/parser": "^7.18.0",
38
38
  "autoprefixer": "^10.4.21",
39
39
  "babel-loader": "^10.0.0",
40
- "babel-plugin-istanbul": "^7.0.0",
40
+ "babel-plugin-istanbul": "^7.0.1",
41
41
  "babel-plugin-lodash": "^3.3.4",
42
- "chalk": "^5.4.1",
42
+ "chalk": "^5.6.2",
43
43
  "clean-webpack-plugin": "^4.0.0",
44
44
  "columnify": "^1.6.0",
45
- "commander": "^14.0.0",
46
- "copy-webpack-plugin": "^13.0.0",
47
- "core-js": "^3.44.0",
45
+ "commander": "^14.0.1",
46
+ "copy-webpack-plugin": "^13.0.1",
47
+ "core-js": "^3.45.1",
48
48
  "css-loader": "^7.1.2",
49
49
  "css-minimizer-webpack-plugin": "^7.0.2",
50
- "dotenv": "^17.2.1",
50
+ "dotenv": "^17.2.2",
51
51
  "escape-string-regexp": "^5.0.0",
52
52
  "eslint": "^8.57.1",
53
53
  "eslint-config-prettier": "^10.1.8",
@@ -66,31 +66,32 @@
66
66
  "handlebars": "^4.7.8",
67
67
  "handlebars-helpers": "^0.10.0",
68
68
  "html-loader": "^5.1.0",
69
- "html-webpack-plugin": "^5.6.3",
69
+ "html-webpack-plugin": "^5.6.4",
70
70
  "json-loader": "^0.5.7",
71
71
  "lodash": "^4.17.21",
72
- "mini-css-extract-plugin": "^2.9.2",
72
+ "mini-css-extract-plugin": "^2.9.4",
73
73
  "node-notifier": "^10.0.1",
74
- "portfinder": "^1.0.37",
74
+ "portfinder": "^1.0.38",
75
75
  "postcss": "^8.5.6",
76
76
  "postcss-custom-properties": "^14.0.6",
77
77
  "postcss-import": "^16.1.1",
78
- "postcss-loader": "^8.1.1",
78
+ "postcss-loader": "^8.2.0",
79
79
  "postcss-nested": "^7.0.2",
80
80
  "prettier": "^3.6.2",
81
81
  "prompts": "^2.4.2",
82
82
  "react-refresh": "^0.17.0",
83
83
  "resolve-url-loader": "^5.0.0",
84
- "sass": "^1.89.2",
84
+ "sass": "^1.93.1",
85
85
  "sass-loader": "^16.0.5",
86
- "strip-indent": "^4.0.0",
86
+ "strip-indent": "^4.1.0",
87
87
  "style-loader": "^4.0.0",
88
+ "terser-webpack-plugin": "^5.3.14",
88
89
  "tsconfig-paths-webpack-plugin": "^4.2.0",
89
90
  "tsup": "^8.5.0",
90
- "typescript": "^5.8.3",
91
+ "typescript": "^5.9.2",
91
92
  "url-loader": "^4.1.1",
92
93
  "vitest": "^3.2.4",
93
- "webpack": "^5.101.0",
94
+ "webpack": "^5.101.3",
94
95
  "webpack-cli": "^6.0.1",
95
96
  "webpack-config-utils": "^2.3.1",
96
97
  "webpack-dev-server": "^5.2.2",
@@ -0,0 +1,7 @@
1
+ minimumReleaseAge: 1440
2
+ minimumReleaseAgeExclude:
3
+ - '@raisenow/*'
4
+ - '@rnw-npm/*'
5
+
6
+ onlyBuiltDependencies:
7
+ - core-js
package/renovate.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json"
3
+ }
@@ -1,4 +0,0 @@
1
- dist
2
- node_modules
3
- tsconfig.eslint.json
4
- tsconfig.json
@@ -1,6 +0,0 @@
1
- .history
2
- .idea
3
- dist
4
- node_modules
5
- tsconfig.eslint.json
6
- tsconfig.json
@@ -1,7 +0,0 @@
1
- .history
2
- .idea
3
- dist
4
- node_modules
5
- pnpm-lock.yaml
6
- tsconfig.eslint.json
7
- tsconfig.json
@@ -1,7 +0,0 @@
1
- .history
2
- .idea
3
- dist
4
- node_modules
5
- pnpm-lock.yaml
6
- tsconfig.eslint.json
7
- tsconfig.json
@@ -1,49 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- overrides: [
4
- {
5
- files: ['*.{js,jsx,ts,tsx}'],
6
- env: {
7
- browser: true,
8
- node: true,
9
- es2021: true,
10
- },
11
- },
12
- ],
13
-
14
- parser: '@typescript-eslint/parser',
15
- parserOptions: {
16
- ecmaFeatures: {
17
- jsx: true,
18
- },
19
- ecmaVersion: 2021,
20
- sourceType: 'module',
21
- tsconfigRootDir: __dirname,
22
- // project: './tsconfig.eslint.json',
23
- project: './tsconfig.json',
24
- extraFileExtensions: ['.cjs'],
25
- },
26
- extends: [
27
- 'eslint:recommended',
28
- 'plugin:promise/recommended',
29
- 'plugin:@typescript-eslint/recommended',
30
- 'plugin:@typescript-eslint/recommended-requiring-type-checking',
31
- 'prettier',
32
- ],
33
- plugins: [],
34
- rules: {
35
- curly: 1,
36
- 'prefer-const': 2,
37
- 'require-await': 0,
38
- '@typescript-eslint/ban-ts-comment': 0,
39
- '@typescript-eslint/no-explicit-any': 0,
40
- '@typescript-eslint/no-non-null-assertion': 0,
41
- '@typescript-eslint/prefer-optional-chain': 1,
42
- '@typescript-eslint/require-await': 0,
43
- '@typescript-eslint/no-unsafe-assignment': 0,
44
- '@typescript-eslint/no-unsafe-member-access': 0,
45
- '@typescript-eslint/no-unsafe-call': 0,
46
- '@typescript-eslint/no-unsafe-return': 0,
47
- '@typescript-eslint/no-unsafe-argument': 0,
48
- },
49
- }
@@ -1,49 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- overrides: [
4
- {
5
- files: ['*.{js,jsx,ts,tsx}'],
6
- env: {
7
- browser: true,
8
- node: true,
9
- es2021: true,
10
- },
11
- },
12
- ],
13
-
14
- parser: '@typescript-eslint/parser',
15
- parserOptions: {
16
- ecmaFeatures: {
17
- jsx: true,
18
- },
19
- ecmaVersion: 2021,
20
- sourceType: 'module',
21
- tsconfigRootDir: __dirname,
22
- // project: './tsconfig.eslint.json',
23
- project: './tsconfig.json',
24
- extraFileExtensions: ['.cjs'],
25
- },
26
- extends: [
27
- 'eslint:recommended',
28
- 'plugin:promise/recommended',
29
- 'plugin:@typescript-eslint/recommended',
30
- 'plugin:@typescript-eslint/recommended-requiring-type-checking',
31
- 'prettier',
32
- ],
33
- plugins: [],
34
- rules: {
35
- curly: 1,
36
- 'prefer-const': 2,
37
- 'require-await': 0,
38
- '@typescript-eslint/ban-ts-comment': 0,
39
- '@typescript-eslint/no-explicit-any': 0,
40
- '@typescript-eslint/no-non-null-assertion': 0,
41
- '@typescript-eslint/prefer-optional-chain': 1,
42
- '@typescript-eslint/require-await': 0,
43
- '@typescript-eslint/no-unsafe-assignment': 0,
44
- '@typescript-eslint/no-unsafe-member-access': 0,
45
- '@typescript-eslint/no-unsafe-call': 0,
46
- '@typescript-eslint/no-unsafe-return': 0,
47
- '@typescript-eslint/no-unsafe-argument': 0,
48
- },
49
- }
@@ -1,49 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- overrides: [
4
- {
5
- files: ['*.{js,jsx,ts,tsx}'],
6
- env: {
7
- browser: true,
8
- node: true,
9
- es2021: true,
10
- },
11
- },
12
- ],
13
-
14
- // parser: '@typescript-eslint/parser',
15
- // parserOptions: {
16
- // ecmaFeatures: {
17
- // jsx: true,
18
- // },
19
- // ecmaVersion: 2021,
20
- // sourceType: 'module',
21
- // tsconfigRootDir: __dirname,
22
- // // project: './tsconfig.eslint.json',
23
- // project: './tsconfig.json',
24
- // extraFileExtensions: ['.cjs'],
25
- // },
26
- // extends: [
27
- // 'eslint:recommended',
28
- // 'plugin:promise/recommended',
29
- // 'plugin:@typescript-eslint/recommended',
30
- // 'plugin:@typescript-eslint/recommended-requiring-type-checking',
31
- // 'prettier',
32
- // ],
33
- // plugins: [],
34
- // rules: {
35
- // curly: 1,
36
- // 'prefer-const': 2,
37
- // 'require-await': 0,
38
- // '@typescript-eslint/ban-ts-comment': 0,
39
- // '@typescript-eslint/no-explicit-any': 0,
40
- // '@typescript-eslint/no-non-null-assertion': 0,
41
- // '@typescript-eslint/prefer-optional-chain': 1,
42
- // '@typescript-eslint/require-await': 0,
43
- // '@typescript-eslint/no-unsafe-assignment': 0,
44
- // '@typescript-eslint/no-unsafe-member-access': 0,
45
- // '@typescript-eslint/no-unsafe-call': 0,
46
- // '@typescript-eslint/no-unsafe-return': 0,
47
- // '@typescript-eslint/no-unsafe-argument': 0,
48
- // },
49
- }
@@ -1,64 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- overrides: [
4
- {
5
- files: ['*.{js,ts}'],
6
- env: {
7
- node: true,
8
- es2021: true,
9
- },
10
- settings: {
11
- 'import/resolver': {
12
- typescript: {
13
- alwaysTryTypes: true,
14
- project: ['./tsconfig.json'],
15
- },
16
- },
17
- },
18
- parser: '@typescript-eslint/parser',
19
- parserOptions: {
20
- ecmaVersion: 2021,
21
- sourceType: 'module',
22
- tsconfigRootDir: __dirname,
23
- project: ['./tsconfig.json'],
24
- },
25
- },
26
-
27
- ],
28
-
29
-
30
- // parserOptions: {
31
- // ecmaFeatures: {
32
- // jsx: true,
33
- // },
34
- // ecmaVersion: 2021,
35
- // sourceType: 'module',
36
- // tsconfigRootDir: __dirname,
37
- // // project: './tsconfig.eslint.json',
38
- // project: './tsconfig.json',
39
- // extraFileExtensions: ['.cjs'],
40
- // },
41
- // extends: [
42
- // 'eslint:recommended',
43
- // 'plugin:promise/recommended',
44
- // 'plugin:@typescript-eslint/recommended',
45
- // 'plugin:@typescript-eslint/recommended-requiring-type-checking',
46
- // 'prettier',
47
- // ],
48
- // plugins: [],
49
- // rules: {
50
- // curly: 1,
51
- // 'prefer-const': 2,
52
- // 'require-await': 0,
53
- // '@typescript-eslint/ban-ts-comment': 0,
54
- // '@typescript-eslint/no-explicit-any': 0,
55
- // '@typescript-eslint/no-non-null-assertion': 0,
56
- // '@typescript-eslint/prefer-optional-chain': 1,
57
- // '@typescript-eslint/require-await': 0,
58
- // '@typescript-eslint/no-unsafe-assignment': 0,
59
- // '@typescript-eslint/no-unsafe-member-access': 0,
60
- // '@typescript-eslint/no-unsafe-call': 0,
61
- // '@typescript-eslint/no-unsafe-return': 0,
62
- // '@typescript-eslint/no-unsafe-argument': 0,
63
- // },
64
- }
@@ -1,62 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- overrides: [
4
- {
5
- files: ['*.{js,cjs,ts}'],
6
- env: {
7
- node: true,
8
- es2021: true,
9
- },
10
- settings: {
11
- 'import/resolver': {
12
- typescript: {
13
- alwaysTryTypes: true,
14
- project: ['./tsconfig.json'],
15
- },
16
- },
17
- },
18
- parser: '@typescript-eslint/parser',
19
- parserOptions: {
20
- ecmaVersion: 2021,
21
- sourceType: 'module',
22
- tsconfigRootDir: __dirname,
23
- project: ['./tsconfig.json'],
24
- extraFileExtensions: ['.cjs'],
25
- },
26
- },
27
-
28
- ],
29
-
30
-
31
- // parserOptions: {
32
- // ecmaFeatures: {
33
- // jsx: true,
34
- // },
35
-
36
- // project: './tsconfig.json',
37
- // extraFileExtensions: ['.cjs'],
38
- // },
39
- // extends: [
40
- // 'eslint:recommended',
41
- // 'plugin:promise/recommended',
42
- // 'plugin:@typescript-eslint/recommended',
43
- // 'plugin:@typescript-eslint/recommended-requiring-type-checking',
44
- // 'prettier',
45
- // ],
46
- // plugins: [],
47
- // rules: {
48
- // curly: 1,
49
- // 'prefer-const': 2,
50
- // 'require-await': 0,
51
- // '@typescript-eslint/ban-ts-comment': 0,
52
- // '@typescript-eslint/no-explicit-any': 0,
53
- // '@typescript-eslint/no-non-null-assertion': 0,
54
- // '@typescript-eslint/prefer-optional-chain': 1,
55
- // '@typescript-eslint/require-await': 0,
56
- // '@typescript-eslint/no-unsafe-assignment': 0,
57
- // '@typescript-eslint/no-unsafe-member-access': 0,
58
- // '@typescript-eslint/no-unsafe-call': 0,
59
- // '@typescript-eslint/no-unsafe-return': 0,
60
- // '@typescript-eslint/no-unsafe-argument': 0,
61
- // },
62
- }