swico 2.0.0-beta.16 → 2.0.0-beta.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.17",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  "license": "ISC",
32
32
  "dependencies": {
33
33
  "@rspack/core": "1.3.5",
34
- "@rspack/dev-server": "^1.1.1",
34
+ "@rspack/dev-server": "1.1.1",
35
35
  "@vue/compiler-sfc": "3.5.13",
36
36
  "autoprefixer": "10.3.7",
37
37
  "chalk": "4.1.2",
@@ -39,7 +39,7 @@
39
39
  "commander": "12.0.0",
40
40
  "cross-spawn": "7.0.5",
41
41
  "css-loader": "7.1.2",
42
- "eslint-webpack-plugin": "4.0.0",
42
+ "eslint-rspack-plugin": "4.2.1",
43
43
  "fs-extra": "11.3.0",
44
44
  "html-loader": "5.1.0",
45
45
  "less": "4.3.0",
@@ -50,28 +50,32 @@
50
50
  "postcss-preset-env": "9.3.0",
51
51
  "qs": "6.13.0",
52
52
  "react-router": "7.5.0",
53
- "sass-embedded": "^1.86.3",
53
+ "sass-embedded": "1.86.3",
54
54
  "sass-loader": "16.0.5",
55
55
  "style-loader": "3.3.0",
56
- "ts-checker-rspack-plugin": "^1.1.1",
56
+ "ts-checker-rspack-plugin": "1.1.1",
57
57
  "ts-node": "10.9.1",
58
58
  "vue-loader": "17.4.2",
59
- "vue-router": "^4.5.0",
59
+ "vue-router": "4.5.0",
60
60
  "vue-style-loader": "4.1.3",
61
61
  "webpack-bundle-analyzer": "4.9.1",
62
- "webpack-merge": "^6.0.1",
63
- "webpackbar": "^7.0.0"
62
+ "webpack-merge": "6.0.1",
63
+ "webpackbar": "7.0.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@types/node": "22.13.10",
67
67
  "@types/react": "19.1.0",
68
68
  "@types/react-dom": "19.1.0",
69
- "@typescript-eslint/eslint-plugin": "6.19.0",
70
- "@typescript-eslint/parser": "6.19.0",
71
- "eslint": "8.48.0",
69
+ "eslint": "9.24.0",
70
+ "@eslint/js": "9.24.0",
71
+ "typescript-eslint": "8.30.1",
72
+ "globals": "16.0.0",
72
73
  "react": "~19.1.0",
73
74
  "react-dom": "~19.1.0",
74
75
  "typescript": "5.8.3",
75
76
  "vue": "~3.5.13"
77
+ },
78
+ "engines": {
79
+ "node": ">=20.0.0"
76
80
  }
77
81
  }
@@ -49,7 +49,7 @@ exports.default = default_1;
49
49
  const config_1 = require("../utils/config");
50
50
  const path_1 = __importDefault(require("path"));
51
51
  const webpack_merge_1 = require("webpack-merge");
52
- const eslint_webpack_plugin_1 = __importDefault(require("eslint-webpack-plugin"));
52
+ const eslint_rspack_plugin_1 = __importDefault(require("eslint-rspack-plugin"));
53
53
  const ts_checker_rspack_plugin_1 = require("ts-checker-rspack-plugin");
54
54
  const tools_1 = require("../utils/tools");
55
55
  function default_1(options) {
@@ -99,7 +99,7 @@ function default_1(options) {
99
99
  }
100
100
  }
101
101
  }),
102
- new eslint_webpack_plugin_1.default({
102
+ new eslint_rspack_plugin_1.default({
103
103
  context: path_1.default.join(projectPath, '/src'),
104
104
  failOnError: false,
105
105
  failOnWarning: true,
@@ -112,6 +112,7 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
112
112
  extensions: string[];
113
113
  alias: {
114
114
  '@': string;
115
+ 'react-router': string;
115
116
  qs: string;
116
117
  };
117
118
  };
@@ -173,7 +173,7 @@ function default_1(_a) {
173
173
  },
174
174
  resolve: {
175
175
  extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
176
- alias: Object.assign({ '@': path_1.default.join(projectPath, '/src'), qs: path_1.default.dirname(require.resolve('qs')) }, getCustomAliasConfig())
176
+ alias: Object.assign({ '@': path_1.default.join(projectPath, '/src'), 'react-router': path_1.default.dirname(require.resolve('react-router')), qs: path_1.default.dirname(require.resolve('qs')) }, getCustomAliasConfig())
177
177
  },
178
178
  externals: customConfig.base.externals,
179
179
  plugins: [