swico 3.1.0-beta.1 → 3.1.0-beta.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swico",
|
|
3
|
-
"version": "3.1.0-beta.
|
|
3
|
+
"version": "3.1.0-beta.2",
|
|
4
4
|
"description": "Simple, efficient, and practical front-end framework",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@esctn/vue-tsc-api": "^1.0.1",
|
|
48
48
|
"@rsbuild/plugin-basic-ssl": "^1.2.2",
|
|
49
|
-
"@rsbuild/plugin-eslint": "^
|
|
50
|
-
"@rsbuild/plugin-less": "^
|
|
51
|
-
"@rsbuild/plugin-react": "^2.
|
|
52
|
-
"@rsbuild/plugin-sass": "^
|
|
53
|
-
"@rsbuild/plugin-type-check": "^1.
|
|
54
|
-
"@rsbuild/plugin-vue": "^2.
|
|
55
|
-
"@rsdoctor/rspack-plugin": "^1.
|
|
49
|
+
"@rsbuild/plugin-eslint": "^1.3.0",
|
|
50
|
+
"@rsbuild/plugin-less": "^1.6.2",
|
|
51
|
+
"@rsbuild/plugin-react": "^2.0.0",
|
|
52
|
+
"@rsbuild/plugin-sass": "^1.5.1",
|
|
53
|
+
"@rsbuild/plugin-type-check": "^1.3.4",
|
|
54
|
+
"@rsbuild/plugin-vue": "^1.2.7",
|
|
55
|
+
"@rsdoctor/rspack-plugin": "^1.5.7",
|
|
56
56
|
"chalk": "4.1.2",
|
|
57
57
|
"chokidar": "3.6.0",
|
|
58
58
|
"commander": "12.0.0",
|
|
@@ -111,13 +111,12 @@ function default_1(options) {
|
|
|
111
111
|
eslintPluginOptions: {
|
|
112
112
|
configType: 'flat',
|
|
113
113
|
context: path_1.default.join(projectPath, '/src'),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
warning: 'warning'
|
|
117
|
-
},
|
|
114
|
+
failOnError: false,
|
|
115
|
+
failOnWarning: true,
|
|
118
116
|
extensions: templateType === 'vue'
|
|
119
117
|
? ['vue', 'ts', 'js', 'tsx', 'jsx', 'mjs', 'mts']
|
|
120
118
|
: ['tsx', 'ts', 'js', 'mjs', 'mts', 'jsx'],
|
|
119
|
+
emitWarning: false,
|
|
121
120
|
cache: true
|
|
122
121
|
}
|
|
123
122
|
}),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
export 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
|
-
|
|
8
|
+
const Layout = () => react_1.default.createElement(react_router_1.Outlet, null);
|
|
9
|
+
exports.default = Layout;
|