@vuepress/oxfmt-config 8.1.0 → 8.2.0
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.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -61,17 +61,17 @@ const config = {
|
|
|
61
61
|
const vuepress = (userConfig) => ({
|
|
62
62
|
...config,
|
|
63
63
|
...userConfig,
|
|
64
|
-
sortImports: {
|
|
64
|
+
sortImports: typeof userConfig?.sortImports !== "boolean" ? {
|
|
65
65
|
...config.sortImports,
|
|
66
66
|
...userConfig?.sortImports
|
|
67
|
-
},
|
|
67
|
+
} : userConfig.sortImports,
|
|
68
68
|
sortPackageJson: typeof userConfig?.sortPackageJson !== "boolean" ? {
|
|
69
69
|
...config.sortPackageJson,
|
|
70
70
|
...userConfig?.sortPackageJson
|
|
71
71
|
} : userConfig.sortPackageJson,
|
|
72
|
-
sortTailwindcss: userConfig?.sortTailwindcss ? {
|
|
72
|
+
sortTailwindcss: typeof userConfig?.sortTailwindcss !== "boolean" ? {
|
|
73
73
|
...config.sortTailwindcss,
|
|
74
|
-
...userConfig
|
|
74
|
+
...userConfig?.sortTailwindcss
|
|
75
75
|
} : void 0
|
|
76
76
|
});
|
|
77
77
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -60,17 +60,17 @@ const config = {
|
|
|
60
60
|
const vuepress = (userConfig) => ({
|
|
61
61
|
...config,
|
|
62
62
|
...userConfig,
|
|
63
|
-
sortImports: {
|
|
63
|
+
sortImports: typeof userConfig?.sortImports !== "boolean" ? {
|
|
64
64
|
...config.sortImports,
|
|
65
65
|
...userConfig?.sortImports
|
|
66
|
-
},
|
|
66
|
+
} : userConfig.sortImports,
|
|
67
67
|
sortPackageJson: typeof userConfig?.sortPackageJson !== "boolean" ? {
|
|
68
68
|
...config.sortPackageJson,
|
|
69
69
|
...userConfig?.sortPackageJson
|
|
70
70
|
} : userConfig.sortPackageJson,
|
|
71
|
-
sortTailwindcss: userConfig?.sortTailwindcss ? {
|
|
71
|
+
sortTailwindcss: typeof userConfig?.sortTailwindcss !== "boolean" ? {
|
|
72
72
|
...config.sortTailwindcss,
|
|
73
|
-
...userConfig
|
|
73
|
+
...userConfig?.sortTailwindcss
|
|
74
74
|
} : void 0
|
|
75
75
|
});
|
|
76
76
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/oxfmt-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "Oxfmt config for VuePress Team",
|
|
5
5
|
"homepage": "https://github.com/vuepress",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"tsdown": "^0.
|
|
30
|
+
"tsdown": "^0.22.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"oxfmt": ">=0.42.0"
|