@seayoo-web/scripts 1.2.5 → 1.2.8
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/dist/index.js +14 -4
- package/package.json +10 -10
- package/types/src/vite.lab.d.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ function defineLibBuildConfig(option) {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
rollupOptions: {
|
|
28
|
-
external: (option == null ? void 0 : option.external) || [/^@seayoo-web\/(?:request|utils)/]
|
|
28
|
+
external: (option == null ? void 0 : option.external) || [/^@seayoo-web\/(?:request|utils|combo-webview)/]
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
});
|
|
@@ -132,9 +132,19 @@ function definePageBuildConfig(option) {
|
|
|
132
132
|
vue(),
|
|
133
133
|
vueDevTools(),
|
|
134
134
|
legacy({
|
|
135
|
-
targets: [
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
targets: [
|
|
136
|
+
"defaults",
|
|
137
|
+
"> 0.2%",
|
|
138
|
+
"last 5 versions and not dead",
|
|
139
|
+
"Firefox ESR",
|
|
140
|
+
"edge >= 60",
|
|
141
|
+
"firefox >= 60",
|
|
142
|
+
"chrome >= 53",
|
|
143
|
+
"chromeAndroid >= 53",
|
|
144
|
+
"safari >= 8",
|
|
145
|
+
"iOS >= 8"
|
|
146
|
+
],
|
|
147
|
+
additionalLegacyPolyfills: ["regenerator-runtime/runtime", "es/array/flat", "es/global-this"]
|
|
138
148
|
}),
|
|
139
149
|
htmlInjectPlugin({
|
|
140
150
|
BUILD_TIME: envs.stamp,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seayoo-web/scripts",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"description": "scripts for seayoo web monorepos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@sentry/vite-plugin": "^3.2.
|
|
36
|
+
"@sentry/vite-plugin": "^3.2.2",
|
|
37
37
|
"@vitejs/plugin-legacy": "^6.0.2",
|
|
38
38
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
39
39
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
40
|
-
"@vue/eslint-config-typescript": "^14.
|
|
40
|
+
"@vue/eslint-config-typescript": "^14.5.0",
|
|
41
41
|
"colors": "^1.4.0",
|
|
42
42
|
"commander": "^13.1.0",
|
|
43
43
|
"eslint-plugin-import": "^2.31.0",
|
|
44
|
-
"eslint-plugin-vue": "^9.
|
|
44
|
+
"eslint-plugin-vue": "^9.33.0",
|
|
45
45
|
"fs-extra": "^11.3.0",
|
|
46
|
-
"inquirer": "^12.4.
|
|
46
|
+
"inquirer": "^12.4.3",
|
|
47
47
|
"jiti": "^2.4.2",
|
|
48
48
|
"ora": "^8.2.0",
|
|
49
49
|
"postcss-html": "^1.8.0",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/fs-extra": "^11.0.4",
|
|
56
|
-
"@types/node": "^22.13.
|
|
57
|
-
"@typescript-eslint/utils": "^8.
|
|
58
|
-
"eslint": "^9.
|
|
59
|
-
"stylelint": "^16.
|
|
56
|
+
"@types/node": "^22.13.10",
|
|
57
|
+
"@typescript-eslint/utils": "^8.26.1",
|
|
58
|
+
"eslint": "^9.22.0",
|
|
59
|
+
"stylelint": "^16.15.0",
|
|
60
60
|
"stylelint-config-recess-order": "^6.0.0",
|
|
61
61
|
"stylelint-config-standard": "^37.0.0",
|
|
62
|
-
"@seayoo-web/tsconfig": "^1.0.
|
|
62
|
+
"@seayoo-web/tsconfig": "^1.0.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"eslint": "^9.19.0",
|
package/types/src/vite.lab.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ interface LibBuildOption {
|
|
|
3
3
|
outDir?: string;
|
|
4
4
|
/** 入口文件,默认为 "index.ts" */
|
|
5
5
|
rootEntry?: string;
|
|
6
|
-
/** 要排除的工具包,默认排除 "@seayoo-web/request" 和 "@seayoo-web/
|
|
6
|
+
/** 要排除的工具包,默认排除 "@seayoo-web/request"、"@seayoo-web/utils" 和 "@seayoo-web/combo-webview" */
|
|
7
7
|
external?: string[];
|
|
8
8
|
}
|
|
9
9
|
/**
|