@soybeanjs/oxc-config 0.0.3 → 0.0.5
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 +22 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,42 +2,45 @@
|
|
|
2
2
|
var external = [
|
|
3
3
|
"vite",
|
|
4
4
|
"@vitejs/**",
|
|
5
|
-
"vite
|
|
5
|
+
"vite-**",
|
|
6
|
+
"rolldown",
|
|
6
7
|
"tsdown",
|
|
7
|
-
"unplugin-*",
|
|
8
8
|
"vitest",
|
|
9
9
|
"@vitest/**",
|
|
10
10
|
"playwright",
|
|
11
|
+
"unplugin-vue/**",
|
|
12
|
+
"unplugin-vue-**",
|
|
13
|
+
"unplugin-**",
|
|
11
14
|
"cypress",
|
|
12
15
|
"vue",
|
|
13
16
|
"@vue/**",
|
|
14
17
|
"vue-router",
|
|
15
18
|
"vue-router/**",
|
|
16
19
|
"@vueuse/**",
|
|
17
|
-
"vue
|
|
20
|
+
"vue-**",
|
|
18
21
|
"nuxt",
|
|
19
22
|
"@nuxt/**",
|
|
20
|
-
"nuxt
|
|
23
|
+
"nuxt-**",
|
|
21
24
|
"react",
|
|
22
25
|
"react-dom",
|
|
23
26
|
"@react/**",
|
|
24
|
-
"react
|
|
27
|
+
"react-**",
|
|
25
28
|
"next",
|
|
26
29
|
"@next/**",
|
|
27
30
|
"pinia",
|
|
28
|
-
"pinia
|
|
31
|
+
"pinia-**",
|
|
29
32
|
"zustand",
|
|
30
33
|
"jotai",
|
|
31
34
|
"unocss",
|
|
32
35
|
"unocss/**",
|
|
33
36
|
"@unocss/**",
|
|
34
|
-
"unocss
|
|
37
|
+
"unocss-**",
|
|
35
38
|
"tailwindcss",
|
|
36
39
|
"@tailwindcss/**",
|
|
37
|
-
"tailwind
|
|
40
|
+
"tailwind-**",
|
|
38
41
|
"postcss",
|
|
39
42
|
"@postcss/**",
|
|
40
|
-
"postcss
|
|
43
|
+
"postcss-**",
|
|
41
44
|
"@soybeanjs/**",
|
|
42
45
|
"nuxt-ui",
|
|
43
46
|
"element-plus",
|
|
@@ -126,6 +129,15 @@ external.forEach((item, index) => {
|
|
|
126
129
|
elementNamePattern: [item],
|
|
127
130
|
selector: "external"
|
|
128
131
|
});
|
|
132
|
+
if (item.endsWith("-**")) {
|
|
133
|
+
const _groupName = `external-subpath-${index}`;
|
|
134
|
+
externalGroupNames.push(_groupName);
|
|
135
|
+
customGroups.push({
|
|
136
|
+
groupName: _groupName,
|
|
137
|
+
elementNamePattern: [item.concat("/**")],
|
|
138
|
+
selector: "external"
|
|
139
|
+
});
|
|
140
|
+
}
|
|
129
141
|
});
|
|
130
142
|
internal.forEach((item, index) => {
|
|
131
143
|
const groupName = `internal-${index}`;
|
|
@@ -156,7 +168,7 @@ const fmt = {
|
|
|
156
168
|
trailingComma: "none",
|
|
157
169
|
arrowParens: "avoid",
|
|
158
170
|
htmlWhitespaceSensitivity: "ignore",
|
|
159
|
-
|
|
171
|
+
sortPackageJson: { sortScripts: true },
|
|
160
172
|
sortImports: {
|
|
161
173
|
newlinesBetween: false,
|
|
162
174
|
customGroups,
|