From 138d4cd302c36c4328e4e4818cb6f7d9789aff7b Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Mon, 21 Oct 2024 15:02:08 +0100 Subject: [PATCH] Update form package --- packages/form/package.json | 22 ++++++++++------------ packages/form/src/form/BaseForm.vue | 2 +- packages/form/src/index.d.ts | 3 --- packages/form/src/index.js | 3 --- packages/metadata/src/components/index.ts | 2 +- 5 files changed, 12 insertions(+), 20 deletions(-) delete mode 100644 packages/form/src/index.d.ts delete mode 100644 packages/form/src/index.js diff --git a/packages/form/package.json b/packages/form/package.json index 96de14ca1..acffb0ec4 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -13,23 +13,21 @@ "bugs": { "url": "https://github.com/primefaces/primevue/issues" }, - "main": "./src/index.js", - "module": "./src/index.js", - "types": "./src/index.d.ts", + "main": "./src/form/Form.vue", + "types": "./src/form/Form.d.ts", "exports": { - ".": "./src/index.js", - "./form/style": "./src/form/style/FormStyle.js", - "./form": "./src/form/Form.vue", + ".": "./src/form/Form.vue", + "./style": "./src/form/style/FormStyle.js", "./*": "./src/*/index.js" }, "publishConfig": { - "main": "./index.mjs", - "module": "./index.mjs", - "types": "./index.d.ts", + "main": "./form/index.mjs", + "module": "./form/index.mjs", + "types": "./form/index.d.ts", "exports": { ".": { - "types": "./index.d.ts", - "import": "./index.mjs" + "types": "./form/index.d.ts", + "import": "./form/index.mjs" }, "./*": { "types": "./*/index.d.ts", @@ -55,4 +53,4 @@ "engines": { "node": ">=12.11.0" } -} \ No newline at end of file +} diff --git a/packages/form/src/form/BaseForm.vue b/packages/form/src/form/BaseForm.vue index 3112e2091..bd1a10d92 100644 --- a/packages/form/src/form/BaseForm.vue +++ b/packages/form/src/form/BaseForm.vue @@ -1,6 +1,6 @@