Skip to content

Commit

Permalink
node & browser condition branches
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrugger committed Apr 5, 2024
1 parent c8d4b32 commit 285fc7b
Show file tree
Hide file tree
Showing 15 changed files with 113 additions and 28 deletions.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions plugins/autocast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/constraints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/dedupe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/dxp-configure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/foreign-db-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/job-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/json-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/openapi-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/record-hook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/space-configure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/webhook-egress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions plugins/webhook-event-forwarder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions utils/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@
},
"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",
Expand Down
10 changes: 8 additions & 2 deletions utils/response-rejection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@
},
"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",
Expand Down

0 comments on commit 285fc7b

Please sign in to comment.