@vuepress/oxfmt-config 8.2.0 → 8.3.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 +2 -4
- package/dist/index.d.cts +2 -8
- package/dist/index.d.mts +2 -8
- package/dist/index.mjs +2 -4
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/config.ts
|
|
3
3
|
/**
|
|
4
4
|
* Oxfmt Config
|
|
5
5
|
*
|
|
@@ -56,8 +56,7 @@ const config = {
|
|
|
56
56
|
useTabs: false,
|
|
57
57
|
vueIndentScriptAndStyle: false
|
|
58
58
|
};
|
|
59
|
-
|
|
60
|
-
//#region src/vuepress.ts
|
|
59
|
+
// src/vuepress.ts
|
|
61
60
|
const vuepress = (userConfig) => ({
|
|
62
61
|
...config,
|
|
63
62
|
...userConfig,
|
|
@@ -74,6 +73,5 @@ const vuepress = (userConfig) => ({
|
|
|
74
73
|
...userConfig?.sortTailwindcss
|
|
75
74
|
} : void 0
|
|
76
75
|
});
|
|
77
|
-
//#endregion
|
|
78
76
|
exports.config = config;
|
|
79
77
|
exports.vuepress = vuepress;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { OxfmtConfig } from "oxfmt";
|
|
2
|
-
|
|
3
|
-
//#region src/config.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* Oxfmt Config
|
|
6
4
|
*
|
|
7
5
|
* @see https://oxc.rs/docs/guide/usage/formatter/config-file-reference
|
|
8
6
|
*/
|
|
9
|
-
declare const config: {
|
|
7
|
+
export declare const config: {
|
|
10
8
|
arrowParens: "always";
|
|
11
9
|
bracketSameLine: false;
|
|
12
10
|
bracketSpacing: true;
|
|
@@ -48,8 +46,4 @@ declare const config: {
|
|
|
48
46
|
useTabs: false;
|
|
49
47
|
vueIndentScriptAndStyle: false;
|
|
50
48
|
};
|
|
51
|
-
|
|
52
|
-
//#region src/vuepress.d.ts
|
|
53
|
-
declare const vuepress: (userConfig?: Partial<OxfmtConfig>) => OxfmtConfig;
|
|
54
|
-
//#endregion
|
|
55
|
-
export { config, vuepress };
|
|
49
|
+
export declare const vuepress: (userConfig?: Partial<OxfmtConfig>) => OxfmtConfig;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { OxfmtConfig } from "oxfmt";
|
|
2
|
-
|
|
3
|
-
//#region src/config.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* Oxfmt Config
|
|
6
4
|
*
|
|
7
5
|
* @see https://oxc.rs/docs/guide/usage/formatter/config-file-reference
|
|
8
6
|
*/
|
|
9
|
-
declare const config: {
|
|
7
|
+
export declare const config: {
|
|
10
8
|
arrowParens: "always";
|
|
11
9
|
bracketSameLine: false;
|
|
12
10
|
bracketSpacing: true;
|
|
@@ -48,8 +46,4 @@ declare const config: {
|
|
|
48
46
|
useTabs: false;
|
|
49
47
|
vueIndentScriptAndStyle: false;
|
|
50
48
|
};
|
|
51
|
-
|
|
52
|
-
//#region src/vuepress.d.ts
|
|
53
|
-
declare const vuepress: (userConfig?: Partial<OxfmtConfig>) => OxfmtConfig;
|
|
54
|
-
//#endregion
|
|
55
|
-
export { config, vuepress };
|
|
49
|
+
export declare const vuepress: (userConfig?: Partial<OxfmtConfig>) => OxfmtConfig;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/config.ts
|
|
2
2
|
/**
|
|
3
3
|
* Oxfmt Config
|
|
4
4
|
*
|
|
@@ -55,8 +55,7 @@ const config = {
|
|
|
55
55
|
useTabs: false,
|
|
56
56
|
vueIndentScriptAndStyle: false
|
|
57
57
|
};
|
|
58
|
-
|
|
59
|
-
//#region src/vuepress.ts
|
|
58
|
+
// src/vuepress.ts
|
|
60
59
|
const vuepress = (userConfig) => ({
|
|
61
60
|
...config,
|
|
62
61
|
...userConfig,
|
|
@@ -73,5 +72,4 @@ const vuepress = (userConfig) => ({
|
|
|
73
72
|
...userConfig?.sortTailwindcss
|
|
74
73
|
} : void 0
|
|
75
74
|
});
|
|
76
|
-
//#endregion
|
|
77
75
|
export { config, vuepress };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/oxfmt-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.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.23.7"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"oxfmt": ">=0.42.0"
|