swico 3.0.0-beta.5 → 3.0.0-beta.7

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": "3.0.0-beta.5",
3
+ "version": "3.0.0-beta.7",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -48,7 +48,7 @@
48
48
  "@rsbuild/plugin-basic-ssl": "^1.2.2",
49
49
  "@rsbuild/plugin-eslint": "^1.3.0",
50
50
  "@rsbuild/plugin-less": "^1.6.2",
51
- "@rsbuild/plugin-react": "^1.4.6",
51
+ "@rsbuild/plugin-react": "^2.0.0",
52
52
  "@rsbuild/plugin-sass": "^1.5.1",
53
53
  "@rsbuild/plugin-type-check": "^1.3.4",
54
54
  "@rsbuild/plugin-vue": "^1.2.7",
@@ -60,24 +60,24 @@
60
60
  "fs-extra": "11.3.0",
61
61
  "ora": "5.4.1",
62
62
  "qs": "6.13.0",
63
- "react-router": "7.5.0",
63
+ "react-router": "7.15.0",
64
64
  "ts-node": "10.9.1",
65
65
  "vue-router": "4.5.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@eslint/js": "9.24.0",
69
- "@rsbuild/core": "^2.0.0-rc.0",
70
- "@types/node": "22.13.10",
71
- "@types/react": "~19.2.0",
72
- "@types/react-dom": "~19.2.0",
73
- "eslint": "9.24.0",
74
- "globals": "16.0.0",
68
+ "@eslint/js": "10.0.1",
69
+ "@rsbuild/core": "^2.0.5",
70
+ "@types/node": "22.19.18",
71
+ "@types/react": "~19.2.14",
72
+ "@types/react-dom": "~19.2.3",
73
+ "eslint": "10.3.0",
74
+ "globals": "17.6.0",
75
75
  "prettier": "3.5.3",
76
- "react": "~19.2.0",
77
- "react-dom": "~19.2.0",
76
+ "react": "~19.2.6",
77
+ "react-dom": "~19.2.6",
78
78
  "typescript": "5.8.3",
79
- "typescript-eslint": "8.30.1",
80
- "vue": "~3.5.23"
79
+ "typescript-eslint": "8.59.2",
80
+ "vue": "~3.5.34"
81
81
  },
82
82
  "engines": {
83
83
  "node": ">=20.0.0"
@@ -233,7 +233,7 @@ const handleGlobalStyleFile = (replaceIndexText) => {
233
233
  let newReplaceIndexText = replaceIndexText;
234
234
  if (styleFilePath) {
235
235
  newReplaceIndexText = newReplaceIndexText.replaceAll(`require("../../src/global.${styleFileType}");`, '');
236
- newReplaceIndexText = `require("../../src/global.${styleFileType}");\n${replaceIndexText}`;
236
+ newReplaceIndexText = `require("../../src/global.${styleFileType}");\n${newReplaceIndexText}`;
237
237
  }
238
238
  else {
239
239
  newReplaceIndexText = newReplaceIndexText.replaceAll(/require\("\.\.\/\.\.\/src\/global.(less|scss|css)"\);/g, '');
@@ -67,9 +67,6 @@ function default_1(options) {
67
67
  base: publicPath,
68
68
  compress: true,
69
69
  headers: (_e = (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.dev) === null || _d === void 0 ? void 0 : _d.responseHeaders) !== null && _e !== void 0 ? _e : main_config_1.initConfig.responseHeaders,
70
- historyApiFallback: {
71
- index: `${baseConfig.output.publicPath}index.html`
72
- },
73
70
  proxy: (_g = (_f = customConfig === null || customConfig === void 0 ? void 0 : customConfig.dev) === null || _f === void 0 ? void 0 : _f.proxy) !== null && _g !== void 0 ? _g : main_config_1.initConfig.proxy,
74
71
  open: false
75
72
  },
@@ -80,7 +77,6 @@ function default_1(options) {
80
77
  client: {
81
78
  overlay: false,
82
79
  logLevel: 'error',
83
- hmr: true,
84
80
  lazyCompilation: true,
85
81
  progress: false
86
82
  },
@@ -66,9 +66,7 @@ function default_1(options) {
66
66
  },
67
67
  performance: {
68
68
  removeConsole: !consoleAvailable,
69
- performance: {
70
- buildCache: true
71
- }
69
+ buildCache: true
72
70
  },
73
71
  mode: 'production',
74
72
  tools: {