@vuepress/oxfmt-config 8.2.1 → 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 CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/config.ts
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
- //#endregion
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
- //#endregion
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
- //#endregion
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
- //#region src/config.ts
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
- //#endregion
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.2.1",
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.22.3"
30
+ "tsdown": "^0.23.7"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "oxfmt": ">=0.42.0"