@raisenow/tamaro-cli 1.4.0 → 1.4.2

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 (121) hide show
  1. package/.history/.eslintignore_20220609190420 +4 -0
  2. package/.history/.eslintignore_20230911190227 +6 -0
  3. package/.history/.eslintignore_20230911211247 +7 -0
  4. package/.history/.eslintignore_20230911211250 +7 -0
  5. package/.history/.eslintrc_20230911201601.js +49 -0
  6. package/.history/.eslintrc_20230911201643.js +49 -0
  7. package/.history/.eslintrc_20230911201735.js +49 -0
  8. package/.history/.eslintrc_20230911201913.js +64 -0
  9. package/.history/.eslintrc_20230911202002.js +62 -0
  10. package/.history/.eslintrc_20230911202138.js +133 -0
  11. package/.history/.eslintrc_20230911202140.js +133 -0
  12. package/.history/.eslintrc_20230911202145.js +133 -0
  13. package/.history/.eslintrc_20230911202147.js +133 -0
  14. package/.history/.eslintrc_20230911202406.js +133 -0
  15. package/.history/.eslintrc_20230911202447.js +133 -0
  16. package/.history/.eslintrc_20230911202453.js +133 -0
  17. package/.history/.eslintrc_20230911202511.js +133 -0
  18. package/.history/.eslintrc_20230911202527.js +133 -0
  19. package/.history/.eslintrc_20230911202639.js +125 -0
  20. package/.history/.eslintrc_20230911202721.js +149 -0
  21. package/.history/.eslintrc_20230911202746.js +149 -0
  22. package/.history/.eslintrc_20240423125702.cjs +148 -0
  23. package/.history/.gitignore_20220609190420 +14 -0
  24. package/.history/.gitignore_20230911185959 +4 -0
  25. package/.history/.gitignore_20230911190006 +4 -0
  26. package/.history/.gitignore_20230911190007 +4 -0
  27. package/.history/.nmprc_20241004144025 +0 -0
  28. package/.history/.nmprc_20241004144041 +1 -0
  29. package/.history/.npmrc_20241004144040 +1 -0
  30. package/.history/.npmrc_20241004144152 +1 -0
  31. package/.history/.npmrc_20241004145639 +2 -0
  32. package/.history/.npmrc_20241004145649 +1 -0
  33. package/.history/.nvmrc_20250729181039 +1 -0
  34. package/.history/.prettierignore_20220609190420 +5 -0
  35. package/.history/.prettierignore_20230911190242 +7 -0
  36. package/.history/.prettierignore_20230911190245 +7 -0
  37. package/.history/.prettierignore_20230911211301 +8 -0
  38. package/.history/CHANGELOG_20250729195139.md +28 -0
  39. package/.history/CHANGELOG_20250729195148.md +29 -0
  40. package/.history/CHANGELOG_20250729195156.md +28 -0
  41. package/.history/CHANGELOG_20250729195218.md +29 -0
  42. package/.history/CHANGELOG_20250729195223.md +27 -0
  43. package/.history/CHANGELOG_20250729195506.md +29 -0
  44. package/.history/CHANGELOG_20250729224404.md +30 -0
  45. package/.history/CHANGELOG_20250729224411.md +30 -0
  46. package/.history/CHANGELOG_20250730124538.md +41 -0
  47. package/.history/CHANGELOG_20250730124603.md +38 -0
  48. package/.history/CHANGELOG_20250730124627.md +36 -0
  49. package/.history/CHANGELOG_20250730124638.md +36 -0
  50. package/.history/CHANGELOG_20250730124640.md +36 -0
  51. package/.history/README_20230911145033.md +245 -0
  52. package/.history/README_20230911151749.md +245 -0
  53. package/.history/README_20230911151844.md +245 -0
  54. package/.history/README_20230911153040.md +245 -0
  55. package/.history/README_20230911202959.md +245 -0
  56. package/.history/bitbucket-pipelines_20250729111540.yml +46 -0
  57. package/.history/bitbucket-pipelines_20250729210338.yml +46 -0
  58. package/.history/bitbucket-pipelines_20250729210340.yml +46 -0
  59. package/.history/bitbucket-pipelines_20250729210342.yml +46 -0
  60. package/.history/bitbucket-pipelines_20250729222234.yml +47 -0
  61. package/.history/bitbucket-pipelines_20250729222554.yml +47 -0
  62. package/.history/bitbucket-pipelines_20250729222555.yml +47 -0
  63. package/.history/bitbucket-pipelines_20250729223022.yml +46 -0
  64. package/.history/bitbucket-pipelines_20250729223024.yml +46 -0
  65. package/.history/cli_20241005014539 +3 -0
  66. package/.history/cli_20241005014542 +3 -0
  67. package/.history/cli_20241005014848 +3 -0
  68. package/.history/dist/chunk-FICM3HUI_20230912183408.js +302 -0
  69. package/.history/dist/chunk-FICM3HUI_20230912201610.js +302 -0
  70. package/.history/package_20250729182417.json +111 -0
  71. package/.history/package_20250729182419.json +111 -0
  72. package/.history/package_20250729182618.json +110 -0
  73. package/.history/package_20250729182834.json +110 -0
  74. package/.history/package_20250729183032.json +110 -0
  75. package/.history/package_20250729183033.json +110 -0
  76. package/.history/package_20250729185750.json +110 -0
  77. package/.history/package_20250729185815.json +110 -0
  78. package/.history/package_20250729185846.json +110 -0
  79. package/.history/package_20250729185854.json +110 -0
  80. package/.history/package_20250729185943.json +110 -0
  81. package/.history/package_20250729190645.json +110 -0
  82. package/.history/package_20250729195934.json +110 -0
  83. package/.history/package_20250729200013.json +110 -0
  84. package/.history/package_20250729200056.json +110 -0
  85. package/.history/package_20250729200434.json +110 -0
  86. package/.history/package_20250729200808.json +110 -0
  87. package/.history/package_20250729200944.json +110 -0
  88. package/.history/package_20250729214420.json +114 -0
  89. package/.history/package_20250729223112.json +110 -0
  90. package/.history/package_20250729223127.json +110 -0
  91. package/.history/package_20250729223134.json +110 -0
  92. package/.history/package_20250730124647.json +114 -0
  93. package/.history/tsconfig_20241005001442.json +34 -0
  94. package/.history/tsconfig_20241005001500.json +34 -0
  95. package/.history/tsconfig_20241005001540.json +34 -0
  96. package/.history/tsconfig_20241005014429.json +42 -0
  97. package/.history/tsconfig_20241005014436.json +42 -0
  98. package/.history/tsconfig_20241005014439.json +38 -0
  99. package/.history/tsconfig_20241005014455.json +38 -0
  100. package/.history/tsconfig_20241005014521.json +38 -0
  101. package/.history/vitest.config_20250729214539.ts +0 -0
  102. package/.history/vitest.config_20250729214659.ts +24 -0
  103. package/.history/vitest.config_20250729214748.ts +21 -0
  104. package/.history/vitest.config_20250729214825.ts +21 -0
  105. package/.history/vitest.config_20250729214902.ts +21 -0
  106. package/.history/vitest.config_20250729222125.ts +20 -0
  107. package/.history/vitest.config_20250729222213.ts +20 -0
  108. package/.idea/codeStyles/Project.xml +131 -0
  109. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  110. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  111. package/.idea/misc.xml +17 -0
  112. package/.idea/modules.xml +8 -0
  113. package/.idea/prettier.xml +6 -0
  114. package/.idea/tamaro-cli.iml +12 -0
  115. package/.idea/vcs.xml +6 -0
  116. package/.nvmrc +1 -1
  117. package/dist/{chunk-H4BMVFM6.js → chunk-XSGUCJWC.js} +20 -2
  118. package/dist/cli.js +26 -26
  119. package/dist/webpack.config.js +24 -21
  120. package/package.json +37 -39
  121. package/pnpm-workspace.yaml +2 -0
package/dist/cli.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  resolveBin,
23
23
  resolveOwn,
24
24
  runCommandSync
25
- } from "./chunk-H4BMVFM6.js";
25
+ } from "./chunk-XSGUCJWC.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.0",
717
+ version: "1.4.2",
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",
@@ -786,7 +786,7 @@ var package_default = {
786
786
  "eslint-plugin-promise": "^7.2.1",
787
787
  "eslint-plugin-unused-imports": "^3.2.0",
788
788
  "eslint-plugin-yml": "^1.18.0",
789
- "eslint-webpack-plugin": "^4.2.0",
789
+ "eslint-webpack-plugin": "^5.0.2",
790
790
  execa: "^9.6.0",
791
791
  "file-loader": "^6.2.0",
792
792
  "fork-ts-checker-webpack-plugin": "^9.1.0",
@@ -794,32 +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
- "source-map-loader": "^5.0.0",
815
- "strip-indent": "^4.0.0",
814
+ "strip-indent": "^4.1.0",
816
815
  "style-loader": "^4.0.0",
816
+ "terser-webpack-plugin": "^5.3.14",
817
817
  "tsconfig-paths-webpack-plugin": "^4.2.0",
818
818
  tsup: "^8.5.0",
819
- typescript: "^5.8.3",
819
+ typescript: "^5.9.2",
820
820
  "url-loader": "^4.1.1",
821
821
  vitest: "^3.2.4",
822
- webpack: "^5.101.0",
822
+ webpack: "^5.101.3",
823
823
  "webpack-cli": "^6.0.1",
824
824
  "webpack-config-utils": "^2.3.1",
825
825
  "webpack-dev-server": "^5.2.2",
@@ -8,9 +8,9 @@ import {
8
8
  getRelativePaths,
9
9
  logDataTable,
10
10
  logTitle,
11
- moduleFileExtensions,
12
- resolveApp
13
- } from "./chunk-H4BMVFM6.js";
11
+ resolveApp,
12
+ resolveEslintPluginConfig
13
+ } from "./chunk-XSGUCJWC.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";
@@ -77,6 +78,7 @@ var getWebpackConfig = (env) => {
77
78
  const { ifHmr } = getIfUtils({ hmr: process.env.HMR_ENABLED === "true" }, ["hmr"]);
78
79
  const { ifNolint } = getIfUtils(env, ["nolint"]);
79
80
  const useTailwind = ifCore() && paths.appTailwindConfig && existsSync(paths.appTailwindConfig);
81
+ const eslintPluginConfig = resolveEslintPluginConfig(paths);
80
82
  logTitle("Paths:");
81
83
  logDataTable(getRelativePaths(paths));
82
84
  logTitle("Environment variables:");
@@ -173,13 +175,6 @@ var getWebpackConfig = (env) => {
173
175
  ),
174
176
  module: {
175
177
  rules: removeEmpty([
176
- // Source maps
177
- ifNotMin({
178
- enforce: "pre",
179
- exclude: /@babel\/runtime/,
180
- test: /\.(js|jsx|ts|tsx|css|scss)$/,
181
- use: require2.resolve("source-map-loader")
182
- }),
183
178
  {
184
179
  oneOf: [
185
180
  /**
@@ -358,20 +353,28 @@ var getWebpackConfig = (env) => {
358
353
  removeEmptyChunks: true,
359
354
  // moduleIds: 'deterministic', // todo: use instead of HashedModuleIdsPlugin
360
355
  // chunkIds: 'named',
361
- minimizer: ["...", new CssMinimizerPlugin()]
362
- // 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
+ ]
363
369
  },
364
370
  plugins: removeEmpty([
365
371
  new webpack.ProgressPlugin(),
366
- ifNolint(
367
- false,
368
- new ESLintPlugin({
369
- extensions: moduleFileExtensions,
370
- eslintPath: require2.resolve("eslint"),
371
- cwd: paths.app,
372
- resolvePluginsRelativeTo: paths.app
373
- })
374
- ),
372
+ /**
373
+ * Skip ESLint plugin if either:
374
+ * - It's disabled with "nolint" flag.
375
+ * - No ESLint configuration is resolved.
376
+ */
377
+ ifNolint() || !eslintPluginConfig ? void 0 : new ESLintPlugin(eslintPluginConfig),
375
378
  ifMin(
376
379
  new CleanWebpackPlugin({
377
380
  // verbose: true,
package/package.json CHANGED
@@ -1,48 +1,34 @@
1
1
  {
2
2
  "name": "@raisenow/tamaro-cli",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "author": {
5
5
  "name": "RaiseNow",
6
6
  "email": "development@raisenow.com"
7
7
  },
8
8
  "type": "module",
9
9
  "bin": "dist/cli.js",
10
- "packageManager": "pnpm@10.13.1",
11
10
  "engines": {
12
11
  "node": ">=22",
13
- "pnpm": ">= 10",
12
+ "pnpm": ">=10",
14
13
  "npm": "please-use-pnpm",
15
14
  "yarn": "please-use-pnpm"
16
15
  },
17
- "scripts": {
18
- "prepare": "pnpm build",
19
- "typecheck": "tsc --noEmit",
20
- "build": "tsup src/cli.ts src/webpack.config.ts --clean --shims --format esm",
21
- "build:watch": "pnpm build --watch --ignore-watch .history --ignore-watch .idea",
22
- "readme": "pnpx http-server . --cors -o /readme.html",
23
- "lint": "DEBUG=eslint:cli-engine eslint .",
24
- "lint:fix": "DEBUG=eslint:cli-engine eslint --fix .",
25
- "format": "prettier --write .",
26
- "test": "vitest",
27
- "test:watch": "vitest --watch",
28
- "test:coverage": "vitest --coverage"
29
- },
30
16
  "dependencies": {
31
- "@babel/cli": "^7.28.0",
32
- "@babel/core": "^7.28.0",
17
+ "@babel/cli": "^7.28.3",
18
+ "@babel/core": "^7.28.4",
33
19
  "@babel/plugin-proposal-decorators": "^7.28.0",
34
20
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
35
- "@babel/plugin-transform-runtime": "^7.28.0",
36
- "@babel/preset-env": "^7.28.0",
21
+ "@babel/plugin-transform-runtime": "^7.28.3",
22
+ "@babel/preset-env": "^7.28.3",
37
23
  "@babel/preset-react": "^7.27.1",
38
24
  "@babel/preset-typescript": "^7.27.1",
39
- "@babel/runtime-corejs3": "^7.28.2",
25
+ "@babel/runtime-corejs3": "^7.28.4",
40
26
  "@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
41
27
  "@statoscope/webpack-plugin": "^5.29.0",
42
28
  "@types/columnify": "^1.5.4",
43
29
  "@types/handlebars-helpers": "^0.5.6",
44
30
  "@types/lodash": "^4.17.20",
45
- "@types/node": "^22.17.0",
31
+ "@types/node": "^22.18.6",
46
32
  "@types/node-notifier": "^8.0.5",
47
33
  "@types/prompts": "^2.4.9",
48
34
  "@types/resolve-bin": "^0.4.3",
@@ -51,17 +37,17 @@
51
37
  "@typescript-eslint/parser": "^7.18.0",
52
38
  "autoprefixer": "^10.4.21",
53
39
  "babel-loader": "^10.0.0",
54
- "babel-plugin-istanbul": "^7.0.0",
40
+ "babel-plugin-istanbul": "^7.0.1",
55
41
  "babel-plugin-lodash": "^3.3.4",
56
- "chalk": "^5.4.1",
42
+ "chalk": "^5.6.2",
57
43
  "clean-webpack-plugin": "^4.0.0",
58
44
  "columnify": "^1.6.0",
59
- "commander": "^14.0.0",
60
- "copy-webpack-plugin": "^13.0.0",
61
- "core-js": "^3.44.0",
45
+ "commander": "^14.0.1",
46
+ "copy-webpack-plugin": "^13.0.1",
47
+ "core-js": "^3.45.1",
62
48
  "css-loader": "^7.1.2",
63
49
  "css-minimizer-webpack-plugin": "^7.0.2",
64
- "dotenv": "^17.2.1",
50
+ "dotenv": "^17.2.2",
65
51
  "escape-string-regexp": "^5.0.0",
66
52
  "eslint": "^8.57.1",
67
53
  "eslint-config-prettier": "^10.1.8",
@@ -72,7 +58,7 @@
72
58
  "eslint-plugin-promise": "^7.2.1",
73
59
  "eslint-plugin-unused-imports": "^3.2.0",
74
60
  "eslint-plugin-yml": "^1.18.0",
75
- "eslint-webpack-plugin": "^4.2.0",
61
+ "eslint-webpack-plugin": "^5.0.2",
76
62
  "execa": "^9.6.0",
77
63
  "file-loader": "^6.2.0",
78
64
  "fork-ts-checker-webpack-plugin": "^9.1.0",
@@ -80,35 +66,47 @@
80
66
  "handlebars": "^4.7.8",
81
67
  "handlebars-helpers": "^0.10.0",
82
68
  "html-loader": "^5.1.0",
83
- "html-webpack-plugin": "^5.6.3",
69
+ "html-webpack-plugin": "^5.6.4",
84
70
  "json-loader": "^0.5.7",
85
71
  "lodash": "^4.17.21",
86
- "mini-css-extract-plugin": "^2.9.2",
72
+ "mini-css-extract-plugin": "^2.9.4",
87
73
  "node-notifier": "^10.0.1",
88
- "portfinder": "^1.0.37",
74
+ "portfinder": "^1.0.38",
89
75
  "postcss": "^8.5.6",
90
76
  "postcss-custom-properties": "^14.0.6",
91
77
  "postcss-import": "^16.1.1",
92
- "postcss-loader": "^8.1.1",
78
+ "postcss-loader": "^8.2.0",
93
79
  "postcss-nested": "^7.0.2",
94
80
  "prettier": "^3.6.2",
95
81
  "prompts": "^2.4.2",
96
82
  "react-refresh": "^0.17.0",
97
83
  "resolve-url-loader": "^5.0.0",
98
- "sass": "^1.89.2",
84
+ "sass": "^1.93.1",
99
85
  "sass-loader": "^16.0.5",
100
- "source-map-loader": "^5.0.0",
101
- "strip-indent": "^4.0.0",
86
+ "strip-indent": "^4.1.0",
102
87
  "style-loader": "^4.0.0",
88
+ "terser-webpack-plugin": "^5.3.14",
103
89
  "tsconfig-paths-webpack-plugin": "^4.2.0",
104
90
  "tsup": "^8.5.0",
105
- "typescript": "^5.8.3",
91
+ "typescript": "^5.9.2",
106
92
  "url-loader": "^4.1.1",
107
93
  "vitest": "^3.2.4",
108
- "webpack": "^5.101.0",
94
+ "webpack": "^5.101.3",
109
95
  "webpack-cli": "^6.0.1",
110
96
  "webpack-config-utils": "^2.3.1",
111
97
  "webpack-dev-server": "^5.2.2",
112
98
  "yaml-loader": "^0.8.1"
99
+ },
100
+ "scripts": {
101
+ "typecheck": "tsc --noEmit",
102
+ "build": "tsup src/cli.ts src/webpack.config.ts --clean --shims --format esm",
103
+ "build:watch": "pnpm build --watch --ignore-watch .history --ignore-watch .idea",
104
+ "readme": "pnpx http-server . --cors -o /readme.html",
105
+ "lint": "DEBUG=eslint:cli-engine eslint .",
106
+ "lint:fix": "DEBUG=eslint:cli-engine eslint --fix .",
107
+ "format": "prettier --write .",
108
+ "test": "vitest",
109
+ "test:watch": "vitest --watch",
110
+ "test:coverage": "vitest --coverage"
113
111
  }
114
- }
112
+ }
@@ -0,0 +1,2 @@
1
+ onlyBuiltDependencies:
2
+ - core-js