swico 0.8.5-beta14 → 0.8.5-beta2
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": "0.8.5-
|
|
3
|
+
"version": "0.8.5-beta2",
|
|
4
4
|
"description": "Simple, efficient, and practical front-end framework",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -30,35 +30,27 @@
|
|
|
30
30
|
"author": "scw",
|
|
31
31
|
"license": "ISC",
|
|
32
32
|
"dependencies": {
|
|
33
|
+
"history": "5.3.0",
|
|
33
34
|
"react": "~18.2.0",
|
|
34
35
|
"react-dom": "~18.2.0",
|
|
35
36
|
"react-router-dom": "6.22.3",
|
|
36
37
|
"vue": "~3.4.14",
|
|
37
|
-
"vue-router": "^4.2.5"
|
|
38
|
-
"history": "5.3.0"
|
|
38
|
+
"vue-router": "^4.2.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
+
"@babel/plugin-transform-runtime": "^7.24.3",
|
|
42
|
+
"@babel/preset-env": "^7.24.4",
|
|
41
43
|
"@babel/types": "7.23.9",
|
|
42
|
-
"@types/react": "18.2.79",
|
|
43
|
-
"@types/react-dom": "18.2.25",
|
|
44
|
-
"@vue/compiler-sfc": "3.4.14",
|
|
45
|
-
"eslint-plugin-react": "7.33.2",
|
|
46
|
-
"eslint-plugin-react-hooks": "4.3.0",
|
|
47
|
-
"eslint-plugin-vue": "9.19.2",
|
|
48
|
-
"vue-loader": "17.4.2",
|
|
49
|
-
"vue-style-loader": "4.1.3",
|
|
50
|
-
"webpack": "5.88.2",
|
|
51
|
-
"webpack-bundle-analyzer": "4.9.1",
|
|
52
|
-
"webpack-cli": "5.1.4",
|
|
53
|
-
"webpack-dev-server": "4.15.2",
|
|
54
|
-
"webpack-merge": "5.9.0",
|
|
55
|
-
"webpackbar": "6.0.1",
|
|
56
44
|
"@commitlint/cli": "18.5.0",
|
|
57
45
|
"@commitlint/config-conventional": "18.5.0",
|
|
58
46
|
"@swc/core": "1.4.6",
|
|
47
|
+
"@types/react": "18.2.79",
|
|
48
|
+
"@types/react-dom": "18.2.25",
|
|
59
49
|
"@typescript-eslint/eslint-plugin": "6.19.0",
|
|
60
50
|
"@typescript-eslint/parser": "6.19.0",
|
|
51
|
+
"@vue/compiler-sfc": "3.4.14",
|
|
61
52
|
"autoprefixer": "10.3.7",
|
|
53
|
+
"babel-loader": "^9.1.3",
|
|
62
54
|
"chalk": "4.1.2",
|
|
63
55
|
"chokidar": "3.6.0",
|
|
64
56
|
"commander": "12.0.0",
|
|
@@ -68,8 +60,11 @@
|
|
|
68
60
|
"css-loader": "6.3.0",
|
|
69
61
|
"esbuild-loader": "4.0.3",
|
|
70
62
|
"eslint": "8.48.0",
|
|
63
|
+
"eslint-plugin-react": "7.33.2",
|
|
64
|
+
"eslint-plugin-react-hooks": "4.3.0",
|
|
65
|
+
"eslint-plugin-vue": "9.19.2",
|
|
71
66
|
"eslint-webpack-plugin": "4.0.0",
|
|
72
|
-
"fork-ts-checker-webpack-plugin": "
|
|
67
|
+
"fork-ts-checker-webpack-plugin": "9.0.2",
|
|
73
68
|
"html-loader": "5.0.0",
|
|
74
69
|
"html-webpack-plugin": "5.3.2",
|
|
75
70
|
"husky": "9.0.10",
|
|
@@ -85,7 +80,14 @@
|
|
|
85
80
|
"style-loader": "3.3.0",
|
|
86
81
|
"swc-loader": "0.2.6",
|
|
87
82
|
"ts-node": "10.9.1",
|
|
88
|
-
"
|
|
89
|
-
"
|
|
83
|
+
"typescript": "5.3.3",
|
|
84
|
+
"vue-loader": "17.4.2",
|
|
85
|
+
"vue-style-loader": "4.1.3",
|
|
86
|
+
"webpack": "5.88.2",
|
|
87
|
+
"webpack-bundle-analyzer": "4.9.1",
|
|
88
|
+
"webpack-cli": "5.1.4",
|
|
89
|
+
"webpack-dev-server": "4.15.2",
|
|
90
|
+
"webpack-merge": "5.9.0",
|
|
91
|
+
"webpackbar": "6.0.1"
|
|
90
92
|
}
|
|
91
93
|
}
|
|
@@ -25,32 +25,8 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
|
|
|
25
25
|
use: {
|
|
26
26
|
loader: string;
|
|
27
27
|
options: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
decorators: boolean;
|
|
31
|
-
dynamicImport: boolean;
|
|
32
|
-
};
|
|
33
|
-
target: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
}[];
|
|
37
|
-
loader?: undefined;
|
|
38
|
-
oneOf?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
test: RegExp;
|
|
41
|
-
exclude: RegExp;
|
|
42
|
-
use: {
|
|
43
|
-
loader: string;
|
|
44
|
-
options: {
|
|
45
|
-
jsc: {
|
|
46
|
-
parser: {
|
|
47
|
-
syntax: string;
|
|
48
|
-
tsx: boolean;
|
|
49
|
-
decorators: boolean;
|
|
50
|
-
dynamicImport: boolean;
|
|
51
|
-
};
|
|
52
|
-
target: string;
|
|
53
|
-
};
|
|
28
|
+
presets: string[];
|
|
29
|
+
plugins: string[];
|
|
54
30
|
};
|
|
55
31
|
}[];
|
|
56
32
|
loader?: undefined;
|
|
@@ -117,39 +117,14 @@ function default_1(_a) {
|
|
|
117
117
|
exclude: /node_modules/
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
test: /\.
|
|
120
|
+
test: /\.ts$/,
|
|
121
121
|
exclude: /node_modules/,
|
|
122
122
|
use: [
|
|
123
123
|
{
|
|
124
|
-
loader: '
|
|
124
|
+
loader: 'babel-loader?cacheDirectory=true',
|
|
125
125
|
options: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
decorators: true,
|
|
129
|
-
dynamicImport: true
|
|
130
|
-
},
|
|
131
|
-
target: 'es2015'
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
test: /\.(ts|js)$/,
|
|
139
|
-
exclude: /node_modules/,
|
|
140
|
-
use: [
|
|
141
|
-
{
|
|
142
|
-
loader: 'swc-loader',
|
|
143
|
-
options: {
|
|
144
|
-
jsc: {
|
|
145
|
-
parser: {
|
|
146
|
-
syntax: 'typescript',
|
|
147
|
-
tsx: false,
|
|
148
|
-
decorators: true,
|
|
149
|
-
dynamicImport: true
|
|
150
|
-
},
|
|
151
|
-
target: 'es2015'
|
|
152
|
-
}
|
|
126
|
+
presets: ['@babel/preset-env'],
|
|
127
|
+
plugins: ['@babel/plugin-transform-runtime']
|
|
153
128
|
}
|
|
154
129
|
}
|
|
155
130
|
]
|
|
@@ -303,12 +278,6 @@ function default_1(_a) {
|
|
|
303
278
|
}
|
|
304
279
|
},
|
|
305
280
|
typescript: {
|
|
306
|
-
extensions: {
|
|
307
|
-
vue: {
|
|
308
|
-
enabled: true,
|
|
309
|
-
compiler: '@vue/compiler-sfc'
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
281
|
diagnosticOptions: {
|
|
313
282
|
semantic: true,
|
|
314
283
|
syntactic: true
|