Skip to content

Commit 71d1e36

Browse files
committed
chore: format
1 parent f31fe3c commit 71d1e36

File tree

10 files changed

+32
-33
lines changed

10 files changed

+32
-33
lines changed

.prettierrc.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
},
1515
"devDependencies": {
1616
"@antfu/ni": "^25.0.0",
17-
"@so1ve/eslint-config": "^3.6.1",
18-
"@so1ve/prettier-config": "^3.6.1",
17+
"@so1ve/eslint-config": "^3.7.0",
18+
"@so1ve/prettier-config": "^3.7.0",
1919
"@types/node": "^24.0.13",
2020
"@vue-macros/test-utils": "^2.0.0",
2121
"bumpp": "^10.2.0",

packages/common/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export { createFilter } from "@rollup/pluginutils";
2-
export * from "./types";
2+
export type * from "./types";
33
export * from "./utils";

packages/complex-types/src/astro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default (options: Options) => ({
55
name: "@vue.ts/complex-types",
66
hooks: {
77
"astro:config:setup": async (astro: any) => {
8-
astro.config.vite.plugins ||= [];
8+
astro.config.vite.plugins ??= [];
99
astro.config.vite.plugins.push(unplugin.vite(options));
1010
},
1111
},

packages/complex-types/src/core/types.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ export type ValidTransforms = "defineEmits" | "defineProps";
77

88
export type Options = {
99
tsconfigPath?: string;
10-
} & {
11-
[Transform in ValidTransforms]?: boolean;
12-
} & BaseOptions;
10+
} & Partial<Record<ValidTransforms, boolean>> &
11+
BaseOptions;
1312

1413
export type ResolvedOptions = Required<Options>;
1514
export type TransformOptions = Pick<ResolvedOptions, ValidTransforms>;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "./core/types";
1+
export type * from "./core/types";

packages/tsx-auto-props/src/astro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default (options: Options) => ({
55
name: "@vue.ts/complex-types",
66
hooks: {
77
"astro:config:setup": async (astro: any) => {
8-
astro.config.vite.plugins ||= [];
8+
astro.config.vite.plugins ??= [];
99
astro.config.vite.plugins.push(unplugin.vite(options));
1010
},
1111
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "./core/types";
1+
export type * from "./core/types";

pnpm-lock.yaml

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prettier.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "@so1ve/prettier-config";

0 commit comments

Comments
 (0)