Skip to content

Commit 5c3a8b7

Browse files
committed
chore: update build scripts
1 parent 5a07d0f commit 5c3a8b7

File tree

3 files changed

+1
-28
lines changed

3 files changed

+1
-28
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export default tseslint.config(
6161
'packages/rules/dist/*',
6262
'packages/i18n/dist/*',
6363
'packages/nuxt/dist/*',
64+
'docs/dist/*',
6465
],
6566
},
6667
);

scripts/build.mjs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -100,26 +100,10 @@ async function build(pkg) {
100100
await build('rules');
101101
}
102102

103-
if (arg === 'zod' || !arg) {
104-
await build('zod');
105-
}
106-
107-
if (arg === 'yup' || !arg) {
108-
await build('yup');
109-
}
110-
111-
if (arg === 'valibot' || !arg) {
112-
await build('valibot');
113-
}
114-
115103
if (arg === 'nuxt' || !arg) {
116104
await build('nuxt');
117105
}
118106

119-
if (arg === 'joi' || !arg) {
120-
await build('joi');
121-
}
122-
123107
if (arg === 'i18n' || !arg) {
124108
await build('i18n');
125109
await buildLocales();

scripts/config.mjs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,12 @@ const formatNameMap = {
1313
'vee-validate': 'VeeValidate',
1414
rules: 'VeeValidateRules',
1515
i18n: 'VeeValidateI18n',
16-
zod: 'VeeValidateZod',
17-
yup: 'VeeValidateYup',
18-
valibot: 'VeeValidateValibot',
19-
joi: 'VeeValidateJoi',
2016
};
2117

2218
const pkgNameMap = {
2319
'vee-validate': 'vee-validate',
2420
rules: 'vee-validate-rules',
2521
i18n: 'vee-validate-i18n',
26-
zod: 'vee-validate-zod',
27-
yup: 'vee-validate-yup',
28-
valibot: 'vee-validate-valibot',
29-
joi: 'vee-validate-joi',
3022
};
3123

3224
const formatExt = {
@@ -58,11 +50,7 @@ async function createConfig(pkg, format) {
5850
'vue',
5951
isEsm ? '@vue/devtools-api' : undefined,
6052
isEsm ? '@vue/devtools-kit' : undefined,
61-
'zod',
62-
'yup',
6353
'vee-validate',
64-
'valibot',
65-
'joi',
6654
].filter(Boolean),
6755
plugins: [
6856
replace({

0 commit comments

Comments
 (0)