diff --git a/package-lock.json b/package-lock.json index f3856d970..2b621a504 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,6 +42,7 @@ } }, "bundlers/rollup-config": { + "name": "@flatfile/rollup-config", "version": "0.0.0", "license": "ISC", "dependencies": { diff --git a/plugins/autocast/package.json b/plugins/autocast/package.json index 764108489..7b285e3bd 100644 --- a/plugins/autocast/package.json +++ b/plugins/autocast/package.json @@ -9,14 +9,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/constraints/package.json b/plugins/constraints/package.json index 9a2c9453b..c43286de3 100644 --- a/plugins/constraints/package.json +++ b/plugins/constraints/package.json @@ -8,14 +8,16 @@ "registryMetadata": { "category": "records" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/dedupe/package.json b/plugins/dedupe/package.json index bf49464e8..dbeffb550 100644 --- a/plugins/dedupe/package.json +++ b/plugins/dedupe/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/dxp-configure/package.json b/plugins/dxp-configure/package.json index d08d6f9db..c74c91bcc 100644 --- a/plugins/dxp-configure/package.json +++ b/plugins/dxp-configure/package.json @@ -13,14 +13,16 @@ "last 2 versions", "not dead" ], - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/foreign-db-extractor/package.json b/plugins/foreign-db-extractor/package.json index 09af4ba16..300f5332a 100644 --- a/plugins/foreign-db-extractor/package.json +++ b/plugins/foreign-db-extractor/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 18" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/job-handler/package.json b/plugins/job-handler/package.json index d533e3dd5..c06ec2f58 100644 --- a/plugins/job-handler/package.json +++ b/plugins/job-handler/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/json-extractor/package.json b/plugins/json-extractor/package.json index 21ede231f..7231af39c 100644 --- a/plugins/json-extractor/package.json +++ b/plugins/json-extractor/package.json @@ -9,14 +9,16 @@ "node": ">= 16" }, "type": "module", - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/openapi-schema/package.json b/plugins/openapi-schema/package.json index eb2ef6ba0..8c673b91d 100644 --- a/plugins/openapi-schema/package.json +++ b/plugins/openapi-schema/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/record-hook/package.json b/plugins/record-hook/package.json index 3ce979c08..ad018ca12 100644 --- a/plugins/record-hook/package.json +++ b/plugins/record-hook/package.json @@ -13,14 +13,16 @@ "last 2 versions", "not dead" ], - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/space-configure/package.json b/plugins/space-configure/package.json index 61986dcfa..03873f5a0 100644 --- a/plugins/space-configure/package.json +++ b/plugins/space-configure/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/webhook-egress/package.json b/plugins/webhook-egress/package.json index 3fd663d7f..a740612b0 100644 --- a/plugins/webhook-egress/package.json +++ b/plugins/webhook-egress/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/plugins/webhook-event-forwarder/package.json b/plugins/webhook-event-forwarder/package.json index f092d7550..a299b031a 100644 --- a/plugins/webhook-event-forwarder/package.json +++ b/plugins/webhook-event-forwarder/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/utils/common/package.json b/utils/common/package.json index cd253759a..39558eee2 100644 --- a/utils/common/package.json +++ b/utils/common/package.json @@ -7,14 +7,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs", diff --git a/utils/response-rejection/package.json b/utils/response-rejection/package.json index 16941b2c9..b5f9a1998 100644 --- a/utils/response-rejection/package.json +++ b/utils/response-rejection/package.json @@ -8,14 +8,16 @@ "engines": { "node": ">= 16" }, - "browser": { - "./dist/index.cjs": "./dist/index.browser.cjs", - "./dist/index.mjs": "./dist/index.browser.mjs" - }, "exports": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", + "node": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs" + }, + "browser": { + "require": "./dist/index.browser.cjs", + "import": "./dist/index.browser.mjs" + }, "default": "./dist/index.mjs" }, "main": "./dist/index.cjs",