Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiDOM side effects handling for bundlers #2567

Merged
merged 24 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a29bbaf
chore(apidom-json-pointer): add @types/ramda as explicit dependency
char0n Feb 16, 2023
325e3e3
feat(ast): add sideEffects field to package.json
char0n Feb 16, 2023
bcaf53f
feat(core): add sideEffects field to package.json
char0n Feb 16, 2023
cdb95de
feat(json-path): add sideEffects field to package.json
char0n Feb 16, 2023
1ec6318
feat(json-pointer): add sideEffects field to package.json
char0n Feb 16, 2023
d5db7ca
feat(ns-api-design-systems): add sideEffects field to package.json
char0n Feb 16, 2023
823c2a5
feat(ns-asyncapi-2): add sideEffects field to package.json
char0n Feb 16, 2023
6cb77bc
feat(ns-json-schema-draft-4): add sideEffects field to package.json
char0n Feb 16, 2023
82768b7
feat(ns-json-schema-draft-6): add sideEffects field to package.json
char0n Feb 16, 2023
63a6854
feat(ns-json-schema-draft-7): add sideEffects field to package.json
char0n Feb 16, 2023
fe4e2f1
feat(ns-openapi-3-0): add sideEffects field to package.json
char0n Feb 16, 2023
b9513d4
feat(ns-openapi-3-1): add sideEffects field to package.json
char0n Feb 16, 2023
defd93a
feat(ns-workflows-1): add sideEffects field to package.json
char0n Feb 16, 2023
4474a3e
feat(parser): add sideEffects field to package.json
char0n Feb 16, 2023
eb1b25c
feat(parser-adapter-ads-json): add sideEffects field to package.json
char0n Feb 16, 2023
a994bc9
feat(parser-adapter-ads-yaml): add sideEffects field to package.json
char0n Feb 16, 2023
343bb8e
feat(parser-asyncapi-json-2): add sideEffects field to package.json
char0n Feb 16, 2023
defe0dd
feat(parser-asyncapi-yaml-2): add sideEffects field to package.json
char0n Feb 16, 2023
08e5ce1
feat(parser-adapter-json): add sideEffects field to package.json
char0n Feb 16, 2023
df0358f
feat(parser-openapi-json-3-0): add sideEffects field to package.json
char0n Feb 16, 2023
9608f59
feat(parser-openapi-json-3-1): add sideEffects field to package.json
char0n Feb 16, 2023
7b07145
feat(parser-openapi-yaml-3-0): add sideEffects field to package.json
char0n Feb 16, 2023
80b79bb
feat(parser-openapi-yaml-3-1): add sideEffects field to package.json
char0n Feb 16, 2023
8c9a781
feat(parser-adapter-yaml-1-2): add sideEffects field to package.json
char0n Feb 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions packages/apidom-ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom.ast.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-core.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/apidom-json-path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-json-path.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
2 changes: 2 additions & 0 deletions packages/apidom-json-pointer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-json-pointer.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down Expand Up @@ -37,6 +38,7 @@
"dependencies": {
"@babel/runtime-corejs3": "^7.20.7",
"@swagger-api/apidom-core": "^0.67.1",
"@types/ramda": "=0.28.23",
"ramda": "=0.28.0",
"ramda-adjunct": "=3.4.0"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-api-design-systems/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-api-design-systems.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-asyncapi-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-asyncapi-2.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-json-schema-draft-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-json-schema-draft-4.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-json-schema-draft-6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-json-schema-draft-6.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-json-schema-draft-7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-json-schema-draft-7.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-openapi-3-0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-openapi-3-0.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-openapi-3-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-openapi-3-1.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions packages/apidom-ns-workflows-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
},
"private": true,
"type": "module",
"sideEffects": [
"./es/refractor/registration.js",
"./cjs/refractor/registration.cjs"
],
"unpkg": "./dist/apidom-ns-workflows-1.browser.min.js",
"main": "./cjs/index.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-adapter-api-design-systems-json.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-adapter-api-design-systems-yaml.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-asyncapi-json-2.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-asyncapi-yaml-2.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/apidom-parser-adapter-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-json.browser.min.js",
"main": "./cjs/adapter-node.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-openapi-json-3-0.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-openapi-json-3-1.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-openapi-yaml-3-0.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-openapi-yaml-3-1.browser.min.js",
"main": "./cjs/adapter.cjs",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/apidom-parser-adapter-yaml-1-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser-apdater-yaml-1-2.browser.min.js",
"main": "./cjs/adapter-node.cjs",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/apidom-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"registry": "https://npm.pkg.github.com"
},
"type": "module",
"sideEffects": false,
"unpkg": "./dist/apidom-parser.browser.min.js",
"main": "./cjs/parser.cjs",
"exports": {
Expand Down