@vuepress/oxfmt-config 8.0.0 → 8.1.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/README.md CHANGED
@@ -13,10 +13,9 @@ npm i -D @vuepress/oxfmt-config
13
13
  ## Usage
14
14
 
15
15
  ```ts
16
- import { defineConfig } from 'oxfmt'
17
16
  import { vuepress } from '@vuepress/oxfmt-config'
18
17
 
19
- export default defineConfig(vuepress())
18
+ export default vuepress()
20
19
  ```
21
20
 
22
21
  ## License
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { FormatConfig } from "oxfmt";
1
+ import { OxfmtConfig } from "oxfmt";
2
2
 
3
3
  //#region src/config.d.ts
4
4
  /**
@@ -50,6 +50,6 @@ declare const config: {
50
50
  };
51
51
  //#endregion
52
52
  //#region src/vuepress.d.ts
53
- declare const vuepress: (userConfig?: Partial<FormatConfig>) => FormatConfig;
53
+ declare const vuepress: (userConfig?: Partial<OxfmtConfig>) => OxfmtConfig;
54
54
  //#endregion
55
55
  export { config, vuepress };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { FormatConfig } from "oxfmt";
1
+ import { OxfmtConfig } from "oxfmt";
2
2
 
3
3
  //#region src/config.d.ts
4
4
  /**
@@ -50,6 +50,6 @@ declare const config: {
50
50
  };
51
51
  //#endregion
52
52
  //#region src/vuepress.d.ts
53
- declare const vuepress: (userConfig?: Partial<FormatConfig>) => FormatConfig;
53
+ declare const vuepress: (userConfig?: Partial<OxfmtConfig>) => OxfmtConfig;
54
54
  //#endregion
55
55
  export { config, vuepress };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/oxfmt-config",
3
- "version": "8.0.0",
3
+ "version": "8.1.0",
4
4
  "description": "Oxfmt config for VuePress Team",
5
5
  "homepage": "https://github.com/vuepress",
6
6
  "license": "MIT",
@@ -26,15 +26,14 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
+ "devDependencies": {
30
+ "tsdown": "^0.21.5"
31
+ },
32
+ "peerDependencies": {
33
+ "oxfmt": ">=0.42.0"
34
+ },
29
35
  "scripts": {
30
36
  "build": "tsdown",
31
37
  "clean": "rimraf ./dist"
32
- },
33
- "dependencies": {
34
- "oxfmt": "^0.41.0"
35
- },
36
- "devDependencies": {
37
- "tsdown": "^0.21.3"
38
- },
39
- "gitHead": "650dd668b28470673f70d8473c2aea64f3b5f3ef"
40
- }
38
+ }
39
+ }