-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly name exported files to avoid dual pkg hazard closes #4905
- Loading branch information
Showing
11 changed files
with
89 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"vee-validate": patch | ||
"@vee-validate/valibot": patch | ||
"@vee-validate/rules": patch | ||
"@vee-validate/i18n": patch | ||
"@vee-validate/joi": patch | ||
"@vee-validate/yup": patch | ||
"@vee-validate/zod": patch | ||
--- | ||
|
||
fix: specify module type on package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,22 +5,25 @@ | |
"author": "Abdelrahman Awad <[email protected]>", | ||
"homepage": "https://vee-validate.logaretm.com/v4/guide/i18n", | ||
"license": "MIT", | ||
"module": "dist/vee-validate-i18n.esm.js", | ||
"unpkg": "dist/vee-validate-i18n.js", | ||
"main": "dist/vee-validate-i18n.js", | ||
"module": "dist/vee-validate-i18n.mjs", | ||
"unpkg": "dist/vee-validate-i18n.iife.js", | ||
"main": "dist/vee-validate-i18n.mjs", | ||
"types": "dist/vee-validate-i18n.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/vee-validate-i18n.d.ts", | ||
"import": "./dist/vee-validate-i18n.esm.js", | ||
"require": "./dist/vee-validate-i18n.js" | ||
"import": "./dist/vee-validate-i18n.mjs", | ||
"require": "./dist/vee-validate-i18n.cjs" | ||
}, | ||
"./dist/locale/*.json": "./dist/locale/*.json" | ||
}, | ||
"sideEffects": false, | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.d.ts", | ||
"dist/*.cjs", | ||
"dist/*.mjs", | ||
"dist/locale/*.json" | ||
], | ||
"repository": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,15 @@ | |
"author": "Abdelrahman Awad <[email protected]>", | ||
"license": "MIT", | ||
"module": "dist/vee-validate-joi.esm.js", | ||
"unpkg": "dist/vee-validate-joi.js", | ||
"main": "dist/vee-validate-joi.js", | ||
"unpkg": "dist/vee-validate-joi.iife.js", | ||
"main": "dist/vee-validate-joi.mjs", | ||
"types": "dist/vee-validate-joi.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/vee-validate-joi.d.ts", | ||
"import": "./dist/vee-validate-joi.esm.js", | ||
"require": "./dist/vee-validate-joi.js" | ||
"import": "./dist/vee-validate-joi.mjs", | ||
"require": "./dist/vee-validate-joi.cjs" | ||
} | ||
}, | ||
"homepage": "https://vee-validate.logaretm.com/v4/integrations/joi-schema-validation/", | ||
|
@@ -32,7 +33,9 @@ | |
], | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.d.ts" | ||
"dist/*.d.ts", | ||
"dist/*.cjs", | ||
"dist/*.mjs" | ||
], | ||
"dependencies": { | ||
"joi": "17.11.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,16 @@ | |
"description": "Form Validation for Vue.js", | ||
"author": "Abdelrahman Awad <[email protected]>", | ||
"license": "MIT", | ||
"module": "dist/vee-validate-rules.esm.js", | ||
"unpkg": "dist/vee-validate-rules.js", | ||
"main": "dist/vee-validate-rules.js", | ||
"module": "dist/vee-validate-rules.mjs", | ||
"unpkg": "dist/vee-validate-rules.iife.js", | ||
"main": "dist/vee-validate-rules.mjs", | ||
"types": "dist/vee-validate-rules.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/vee-validate-rules.d.ts", | ||
"import": "./dist/vee-validate-rules.esm.js", | ||
"require": "./dist/vee-validate-rules.js" | ||
"import": "./dist/vee-validate-rules.mjs", | ||
"require": "./dist/vee-validate-rules.cjs" | ||
} | ||
}, | ||
"homepage": "https://vee-validate.logaretm.com/v4/guide/global-validators", | ||
|
@@ -32,7 +33,9 @@ | |
], | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.d.ts" | ||
"dist/*.d.ts", | ||
"dist/*.cjs", | ||
"dist/*.mjs" | ||
], | ||
"dependencies": { | ||
"vee-validate": "workspace:*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,15 @@ | |
"description": "vee-validate integration with valibot schema validation", | ||
"author": "Abdelrahman Awad <[email protected]>", | ||
"license": "MIT", | ||
"module": "dist/vee-validate-valibot.esm.js", | ||
"unpkg": "dist/vee-validate-valibot.js", | ||
"main": "dist/vee-validate-valibot.js", | ||
"module": "dist/vee-validate-valibot.mjs", | ||
"unpkg": "dist/vee-validate-valibot.iife.js", | ||
"main": "dist/vee-validate-valibot.mjs", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/vee-validate-valibot.d.ts", | ||
"import": "./dist/vee-validate-valibot.esm.js", | ||
"require": "./dist/vee-validate-valibot.js" | ||
"import": "./dist/vee-validate-valibot.mjs", | ||
"require": "./dist/vee-validate-valibot.cjs" | ||
} | ||
}, | ||
"types": "dist/vee-validate-valibot.d.ts", | ||
|
@@ -32,7 +33,9 @@ | |
], | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.d.ts" | ||
"dist/*.d.ts", | ||
"dist/*.cjs", | ||
"dist/*.mjs" | ||
], | ||
"dependencies": { | ||
"type-fest": "^4.8.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,15 @@ | |
"description": "Painless forms for Vue.js", | ||
"author": "Abdelrahman Awad <[email protected]>", | ||
"license": "MIT", | ||
"module": "dist/vee-validate.esm.js", | ||
"unpkg": "dist/vee-validate.js", | ||
"main": "dist/vee-validate.js", | ||
"module": "dist/vee-validate.mjs", | ||
"unpkg": "dist/vee-validate.iife.js", | ||
"main": "dist/vee-validate.mjs", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/vee-validate.d.ts", | ||
"import": "./dist/vee-validate.esm.js", | ||
"require": "./dist/vee-validate.js" | ||
"import": "./dist/vee-validate.mjs", | ||
"require": "./dist/vee-validate.cjs" | ||
} | ||
}, | ||
"types": "dist/vee-validate.d.ts", | ||
|
@@ -32,7 +33,9 @@ | |
], | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.d.ts" | ||
"dist/*.d.ts", | ||
"dist/*.cjs", | ||
"dist/*.mjs" | ||
], | ||
"peerDependencies": { | ||
"vue": "^3.4.26" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,16 @@ | |
"description": "vee-validate integration with yup schema validation", | ||
"author": "Abdelrahman Awad <[email protected]>", | ||
"license": "MIT", | ||
"module": "dist/vee-validate-yup.esm.js", | ||
"unpkg": "dist/vee-validate-yup.js", | ||
"main": "dist/vee-validate-yup.js", | ||
"module": "dist/vee-validate-yup.mjs", | ||
"unpkg": "dist/vee-validate-yup.iife.js", | ||
"main": "dist/vee-validate-yup.mjs", | ||
"types": "dist/vee-validate-yup.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/vee-validate-yup.d.ts", | ||
"import": "./dist/vee-validate-yup.esm.js", | ||
"require": "./dist/vee-validate-yup.js" | ||
"import": "./dist/vee-validate-yup.mjs", | ||
"require": "./dist/vee-validate-yup.cjs" | ||
} | ||
}, | ||
"homepage": "https://vee-validate.logaretm.com/v4/guide/composition-api/typed-schema/", | ||
|
@@ -32,7 +33,9 @@ | |
], | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.d.ts" | ||
"dist/*.d.ts", | ||
"dist/*.cjs", | ||
"dist/*.mjs" | ||
], | ||
"dependencies": { | ||
"type-fest": "^4.8.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,16 @@ | |
"description": "vee-validate integration with zod schema validation", | ||
"author": "Abdelrahman Awad <[email protected]>", | ||
"license": "MIT", | ||
"module": "dist/vee-validate-zod.esm.js", | ||
"unpkg": "dist/vee-validate-zod.js", | ||
"main": "dist/vee-validate-zod.js", | ||
"module": "dist/vee-validate-zod.mjs", | ||
"unpkg": "dist/vee-validate-zod.iife.js", | ||
"main": "dist/vee-validate-zod.mjs", | ||
"types": "dist/vee-validate-zod.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/vee-validate-zod.d.ts", | ||
"import": "./dist/vee-validate-zod.esm.js", | ||
"require": "./dist/vee-validate-zod.js" | ||
"import": "./dist/vee-validate-zod.mjs", | ||
"require": "./dist/vee-validate-zod.cjs" | ||
} | ||
}, | ||
"homepage": "https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation/", | ||
|
@@ -32,7 +33,9 @@ | |
], | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.d.ts" | ||
"dist/*.d.ts", | ||
"dist/*.cjs", | ||
"dist/*.mjs" | ||
], | ||
"dependencies": { | ||
"type-fest": "^4.8.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters