swico 3.1.0-beta.1 → 3.1.0-beta.3

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.1.0-beta.1",
3
+ "version": "3.1.0-beta.3",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -25,7 +25,8 @@
25
25
  "react",
26
26
  "vue",
27
27
  "swico",
28
- "rsbuild"
28
+ "rsbuild",
29
+ "rspack"
29
30
  ],
30
31
  "bin": {
31
32
  "swico": "./src/bin.js"
@@ -45,14 +46,14 @@
45
46
  "license": "ISC",
46
47
  "dependencies": {
47
48
  "@esctn/vue-tsc-api": "^1.0.1",
48
- "@rsbuild/plugin-basic-ssl": "^1.2.2",
49
+ "@rsbuild/plugin-basic-ssl": "^1.2.3",
49
50
  "@rsbuild/plugin-eslint": "^2.0.2",
50
51
  "@rsbuild/plugin-less": "^2.0.1",
51
52
  "@rsbuild/plugin-react": "^2.1.0",
52
53
  "@rsbuild/plugin-sass": "^2.0.1",
53
54
  "@rsbuild/plugin-type-check": "^1.6.0",
54
- "@rsbuild/plugin-vue": "^2.0.1",
55
- "@rsdoctor/rspack-plugin": "^1.6.3",
55
+ "@rsbuild/plugin-vue": "^1.2.7",
56
+ "@rsdoctor/rspack-plugin": "^1.5.7",
56
57
  "chalk": "4.1.2",
57
58
  "chokidar": "3.6.0",
58
59
  "commander": "12.0.0",
@@ -66,7 +67,7 @@
66
67
  },
67
68
  "devDependencies": {
68
69
  "@eslint/js": "9.39.4",
69
- "@rsbuild/core": "^2.2.5",
70
+ "@rsbuild/core": "^2.1.13",
70
71
  "@types/node": "22.19.18",
71
72
  "@types/react": "~19.2.14",
72
73
  "@types/react-dom": "~19.2.3",
@@ -112,8 +112,8 @@ function default_1(options) {
112
112
  configType: 'flat',
113
113
  context: path_1.default.join(projectPath, '/src'),
114
114
  severity: {
115
- error: 'off',
116
- warning: 'warning'
115
+ error: 'error',
116
+ warning: 'off'
117
117
  },
118
118
  extensions: templateType === 'vue'
119
119
  ? ['vue', 'ts', 'js', 'tsx', 'jsx', 'mjs', 'mts']
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const _default: () => React.JSX.Element;
3
- export default _default;
2
+ declare const Layout: () => React.JSX.Element;
3
+ export default Layout;
@@ -5,4 +5,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const react_router_1 = require("react-router");
7
7
  const react_1 = __importDefault(require("react"));
8
- exports.default = () => react_1.default.createElement(react_router_1.Outlet, null);
8
+ const Layout = () => react_1.default.createElement(react_router_1.Outlet, null);
9
+ exports.default = Layout;