From 01626b18955248b3cdd98da074f2d0585b6cd539 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:35:03 +0900 Subject: [PATCH 01/32] chore(deps): remove unused package --- packages/bezier-react/package.json | 1 - yarn.lock | 8 -------- 2 files changed, 9 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 1745617b2b..b4e7df9e96 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -131,7 +131,6 @@ "react-resize-detector": "^7.1.1", "react-textarea-autosize": "^8.3.4", "ssr-window": "^3.0.0", - "typesafe-actions": "^5.1.0", "uuid": "^9.0.0" } } diff --git a/yarn.lock b/yarn.lock index d07dd2d351..d7e7ccd3ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2936,7 +2936,6 @@ __metadata: tsconfig-paths-webpack-plugin: ^3.5.2 tslib: ^2.3.1 ttypescript: ^1.5.13 - typesafe-actions: ^5.1.0 typescript-transform-paths: ^3.3.1 uuid: ^9.0.0 peerDependencies: @@ -24746,13 +24745,6 @@ __metadata: languageName: node linkType: hard -"typesafe-actions@npm:^5.1.0": - version: 5.1.0 - resolution: "typesafe-actions@npm:5.1.0" - checksum: 63f973ca93fcd2a037bf994ec6b173a5bf2fe2eba04ea64d8ddc49f3fcac5506d4209d61e020ab07dd39a21539d9f03fbf7c9ed7a22244c3c6c0758e438f6ef5 - languageName: node - linkType: hard - "typescript-transform-paths@npm:^3.3.1": version: 3.3.1 resolution: "typescript-transform-paths@npm:3.3.1" From 46c00aaa6caa24a652b4da12ff3ac2cc714f2997 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:37:27 +0900 Subject: [PATCH 02/32] chore(deps): update react-textarea-autosize --- packages/bezier-react/package.json | 2 +- yarn.lock | 23 ++++++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index b4e7df9e96..b6f0e7ee2a 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -129,7 +129,7 @@ "@radix-ui/react-visually-hidden": "^1.0.2", "classnames": "^2.3.2", "react-resize-detector": "^7.1.1", - "react-textarea-autosize": "^8.3.4", + "react-textarea-autosize": "^8.4.1", "ssr-window": "^3.0.0", "uuid": "^9.0.0" } diff --git a/yarn.lock b/yarn.lock index d7e7ccd3ea..6bce7ef1d6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2413,7 +2413,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": version: 7.20.13 resolution: "@babel/runtime@npm:7.20.13" dependencies: @@ -2431,6 +2431,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.20.13": + version: 7.22.5 + resolution: "@babel/runtime@npm:7.22.5" + dependencies: + regenerator-runtime: ^0.13.11 + checksum: 12a50b7de2531beef38840d17af50c55a094253697600cee255311222390c68eed704829308d4fd305e1b3dfbce113272e428e9d9d45b1730e0fede997eaceb1 + languageName: node + linkType: hard + "@babel/template@npm:7.0.0-beta.44": version: 7.0.0-beta.44 resolution: "@babel/template@npm:7.0.0-beta.44" @@ -2923,7 +2932,7 @@ __metadata: react: ^18.1.0 react-dom: ^18.1.0 react-resize-detector: ^7.1.1 - react-textarea-autosize: ^8.3.4 + react-textarea-autosize: ^8.4.1 regenerator-runtime: ^0.13.11 rollup: ^2.50.5 rollup-plugin-peer-deps-external: ^2.2.4 @@ -21380,16 +21389,16 @@ __metadata: languageName: node linkType: hard -"react-textarea-autosize@npm:^8.3.4": - version: 8.3.4 - resolution: "react-textarea-autosize@npm:8.3.4" +"react-textarea-autosize@npm:^8.4.1": + version: 8.4.1 + resolution: "react-textarea-autosize@npm:8.4.1" dependencies: - "@babel/runtime": ^7.10.2 + "@babel/runtime": ^7.20.13 use-composed-ref: ^1.3.0 use-latest: ^1.2.1 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 87360d4392276d4e87511a73be9b0634b8bcce8f4f648cf659334d993f25ad3d4062f468f1e1944fc614123acae4299580aad00b760c6a96cec190e076f847f5 + checksum: b200437cd68938c23b13944fe6fdfeb32a6d949ac88588307f14d6fcdaba3044b8c7d8e239851b081f2101d433b93d4cf5aa027543b170b84f2a0cbe6fc9093f languageName: node linkType: hard From 802522dd6f147e03dc42dc4733635cef8ac77712 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:44:56 +0900 Subject: [PATCH 03/32] chore(deps): update rollup --- packages/bezier-icons/package.json | 2 +- packages/bezier-react/package.json | 2 +- yarn.lock | 26 ++++++-------------------- 3 files changed, 8 insertions(+), 22 deletions(-) diff --git a/packages/bezier-icons/package.json b/packages/bezier-icons/package.json index 2223abb6e7..ed904b7ec0 100644 --- a/packages/bezier-icons/package.json +++ b/packages/bezier-icons/package.json @@ -56,7 +56,7 @@ "@svgr/plugin-jsx": "^8.0.1", "eslint-config-bezier": "workspace:^", "jest": "^29.5.0", - "rollup": "^3.22.0", + "rollup": "^3.25.1", "rollup-plugin-visualizer": "^5.9.0", "svgo": "^3.0.2", "tsconfig": "workspace:^" diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index b6f0e7ee2a..c113ea1def 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -97,7 +97,7 @@ "react": "^18.1.0", "react-dom": "^18.1.0", "regenerator-runtime": "^0.13.11", - "rollup": "^2.50.5", + "rollup": "^3.25.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.31.1", "rollup-plugin-visualizer": "^5.8.3", diff --git a/yarn.lock b/yarn.lock index 6bce7ef1d6..9250c50392 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2860,7 +2860,7 @@ __metadata: "@svgr/plugin-jsx": ^8.0.1 eslint-config-bezier: "workspace:^" jest: ^29.5.0 - rollup: ^3.22.0 + rollup: ^3.25.1 rollup-plugin-visualizer: ^5.9.0 svgo: ^3.0.2 tsconfig: "workspace:^" @@ -2934,7 +2934,7 @@ __metadata: react-resize-detector: ^7.1.1 react-textarea-autosize: ^8.4.1 regenerator-runtime: ^0.13.11 - rollup: ^2.50.5 + rollup: ^3.25.1 rollup-plugin-peer-deps-external: ^2.2.4 rollup-plugin-typescript2: ^0.31.1 rollup-plugin-visualizer: ^5.8.3 @@ -22221,9 +22221,9 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^2.50.5": - version: 2.79.1 - resolution: "rollup@npm:2.79.1" +"rollup@npm:^3.25.1": + version: 3.25.1 + resolution: "rollup@npm:3.25.1" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -22231,21 +22231,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 6a2bf167b3587d4df709b37d149ad0300692cc5deb510f89ac7bdc77c8738c9546ae3de9322b0968e1ed2b0e984571f5f55aae28fa7de4cfcb1bc5402a4e2be6 - languageName: node - linkType: hard - -"rollup@npm:^3.22.0": - version: 3.23.1 - resolution: "rollup@npm:3.23.1" - dependencies: - fsevents: ~2.3.2 - dependenciesMeta: - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 4b3b3bbfd490b41ec5473d1141fe2beb0c86f600b56378fce97e0485192818256f8cbf4d43450b097ee7042e6629fb0187488807e2d15050860718f458c44685 + checksum: f483b28a0605097a725b080c088262b0fa21f7bce66f741df73d9ff0be6a3baaf2927916b094ce95412f4f15cc59bb5eae020f59cae3d3a6993d123faceb5b41 languageName: node linkType: hard From 66571ff43527a5818821c0ff7cf2f63590ea8db0 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:45:41 +0900 Subject: [PATCH 04/32] chore(deps): update '@rollup/*' packages --- packages/bezier-react/package.json | 8 +- yarn.lock | 192 +++++++++++++---------------- 2 files changed, 92 insertions(+), 108 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index c113ea1def..16755da021 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -57,10 +57,10 @@ "@babel/preset-typescript": "^7.12.7", "@channel.io/react-docgen-typescript-plugin": "^1.0.0", "@mdx-js/react": "^1.6.22", - "@rollup/plugin-babel": "^5.3.0", - "@rollup/plugin-commonjs": "^19.0.0", - "@rollup/plugin-node-resolve": "^13.0.0", - "@rollup/plugin-url": "^6.0.0", + "@rollup/plugin-babel": "^6.0.3", + "@rollup/plugin-commonjs": "^25.0.1", + "@rollup/plugin-node-resolve": "^15.1.0", + "@rollup/plugin-url": "^8.0.1", "@storybook/addon-a11y": "^6.5.0", "@storybook/addon-actions": "^6.5.13", "@storybook/addon-backgrounds": "^6.5.13", diff --git a/yarn.lock b/yarn.lock index 9250c50392..34166aa6bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -467,7 +467,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.0.0, @babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.0, @babel/helper-module-imports@npm:^7.18.6": +"@babel/helper-module-imports@npm:^7.0.0, @babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.0, @babel/helper-module-imports@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-module-imports@npm:7.18.6" dependencies: @@ -2891,10 +2891,10 @@ __metadata: "@radix-ui/react-tabs": ^1.0.1 "@radix-ui/react-toolbar": ^1.0.1 "@radix-ui/react-visually-hidden": ^1.0.2 - "@rollup/plugin-babel": ^5.3.0 - "@rollup/plugin-commonjs": ^19.0.0 - "@rollup/plugin-node-resolve": ^13.0.0 - "@rollup/plugin-url": ^6.0.0 + "@rollup/plugin-babel": ^6.0.3 + "@rollup/plugin-commonjs": ^25.0.1 + "@rollup/plugin-node-resolve": ^15.1.0 + "@rollup/plugin-url": ^8.0.1 "@storybook/addon-a11y": ^6.5.0 "@storybook/addon-actions": ^6.5.13 "@storybook/addon-backgrounds": ^6.5.13 @@ -3959,6 +3959,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/sourcemap-codec@npm:^1.4.13": + version: 1.4.15 + resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" + checksum: b881c7e503db3fc7f3c1f35a1dd2655a188cc51a3612d76efc8a6eb74728bef5606e6758ee77423e564092b4a518aba569bbb21c9bac5ab7a35b0c6ae7e344c8 + languageName: node + linkType: hard + "@jridgewell/trace-mapping@npm:0.3.9": version: 0.3.9 resolution: "@jridgewell/trace-mapping@npm:0.3.9" @@ -4949,23 +4956,6 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-babel@npm:^5.3.0": - version: 5.3.1 - resolution: "@rollup/plugin-babel@npm:5.3.1" - dependencies: - "@babel/helper-module-imports": ^7.10.4 - "@rollup/pluginutils": ^3.1.0 - peerDependencies: - "@babel/core": ^7.0.0 - "@types/babel__core": ^7.1.9 - rollup: ^1.20.0||^2.0.0 - peerDependenciesMeta: - "@types/babel__core": - optional: true - checksum: 220d71e4647330f252ef33d5f29700aef2e8284a0b61acfcceb47617a7f96208aa1ed16eae75619424bf08811ede5241e271a6d031f07026dee6b3a2bdcdc638 - languageName: node - linkType: hard - "@rollup/plugin-babel@npm:^6.0.3": version: 6.0.3 resolution: "@rollup/plugin-babel@npm:6.0.3" @@ -4985,36 +4975,41 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:^19.0.0": - version: 19.0.2 - resolution: "@rollup/plugin-commonjs@npm:19.0.2" +"@rollup/plugin-commonjs@npm:^25.0.1": + version: 25.0.1 + resolution: "@rollup/plugin-commonjs@npm:25.0.1" dependencies: - "@rollup/pluginutils": ^3.1.0 + "@rollup/pluginutils": ^5.0.1 commondir: ^1.0.1 - estree-walker: ^2.0.1 - glob: ^7.1.6 - is-reference: ^1.2.1 - magic-string: ^0.25.7 - resolve: ^1.17.0 + estree-walker: ^2.0.2 + glob: ^8.0.3 + is-reference: 1.2.1 + magic-string: ^0.27.0 peerDependencies: - rollup: ^2.38.3 - checksum: bf60da71b12c1c52fc2ca223272a1b5a4c27e47f707077024338f841b97f5656c352a3c2c11dd6a5fec0d63ae53407b9ceab72b87dda5701ddffdc09bba34513 + rollup: ^2.68.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 886340bac6ba8c20bb16e3b7fa4d0357019708043697153e7b18cecb7e1fdbe7ec6f26974079f32091c6168c67300960f023ad3d167d2d0d9a9e3bd713cd22a4 languageName: node linkType: hard -"@rollup/plugin-node-resolve@npm:^13.0.0": - version: 13.3.0 - resolution: "@rollup/plugin-node-resolve@npm:13.3.0" +"@rollup/plugin-node-resolve@npm:^15.1.0": + version: 15.1.0 + resolution: "@rollup/plugin-node-resolve@npm:15.1.0" dependencies: - "@rollup/pluginutils": ^3.1.0 - "@types/resolve": 1.17.1 + "@rollup/pluginutils": ^5.0.1 + "@types/resolve": 1.20.2 deepmerge: ^4.2.2 - is-builtin-module: ^3.1.0 + is-builtin-module: ^3.2.1 is-module: ^1.0.0 - resolve: ^1.19.0 + resolve: ^1.22.1 peerDependencies: - rollup: ^2.42.0 - checksum: ec5418e6b3c23a9e30683056b3010e9d325316dcfae93fbc673ae64dad8e56a2ce761c15c48f5e2dcfe0c822fdc4a4905ee6346e3dcf90603ba2260afef5a5e6 + rollup: ^2.78.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 83617cdbb90cb780251e8b16dc1671e35bde90b8d4d30e008aefe706b5b643057f6299bdd3226b2a30bf5e4f807a880169de3faa47b9f2ba38d39f294f85f951 languageName: node linkType: hard @@ -5053,16 +5048,19 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-url@npm:^6.0.0": - version: 6.1.0 - resolution: "@rollup/plugin-url@npm:6.1.0" +"@rollup/plugin-url@npm:^8.0.1": + version: 8.0.1 + resolution: "@rollup/plugin-url@npm:8.0.1" dependencies: - "@rollup/pluginutils": ^3.1.0 + "@rollup/pluginutils": ^5.0.1 make-dir: ^3.1.0 - mime: ^2.4.6 + mime: ^3.0.0 peerDependencies: - rollup: ^1.20.0||^2.0.0 - checksum: f40d4ee41c121b0d46d6d0c62bb321031dd189a6e5c5d6256c4d68110ea4d3ecd2657fae32b3888a8118acf3dcc33d13969d8389c72e69a6313462ed019043d4 + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 25a16622feeec63d958117f7ab65b3a4f72bab4ab86a4c7d5447ec646e88b5ac47186e344a2fdf179e1c12b5a9e76b8edbf568f5f76f7c25e0168ddd6374501e languageName: node linkType: hard @@ -5078,19 +5076,6 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^3.1.0": - version: 3.1.0 - resolution: "@rollup/pluginutils@npm:3.1.0" - dependencies: - "@types/estree": 0.0.39 - estree-walker: ^1.0.1 - picomatch: ^2.2.2 - peerDependencies: - rollup: ^1.20.0||^2.0.0 - checksum: 8be16e27863c219edbb25a4e6ec2fe0e1e451d9e917b6a43cf2ae5bc025a6b8faaa40f82a6e53b66d0de37b58ff472c6c3d57a83037ae635041f8df959d6d9aa - languageName: node - linkType: hard - "@rollup/pluginutils@npm:^4.1.2": version: 4.2.1 resolution: "@rollup/pluginutils@npm:4.2.1" @@ -7167,13 +7152,6 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:0.0.39": - version: 0.0.39 - resolution: "@types/estree@npm:0.0.39" - checksum: 412fb5b9868f2c418126451821833414189b75cc6bf84361156feed733e3d92ec220b9d74a89e52722e03d5e241b2932732711b7497374a404fad49087adc248 - languageName: node - linkType: hard - "@types/estree@npm:^0.0.51": version: 0.0.51 resolution: "@types/estree@npm:0.0.51" @@ -7551,12 +7529,10 @@ __metadata: languageName: node linkType: hard -"@types/resolve@npm:1.17.1": - version: 1.17.1 - resolution: "@types/resolve@npm:1.17.1" - dependencies: - "@types/node": "*" - checksum: dc6a6df507656004e242dcb02c784479deca516d5f4b58a1707e708022b269ae147e1da0521f3e8ad0d63638869d87e0adc023f0bd5454aa6f72ac66c7525cf5 +"@types/resolve@npm:1.20.2": + version: 1.20.2 + resolution: "@types/resolve@npm:1.20.2" + checksum: 61c2cad2499ffc8eab36e3b773945d337d848d3ac6b7b0a87c805ba814bc838ef2f262fc0f109bfd8d2e0898ff8bd80ad1025f9ff64f1f71d3d4294c9f14e5f6 languageName: node linkType: hard @@ -10194,7 +10170,7 @@ __metadata: languageName: node linkType: hard -"builtin-modules@npm:^3.0.0": +"builtin-modules@npm:^3.3.0": version: 3.3.0 resolution: "builtin-modules@npm:3.3.0" checksum: db021755d7ed8be048f25668fe2117620861ef6703ea2c65ed2779c9e3636d5c3b82325bd912244293959ff3ae303afa3471f6a15bf5060c103e4cc3a839749d @@ -13336,13 +13312,6 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^1.0.1": - version: 1.0.1 - resolution: "estree-walker@npm:1.0.1" - checksum: 7e70da539691f6db03a08e7ce94f394ce2eef4180e136d251af299d41f92fb2d28ebcd9a6e393e3728d7970aeb5358705ddf7209d52fbcb2dd4693f95dcf925f - languageName: node - linkType: hard - "estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" @@ -14521,6 +14490,19 @@ __metadata: languageName: node linkType: hard +"glob@npm:^8.0.3": + version: 8.1.0 + resolution: "glob@npm:8.1.0" + dependencies: + fs.realpath: ^1.0.0 + inflight: ^1.0.4 + inherits: 2 + minimatch: ^5.0.1 + once: ^1.3.0 + checksum: 92fbea3221a7d12075f26f0227abac435de868dd0736a17170663783296d0dd8d3d532a5672b4488a439bf5d7fb85cdd07c11185d6cd39184f0385cbdfb86a47 + languageName: node + linkType: hard + "global-dirs@npm:^0.1.1": version: 0.1.1 resolution: "global-dirs@npm:0.1.1" @@ -15730,12 +15712,12 @@ __metadata: languageName: node linkType: hard -"is-builtin-module@npm:^3.1.0": - version: 3.1.0 - resolution: "is-builtin-module@npm:3.1.0" +"is-builtin-module@npm:^3.2.1": + version: 3.2.1 + resolution: "is-builtin-module@npm:3.2.1" dependencies: - builtin-modules: ^3.0.0 - checksum: f1e5dd2cd5f252d4d799b20a0c8c4f7e9c399c4d141749af76ca0121058d4062c3015d026f1b1409dd3d2a4ddfb9b15cf6eb9c370fed53fea8652ce35b5e95cb + builtin-modules: ^3.3.0 + checksum: e8f0ffc19a98240bda9c7ada84d846486365af88d14616e737d280d378695c8c448a621dcafc8332dbf0fcd0a17b0763b845400709963fa9151ddffece90ae88 languageName: node linkType: hard @@ -16064,7 +16046,7 @@ __metadata: languageName: node linkType: hard -"is-reference@npm:^1.2.1": +"is-reference@npm:1.2.1": version: 1.2.1 resolution: "is-reference@npm:1.2.1" dependencies: @@ -18252,12 +18234,12 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.25.7": - version: 0.25.9 - resolution: "magic-string@npm:0.25.9" +"magic-string@npm:^0.27.0": + version: 0.27.0 + resolution: "magic-string@npm:0.27.0" dependencies: - sourcemap-codec: ^1.4.8 - checksum: 9a0e55a15c7303fc360f9572a71cffba1f61451bc92c5602b1206c9d17f492403bf96f946dfce7483e66822d6b74607262e24392e87b0ac27b786e69a40e9b1a + "@jridgewell/sourcemap-codec": ^1.4.13 + checksum: 273faaa50baadb7a2df6e442eac34ad611304fc08fe16e24fe2e472fd944bfcb73ffb50d2dc972dc04e92784222002af46868cb9698b1be181c81830fd95a13e languageName: node linkType: hard @@ -18772,7 +18754,7 @@ __metadata: languageName: node linkType: hard -"mime@npm:^2.4.4, mime@npm:^2.4.6": +"mime@npm:^2.4.4": version: 2.6.0 resolution: "mime@npm:2.6.0" bin: @@ -18781,6 +18763,15 @@ __metadata: languageName: node linkType: hard +"mime@npm:^3.0.0": + version: 3.0.0 + resolution: "mime@npm:3.0.0" + bin: + mime: cli.js + checksum: f43f9b7bfa64534e6b05bd6062961681aeb406a5b53673b53b683f27fcc4e739989941836a355eef831f4478923651ecc739f4a5f6e20a76487b432bfd4db928 + languageName: node + linkType: hard + "mimic-fn@npm:^1.0.0": version: 1.2.0 resolution: "mimic-fn@npm:1.2.0" @@ -22024,7 +22015,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:>=1.9.0, resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2": +"resolve@npm:>=1.9.0, resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2": version: 1.22.1 resolution: "resolve@npm:1.22.1" dependencies: @@ -22050,7 +22041,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@>=1.9.0#~builtin, resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.17.0#~builtin, resolve@patch:resolve@^1.18.1#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin": +"resolve@patch:resolve@>=1.9.0#~builtin, resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.18.1#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin": version: 1.22.1 resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" dependencies: @@ -23004,13 +22995,6 @@ __metadata: languageName: node linkType: hard -"sourcemap-codec@npm:^1.4.8": - version: 1.4.8 - resolution: "sourcemap-codec@npm:1.4.8" - checksum: b57981c05611afef31605732b598ccf65124a9fcb03b833532659ac4d29ac0f7bfacbc0d6c5a28a03e84c7510e7e556d758d0bb57786e214660016fb94279316 - languageName: node - linkType: hard - "space-separated-tokens@npm:^1.0.0": version: 1.1.5 resolution: "space-separated-tokens@npm:1.1.5" From 11ef7c9e3e8b01735e4d0864a28477f19e538083 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:52:32 +0900 Subject: [PATCH 05/32] build(bezier-react): change build dir from build to dist --- .gitignore | 2 +- packages/bezier-react/.eslintignore | 2 +- packages/bezier-react/package.json | 8 ++++---- packages/bezier-react/rollup.config.js | 4 ++-- packages/bezier-react/tsconfig.eslint.json | 3 +-- packages/bezier-react/tsconfig.json | 2 +- turbo.json | 1 - 7 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index d099cc030c..6e0aee4e00 100644 --- a/.gitignore +++ b/.gitignore @@ -196,7 +196,7 @@ $RECYCLE.BIN/ *.lnk # Build files -build/ +dist/ # Story book storybook-static/ diff --git a/packages/bezier-react/.eslintignore b/packages/bezier-react/.eslintignore index 266b2a199f..ec13a43fa6 100644 --- a/packages/bezier-react/.eslintignore +++ b/packages/bezier-react/.eslintignore @@ -1,4 +1,4 @@ node_modules -build +dist coverage __mocks__ diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 16755da021..4724a48422 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -7,12 +7,12 @@ "url": "https://github.com/channel-io/bezier-react", "directory": "packages/bezier-react" }, - "main": "build/index.cjs.js", - "module": "build/src/index.js", - "types": "build/src/index.d.ts", + "main": "dist/index.cjs.js", + "module": "dist/src/index.js", + "types": "dist/src/index.d.ts", "sideEffects": false, "files": [ - "build", + "dist", "src" ], "scripts": { diff --git a/packages/bezier-react/rollup.config.js b/packages/bezier-react/rollup.config.js index 0d124df55e..c73a70573d 100644 --- a/packages/bezier-react/rollup.config.js +++ b/packages/bezier-react/rollup.config.js @@ -36,7 +36,7 @@ const typescriptPlugin = typescript({ './src/utils/storyUtils.ts', './src/utils/testUtils.tsx', 'node_modules', - 'build', + 'dist', ], }, }) @@ -90,7 +90,7 @@ export default [ // ESModules configGenerator({ output: { - dir: 'build', + dir: 'dist', format: 'esm', preserveModules: true, preserveModulesRoot: '.', diff --git a/packages/bezier-react/tsconfig.eslint.json b/packages/bezier-react/tsconfig.eslint.json index e63335a430..e3c252234d 100644 --- a/packages/bezier-react/tsconfig.eslint.json +++ b/packages/bezier-react/tsconfig.eslint.json @@ -5,11 +5,10 @@ "*.js", ".*.js", "src/**/*", - "scripts/**/*", ], "exclude": [ "node_modules", - "build", + "dist", "coverage", ] } diff --git a/packages/bezier-react/tsconfig.json b/packages/bezier-react/tsconfig.json index 9f4b79c347..ea4c695019 100644 --- a/packages/bezier-react/tsconfig.json +++ b/packages/bezier-react/tsconfig.json @@ -31,7 +31,7 @@ ], "exclude": [ "node_modules", - "build", + "dist", "coverage", "__mocks__", ] diff --git a/turbo.json b/turbo.json index efe179657b..bc796d5954 100644 --- a/turbo.json +++ b/turbo.json @@ -3,7 +3,6 @@ "pipeline": { "build": { "outputs": [ - "build/**", "dist/**" ], "dependsOn": [ From ec81d202b01a36c8ab48e77863cbe6ce1f7082db Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:53:04 +0900 Subject: [PATCH 06/32] build(babel): use preset-react useBuildtIns option --- packages/bezier-react/babel.config.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/bezier-react/babel.config.js b/packages/bezier-react/babel.config.js index e2a56f5bad..bfec20c8e0 100644 --- a/packages/bezier-react/babel.config.js +++ b/packages/bezier-react/babel.config.js @@ -2,8 +2,13 @@ module.exports = { env: { build: { presets: [ - ['@babel/preset-env'], - '@babel/preset-react', + '@babel/preset-env', + /** + * Will use the native built-in instead of trying to polyfill behavior for any plugins that require one. + * Remove the helper function for Object.assign. + * @see https://babeljs.io/docs/babel-preset-react#usebuiltins + */ + ['@babel/preset-react', { useBuiltIns: true }], ['@babel/preset-typescript', { isTSX: true, allExtensions: true }], ], plugins: [ From fcf58e5d18939b1713956ad5c1f771bd25e01b1e Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:55:40 +0900 Subject: [PATCH 07/32] build(babel): remove cross-env package and change babel config --- packages/bezier-react/babel.config.js | 44 ++++++++++++--------------- packages/bezier-react/package.json | 3 +- yarn.lock | 15 +-------- 3 files changed, 22 insertions(+), 40 deletions(-) diff --git a/packages/bezier-react/babel.config.js b/packages/bezier-react/babel.config.js index bfec20c8e0..616e63383c 100644 --- a/packages/bezier-react/babel.config.js +++ b/packages/bezier-react/babel.config.js @@ -1,26 +1,22 @@ module.exports = { - env: { - build: { - presets: [ - '@babel/preset-env', - /** - * Will use the native built-in instead of trying to polyfill behavior for any plugins that require one. - * Remove the helper function for Object.assign. - * @see https://babeljs.io/docs/babel-preset-react#usebuiltins - */ - ['@babel/preset-react', { useBuiltIns: true }], - ['@babel/preset-typescript', { isTSX: true, allExtensions: true }], - ], - plugins: [ - '@babel/plugin-transform-runtime', - ['@babel/plugin-proposal-private-property-in-object', { loose: false }], - ['@babel/plugin-proposal-class-properties', { loose: false }], - ['babel-plugin-styled-components', { - minify: true, - pure: true, - topLevelImportPaths: ['~/src/foundation'], - }], - ], - }, - }, + presets: [ + '@babel/preset-env', + /** + * Will use the native built-in instead of trying to polyfill behavior for any plugins that require one. + * Remove the helper function for Object.assign. + * @see https://babeljs.io/docs/babel-preset-react#usebuiltins + */ + ['@babel/preset-react', { useBuiltIns: true }], + ['@babel/preset-typescript', { isTSX: true, allExtensions: true }], + ], + plugins: [ + '@babel/plugin-transform-runtime', + ['@babel/plugin-proposal-private-property-in-object', { loose: false }], + ['@babel/plugin-proposal-class-properties', { loose: false }], + ['babel-plugin-styled-components', { + minify: true, + pure: true, + topLevelImportPaths: ['~/src/foundation'], + }], + ], } diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 4724a48422..9d11d257da 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -16,7 +16,7 @@ "src" ], "scripts": { - "build": "cross-env BABEL_ENV=production rollup -c", + "build": "rollup -c", "dev": "yarn storybook", "lint": "run-p 'lint:*'", "lint:js": "TIMING=1 eslint --cache .", @@ -87,7 +87,6 @@ "babel-preset-react-app": "^10.0.0", "chromatic": "^6.11.4", "core-js": "^3.8.1", - "cross-env": "^7.0.3", "eslint-config-bezier": "workspace:*", "eslint-plugin-storybook": "^0.6.0", "identity-obj-proxy": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 34166aa6bc..e2103060e6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2922,7 +2922,6 @@ __metadata: chromatic: ^6.11.4 classnames: ^2.3.2 core-js: ^3.8.1 - cross-env: ^7.0.3 eslint-config-bezier: "workspace:*" eslint-plugin-storybook: ^0.6.0 identity-obj-proxy: ^3.0.0 @@ -11443,19 +11442,7 @@ __metadata: languageName: node linkType: hard -"cross-env@npm:^7.0.3": - version: 7.0.3 - resolution: "cross-env@npm:7.0.3" - dependencies: - cross-spawn: ^7.0.1 - bin: - cross-env: src/bin/cross-env.js - cross-env-shell: src/bin/cross-env-shell.js - checksum: 26f2f3ea2ab32617f57effb70d329c2070d2f5630adc800985d8b30b56e8bf7f5f439dd3a0358b79cee6f930afc23cf8e23515f17ccfb30092c6b62c6b630a79 - languageName: node - linkType: hard - -"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": +"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: From d1de2cd0ee09361be7978ed4031ccf3879a4984d Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 13:58:36 +0900 Subject: [PATCH 08/32] chore(rollup): change from .js to .mjs --- .../bezier-react/{rollup.config.js => rollup.config.mjs} | 0 packages/bezier-react/tsconfig.eslint.json | 8 ++------ 2 files changed, 2 insertions(+), 6 deletions(-) rename packages/bezier-react/{rollup.config.js => rollup.config.mjs} (100%) diff --git a/packages/bezier-react/rollup.config.js b/packages/bezier-react/rollup.config.mjs similarity index 100% rename from packages/bezier-react/rollup.config.js rename to packages/bezier-react/rollup.config.mjs diff --git a/packages/bezier-react/tsconfig.eslint.json b/packages/bezier-react/tsconfig.eslint.json index e3c252234d..c1e556d3a1 100644 --- a/packages/bezier-react/tsconfig.eslint.json +++ b/packages/bezier-react/tsconfig.eslint.json @@ -1,14 +1,10 @@ { "extends": "tsconfig/eslint.json", "include": [ + "src/**/*", "*.ts", "*.js", ".*.js", - "src/**/*", + "*.mjs", ], - "exclude": [ - "node_modules", - "dist", - "coverage", - ] } From 716c7c27ec28af052a4f12edecea235f0371af0d Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 14:03:19 +0900 Subject: [PATCH 09/32] chore(deps): update rollup-plugin-visualizer --- packages/bezier-icons/package.json | 2 +- packages/bezier-react/package.json | 2 +- yarn.lock | 30 ++++++------------------------ 3 files changed, 8 insertions(+), 26 deletions(-) diff --git a/packages/bezier-icons/package.json b/packages/bezier-icons/package.json index ed904b7ec0..8dcb3376b3 100644 --- a/packages/bezier-icons/package.json +++ b/packages/bezier-icons/package.json @@ -57,7 +57,7 @@ "eslint-config-bezier": "workspace:^", "jest": "^29.5.0", "rollup": "^3.25.1", - "rollup-plugin-visualizer": "^5.9.0", + "rollup-plugin-visualizer": "^5.9.2", "svgo": "^3.0.2", "tsconfig": "workspace:^" } diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 9d11d257da..f01d166af9 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -99,7 +99,7 @@ "rollup": "^3.25.1", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.31.1", - "rollup-plugin-visualizer": "^5.8.3", + "rollup-plugin-visualizer": "^5.9.2", "styled-components": "^5.3.5", "ts-prune": "^0.10.3", "tsconfig": "workspace:*", diff --git a/yarn.lock b/yarn.lock index e2103060e6..fb17a1a865 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2861,7 +2861,7 @@ __metadata: eslint-config-bezier: "workspace:^" jest: ^29.5.0 rollup: ^3.25.1 - rollup-plugin-visualizer: ^5.9.0 + rollup-plugin-visualizer: ^5.9.2 svgo: ^3.0.2 tsconfig: "workspace:^" languageName: unknown @@ -2936,7 +2936,7 @@ __metadata: rollup: ^3.25.1 rollup-plugin-peer-deps-external: ^2.2.4 rollup-plugin-typescript2: ^0.31.1 - rollup-plugin-visualizer: ^5.8.3 + rollup-plugin-visualizer: ^5.9.2 ssr-window: ^3.0.0 styled-components: ^5.3.5 ts-prune: ^0.10.3 @@ -22162,27 +22162,9 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-visualizer@npm:^5.8.3": - version: 5.8.3 - resolution: "rollup-plugin-visualizer@npm:5.8.3" - dependencies: - open: ^8.4.0 - source-map: ^0.7.4 - yargs: ^17.5.1 - peerDependencies: - rollup: 2.x || 3.x - peerDependenciesMeta: - rollup: - optional: true - bin: - rollup-plugin-visualizer: dist/bin/cli.js - checksum: 0ed4b4b49be8c38fa4820190286daf6f94446a05190a6f1932f2718cb8d7e2a1afacc9f94bf75934087ec856a634a5c9355c078d77482a5796465d15deb988c9 - languageName: node - linkType: hard - -"rollup-plugin-visualizer@npm:^5.9.0": - version: 5.9.0 - resolution: "rollup-plugin-visualizer@npm:5.9.0" +"rollup-plugin-visualizer@npm:^5.9.2": + version: 5.9.2 + resolution: "rollup-plugin-visualizer@npm:5.9.2" dependencies: open: ^8.4.0 picomatch: ^2.3.1 @@ -22195,7 +22177,7 @@ __metadata: optional: true bin: rollup-plugin-visualizer: dist/bin/cli.js - checksum: 362d4fac0295c14bd205dbc85c20c31f4b6c47604868da21d9565ed47e0333759f08b9fe0acb82f78221f5173ea01e4eb70d47351eb6012216afe71b5492ed5f + checksum: ab2adf322e3b20bffc94a8dc804f46be8840a9fcbab4f872dcc2dec205cdd7752e4d2d90cfcf00783bfb5209c5a8bb4e591984e8b61bca41fd048fb7deb0ed4e languageName: node linkType: hard From e2d3e35139725fb2ef99a1251d28eff3e4c8ea0c Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 14:05:43 +0900 Subject: [PATCH 10/32] chore(deps): update '@babel/*' packages --- packages/bezier-icons/package.json | 6 +- packages/bezier-react/package.json | 14 +- yarn.lock | 1482 ++++++++++++++++++++-------- 3 files changed, 1079 insertions(+), 423 deletions(-) diff --git a/packages/bezier-icons/package.json b/packages/bezier-icons/package.json index 8dcb3376b3..fb5c09a04f 100644 --- a/packages/bezier-icons/package.json +++ b/packages/bezier-icons/package.json @@ -43,9 +43,9 @@ "author": "Channel Corp.", "license": "Apache-2.0", "devDependencies": { - "@babel/preset-env": "^7.21.5", - "@babel/preset-react": "^7.18.6", - "@babel/preset-typescript": "^7.21.5", + "@babel/preset-env": "^7.22.5", + "@babel/preset-react": "^7.22.5", + "@babel/preset-typescript": "^7.22.5", "@rollup/plugin-alias": "^5.0.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-terser": "^0.4.3", diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index f01d166af9..d0ff619825 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -49,12 +49,12 @@ "not ie <= 11" ], "devDependencies": { - "@babel/core": "^7.20.2", - "@babel/plugin-proposal-class-properties": "^7.13.0", - "@babel/plugin-transform-runtime": "^7.12.15", - "@babel/preset-env": "^7.14.2", - "@babel/preset-react": "^7.12.10", - "@babel/preset-typescript": "^7.12.7", + "@babel/core": "^7.22.5", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-runtime": "^7.22.5", + "@babel/preset-env": "^7.22.5", + "@babel/preset-react": "^7.22.5", + "@babel/preset-typescript": "^7.22.5", "@channel.io/react-docgen-typescript-plugin": "^1.0.0", "@mdx-js/react": "^1.6.22", "@rollup/plugin-babel": "^6.0.3", @@ -114,7 +114,7 @@ "styled-components": ">=5" }, "dependencies": { - "@babel/runtime": "^7.12.13", + "@babel/runtime": "^7.22.5", "@channel.io/bezier-icons": "^0.2.0", "@radix-ui/react-checkbox": "^1.0.3", "@radix-ui/react-dialog": "^1.0.2", diff --git a/yarn.lock b/yarn.lock index fb17a1a865..bee1624abe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -77,6 +77,15 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/code-frame@npm:7.22.5" + dependencies: + "@babel/highlight": ^7.22.5 + checksum: cfe804f518f53faaf9a1d3e0f9f74127ab9a004912c3a16fda07fb6a633393ecb9918a053cb71804204c1b7ec3d49e1699604715e2cfb0c9f7bc4933d324ebb6 + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.13.11, @babel/compat-data@npm:^7.18.6, @babel/compat-data@npm:^7.20.0": version: 7.20.1 resolution: "@babel/compat-data@npm:7.20.1" @@ -84,7 +93,7 @@ __metadata: languageName: node linkType: hard -"@babel/compat-data@npm:^7.17.7, @babel/compat-data@npm:^7.20.5": +"@babel/compat-data@npm:^7.17.7": version: 7.21.9 resolution: "@babel/compat-data@npm:7.21.9" checksum: df97be04955c0801f5a23846f79a100660aa98f9433cfd1fad8f53ecd9f3454538e78522e86275939aa8aa7d6f9e32f23f94bc04ae843f7246b7cd4bffe3a175 @@ -98,6 +107,13 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/compat-data@npm:7.22.5" + checksum: eb1a47ebf79ae268b4a16903e977be52629339806e248455eb9973897c503a04b701f36a9de64e19750d6e081d0561e77a514c8dc470babbeba59ae94298ed18 + languageName: node + linkType: hard + "@babel/core@npm:7.12.9": version: 7.12.9 resolution: "@babel/core@npm:7.12.9" @@ -122,7 +138,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.16.0, @babel/core@npm:^7.17.9, @babel/core@npm:^7.20.2, @babel/core@npm:^7.7.5": +"@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.16.0, @babel/core@npm:^7.17.9, @babel/core@npm:^7.7.5": version: 7.20.2 resolution: "@babel/core@npm:7.20.2" dependencies: @@ -168,6 +184,29 @@ __metadata: languageName: node linkType: hard +"@babel/core@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/core@npm:7.22.5" + dependencies: + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.22.5 + "@babel/generator": ^7.22.5 + "@babel/helper-compilation-targets": ^7.22.5 + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helpers": ^7.22.5 + "@babel/parser": ^7.22.5 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.5 + "@babel/types": ^7.22.5 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.2 + semver: ^6.3.0 + checksum: 173ae426958c90c7bbd7de622c6f13fcab8aef0fac3f138e2d47bc466d1cd1f86f71ca82ae0acb9032fd8794abed8efb56fea55c031396337eaec0d673b69d56 + languageName: node + linkType: hard + "@babel/generator@npm:7.0.0-beta.44": version: 7.0.0-beta.44 resolution: "@babel/generator@npm:7.0.0-beta.44" @@ -204,6 +243,18 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/generator@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 + jsesc: ^2.5.1 + checksum: efa64da70ca88fe69f05520cf5feed6eba6d30a85d32237671488cc355fdc379fe2c3246382a861d49574c4c2f82a317584f8811e95eb024e365faff3232b49d + languageName: node + linkType: hard + "@babel/generator@npm:^7.7.2": version: 7.21.9 resolution: "@babel/generator@npm:7.21.9" @@ -225,6 +276,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-annotate-as-pure@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-annotate-as-pure@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 53da330f1835c46f26b7bf4da31f7a496dee9fd8696cca12366b94ba19d97421ce519a74a837f687749318f94d1a37f8d1abcbf35e8ed22c32d16373b2f6198d + languageName: node + linkType: hard + "@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.18.6" @@ -235,6 +295,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: d753acac62399fc6dd354cf1b9441bde0c331c2fe792a4c14904c5e5eafc3cac79478f6aa038e8a51c1148b0af6710a2e619855e4b5d54497ac972eaffed5884 + languageName: node + linkType: hard + "@babel/helper-compilation-targets@npm:^7.13.0, @babel/helper-compilation-targets@npm:^7.18.6, @babel/helper-compilation-targets@npm:^7.20.0": version: 7.20.0 resolution: "@babel/helper-compilation-targets@npm:7.20.0" @@ -249,7 +318,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.17.7, @babel/helper-compilation-targets@npm:^7.18.9, @babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.21.5": +"@babel/helper-compilation-targets@npm:^7.17.7, @babel/helper-compilation-targets@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helper-compilation-targets@npm:7.21.5" dependencies: @@ -264,6 +333,21 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-compilation-targets@npm:7.22.5" + dependencies: + "@babel/compat-data": ^7.22.5 + "@babel/helper-validator-option": ^7.22.5 + browserslist: ^4.21.3 + lru-cache: ^5.1.1 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: a479460615acffa0f4fd0a29b740eafb53a93694265207d23a6038ccd18d183a382cacca515e77b7c9b042c3ba80b0aca0da5f1f62215140e81660d2cf721b68 + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-create-class-features-plugin@npm:7.18.6" @@ -281,22 +365,22 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.21.0": - version: 7.21.8 - resolution: "@babel/helper-create-class-features-plugin@npm:7.21.8" - dependencies: - "@babel/helper-annotate-as-pure": ^7.18.6 - "@babel/helper-environment-visitor": ^7.21.5 - "@babel/helper-function-name": ^7.21.0 - "@babel/helper-member-expression-to-functions": ^7.21.5 - "@babel/helper-optimise-call-expression": ^7.18.6 - "@babel/helper-replace-supers": ^7.21.5 - "@babel/helper-skip-transparent-expression-wrappers": ^7.20.0 - "@babel/helper-split-export-declaration": ^7.18.6 +"@babel/helper-create-class-features-plugin@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-create-class-features-plugin@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-member-expression-to-functions": ^7.22.5 + "@babel/helper-optimise-call-expression": ^7.22.5 + "@babel/helper-replace-supers": ^7.22.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.5 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 26b978bd2e741259c0f4a1cc37521ad58728c50d28fe2fc8041d4381497e13a0b686a10e170246855eaf3af08886862e9d93fc27994ef914e13fca0d73efdcb8 + checksum: f1e91deae06dbee6dd956c0346bca600adfbc7955427795d9d8825f0439a3c3290c789ba2b4a02a1cdf6c1a1bd163dfa16d3d5e96b02a8efb639d2a774e88ed9 languageName: node linkType: hard @@ -312,16 +396,16 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-regexp-features-plugin@npm:^7.20.5": - version: 7.21.8 - resolution: "@babel/helper-create-regexp-features-plugin@npm:7.21.8" +"@babel/helper-create-regexp-features-plugin@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.22.5" dependencies: - "@babel/helper-annotate-as-pure": ^7.18.6 + "@babel/helper-annotate-as-pure": ^7.22.5 regexpu-core: ^5.3.1 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 04a686b5897c86339395894c0a9a1ffdce2facaba5173ce7b0a894f775f984ba70d2fa227d309f2be54f7f1286ebd1a0a7051a8b1829521595e4064ee062af65 + checksum: 94932145beeb1f91856be25fea8de30b4b81b63fbc7c5a207ed97a5ddc34cd1e9b04041ed28bd24ec09cdcfbb62e8d66f820e4fe864672afe0aa2f357c784e11 languageName: node linkType: hard @@ -361,9 +445,9 @@ __metadata: languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.3.3": - version: 0.3.3 - resolution: "@babel/helper-define-polyfill-provider@npm:0.3.3" +"@babel/helper-define-polyfill-provider@npm:^0.4.0": + version: 0.4.0 + resolution: "@babel/helper-define-polyfill-provider@npm:0.4.0" dependencies: "@babel/helper-compilation-targets": ^7.17.7 "@babel/helper-plugin-utils": ^7.16.7 @@ -373,7 +457,7 @@ __metadata: semver: ^6.1.2 peerDependencies: "@babel/core": ^7.4.0-0 - checksum: 8e3fe75513302e34f6d92bd67b53890e8545e6c5bca8fe757b9979f09d68d7e259f6daea90dc9e01e332c4f8781bda31c5fe551c82a277f9bc0bec007aed497c + checksum: 5dca4c5e78457c5ced366bea601efa4e8c69bf5d53b0fe540283897575c49b1b88191c8ef062110de9046e886703ed3270fcda3a87f0886cdbb549204d3ff63f languageName: node linkType: hard @@ -391,6 +475,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-environment-visitor@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-environment-visitor@npm:7.22.5" + checksum: 248532077d732a34cd0844eb7b078ff917c3a8ec81a7f133593f71a860a582f05b60f818dc5049c2212e5baa12289c27889a4b81d56ef409b4863db49646c4b1 + languageName: node + linkType: hard + "@babel/helper-explode-assignable-expression@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-explode-assignable-expression@npm:7.18.6" @@ -421,7 +512,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-function-name@npm:^7.18.9, @babel/helper-function-name@npm:^7.21.0": +"@babel/helper-function-name@npm:^7.21.0": version: 7.21.0 resolution: "@babel/helper-function-name@npm:7.21.0" dependencies: @@ -431,6 +522,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-function-name@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-function-name@npm:7.22.5" + dependencies: + "@babel/template": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: 6b1f6ce1b1f4e513bf2c8385a557ea0dd7fa37971b9002ad19268ca4384bbe90c09681fe4c076013f33deabc63a53b341ed91e792de741b4b35e01c00238177a + languageName: node + linkType: hard + "@babel/helper-get-function-arity@npm:7.0.0-beta.44": version: 7.0.0-beta.44 resolution: "@babel/helper-get-function-arity@npm:7.0.0-beta.44" @@ -449,6 +550,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-hoist-variables@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-hoist-variables@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 394ca191b4ac908a76e7c50ab52102669efe3a1c277033e49467913c7ed6f7c64d7eacbeabf3bed39ea1f41731e22993f763b1edce0f74ff8563fd1f380d92cc + languageName: node + linkType: hard + "@babel/helper-member-expression-to-functions@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-member-expression-to-functions@npm:7.18.6" @@ -458,12 +568,12 @@ __metadata: languageName: node linkType: hard -"@babel/helper-member-expression-to-functions@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/helper-member-expression-to-functions@npm:7.21.5" +"@babel/helper-member-expression-to-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-member-expression-to-functions@npm:7.22.5" dependencies: - "@babel/types": ^7.21.5 - checksum: c404b4a0271c640b7dc8c34af7b683c70a43200259e02330cfc02e79e6b271e9227f35554cd6ad015eabcfa1fea75b9d0b87b69f3d1e6c2af6edd224060b1732 + "@babel/types": ^7.22.5 + checksum: 4bd5791529c280c00743e8bdc669ef0d4cd1620d6e3d35e0d42b862f8262bc2364973e5968007f960780344c539a4b9cf92ab41f5b4f94560a9620f536de2a39 languageName: node linkType: hard @@ -485,6 +595,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-imports@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-module-imports@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 9ac2b0404fa38b80bdf2653fbeaf8e8a43ccb41bd505f9741d820ed95d3c4e037c62a1bcdcb6c9527d7798d2e595924c4d025daed73283badc180ada2c9c49ad + languageName: node + linkType: hard + "@babel/helper-module-transforms@npm:^7.12.1, @babel/helper-module-transforms@npm:^7.18.6, @babel/helper-module-transforms@npm:^7.20.2": version: 7.20.2 resolution: "@babel/helper-module-transforms@npm:7.20.2" @@ -501,7 +620,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.20.11, @babel/helper-module-transforms@npm:^7.21.5": +"@babel/helper-module-transforms@npm:^7.21.5": version: 7.21.5 resolution: "@babel/helper-module-transforms@npm:7.21.5" dependencies: @@ -517,6 +636,22 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-module-transforms@npm:7.22.5" + dependencies: + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-simple-access": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.5 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: 8985dc0d971fd17c467e8b84fe0f50f3dd8610e33b6c86e5b3ca8e8859f9448bcc5c84e08a2a14285ef388351c0484797081c8f05a03770bf44fc27bf4900e68 + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-optimise-call-expression@npm:7.18.6" @@ -526,6 +661,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-optimise-call-expression@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-optimise-call-expression@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: c70ef6cc6b6ed32eeeec4482127e8be5451d0e5282d5495d5d569d39eb04d7f1d66ec99b327f45d1d5842a9ad8c22d48567e93fc502003a47de78d122e355f7c + languageName: node + linkType: hard + "@babel/helper-plugin-utils@npm:7.10.4": version: 7.10.4 resolution: "@babel/helper-plugin-utils@npm:7.10.4" @@ -540,13 +684,20 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.19.0, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.21.5": +"@babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.20.2": version: 7.21.5 resolution: "@babel/helper-plugin-utils@npm:7.21.5" checksum: 6f086e9a84a50ea7df0d5639c8f9f68505af510ea3258b3c8ac8b175efdfb7f664436cb48996f71791a1350ba68f47ad3424131e8e718c5e2ad45564484cbb36 languageName: node linkType: hard +"@babel/helper-plugin-utils@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-plugin-utils@npm:7.22.5" + checksum: c0fc7227076b6041acd2f0e818145d2e8c41968cc52fb5ca70eed48e21b8fe6dd88a0a91cbddf4951e33647336eb5ae184747ca706817ca3bef5e9e905151ff5 + languageName: node + linkType: hard + "@babel/helper-remap-async-to-generator@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-remap-async-to-generator@npm:7.18.6" @@ -561,17 +712,17 @@ __metadata: languageName: node linkType: hard -"@babel/helper-remap-async-to-generator@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/helper-remap-async-to-generator@npm:7.18.9" +"@babel/helper-remap-async-to-generator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-remap-async-to-generator@npm:7.22.5" dependencies: - "@babel/helper-annotate-as-pure": ^7.18.6 - "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-wrap-function": ^7.18.9 - "@babel/types": ^7.18.9 + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-wrap-function": ^7.22.5 + "@babel/types": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0 - checksum: 4be6076192308671b046245899b703ba090dbe7ad03e0bea897bb2944ae5b88e5e85853c9d1f83f643474b54c578d8ac0800b80341a86e8538264a725fbbefec + checksum: 1e51dcff1c22e97ea3d22034b77788048eb6d8c6860325bd7a1046b7a7135730cefd93b5c96fd9839d76031095d5ffb6f0cd6ee90a5d69a4c7de980d7f4623d9 languageName: node linkType: hard @@ -588,17 +739,17 @@ __metadata: languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.20.7, @babel/helper-replace-supers@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/helper-replace-supers@npm:7.21.5" +"@babel/helper-replace-supers@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-replace-supers@npm:7.22.5" dependencies: - "@babel/helper-environment-visitor": ^7.21.5 - "@babel/helper-member-expression-to-functions": ^7.21.5 - "@babel/helper-optimise-call-expression": ^7.18.6 - "@babel/template": ^7.20.7 - "@babel/traverse": ^7.21.5 - "@babel/types": ^7.21.5 - checksum: 4fd343e6f90533743d8e8a1f42e50377b3d6b27f524a27eb97ff28f075e4e55cca2383adb1b0973de358b08022aef0fec4c8d69711e1da43bf9b887b5a893677 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-member-expression-to-functions": ^7.22.5 + "@babel/helper-optimise-call-expression": ^7.22.5 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: af29deff6c6dc3fa2d1a517390716aa3f4d329855e8689f1d5c3cb07c1b898e614a5e175f1826bb58e9ff1480e6552885a71a9a0ba5161787aaafa2c79b216cc languageName: node linkType: hard @@ -620,6 +771,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-simple-access@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: fe9686714caf7d70aedb46c3cce090f8b915b206e09225f1e4dbc416786c2fdbbee40b38b23c268b7ccef749dd2db35f255338fb4f2444429874d900dede5ad2 + languageName: node + linkType: hard + "@babel/helper-skip-transparent-expression-wrappers@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.18.6" @@ -629,12 +789,12 @@ __metadata: languageName: node linkType: hard -"@babel/helper-skip-transparent-expression-wrappers@npm:^7.20.0": - version: 7.20.0 - resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.20.0" +"@babel/helper-skip-transparent-expression-wrappers@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.22.5" dependencies: - "@babel/types": ^7.20.0 - checksum: 34da8c832d1c8a546e45d5c1d59755459ffe43629436707079989599b91e8c19e50e73af7a4bd09c95402d389266731b0d9c5f69e372d8ebd3a709c05c80d7dd + "@babel/types": ^7.22.5 + checksum: 1012ef2295eb12dc073f2b9edf3425661e9b8432a3387e62a8bc27c42963f1f216ab3124228015c748770b2257b4f1fda882ca8fa34c0bf485e929ae5bc45244 languageName: node linkType: hard @@ -656,6 +816,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-split-export-declaration@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-split-export-declaration@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: d10e05a02f49c1f7c578cea63d2ac55356501bbf58856d97ac9bfde4957faee21ae97c7f566aa309e38a256eef58b58e5b670a7f568b362c00e93dfffe072650 + languageName: node + linkType: hard + "@babel/helper-string-parser@npm:^7.19.4": version: 7.19.4 resolution: "@babel/helper-string-parser@npm:7.19.4" @@ -670,6 +839,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-string-parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-string-parser@npm:7.22.5" + checksum: 836851ca5ec813077bbb303acc992d75a360267aa3b5de7134d220411c852a6f17de7c0d0b8c8dcc0f567f67874c00f4528672b2a4f1bc978a3ada64c8c78467 + languageName: node + linkType: hard + "@babel/helper-validator-identifier@npm:^7.18.6, @babel/helper-validator-identifier@npm:^7.19.1": version: 7.19.1 resolution: "@babel/helper-validator-identifier@npm:7.19.1" @@ -677,6 +853,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-identifier@npm:7.22.5" + checksum: 7f0f30113474a28298c12161763b49de5018732290ca4de13cdaefd4fd0d635a6fe3f6686c37a02905fb1e64f21a5ee2b55140cf7b070e729f1bd66866506aea + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-validator-option@npm:7.18.6" @@ -691,6 +874,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-option@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-option@npm:7.22.5" + checksum: bbeca8a85ee86990215c0424997438b388b8d642d69b9f86c375a174d3cdeb270efafd1ff128bc7a1d370923d13b6e45829ba8581c027620e83e3a80c5c414b3 + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-wrap-function@npm:7.18.6" @@ -703,15 +893,15 @@ __metadata: languageName: node linkType: hard -"@babel/helper-wrap-function@npm:^7.18.9": - version: 7.20.5 - resolution: "@babel/helper-wrap-function@npm:7.20.5" +"@babel/helper-wrap-function@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-wrap-function@npm:7.22.5" dependencies: - "@babel/helper-function-name": ^7.19.0 - "@babel/template": ^7.18.10 - "@babel/traverse": ^7.20.5 - "@babel/types": ^7.20.5 - checksum: 11a6fc28334368a193a9cb3ad16f29cd7603bab958433efc82ebe59fa6556c227faa24f07ce43983f7a85df826f71d441638442c4315e90a554fe0a70ca5005b + "@babel/helper-function-name": ^7.22.5 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: a4ba2d7577ad3ce92fadaa341ffce3b0e4b389808099b07c80847f9be0852f4b42344612bc1b3d1b796ffb75be56d5957c5c56a1734f6aee5ccbb7cd9ab12691 languageName: node linkType: hard @@ -737,6 +927,17 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helpers@npm:7.22.5" + dependencies: + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: a96e785029dff72f171190943df895ab0f76e17bf3881efd630bc5fae91215042d1c2e9ed730e8e4adf4da6f28b24bd1f54ed93b90ffbca34c197351872a084e + languageName: node + linkType: hard + "@babel/highlight@npm:7.0.0-beta.44": version: 7.0.0-beta.44 resolution: "@babel/highlight@npm:7.0.0-beta.44" @@ -759,6 +960,17 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/highlight@npm:7.22.5" + dependencies: + "@babel/helper-validator-identifier": ^7.22.5 + chalk: ^2.0.0 + js-tokens: ^4.0.0 + checksum: f61ae6de6ee0ea8d9b5bcf2a532faec5ab0a1dc0f7c640e5047fc61630a0edb88b18d8c92eb06566d30da7a27db841aca11820ecd3ebe9ce514c9350fbed39c4 + languageName: node + linkType: hard + "@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.20.1, @babel/parser@npm:^7.20.2, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.8.3": version: 7.20.3 resolution: "@babel/parser@npm:7.20.3" @@ -777,6 +989,15 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/parser@npm:7.22.5" + bin: + parser: ./bin/babel-parser.js + checksum: 470ebba516417ce8683b36e2eddd56dcfecb32c54b9bb507e28eb76b30d1c3e618fd0cfeee1f64d8357c2254514e1a19e32885cfb4e73149f4ae875436a6d59c + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.18.6" @@ -788,6 +1009,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 1e353a060fb2cd8f1256d28cd768f16fb02513f905b9b6d656fb0242c96c341a196fa188b27c2701506a6e27515359fbcc1a5ca7fa8b9b530cf88fbd137baefc + languageName: node + linkType: hard + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.18.6" @@ -801,16 +1033,16 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.20.7": - version: 7.20.7 - resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.20.7" +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-skip-transparent-expression-wrappers": ^7.20.0 - "@babel/plugin-proposal-optional-chaining": ^7.20.7 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 + "@babel/plugin-transform-optional-chaining": ^7.22.5 peerDependencies: "@babel/core": ^7.13.0 - checksum: d610f532210bee5342f5b44a12395ccc6d904e675a297189bc1e401cc185beec09873da523466d7fec34ae1574f7a384235cba1ccc9fe7b89ba094167897c845 + checksum: 16e7a5f3bf2f2ac0ca032a70bf0ebd7e886d84dbb712b55c0643c04c495f0f221fbcbca14b5f8f8027fa6c87a3dafae0934022ad2b409384af6c5c356495b7bd languageName: node linkType: hard @@ -828,21 +1060,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-async-generator-functions@npm:^7.20.7": - version: 7.20.7 - resolution: "@babel/plugin-proposal-async-generator-functions@npm:7.20.7" - dependencies: - "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-remap-async-to-generator": ^7.18.9 - "@babel/plugin-syntax-async-generators": ^7.8.4 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 111109ee118c9e69982f08d5e119eab04190b36a0f40e22e873802d941956eee66d2aa5a15f5321e51e3f9aa70a91136451b987fe15185ef8cc547ac88937723 - languageName: node - linkType: hard - -"@babel/plugin-proposal-class-properties@npm:^7.12.1, @babel/plugin-proposal-class-properties@npm:^7.13.0, @babel/plugin-proposal-class-properties@npm:^7.16.0, @babel/plugin-proposal-class-properties@npm:^7.18.6": +"@babel/plugin-proposal-class-properties@npm:^7.12.1, @babel/plugin-proposal-class-properties@npm:^7.16.0, @babel/plugin-proposal-class-properties@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-class-properties@npm:7.18.6" dependencies: @@ -867,19 +1085,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-class-static-block@npm:^7.21.0": - version: 7.21.0 - resolution: "@babel/plugin-proposal-class-static-block@npm:7.21.0" - dependencies: - "@babel/helper-create-class-features-plugin": ^7.21.0 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/plugin-syntax-class-static-block": ^7.14.5 - peerDependencies: - "@babel/core": ^7.12.0 - checksum: 236c0ad089e7a7acab776cc1d355330193314bfcd62e94e78f2df35817c6144d7e0e0368976778afd6b7c13e70b5068fa84d7abbf967d4f182e60d03f9ef802b - languageName: node - linkType: hard - "@babel/plugin-proposal-decorators@npm:^7.12.12, @babel/plugin-proposal-decorators@npm:^7.16.4": version: 7.18.6 resolution: "@babel/plugin-proposal-decorators@npm:7.18.6" @@ -931,18 +1136,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-export-namespace-from@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-proposal-export-namespace-from@npm:7.18.9" - dependencies: - "@babel/helper-plugin-utils": ^7.18.9 - "@babel/plugin-syntax-export-namespace-from": ^7.8.3 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 84ff22bacc5d30918a849bfb7e0e90ae4c5b8d8b65f2ac881803d1cf9068dffbe53bd657b0e4bc4c20b4db301b1c85f1e74183cf29a0dd31e964bd4e97c363ef - languageName: node - linkType: hard - "@babel/plugin-proposal-json-strings@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-json-strings@npm:7.18.6" @@ -967,18 +1160,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-logical-assignment-operators@npm:^7.20.7": - version: 7.20.7 - resolution: "@babel/plugin-proposal-logical-assignment-operators@npm:7.20.7" - dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: cdd7b8136cc4db3f47714d5266f9e7b592a2ac5a94a5878787ce08890e97c8ab1ca8e94b27bfeba7b0f2b1549a026d9fc414ca2196de603df36fb32633bbdc19 - languageName: node - linkType: hard - "@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.12.1, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.16.0, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6" @@ -1031,21 +1212,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-object-rest-spread@npm:^7.20.7": - version: 7.20.7 - resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.20.7" - dependencies: - "@babel/compat-data": ^7.20.5 - "@babel/helper-compilation-targets": ^7.20.7 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/plugin-syntax-object-rest-spread": ^7.8.3 - "@babel/plugin-transform-parameters": ^7.20.7 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 1329db17009964bc644484c660eab717cb3ca63ac0ab0f67c651a028d1bc2ead51dc4064caea283e46994f1b7221670a35cbc0b4beb6273f55e915494b5aa0b2 - languageName: node - linkType: hard - "@babel/plugin-proposal-optional-catch-binding@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-optional-catch-binding@npm:7.18.6" @@ -1071,19 +1237,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-optional-chaining@npm:^7.20.7, @babel/plugin-proposal-optional-chaining@npm:^7.21.0": - version: 7.21.0 - resolution: "@babel/plugin-proposal-optional-chaining@npm:7.21.0" - dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-skip-transparent-expression-wrappers": ^7.20.0 - "@babel/plugin-syntax-optional-chaining": ^7.8.3 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 11c5449e01b18bb8881e8e005a577fa7be2fe5688e2382c8822d51f8f7005342a301a46af7b273b1f5645f9a7b894c428eee8526342038a275ef6ba4c8d8d746 - languageName: node - linkType: hard - "@babel/plugin-proposal-private-methods@npm:^7.12.1, @babel/plugin-proposal-private-methods@npm:^7.16.0, @babel/plugin-proposal-private-methods@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-private-methods@npm:7.18.6" @@ -1096,6 +1249,15 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-proposal-private-property-in-object@npm:7.21.0-placeholder-for-preset-env.2": + version: 7.21.0-placeholder-for-preset-env.2 + resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.21.0-placeholder-for-preset-env.2" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: d97745d098b835d55033ff3a7fb2b895b9c5295b08a5759e4f20df325aa385a3e0bc9bd5ad8f2ec554a44d4e6525acfc257b8c5848a1345cb40f26a30e277e91 + languageName: node + linkType: hard + "@babel/plugin-proposal-private-property-in-object@npm:^7.12.1, @babel/plugin-proposal-private-property-in-object@npm:^7.16.0, @babel/plugin-proposal-private-property-in-object@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.18.6" @@ -1110,20 +1272,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-private-property-in-object@npm:^7.21.0": - version: 7.21.0 - resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.21.0" - dependencies: - "@babel/helper-annotate-as-pure": ^7.18.6 - "@babel/helper-create-class-features-plugin": ^7.21.0 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/plugin-syntax-private-property-in-object": ^7.14.5 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: add881a6a836635c41d2710551fdf777e2c07c0b691bf2baacc5d658dd64107479df1038680d6e67c468bfc6f36fb8920025d6bac2a1df0a81b867537d40ae78 - languageName: node - linkType: hard - "@babel/plugin-proposal-unicode-property-regex@npm:^7.18.6, @babel/plugin-proposal-unicode-property-regex@npm:^7.4.4": version: 7.18.6 resolution: "@babel/plugin-proposal-unicode-property-regex@npm:7.18.6" @@ -1246,14 +1394,25 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-import-assertions@npm:^7.20.0": - version: 7.20.0 - resolution: "@babel/plugin-syntax-import-assertions@npm:7.20.0" +"@babel/plugin-syntax-import-assertions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-import-assertions@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.19.0 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 6a86220e0aae40164cd3ffaf80e7c076a1be02a8f3480455dddbae05fda8140f429290027604df7a11b3f3f124866e8a6d69dbfa1dda61ee7377b920ad144d5b + checksum: 2b8b5572db04a7bef1e6cd20debf447e4eef7cb012616f5eceb8fa3e23ce469b8f76ee74fd6d1e158ba17a8f58b0aec579d092fb67c5a30e83ccfbc5754916c1 + languageName: node + linkType: hard + +"@babel/plugin-syntax-import-attributes@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-import-attributes@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 197b3c5ea2a9649347f033342cb222ab47f4645633695205c0250c6bf2af29e643753b8bb24a2db39948bef08e7c540babfd365591eb57fc110cb30b425ffc47 languageName: node linkType: hard @@ -1301,7 +1460,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7.21.4, @babel/plugin-syntax-jsx@npm:^7.7.2": +"@babel/plugin-syntax-jsx@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-jsx@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8829d30c2617ab31393d99cec2978e41f014f4ac6f01a1cecf4c4dd8320c3ec12fdc3ce121126b2d8d32f6887e99ca1a0bad53dedb1e6ad165640b92b24980ce + languageName: node + linkType: hard + +"@babel/plugin-syntax-jsx@npm:^7.7.2": version: 7.21.4 resolution: "@babel/plugin-syntax-jsx@npm:7.21.4" dependencies: @@ -1411,7 +1581,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-typescript@npm:^7.20.0, @babel/plugin-syntax-typescript@npm:^7.7.2": +"@babel/plugin-syntax-typescript@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-syntax-typescript@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8ab7718fbb026d64da93681a57797d60326097fd7cb930380c8bffd9eb101689e90142c760a14b51e8e69c88a73ba3da956cb4520a3b0c65743aee5c71ef360a + languageName: node + linkType: hard + +"@babel/plugin-syntax-typescript@npm:^7.7.2": version: 7.21.4 resolution: "@babel/plugin-syntax-typescript@npm:7.21.4" dependencies: @@ -1422,6 +1603,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-unicode-sets-regex@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/plugin-syntax-unicode-sets-regex@npm:7.18.6" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.18.6 + "@babel/helper-plugin-utils": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: a651d700fe63ff0ddfd7186f4ebc24447ca734f114433139e3c027bc94a900d013cf1ef2e2db8430425ba542e39ae160c3b05f06b59fd4656273a3df97679e9c + languageName: node + linkType: hard + "@babel/plugin-transform-arrow-functions@npm:^7.12.1, @babel/plugin-transform-arrow-functions@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-arrow-functions@npm:7.18.6" @@ -1433,14 +1626,28 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-arrow-functions@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/plugin-transform-arrow-functions@npm:7.21.5" +"@babel/plugin-transform-arrow-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-arrow-functions@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.21.5 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: c7c281cdf37c33a584102d9fd1793e85c96d4d320cdfb7c43f1ce581323d057f13b53203994fcc7ee1f8dc1ff013498f258893aa855a06c6f830fcc4c33d6e44 + checksum: 35abb6c57062802c7ce8bd96b2ef2883e3124370c688bbd67609f7d2453802fb73944df8808f893b6c67de978eb2bcf87bbfe325e46d6f39b5fcb09ece11d01a + languageName: node + linkType: hard + +"@babel/plugin-transform-async-generator-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.22.5" + dependencies: + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-remap-async-to-generator": ^7.22.5 + "@babel/plugin-syntax-async-generators": ^7.8.4 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 32890b69ec5627eb46ee8e084bddc6b98d85b66cae5e015f3a23924611a759789d2ff836406605f5293b5c2bad306b20cb1f5b7a46ed549b07bfec634bcd31f9 languageName: node linkType: hard @@ -1457,16 +1664,16 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-async-to-generator@npm:^7.20.7": - version: 7.20.7 - resolution: "@babel/plugin-transform-async-to-generator@npm:7.20.7" +"@babel/plugin-transform-async-to-generator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-async-to-generator@npm:7.22.5" dependencies: - "@babel/helper-module-imports": ^7.18.6 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-remap-async-to-generator": ^7.18.9 + "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-remap-async-to-generator": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: fe9ee8a5471b4317c1b9ea92410ace8126b52a600d7cfbfe1920dcac6fb0fad647d2e08beb4fd03c630eb54430e6c72db11e283e3eddc49615c68abd39430904 + checksum: b95f23f99dcb379a9f0a1c2a3bbea3f8dc0e1b16dc1ac8b484fe378370169290a7a63d520959a9ba1232837cf74a80e23f6facbe14fd42a3cda6d3c2d7168e62 languageName: node linkType: hard @@ -1481,6 +1688,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-block-scoped-functions@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 416b1341858e8ca4e524dee66044735956ced5f478b2c3b9bc11ec2285b0c25d7dbb96d79887169eb938084c95d0a89338c8b2fe70d473bd9dc92e5d9db1732c + languageName: node + linkType: hard + "@babel/plugin-transform-block-scoping@npm:^7.12.12, @babel/plugin-transform-block-scoping@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-block-scoping@npm:7.18.6" @@ -1492,14 +1710,39 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-block-scoping@npm:^7.21.0": - version: 7.21.0 - resolution: "@babel/plugin-transform-block-scoping@npm:7.21.0" +"@babel/plugin-transform-block-scoping@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-block-scoping@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.20.2 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 26987002cfe6e24544e60fa35f07052b6557f590c1a1cc5cf35d6dc341d7fea163c1222a2d70d5d2692f0b9860d942fd3ba979848b2995d4debffa387b9b19ae + languageName: node + linkType: hard + +"@babel/plugin-transform-class-properties@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-class-properties@npm:7.22.5" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 15aacaadbecf96b53a750db1be4990b0d89c7f5bc3e1794b63b49fb219638c1fd25d452d15566d7e5ddf5b5f4e1a0a0055c35c1c7aee323c7b114bf49f66f4b0 + checksum: b830152dfc2ff2f647f0abe76e6251babdfbef54d18c4b2c73a6bf76b1a00050a5d998dac80dc901a48514e95604324943a9dd39317073fe0928b559e0e0c579 + languageName: node + linkType: hard + +"@babel/plugin-transform-class-static-block@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-class-static-block@npm:7.22.5" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-class-static-block": ^7.14.5 + peerDependencies: + "@babel/core": ^7.12.0 + checksum: bc48b92dbaf625a14f2bf62382384eef01e0515802426841636ae9146e27395d068c7a8a45e9e15699491b0a01d990f38f179cbc9dc89274a393f85648772f12 languageName: node linkType: hard @@ -1521,22 +1764,22 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-classes@npm:^7.21.0": - version: 7.21.0 - resolution: "@babel/plugin-transform-classes@npm:7.21.0" - dependencies: - "@babel/helper-annotate-as-pure": ^7.18.6 - "@babel/helper-compilation-targets": ^7.20.7 - "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-function-name": ^7.21.0 - "@babel/helper-optimise-call-expression": ^7.18.6 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-replace-supers": ^7.20.7 - "@babel/helper-split-export-declaration": ^7.18.6 +"@babel/plugin-transform-classes@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-classes@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-compilation-targets": ^7.22.5 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-optimise-call-expression": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-replace-supers": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.5 globals: ^11.1.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 088ae152074bd0e90f64659169255bfe50393e637ec8765cb2a518848b11b0299e66b91003728fd0a41563a6fdc6b8d548ece698a314fd5447f5489c22e466b7 + checksum: 124b1b79180524cc9d08155cecde92c7f2ab0db02cbe0f8befa187ef3c7320909ce1a6d6daf5ce73e8330f9b40cf9991f424c6e572b8dddc1f14e2758fa80d20 languageName: node linkType: hard @@ -1551,15 +1794,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-computed-properties@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/plugin-transform-computed-properties@npm:7.21.5" +"@babel/plugin-transform-computed-properties@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-computed-properties@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.21.5 - "@babel/template": ^7.20.7 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/template": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: e819780ab30fc40d7802ffb75b397eff63ca4942a1873058f81c80f660189b78e158fa03fd3270775f0477c4c33cee3d8d40270e64404bbf24aa6cdccb197e7b + checksum: c2a77a0f94ec71efbc569109ec14ea2aa925b333289272ced8b33c6108bdbb02caf01830ffc7e49486b62dec51911924d13f3a76f1149f40daace1898009e131 languageName: node linkType: hard @@ -1574,14 +1817,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-destructuring@npm:^7.21.3": - version: 7.21.3 - resolution: "@babel/plugin-transform-destructuring@npm:7.21.3" +"@babel/plugin-transform-destructuring@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-destructuring@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.20.2 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 43ebbe0bfa20287e34427be7c2200ce096c20913775ea75268fb47fe0e55f9510800587e6052c42fe6dffa0daaad95dd465c3e312fd1ef9785648384c45417ac + checksum: 76f6ea2aee1fcfa1c3791eb7a5b89703c6472650b993e8666fff0f1d6e9d737a84134edf89f63c92297f3e75064c1263219463b02dd9bc7434b6e5b9935e3f20 languageName: node linkType: hard @@ -1597,6 +1840,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-dotall-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-dotall-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 409b658d11e3082c8f69e9cdef2d96e4d6d11256f005772425fb230cc48fd05945edbfbcb709dab293a1a2f01f9c8a5bb7b4131e632b23264039d9f95864b453 + languageName: node + linkType: hard + "@babel/plugin-transform-duplicate-keys@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-duplicate-keys@npm:7.18.6" @@ -1608,14 +1863,26 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-duplicate-keys@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-duplicate-keys@npm:7.18.9" +"@babel/plugin-transform-duplicate-keys@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-duplicate-keys@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 220bf4a9fec5c4d4a7b1de38810350260e8ea08481bf78332a464a21256a95f0df8cd56025f346238f09b04f8e86d4158fafc9f4af57abaef31637e3b58bd4fe + checksum: bb1280fbabaab6fab2ede585df34900712698210a3bd413f4df5bae6d8c24be36b496c92722ae676a7a67d060a4624f4d6c23b923485f906bfba8773c69f55b4 + languageName: node + linkType: hard + +"@babel/plugin-transform-dynamic-import@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-dynamic-import@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-dynamic-import": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 186a6d59f36eb3c5824739fc9c22ed0f4ca68e001662aa3a302634346a8b785cb9579b23b0c158f4570604d697d19598ca09b58c60a7fa2894da1163c4eb1907 languageName: node linkType: hard @@ -1631,6 +1898,30 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-exponentiation-operator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.22.5" + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: f2d660c1b1d51ad5fec1cd5ad426a52187204068c4158f8c4aa977b31535c61b66898d532603eef21c15756827be8277f724c869b888d560f26d7fe848bb5eae + languageName: node + linkType: hard + +"@babel/plugin-transform-export-namespace-from@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-export-namespace-from@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-export-namespace-from": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3d197b788758044983c96b9c49bed4b456055f35a388521a405968db0f6e2ffb6fd59110e3931f4dcc5e126ae9e5e00e154a0afb47a7ea359d8d0dea79f480d7 + languageName: node + linkType: hard + "@babel/plugin-transform-flow-strip-types@npm:^7.16.0, @babel/plugin-transform-flow-strip-types@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-flow-strip-types@npm:7.18.6" @@ -1654,14 +1945,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-for-of@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/plugin-transform-for-of@npm:7.21.5" +"@babel/plugin-transform-for-of@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-for-of@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.21.5 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b6666b24e8ca1ffbf7452a0042149724e295965aad55070dc9ee992451d69d855fc9db832c1c5fb4d3dc532f4a18a2974d5f8524f5c2250dda888d05f6f3cadb + checksum: d7b8d4db010bce7273674caa95c4e6abd909362866ce297e86a2ecaa9ae636e05d525415811db9b3c942155df7f3651d19b91dd6c41f142f7308a97c7cb06023 languageName: node linkType: hard @@ -1678,16 +1969,28 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-function-name@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-function-name@npm:7.18.9" +"@babel/plugin-transform-function-name@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-function-name@npm:7.22.5" dependencies: - "@babel/helper-compilation-targets": ^7.18.9 - "@babel/helper-function-name": ^7.18.9 - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-compilation-targets": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 62dd9c6cdc9714704efe15545e782ee52d74dc73916bf954b4d3bee088fb0ec9e3c8f52e751252433656c09f744b27b757fc06ed99bcde28e8a21600a1d8e597 + checksum: cff3b876357999cb8ae30e439c3ec6b0491a53b0aa6f722920a4675a6dd5b53af97a833051df4b34791fe5b3dd326ccf769d5c8e45b322aa50ee11a660b17845 + languageName: node + linkType: hard + +"@babel/plugin-transform-json-strings@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-json-strings@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-json-strings": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 4e00b902487a670b6c8948f33f9108133fd745cf9d1478aca515fb460b9b2f12e137988ebc1663630fb82070a870aed8b0c1aa4d007a841c18004619798f255c languageName: node linkType: hard @@ -1702,14 +2005,26 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-literals@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-literals@npm:7.18.9" +"@babel/plugin-transform-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-literals@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3458dd2f1a47ac51d9d607aa18f3d321cbfa8560a985199185bed5a906bb0c61ba85575d386460bac9aed43fdd98940041fae5a67dff286f6f967707cff489f8 + checksum: ec37cc2ffb32667af935ab32fe28f00920ec8a1eb999aa6dc6602f2bebd8ba205a558aeedcdccdebf334381d5c57106c61f52332045730393e73410892a9735b + languageName: node + linkType: hard + +"@babel/plugin-transform-logical-assignment-operators@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 18748e953c08f64885f18c224eac58df10a13eac4d845d16b5d9b6276907da7ca2530dfebe6ed41cdc5f8a75d9db3e36d8eb54ddce7cd0364af1cab09b435302 languageName: node linkType: hard @@ -1717,10 +2032,21 @@ __metadata: version: 7.18.6 resolution: "@babel/plugin-transform-member-expression-literals@npm:7.18.6" dependencies: - "@babel/helper-plugin-utils": ^7.18.6 + "@babel/helper-plugin-utils": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 35a3d04f6693bc6b298c05453d85ee6e41cc806538acb6928427e0e97ae06059f97d2f07d21495fcf5f70d3c13a242e2ecbd09d5c1fcb1b1a73ff528dcb0b695 + languageName: node + linkType: hard + +"@babel/plugin-transform-member-expression-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-member-expression-literals@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 35a3d04f6693bc6b298c05453d85ee6e41cc806538acb6928427e0e97ae06059f97d2f07d21495fcf5f70d3c13a242e2ecbd09d5c1fcb1b1a73ff528dcb0b695 + checksum: ec4b0e07915ddd4fda0142fd104ee61015c208608a84cfa13643a95d18760b1dc1ceb6c6e0548898b8c49e5959a994e46367260176dbabc4467f729b21868504 languageName: node linkType: hard @@ -1737,15 +2063,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-amd@npm:^7.20.11": - version: 7.20.11 - resolution: "@babel/plugin-transform-modules-amd@npm:7.20.11" +"@babel/plugin-transform-modules-amd@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-amd@npm:7.22.5" dependencies: - "@babel/helper-module-transforms": ^7.20.11 - "@babel/helper-plugin-utils": ^7.20.2 + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 23665c1c20c8f11c89382b588fb9651c0756d130737a7625baeaadbd3b973bc5bfba1303bedffa8fb99db1e6d848afb01016e1df2b69b18303e946890c790001 + checksum: 7da4c4ebbbcf7d182abb59b2046b22d86eee340caf8a22a39ef6a727da2d8acfec1f714fcdcd5054110b280e4934f735e80a6848d192b6834c5d4459a014f04d languageName: node linkType: hard @@ -1763,16 +2089,16 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-commonjs@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/plugin-transform-modules-commonjs@npm:7.21.5" +"@babel/plugin-transform-modules-commonjs@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.22.5" dependencies: - "@babel/helper-module-transforms": ^7.21.5 - "@babel/helper-plugin-utils": ^7.21.5 - "@babel/helper-simple-access": ^7.21.5 + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-simple-access": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d9ff7a21baaa60c08a0c86c5e468bb4b2bd85caf51ba78712d8f45e9afa2498d50d6cdf349696e08aa820cafed65f19b70e5938613db9ebb095f7aba1127f282 + checksum: 2067aca8f6454d54ffcce69b02c457cfa61428e11372f6a1d99ff4fcfbb55c396ed2ca6ca886bf06c852e38c1a205b8095921b2364fd0243f3e66bc1dda61caa languageName: node linkType: hard @@ -1791,17 +2117,17 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.20.11": - version: 7.20.11 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.20.11" +"@babel/plugin-transform-modules-systemjs@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.22.5" dependencies: - "@babel/helper-hoist-variables": ^7.18.6 - "@babel/helper-module-transforms": ^7.20.11 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-validator-identifier": ^7.19.1 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4546c47587f88156d66c7eb7808e903cf4bb3f6ba6ac9bc8e3af2e29e92eb9f0b3f44d52043bfd24eb25fa7827fd7b6c8bfeac0cac7584e019b87e1ecbd0e673 + checksum: 04f4178589543396b3c24330a67a59c5e69af5e96119c9adda730c0f20122deaff54671ebbc72ad2df6495a5db8a758bd96942de95fba7ad427de9c80b1b38c8 languageName: node linkType: hard @@ -1817,6 +2143,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-umd@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-modules-umd@npm:7.22.5" + dependencies: + "@babel/helper-module-transforms": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 46622834c54c551b231963b867adbc80854881b3e516ff29984a8da989bd81665bd70e8cba6710345248e97166689310f544aee1a5773e262845a8f1b3e5b8b4 + languageName: node + linkType: hard + "@babel/plugin-transform-named-capturing-groups-regex@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.18.6" @@ -1829,15 +2167,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.20.5": - version: 7.20.5 - resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.20.5" +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.22.5" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.20.5 - "@babel/helper-plugin-utils": ^7.20.2 + "@babel/helper-create-regexp-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0 - checksum: 528c95fb1087e212f17e1c6456df041b28a83c772b9c93d2e407c9d03b72182b0d9d126770c1d6e0b23aab052599ceaf25ed6a2c0627f4249be34a83f6fae853 + checksum: 3ee564ddee620c035b928fdc942c5d17e9c4b98329b76f9cefac65c111135d925eb94ed324064cd7556d4f5123beec79abea1d4b97d1c8a2a5c748887a2eb623 languageName: node linkType: hard @@ -1852,6 +2190,56 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-new-target@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-new-target@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 6b72112773487a881a1d6ffa680afde08bad699252020e86122180ee7a88854d5da3f15d9bca3331cf2e025df045604494a8208a2e63b486266b07c14e2ffbf3 + languageName: node + linkType: hard + +"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: e6a059169d257fc61322d0708edae423072449b7c33de396261e68dee582aec5396789a1c22bce84e5bd88a169623c2e750b513fc222930979e6accd52a44bf2 + languageName: node + linkType: hard + +"@babel/plugin-transform-numeric-separator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-numeric-separator@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-numeric-separator": ^7.10.4 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 9e7837d4eae04f211ebaa034fe5003d2927b6bf6d5b9dc09f2b1183c01482cdde5a75b8bd5c7ff195c2abc7b923339eb0b2a9d27cb78359d38248a3b2c2367c4 + languageName: node + linkType: hard + +"@babel/plugin-transform-object-rest-spread@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-object-rest-spread@npm:7.22.5" + dependencies: + "@babel/compat-data": ^7.22.5 + "@babel/helper-compilation-targets": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-object-rest-spread": ^7.8.3 + "@babel/plugin-transform-parameters": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3b5e091f0dc67108f2e41ed5a97e15bbe4381a19d9a7eea80b71c7de1d8169fd28784e1e41a3d2ad12709ab212e58fc481282a5bb65d591fae7b443048de3330 + languageName: node + linkType: hard + "@babel/plugin-transform-object-super@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-object-super@npm:7.18.6" @@ -1864,6 +2252,43 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-object-super@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-object-super@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-replace-supers": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b71887877d74cb64dbccb5c0324fa67e31171e6a5311991f626650e44a4083e5436a1eaa89da78c0474fb095d4ec322d63ee778b202d33aa2e4194e1ed8e62d7 + languageName: node + linkType: hard + +"@babel/plugin-transform-optional-catch-binding@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b0e8b4233ff06b5c9d285257f49c5bd441f883189b24282e6200f9ebdf5db29aeeebbffae57fbbcd5df9f4387b3e66e5d322aaae5652a78e89685ddbae46bbd1 + languageName: node + linkType: hard + +"@babel/plugin-transform-optional-chaining@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 + "@babel/plugin-syntax-optional-chaining": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 57b9c05fb22ae881b8a334b184fc6ee966661ed5d1eb4eed8c2fb9a12e68150d90b229efcb1aa777e246999830844fee06d7365f8bb4bb262fdcd23876ff3ea2 + languageName: node + linkType: hard + "@babel/plugin-transform-parameters@npm:^7.12.1, @babel/plugin-transform-parameters@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-parameters@npm:7.18.6" @@ -1875,14 +2300,40 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.21.3": - version: 7.21.3 - resolution: "@babel/plugin-transform-parameters@npm:7.21.3" +"@babel/plugin-transform-parameters@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-parameters@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.20.2 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b44f89cf97daf23903776ba27c2ab13b439d80d8c8a95be5c476ab65023b1e0c0e94c28d3745f3b60a58edc4e590fa0cd4287a0293e51401ca7d29a2ddb13b8e + languageName: node + linkType: hard + +"@babel/plugin-transform-private-methods@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-private-methods@npm:7.22.5" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 321479b4fcb6d3b3ef622ab22fd24001e43d46e680e8e41324c033d5810c84646e470f81b44cbcbef5c22e99030784f7cac92f1829974da7a47a60a7139082c3 + languageName: node + linkType: hard + +"@babel/plugin-transform-private-property-in-object@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-private-property-in-object@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-create-class-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-private-property-in-object": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: c92128d7b1fcf54e2cab186c196bbbf55a9a6de11a83328dc2602649c9dc6d16ef73712beecd776cd49bfdc624b5f56740f4a53568d3deb9505ec666bc869da3 + checksum: 9ac019fb2772f3af6278a7f4b8b14b0663accb3fd123d87142ceb2fbc57fd1afa07c945d1329029b026b9ee122096ef71a3f34f257a9e04cf4245b87298c38b4 languageName: node linkType: hard @@ -1897,6 +2348,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-property-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-property-literals@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 796176a3176106f77fcb8cd04eb34a8475ce82d6d03a88db089531b8f0453a2fb8b0c6ec9a52c27948bc0ea478becec449893741fc546dfc3930ab927e3f9f2e + languageName: node + linkType: hard + "@babel/plugin-transform-react-display-name@npm:^7.16.0, @babel/plugin-transform-react-display-name@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-react-display-name@npm:7.18.6" @@ -1908,6 +2370,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-display-name@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-react-display-name@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: a12bfd1e4e93055efca3ace3c34722571bda59d9740dca364d225d9c6e3ca874f134694d21715c42cc63d79efd46db9665bd4a022998767f9245f1e29d5d204d + languageName: node + linkType: hard + "@babel/plugin-transform-react-jsx-development@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-react-jsx-development@npm:7.18.6" @@ -1919,6 +2392,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-jsx-development@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-react-jsx-development@npm:7.22.5" + dependencies: + "@babel/plugin-transform-react-jsx": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 36bc3ff0b96bb0ef4723070a50cfdf2e72cfd903a59eba448f9fe92fea47574d6f22efd99364413719e1f3fb3c51b6c9b2990b87af088f8486a84b2a5f9e4560 + languageName: node + linkType: hard + "@babel/plugin-transform-react-jsx@npm:^7.12.12, @babel/plugin-transform-react-jsx@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-react-jsx@npm:7.18.6" @@ -1934,6 +2418,21 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-jsx@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-react-jsx@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-jsx": ^7.22.5 + "@babel/types": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: c8f93f29f32cf79683ca2b8958fd62f38155674846ef27a7d4b6fbeb8713c37257418391731b58ff8024ec37b888bed5960e615a3f552e28245d2082e7f2a2df + languageName: node + linkType: hard + "@babel/plugin-transform-react-pure-annotations@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-react-pure-annotations@npm:7.18.6" @@ -1946,6 +2445,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-pure-annotations@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-react-pure-annotations@npm:7.22.5" + dependencies: + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 092021c4f404e267002099ec20b3f12dd730cb90b0d83c5feed3dc00dbe43b9c42c795a18e7c6c7d7bddea20c7dd56221b146aec81b37f2e7eb5137331c61120 + languageName: node + linkType: hard + "@babel/plugin-transform-regenerator@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-regenerator@npm:7.18.6" @@ -1958,15 +2469,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-regenerator@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/plugin-transform-regenerator@npm:7.21.5" +"@babel/plugin-transform-regenerator@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-regenerator@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.21.5 + "@babel/helper-plugin-utils": ^7.22.5 regenerator-transform: ^0.15.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 5291f6871276f57a6004f16d50ae9ad57f22a6aa2a183b8c84de8126f1066c6c9f9bbeadb282b5207fa9e7b0f57e40a8421d46cb5c60caf7e2848e98224d5639 + checksum: f7c5ca5151321963df777cc02725d10d1ccc3b3b8323da0423aecd9ac6144cbdd2274af5281a5580db2fc2f8b234e318517b5d76b85669118906533a559f2b6a languageName: node linkType: hard @@ -1981,7 +2492,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-runtime@npm:^7.12.15, @babel/plugin-transform-runtime@npm:^7.16.4": +"@babel/plugin-transform-reserved-words@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-reserved-words@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3ffd7dbc425fe8132bfec118b9817572799cab1473113a635d25ab606c1f5a2341a636c04cf6b22df3813320365ed5a965b5eeb3192320a10e4cc2c137bd8bfc + languageName: node + linkType: hard + +"@babel/plugin-transform-runtime@npm:^7.16.4": version: 7.18.6 resolution: "@babel/plugin-transform-runtime@npm:7.18.6" dependencies: @@ -1997,6 +2519,22 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-runtime@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-runtime@npm:7.22.5" + dependencies: + "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + babel-plugin-polyfill-corejs2: ^0.4.3 + babel-plugin-polyfill-corejs3: ^0.8.1 + babel-plugin-polyfill-regenerator: ^0.5.0 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 52cf177045b5f61a6cfc36b45aa7629586dc00a28371a09ef03e877a627f520efd51817ad8cceabaaa25f266e069859b36a5ac5018afeaa7f37aafa9325df4d8 + languageName: node + linkType: hard + "@babel/plugin-transform-shorthand-properties@npm:^7.12.1, @babel/plugin-transform-shorthand-properties@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-shorthand-properties@npm:7.18.6" @@ -2008,6 +2546,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-shorthand-properties@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-shorthand-properties@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: a5ac902c56ea8effa99f681340ee61bac21094588f7aef0bc01dff98246651702e677552fa6d10e548c4ac22a3ffad047dd2f8c8f0540b68316c2c203e56818b + languageName: node + linkType: hard + "@babel/plugin-transform-spread@npm:^7.12.1, @babel/plugin-transform-spread@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-spread@npm:7.18.6" @@ -2020,15 +2569,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-spread@npm:^7.20.7": - version: 7.20.7 - resolution: "@babel/plugin-transform-spread@npm:7.20.7" +"@babel/plugin-transform-spread@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-spread@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/helper-skip-transparent-expression-wrappers": ^7.20.0 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 8ea698a12da15718aac7489d4cde10beb8a3eea1f66167d11ab1e625033641e8b328157fd1a0b55dd6531933a160c01fc2e2e61132a385cece05f26429fd0cc2 + checksum: 5587f0deb60b3dfc9b274e269031cc45ec75facccf1933ea2ea71ced9fd3ce98ed91bb36d6cd26817c14474b90ed998c5078415f0eab531caf301496ce24c95c languageName: node linkType: hard @@ -2043,6 +2592,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-sticky-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-sticky-regex@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 63b2c575e3e7f96c32d52ed45ee098fb7d354b35c2223b8c8e76840b32cc529ee0c0ceb5742fd082e56e91e3d82842a367ce177e82b05039af3d602c9627a729 + languageName: node + linkType: hard + "@babel/plugin-transform-template-literals@npm:^7.12.1, @babel/plugin-transform-template-literals@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-template-literals@npm:7.18.6" @@ -2054,14 +2614,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-template-literals@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-template-literals@npm:7.18.9" +"@babel/plugin-transform-template-literals@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-template-literals@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3d2fcd79b7c345917f69b92a85bdc3ddd68ce2c87dc70c7d61a8373546ccd1f5cb8adc8540b49dfba08e1b82bb7b3bbe23a19efdb2b9c994db2db42906ca9fb2 + checksum: 27e9bb030654cb425381c69754be4abe6a7c75b45cd7f962cd8d604b841b2f0fb7b024f2efc1c25cc53f5b16d79d5e8cfc47cacbdaa983895b3aeefa3e7e24ff languageName: node linkType: hard @@ -2076,14 +2636,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-typeof-symbol@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-typeof-symbol@npm:7.18.9" +"@babel/plugin-transform-typeof-symbol@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-typeof-symbol@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: e754e0d8b8a028c52e10c148088606e3f7a9942c57bd648fc0438e5b4868db73c386a5ed47ab6d6f0594aae29ee5ffc2ffc0f7ebee7fae560a066d6dea811cd4 + checksum: 82a53a63ffc3010b689ca9a54e5f53b2718b9f4b4a9818f36f9b7dba234f38a01876680553d2716a645a61920b5e6e4aaf8d4a0064add379b27ca0b403049512 languageName: node linkType: hard @@ -2100,17 +2660,17 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-typescript@npm:^7.21.3": - version: 7.21.3 - resolution: "@babel/plugin-transform-typescript@npm:7.21.3" +"@babel/plugin-transform-typescript@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-typescript@npm:7.22.5" dependencies: - "@babel/helper-annotate-as-pure": ^7.18.6 - "@babel/helper-create-class-features-plugin": ^7.21.0 - "@babel/helper-plugin-utils": ^7.20.2 - "@babel/plugin-syntax-typescript": ^7.20.0 + "@babel/helper-annotate-as-pure": ^7.22.5 + "@babel/helper-create-class-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/plugin-syntax-typescript": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: c16fd577bf43f633deb76fca2a8527d8ae25968c8efdf327c1955472c3e0257e62992473d1ad7f9ee95379ce2404699af405ea03346055adadd3478ad0ecd117 + checksum: d12f1ca1ef1f2a54432eb044d2999705d1205ebe211c2a7f05b12e8eb2d2a461fd7657b5486b2f2f1efe7c0c0dc8e80725b767073d40fe4ae059a7af057b05e4 languageName: node linkType: hard @@ -2125,14 +2685,26 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-unicode-escapes@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/plugin-transform-unicode-escapes@npm:7.21.5" +"@babel/plugin-transform-unicode-escapes@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: da5e85ab3bb33a75cbf6181bfd236b208dc934702fd304db127232f17b4e0f42c6d3f238de8589470b4190906967eea8ca27adf3ae9d8ee4de2a2eae906ed186 + languageName: node + linkType: hard + +"@babel/plugin-transform-unicode-property-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.21.5 + "@babel/helper-create-regexp-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 6504d642d0449a275191b624bd94d3e434ae154e610bf2f0e3c109068b287d2474f68e1da64b47f21d193cd67b27ee4643877d530187670565cac46e29fd257d + checksum: 2495e5f663cb388e3d888b4ba3df419ac436a5012144ac170b622ddfc221f9ea9bdba839fa2bc0185cb776b578030666406452ec7791cbf0e7a3d4c88ae9574c languageName: node linkType: hard @@ -2148,7 +2720,31 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.12.11, @babel/preset-env@npm:^7.14.2, @babel/preset-env@npm:^7.16.4": +"@babel/plugin-transform-unicode-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-unicode-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 6b5d1404c8c623b0ec9bd436c00d885a17d6a34f3f2597996343ddb9d94f6379705b21582dfd4cec2c47fd34068872e74ab6b9580116c0566b3f9447e2a7fa06 + languageName: node + linkType: hard + +"@babel/plugin-transform-unicode-sets-regex@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.22.5" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: c042070f980b139547f8b0179efbc049ac5930abec7fc26ed7a41d89a048d8ab17d362200e204b6f71c3c20d6991a0e74415e1a412a49adc8131c2a40c04822e + languageName: node + linkType: hard + +"@babel/preset-env@npm:^7.12.11, @babel/preset-env@npm:^7.16.4": version: 7.18.6 resolution: "@babel/preset-env@npm:7.18.6" dependencies: @@ -2233,37 +2829,24 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/preset-env@npm:7.21.5" - dependencies: - "@babel/compat-data": ^7.21.5 - "@babel/helper-compilation-targets": ^7.21.5 - "@babel/helper-plugin-utils": ^7.21.5 - "@babel/helper-validator-option": ^7.21.0 - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.18.6 - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.20.7 - "@babel/plugin-proposal-async-generator-functions": ^7.20.7 - "@babel/plugin-proposal-class-properties": ^7.18.6 - "@babel/plugin-proposal-class-static-block": ^7.21.0 - "@babel/plugin-proposal-dynamic-import": ^7.18.6 - "@babel/plugin-proposal-export-namespace-from": ^7.18.9 - "@babel/plugin-proposal-json-strings": ^7.18.6 - "@babel/plugin-proposal-logical-assignment-operators": ^7.20.7 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.18.6 - "@babel/plugin-proposal-numeric-separator": ^7.18.6 - "@babel/plugin-proposal-object-rest-spread": ^7.20.7 - "@babel/plugin-proposal-optional-catch-binding": ^7.18.6 - "@babel/plugin-proposal-optional-chaining": ^7.21.0 - "@babel/plugin-proposal-private-methods": ^7.18.6 - "@babel/plugin-proposal-private-property-in-object": ^7.21.0 - "@babel/plugin-proposal-unicode-property-regex": ^7.18.6 +"@babel/preset-env@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/preset-env@npm:7.22.5" + dependencies: + "@babel/compat-data": ^7.22.5 + "@babel/helper-compilation-targets": ^7.22.5 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-validator-option": ^7.22.5 + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.22.5 + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.22.5 + "@babel/plugin-proposal-private-property-in-object": 7.21.0-placeholder-for-preset-env.2 "@babel/plugin-syntax-async-generators": ^7.8.4 "@babel/plugin-syntax-class-properties": ^7.12.13 "@babel/plugin-syntax-class-static-block": ^7.14.5 "@babel/plugin-syntax-dynamic-import": ^7.8.3 "@babel/plugin-syntax-export-namespace-from": ^7.8.3 - "@babel/plugin-syntax-import-assertions": ^7.20.0 + "@babel/plugin-syntax-import-assertions": ^7.22.5 + "@babel/plugin-syntax-import-attributes": ^7.22.5 "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/plugin-syntax-json-strings": ^7.8.3 "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 @@ -2274,48 +2857,65 @@ __metadata: "@babel/plugin-syntax-optional-chaining": ^7.8.3 "@babel/plugin-syntax-private-property-in-object": ^7.14.5 "@babel/plugin-syntax-top-level-await": ^7.14.5 - "@babel/plugin-transform-arrow-functions": ^7.21.5 - "@babel/plugin-transform-async-to-generator": ^7.20.7 - "@babel/plugin-transform-block-scoped-functions": ^7.18.6 - "@babel/plugin-transform-block-scoping": ^7.21.0 - "@babel/plugin-transform-classes": ^7.21.0 - "@babel/plugin-transform-computed-properties": ^7.21.5 - "@babel/plugin-transform-destructuring": ^7.21.3 - "@babel/plugin-transform-dotall-regex": ^7.18.6 - "@babel/plugin-transform-duplicate-keys": ^7.18.9 - "@babel/plugin-transform-exponentiation-operator": ^7.18.6 - "@babel/plugin-transform-for-of": ^7.21.5 - "@babel/plugin-transform-function-name": ^7.18.9 - "@babel/plugin-transform-literals": ^7.18.9 - "@babel/plugin-transform-member-expression-literals": ^7.18.6 - "@babel/plugin-transform-modules-amd": ^7.20.11 - "@babel/plugin-transform-modules-commonjs": ^7.21.5 - "@babel/plugin-transform-modules-systemjs": ^7.20.11 - "@babel/plugin-transform-modules-umd": ^7.18.6 - "@babel/plugin-transform-named-capturing-groups-regex": ^7.20.5 - "@babel/plugin-transform-new-target": ^7.18.6 - "@babel/plugin-transform-object-super": ^7.18.6 - "@babel/plugin-transform-parameters": ^7.21.3 - "@babel/plugin-transform-property-literals": ^7.18.6 - "@babel/plugin-transform-regenerator": ^7.21.5 - "@babel/plugin-transform-reserved-words": ^7.18.6 - "@babel/plugin-transform-shorthand-properties": ^7.18.6 - "@babel/plugin-transform-spread": ^7.20.7 - "@babel/plugin-transform-sticky-regex": ^7.18.6 - "@babel/plugin-transform-template-literals": ^7.18.9 - "@babel/plugin-transform-typeof-symbol": ^7.18.9 - "@babel/plugin-transform-unicode-escapes": ^7.21.5 - "@babel/plugin-transform-unicode-regex": ^7.18.6 + "@babel/plugin-syntax-unicode-sets-regex": ^7.18.6 + "@babel/plugin-transform-arrow-functions": ^7.22.5 + "@babel/plugin-transform-async-generator-functions": ^7.22.5 + "@babel/plugin-transform-async-to-generator": ^7.22.5 + "@babel/plugin-transform-block-scoped-functions": ^7.22.5 + "@babel/plugin-transform-block-scoping": ^7.22.5 + "@babel/plugin-transform-class-properties": ^7.22.5 + "@babel/plugin-transform-class-static-block": ^7.22.5 + "@babel/plugin-transform-classes": ^7.22.5 + "@babel/plugin-transform-computed-properties": ^7.22.5 + "@babel/plugin-transform-destructuring": ^7.22.5 + "@babel/plugin-transform-dotall-regex": ^7.22.5 + "@babel/plugin-transform-duplicate-keys": ^7.22.5 + "@babel/plugin-transform-dynamic-import": ^7.22.5 + "@babel/plugin-transform-exponentiation-operator": ^7.22.5 + "@babel/plugin-transform-export-namespace-from": ^7.22.5 + "@babel/plugin-transform-for-of": ^7.22.5 + "@babel/plugin-transform-function-name": ^7.22.5 + "@babel/plugin-transform-json-strings": ^7.22.5 + "@babel/plugin-transform-literals": ^7.22.5 + "@babel/plugin-transform-logical-assignment-operators": ^7.22.5 + "@babel/plugin-transform-member-expression-literals": ^7.22.5 + "@babel/plugin-transform-modules-amd": ^7.22.5 + "@babel/plugin-transform-modules-commonjs": ^7.22.5 + "@babel/plugin-transform-modules-systemjs": ^7.22.5 + "@babel/plugin-transform-modules-umd": ^7.22.5 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.22.5 + "@babel/plugin-transform-new-target": ^7.22.5 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.22.5 + "@babel/plugin-transform-numeric-separator": ^7.22.5 + "@babel/plugin-transform-object-rest-spread": ^7.22.5 + "@babel/plugin-transform-object-super": ^7.22.5 + "@babel/plugin-transform-optional-catch-binding": ^7.22.5 + "@babel/plugin-transform-optional-chaining": ^7.22.5 + "@babel/plugin-transform-parameters": ^7.22.5 + "@babel/plugin-transform-private-methods": ^7.22.5 + "@babel/plugin-transform-private-property-in-object": ^7.22.5 + "@babel/plugin-transform-property-literals": ^7.22.5 + "@babel/plugin-transform-regenerator": ^7.22.5 + "@babel/plugin-transform-reserved-words": ^7.22.5 + "@babel/plugin-transform-shorthand-properties": ^7.22.5 + "@babel/plugin-transform-spread": ^7.22.5 + "@babel/plugin-transform-sticky-regex": ^7.22.5 + "@babel/plugin-transform-template-literals": ^7.22.5 + "@babel/plugin-transform-typeof-symbol": ^7.22.5 + "@babel/plugin-transform-unicode-escapes": ^7.22.5 + "@babel/plugin-transform-unicode-property-regex": ^7.22.5 + "@babel/plugin-transform-unicode-regex": ^7.22.5 + "@babel/plugin-transform-unicode-sets-regex": ^7.22.5 "@babel/preset-modules": ^0.1.5 - "@babel/types": ^7.21.5 - babel-plugin-polyfill-corejs2: ^0.3.3 - babel-plugin-polyfill-corejs3: ^0.6.0 - babel-plugin-polyfill-regenerator: ^0.4.1 - core-js-compat: ^3.25.1 + "@babel/types": ^7.22.5 + babel-plugin-polyfill-corejs2: ^0.4.3 + babel-plugin-polyfill-corejs3: ^0.8.1 + babel-plugin-polyfill-regenerator: ^0.5.0 + core-js-compat: ^3.30.2 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 86e167f3a351c89f8cd1409262481ece6ddc085b76147e801530ce29d60b1cfda8b264b1efd1ae27b8181b073a923c7161f21e2ebc0a41d652d717b10cf1c829 + checksum: 6d9d09010ababef2ab48c8830770b2a8f45d6cce51db0924a98b0d95a5b1248a99ee07ee61cb5446d8b05b562db99a8af30b3ed194546419fb9b2889b8fd1ed3 languageName: node linkType: hard @@ -2347,7 +2947,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-react@npm:^7.12.10, @babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.18.6": +"@babel/preset-react@npm:^7.12.10, @babel/preset-react@npm:^7.16.0": version: 7.18.6 resolution: "@babel/preset-react@npm:7.18.6" dependencies: @@ -2363,6 +2963,22 @@ __metadata: languageName: node linkType: hard +"@babel/preset-react@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/preset-react@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-validator-option": ^7.22.5 + "@babel/plugin-transform-react-display-name": ^7.22.5 + "@babel/plugin-transform-react-jsx": ^7.22.5 + "@babel/plugin-transform-react-jsx-development": ^7.22.5 + "@babel/plugin-transform-react-pure-annotations": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b977c7ee83e93f62d77e61929ca3d97e5291e026e2f025a1b8b7ac9186486ed56c7d5bc36f0becabe0c24e8c42a4e4f2243a3cf841384cfafc3204c5d3e6c619 + languageName: node + linkType: hard + "@babel/preset-typescript@npm:^7.12.7, @babel/preset-typescript@npm:^7.16.0": version: 7.18.6 resolution: "@babel/preset-typescript@npm:7.18.6" @@ -2376,18 +2992,18 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.21.5": - version: 7.21.5 - resolution: "@babel/preset-typescript@npm:7.21.5" +"@babel/preset-typescript@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/preset-typescript@npm:7.22.5" dependencies: - "@babel/helper-plugin-utils": ^7.21.5 - "@babel/helper-validator-option": ^7.21.0 - "@babel/plugin-syntax-jsx": ^7.21.4 - "@babel/plugin-transform-modules-commonjs": ^7.21.5 - "@babel/plugin-transform-typescript": ^7.21.3 + "@babel/helper-plugin-utils": ^7.22.5 + "@babel/helper-validator-option": ^7.22.5 + "@babel/plugin-syntax-jsx": ^7.22.5 + "@babel/plugin-transform-modules-commonjs": ^7.22.5 + "@babel/plugin-transform-typescript": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: e7b35c435139eec1d6bd9f57e8f3eb79bfc2da2c57a34ad9e9ea848ba4ecd72791cf4102df456604ab07c7f4518525b0764754b6dd5898036608b351e0792448 + checksum: 7be1670cb4404797d3a473bd72d66eb2b3e0f2f8a672a5e40bdb0812cc66085ec84bcd7b896709764cabf042fdc6b7f2d4755ac7cce10515eb596ff61dab5154 languageName: node linkType: hard @@ -2413,7 +3029,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": version: 7.20.13 resolution: "@babel/runtime@npm:7.20.13" dependencies: @@ -2431,7 +3047,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.20.13": +"@babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.22.5": version: 7.22.5 resolution: "@babel/runtime@npm:7.22.5" dependencies: @@ -2474,6 +3090,17 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/template@npm:7.22.5" + dependencies: + "@babel/code-frame": ^7.22.5 + "@babel/parser": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: c5746410164039aca61829cdb42e9a55410f43cace6f51ca443313f3d0bdfa9a5a330d0b0df73dc17ef885c72104234ae05efede37c1cc8a72dc9f93425977a3 + languageName: node + linkType: hard + "@babel/traverse@npm:7.0.0-beta.44": version: 7.0.0-beta.44 resolution: "@babel/traverse@npm:7.0.0-beta.44" @@ -2510,7 +3137,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.20.5, @babel/traverse@npm:^7.21.5, @babel/traverse@npm:^7.7.2": +"@babel/traverse@npm:^7.21.5, @babel/traverse@npm:^7.7.2": version: 7.21.5 resolution: "@babel/traverse@npm:7.21.5" dependencies: @@ -2528,6 +3155,24 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/traverse@npm:7.22.5" + dependencies: + "@babel/code-frame": ^7.22.5 + "@babel/generator": ^7.22.5 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.5 + "@babel/parser": ^7.22.5 + "@babel/types": ^7.22.5 + debug: ^4.1.0 + globals: ^11.1.0 + checksum: 560931422dc1761f2df723778dcb4e51ce0d02e560cf2caa49822921578f49189a5a7d053b78a32dca33e59be886a6b2200a6e24d4ae9b5086ca0ba803815694 + languageName: node + linkType: hard + "@babel/types@npm:7.0.0-beta.44": version: 7.0.0-beta.44 resolution: "@babel/types@npm:7.0.0-beta.44" @@ -2550,7 +3195,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.18.9, @babel/types@npm:^7.20.5, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.3, @babel/types@npm:^7.21.4, @babel/types@npm:^7.21.5": +"@babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.3, @babel/types@npm:^7.21.4, @babel/types@npm:^7.21.5": version: 7.21.5 resolution: "@babel/types@npm:7.21.5" dependencies: @@ -2561,6 +3206,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/types@npm:7.22.5" + dependencies: + "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.5 + to-fast-properties: ^2.0.0 + checksum: c13a9c1dc7d2d1a241a2f8363540cb9af1d66e978e8984b400a20c4f38ba38ca29f06e26a0f2d49a70bad9e57615dac09c35accfddf1bb90d23cd3e0a0bab892 + languageName: node + linkType: hard + "@base2/pretty-print-object@npm:1.0.1": version: 1.0.1 resolution: "@base2/pretty-print-object@npm:1.0.1" @@ -2847,9 +3503,9 @@ __metadata: version: 0.0.0-use.local resolution: "@channel.io/bezier-icons@workspace:packages/bezier-icons" dependencies: - "@babel/preset-env": ^7.21.5 - "@babel/preset-react": ^7.18.6 - "@babel/preset-typescript": ^7.21.5 + "@babel/preset-env": ^7.22.5 + "@babel/preset-react": ^7.22.5 + "@babel/preset-typescript": ^7.22.5 "@rollup/plugin-alias": ^5.0.0 "@rollup/plugin-babel": ^6.0.3 "@rollup/plugin-terser": ^0.4.3 @@ -2871,13 +3527,13 @@ __metadata: version: 0.0.0-use.local resolution: "@channel.io/bezier-react@workspace:packages/bezier-react" dependencies: - "@babel/core": ^7.20.2 - "@babel/plugin-proposal-class-properties": ^7.13.0 - "@babel/plugin-transform-runtime": ^7.12.15 - "@babel/preset-env": ^7.14.2 - "@babel/preset-react": ^7.12.10 - "@babel/preset-typescript": ^7.12.7 - "@babel/runtime": ^7.12.13 + "@babel/core": ^7.22.5 + "@babel/plugin-proposal-class-properties": ^7.18.6 + "@babel/plugin-transform-runtime": ^7.22.5 + "@babel/preset-env": ^7.22.5 + "@babel/preset-react": ^7.22.5 + "@babel/preset-typescript": ^7.22.5 + "@babel/runtime": ^7.22.5 "@channel.io/bezier-icons": ^0.2.0 "@channel.io/react-docgen-typescript-plugin": ^1.0.0 "@mdx-js/react": ^1.6.22 @@ -9497,16 +10153,16 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-corejs2@npm:^0.3.3": - version: 0.3.3 - resolution: "babel-plugin-polyfill-corejs2@npm:0.3.3" +"babel-plugin-polyfill-corejs2@npm:^0.4.3": + version: 0.4.3 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.3" dependencies: "@babel/compat-data": ^7.17.7 - "@babel/helper-define-polyfill-provider": ^0.3.3 + "@babel/helper-define-polyfill-provider": ^0.4.0 semver: ^6.1.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 7db3044993f3dddb3cc3d407bc82e640964a3bfe22de05d90e1f8f7a5cb71460011ab136d3c03c6c1ba428359ebf635688cd6205e28d0469bba221985f5c6179 + checksum: 09ba40b9f8ac66a733628b2f12722bb764bdcc4f9600b93d60f1994418a8f84bc4b1ed9ab07c9d288debbf6210413fdff0721a3a43bd89c7f77adf76b0310adc languageName: node linkType: hard @@ -9534,15 +10190,15 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-corejs3@npm:^0.6.0": - version: 0.6.0 - resolution: "babel-plugin-polyfill-corejs3@npm:0.6.0" +"babel-plugin-polyfill-corejs3@npm:^0.8.1": + version: 0.8.1 + resolution: "babel-plugin-polyfill-corejs3@npm:0.8.1" dependencies: - "@babel/helper-define-polyfill-provider": ^0.3.3 - core-js-compat: ^3.25.1 + "@babel/helper-define-polyfill-provider": ^0.4.0 + core-js-compat: ^3.30.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 470bb8c59f7c0912bd77fe1b5a2e72f349b3f65bbdee1d60d6eb7e1f4a085c6f24b2dd5ab4ac6c2df6444a96b070ef6790eccc9edb6a2668c60d33133bfb62c6 + checksum: c23a581973c141a4687126cf964981180ef27e3eb0b34b911161db4f5caf9ba7ff60bee0ebe46d650ba09e03a6a3ac2cd6a6ae5f4f5363a148470e5cd8447df2 languageName: node linkType: hard @@ -9557,14 +10213,14 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-regenerator@npm:^0.4.1": - version: 0.4.1 - resolution: "babel-plugin-polyfill-regenerator@npm:0.4.1" +"babel-plugin-polyfill-regenerator@npm:^0.5.0": + version: 0.5.0 + resolution: "babel-plugin-polyfill-regenerator@npm:0.5.0" dependencies: - "@babel/helper-define-polyfill-provider": ^0.3.3 + "@babel/helper-define-polyfill-provider": ^0.4.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: ab0355efbad17d29492503230387679dfb780b63b25408990d2e4cf421012dae61d6199ddc309f4d2409ce4e9d3002d187702700dd8f4f8770ebbba651ed066c + checksum: ef2bcffc7c9a5e4426fc2dbf89bf3a46999a8415c21cd741c3ab3cb4b5ab804aaa3d71ef733f0eda1bcc0b91d9d80f98d33983a66dab9b8bed166ec38f8f8ad1 languageName: node linkType: hard @@ -11289,12 +11945,12 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.25.1": - version: 3.30.2 - resolution: "core-js-compat@npm:3.30.2" +"core-js-compat@npm:^3.30.1, core-js-compat@npm:^3.30.2": + version: 3.31.0 + resolution: "core-js-compat@npm:3.31.0" dependencies: browserslist: ^4.21.5 - checksum: 4c81d635559eebc2f81db60f5095a235f580a2f90698113c4124c72761393592b139e30974cce6095a9a6aad6bb3cd467b24b20c32e77ed24ca74eb5944d0638 + checksum: 5c76ac5e4ab39480391f93a5aef14a2cfa188cda7bd6a7b8532de1f8bc5d89099a5025b2640d2ef70a2928614792363dcbcf8bd254aa7b2e11b85aeed7ac460f languageName: node linkType: hard From edfb3ddc990abb60e1766f66b037dfa8697f7dad Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 14:12:20 +0900 Subject: [PATCH 11/32] chore(tsconfig): change declarationDir from build to dist --- packages/bezier-react/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bezier-react/tsconfig.json b/packages/bezier-react/tsconfig.json index ea4c695019..640a928754 100644 --- a/packages/bezier-react/tsconfig.json +++ b/packages/bezier-react/tsconfig.json @@ -4,7 +4,7 @@ "rootDir": ".", "declaration": true, "declarationMap": true, - "declarationDir": "build", + "declarationDir": "dist", "noEmit": true, "module": "esnext", "target": "es6", From 264f23efd6f93ea81fc5e2591347454003037383 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 14:48:29 +0900 Subject: [PATCH 12/32] chore(gitignore): add rollup cache --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 6e0aee4e00..da54cff7da 100644 --- a/.gitignore +++ b/.gitignore @@ -212,3 +212,6 @@ stats.html # Stylelint cache .stylelintcache + +# Rollup cache +.rollup.cache From accd45a4664abb571eacf4ae5540b4c524db0b93 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 15:15:47 +0900 Subject: [PATCH 13/32] build(rollup): change to using the rollup plugin typescript to generate type declaration files --- packages/bezier-react/package.json | 9 +- packages/bezier-react/rollup.config.mjs | 59 ++++---- packages/bezier-react/tsconfig.json | 1 + yarn.lock | 179 +++++++++--------------- 4 files changed, 98 insertions(+), 150 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index d0ff619825..044a598e37 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -57,9 +57,11 @@ "@babel/preset-typescript": "^7.22.5", "@channel.io/react-docgen-typescript-plugin": "^1.0.0", "@mdx-js/react": "^1.6.22", + "@rollup/plugin-alias": "^5.0.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.1", "@rollup/plugin-node-resolve": "^15.1.0", + "@rollup/plugin-typescript": "^11.1.1", "@rollup/plugin-url": "^8.0.1", "@storybook/addon-a11y": "^6.5.0", "@storybook/addon-actions": "^6.5.13", @@ -98,15 +100,12 @@ "regenerator-runtime": "^0.13.11", "rollup": "^3.25.1", "rollup-plugin-peer-deps-external": "^2.2.4", - "rollup-plugin-typescript2": "^0.31.1", "rollup-plugin-visualizer": "^5.9.2", "styled-components": "^5.3.5", "ts-prune": "^0.10.3", + "tsc-alias": "^1.8.6", "tsconfig": "workspace:*", - "tsconfig-paths-webpack-plugin": "^3.5.2", - "tslib": "^2.3.1", - "ttypescript": "^1.5.13", - "typescript-transform-paths": "^3.3.1" + "tsconfig-paths-webpack-plugin": "^3.5.2" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", diff --git a/packages/bezier-react/rollup.config.mjs b/packages/bezier-react/rollup.config.mjs index c73a70573d..f919a6c4d5 100644 --- a/packages/bezier-react/rollup.config.mjs +++ b/packages/bezier-react/rollup.config.mjs @@ -1,48 +1,46 @@ +import { exec } from 'child_process' + import { DEFAULT_EXTENSIONS } from '@babel/core' import babel from '@rollup/plugin-babel' import commonjs from '@rollup/plugin-commonjs' import { nodeResolve } from '@rollup/plugin-node-resolve' +import typescript from '@rollup/plugin-typescript' import url from '@rollup/plugin-url' import peerDepsExternal from 'rollup-plugin-peer-deps-external' -import typescript from 'rollup-plugin-typescript2' import { visualizer } from 'rollup-plugin-visualizer' -import packageJson from './package.json' +const extensions = [...DEFAULT_EXTENSIONS, '.ts', '.tsx'] -const extensions = DEFAULT_EXTENSIONS.concat(['.ts', '.tsx']) +/** + * @type {import('rollup').PluginImpl} + */ +function tscAlias() { + return { + name: 'tscAlias', + writeBundle: () => new Promise((resolve, reject) => { + exec('tsc-alias', function callback(error, stdout, stderr) { + if (stderr || error) { + reject(stderr || error) + } else { + resolve(stdout) + } + }) + }), + } +} -// Order Matters, must after rollup-plugin-node-resolve -// See Also: https://www.npmjs.com/package/rollup-plugin-typescript2 -const typescriptPlugin = typescript({ - typescript: require('ttypescript'), - tsconfig: './tsconfig.json', - useTsconfigDeclarationDir: true, - tsconfigDefaults: { - emitDeclarationOnly: true, - compilerOptions: { - plugins: [ - { transform: 'typescript-transform-paths' }, - { transform: 'typescript-transform-paths', afterDeclarations: true }, - ], - }, - }, - tsconfigOverride: { - noEmit: false, +const commonPlugins = [ + commonjs(), + typescript({ + tsconfig: './tsconfig.json', exclude: [ - '**/__mocks__/*', '**/*.stories.tsx', '**/*.test.ts', '**/*.test.tsx', './src/utils/storyUtils.ts', './src/utils/testUtils.tsx', - 'node_modules', - 'dist', ], - }, -}) - -const commonPlugins = [ - commonjs(), + }), babel({ babelHelpers: 'runtime', skipPreflightCheck: true, @@ -51,6 +49,7 @@ const commonPlugins = [ }), peerDepsExternal(), url(), + tscAlias(), visualizer({ filename: 'stats.html', }), @@ -76,7 +75,7 @@ export default [ // CommonJS configGenerator({ output: { - file: packageJson.main, + file: 'dist/index.cjs.js', format: 'cjs', }, plugins: [ @@ -84,7 +83,6 @@ export default [ mainFields: ['main', 'module'], extensions, }), - typescriptPlugin, ], }), // ESModules @@ -99,7 +97,6 @@ export default [ nodeResolve({ extensions, }), - typescriptPlugin, ], }), ] diff --git a/packages/bezier-react/tsconfig.json b/packages/bezier-react/tsconfig.json index 640a928754..74fb4ec812 100644 --- a/packages/bezier-react/tsconfig.json +++ b/packages/bezier-react/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "composite": true, "rootDir": ".", + "outDir": "dist", "declaration": true, "declarationMap": true, "declarationDir": "dist", diff --git a/yarn.lock b/yarn.lock index bee1624abe..6f0b4606ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3547,9 +3547,11 @@ __metadata: "@radix-ui/react-tabs": ^1.0.1 "@radix-ui/react-toolbar": ^1.0.1 "@radix-ui/react-visually-hidden": ^1.0.2 + "@rollup/plugin-alias": ^5.0.0 "@rollup/plugin-babel": ^6.0.3 "@rollup/plugin-commonjs": ^25.0.1 "@rollup/plugin-node-resolve": ^15.1.0 + "@rollup/plugin-typescript": ^11.1.1 "@rollup/plugin-url": ^8.0.1 "@storybook/addon-a11y": ^6.5.0 "@storybook/addon-actions": ^6.5.13 @@ -3591,16 +3593,13 @@ __metadata: regenerator-runtime: ^0.13.11 rollup: ^3.25.1 rollup-plugin-peer-deps-external: ^2.2.4 - rollup-plugin-typescript2: ^0.31.1 rollup-plugin-visualizer: ^5.9.2 ssr-window: ^3.0.0 styled-components: ^5.3.5 ts-prune: ^0.10.3 + tsc-alias: ^1.8.6 tsconfig: "workspace:*" tsconfig-paths-webpack-plugin: ^3.5.2 - tslib: ^2.3.1 - ttypescript: ^1.5.13 - typescript-transform-paths: ^3.3.1 uuid: ^9.0.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -5731,16 +5730,6 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^4.1.2": - version: 4.2.1 - resolution: "@rollup/pluginutils@npm:4.2.1" - dependencies: - estree-walker: ^2.0.1 - picomatch: ^2.2.2 - checksum: 6bc41f22b1a0f1efec3043899e4d3b6b1497b3dea4d94292d8f83b4cf07a1073ecbaedd562a22d11913ff7659f459677b01b09e9598a98936e746780ecc93a12 - languageName: node - linkType: hard - "@rollup/pluginutils@npm:^5.0.1, @rollup/pluginutils@npm:^5.0.2": version: 5.0.2 resolution: "@rollup/pluginutils@npm:5.0.2" @@ -9006,17 +8995,6 @@ __metadata: languageName: node linkType: hard -"@yarn-tool/resolve-package@npm:^1.0.40": - version: 1.0.47 - resolution: "@yarn-tool/resolve-package@npm:1.0.47" - dependencies: - pkg-dir: < 6 >= 5 - tslib: ^2 - upath2: ^3.1.13 - checksum: 86208b0881c9b262ee9545cc99deec7764f268d4b2fd82b4555d9ef3ec8cdc00a27c81e2c4fb01377052648353d40a515530caf319431637e1146bdd948947a6 - languageName: node - linkType: hard - "@yarnpkg/core@npm:^2.4.0": version: 2.4.0 resolution: "@yarnpkg/core@npm:2.4.0" @@ -11238,7 +11216,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.4.1, chokidar@npm:^3.4.2": +"chokidar@npm:^3.4.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -11689,6 +11667,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^9.0.0": + version: 9.5.0 + resolution: "commander@npm:9.5.0" + checksum: c7a3e27aa59e913b54a1bafd366b88650bc41d6651f0cbe258d4ff09d43d6a7394232a4dadd0bf518b3e696fdf595db1028a0d82c785b88bd61f8a440cecfade + languageName: node + linkType: hard + "commitizen@npm:^4.0.3": version: 4.2.4 resolution: "commitizen@npm:4.2.4" @@ -13955,7 +13940,7 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": +"estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc @@ -14726,7 +14711,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^10.0.0, fs-extra@npm:^10.1.0": +"fs-extra@npm:^10.1.0": version: 10.1.0 resolution: "fs-extra@npm:10.1.0" dependencies: @@ -19724,6 +19709,13 @@ __metadata: languageName: node linkType: hard +"mylas@npm:^2.1.9": + version: 2.1.13 + resolution: "mylas@npm:2.1.13" + checksum: f861d092137a9ac268cba88042392a5dc2a290eed5c8543954eae849d85e5961332211161d2c08c3644ad893f20dbe9de89b07f5dc027f1f92f13f2d38f4b81f + languageName: node + linkType: hard + "nan@npm:^2.12.1": version: 2.16.0 resolution: "nan@npm:2.16.0" @@ -20780,15 +20772,6 @@ __metadata: languageName: node linkType: hard -"path-is-network-drive@npm:^1.0.15": - version: 1.0.15 - resolution: "path-is-network-drive@npm:1.0.15" - dependencies: - tslib: ^2 - checksum: a2265d7609199e290a39909a5b9607ceab2b2e8de6c294160274beeddc3dd72c368e45aa41926fff72219d0f9310a222e3848b36bd4935c7d6a84bef1553f16a - languageName: node - linkType: hard - "path-key@npm:^2.0.0, path-key@npm:^2.0.1": version: 2.0.1 resolution: "path-key@npm:2.0.1" @@ -20810,15 +20793,6 @@ __metadata: languageName: node linkType: hard -"path-strip-sep@npm:^1.0.12": - version: 1.0.12 - resolution: "path-strip-sep@npm:1.0.12" - dependencies: - tslib: ^2 - checksum: 4ee1d8e1aa8df185ef85bb5e60b5a91962014ae285db9d9cafec78c45fb60851e3dd01a06c56d4d9f5aafb900b9798f5f99016ebba6ee058c8b3f7b1bf2f2426 - languageName: node - linkType: hard - "path-to-regexp@npm:0.1.7": version: 0.1.7 resolution: "path-to-regexp@npm:0.1.7" @@ -20891,7 +20865,7 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.0, picomatch@npm:^2.3.1": +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3, picomatch@npm:^2.3.0, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf @@ -20951,15 +20925,6 @@ __metadata: languageName: node linkType: hard -"pkg-dir@npm:< 6 >= 5, pkg-dir@npm:^5.0.0": - version: 5.0.0 - resolution: "pkg-dir@npm:5.0.0" - dependencies: - find-up: ^5.0.0 - checksum: b167bb8dac7bbf22b1d5e30ec223e6b064b84b63010c9d49384619a36734caf95ed23ad23d4f9bd975e8e8082b60a83395f43a89bb192df53a7c25a38ecb57d9 - languageName: node - linkType: hard - "pkg-dir@npm:^3.0.0": version: 3.0.0 resolution: "pkg-dir@npm:3.0.0" @@ -20978,6 +20943,15 @@ __metadata: languageName: node linkType: hard +"pkg-dir@npm:^5.0.0": + version: 5.0.0 + resolution: "pkg-dir@npm:5.0.0" + dependencies: + find-up: ^5.0.0 + checksum: b167bb8dac7bbf22b1d5e30ec223e6b064b84b63010c9d49384619a36734caf95ed23ad23d4f9bd975e8e8082b60a83395f43a89bb192df53a7c25a38ecb57d9 + languageName: node + linkType: hard + "pkg-up@npm:^3.1.0": version: 3.1.0 resolution: "pkg-up@npm:3.1.0" @@ -20987,6 +20961,15 @@ __metadata: languageName: node linkType: hard +"plimit-lit@npm:^1.2.6": + version: 1.5.0 + resolution: "plimit-lit@npm:1.5.0" + dependencies: + queue-lit: ^1.5.0 + checksum: a956e4e5e515a980403ca840b00c9e2381710a3a30e60e0e38f76b7842b24a345c9e59ef03568cb5925b4e9cdf67c088008148febec59e55bd47d1cb4003b024 + languageName: node + linkType: hard + "pluralize@npm:^7.0.0": version: 7.0.0 resolution: "pluralize@npm:7.0.0" @@ -21676,6 +21659,13 @@ __metadata: languageName: node linkType: hard +"queue-lit@npm:^1.5.0": + version: 1.5.0 + resolution: "queue-lit@npm:1.5.0" + checksum: 2e714b74072e1be9bd76356710af1d3b03763859f466a10ed74f36b5ccc524dbd0d299239adfc5cbd3a4a416c5fc69cf4af34f13ef4f95f6da70cad12cb79771 + languageName: node + linkType: hard + "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -22658,7 +22648,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:>=1.9.0, resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2": +"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2": version: 1.22.1 resolution: "resolve@npm:1.22.1" dependencies: @@ -22684,7 +22674,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@>=1.9.0#~builtin, resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.18.1#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin": +"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.18.1#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin": version: 1.22.1 resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" dependencies: @@ -22801,23 +22791,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-typescript2@npm:^0.31.1": - version: 0.31.2 - resolution: "rollup-plugin-typescript2@npm:0.31.2" - dependencies: - "@rollup/pluginutils": ^4.1.2 - "@yarn-tool/resolve-package": ^1.0.40 - find-cache-dir: ^3.3.2 - fs-extra: ^10.0.0 - resolve: ^1.20.0 - tslib: ^2.3.1 - peerDependencies: - rollup: ">=1.26.3" - typescript: ">=2.4.0" - checksum: ceebc686195f8140ee64b89cbd3a284bda50435081bea8f55f404ea293c02ec9787e9147e33f8e078b2c4772d9f198e66f900f54ca77ccda63db9ec2511db665 - languageName: node - linkType: hard - "rollup-plugin-visualizer@npm:^5.9.2": version: 5.9.2 resolution: "rollup-plugin-visualizer@npm:5.9.2" @@ -25046,6 +25019,22 @@ __metadata: languageName: node linkType: hard +"tsc-alias@npm:^1.8.6": + version: 1.8.6 + resolution: "tsc-alias@npm:1.8.6" + dependencies: + chokidar: ^3.5.3 + commander: ^9.0.0 + globby: ^11.0.4 + mylas: ^2.1.9 + normalize-path: ^3.0.0 + plimit-lit: ^1.2.6 + bin: + tsc-alias: dist/bin/index.js + checksum: e177c155e1501a1021cec8b201be582afabb3e2651b2e44883bf18efdce7f49fe0132497ab1df1d9f3bddd6e972db15d4de148b9514c6847e05f0ddd53896286 + languageName: node + linkType: hard + "tsconfig-paths-webpack-plugin@npm:^3.5.2": version: 3.5.2 resolution: "tsconfig-paths-webpack-plugin@npm:3.5.2" @@ -25089,7 +25078,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.1": +"tslib@npm:^2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0": version: 2.4.0 resolution: "tslib@npm:2.4.0" checksum: 8c4aa6a3c5a754bf76aefc38026134180c053b7bd2f81338cb5e5ebf96fefa0f417bff221592bf801077f5bf990562f6264fecbc42cd3309b33872cb6fc3b113 @@ -25131,21 +25120,6 @@ __metadata: languageName: node linkType: hard -"ttypescript@npm:^1.5.13": - version: 1.5.15 - resolution: "ttypescript@npm:1.5.15" - dependencies: - resolve: ">=1.9.0" - peerDependencies: - ts-node: ">=8.0.2" - typescript: ">=3.2.2" - bin: - ttsc: bin/tsc - ttsserver: bin/tsserver - checksum: 0328578050f08f9d12e6732a9fe71e93cc693ed5e825aefb7f4ba142d4d3d6912caa59a723f775de89cd066c8e609665fd5a7ccfa3b69fb3456c7f24d695db90 - languageName: node - linkType: hard - "tunnel@npm:^0.0.6": version: 0.0.6 resolution: "tunnel@npm:0.0.6" @@ -25349,17 +25323,6 @@ __metadata: languageName: node linkType: hard -"typescript-transform-paths@npm:^3.3.1": - version: 3.3.1 - resolution: "typescript-transform-paths@npm:3.3.1" - dependencies: - minimatch: ^3.0.4 - peerDependencies: - typescript: ">=3.6.5" - checksum: aa4d36c2767ae3c8801b03ecfc8cb2a1ca164f82b4abb34f14b20d5184fc62310d02ed34298d68934ba976e281cd7e6ba26ff7e89467e1dca2f561b3e88b306d - languageName: node - linkType: hard - "typescript@npm:^4.6.4 || ^5.0.0": version: 5.0.4 resolution: "typescript@npm:5.0.4" @@ -25676,18 +25639,6 @@ __metadata: languageName: node linkType: hard -"upath2@npm:^3.1.13": - version: 3.1.13 - resolution: "upath2@npm:3.1.13" - dependencies: - "@types/node": "*" - path-is-network-drive: ^1.0.15 - path-strip-sep: ^1.0.12 - tslib: ^2 - checksum: 5f204c07da0c59dbe682ce527b0664d98b718daf33948ff953a1f8df966c4a08c8b0cae121911a193e8a616c12592cc0f9951aa1471672ff31f2de5ab3fd8027 - languageName: node - linkType: hard - "upath@npm:^1.1.1, upath@npm:^1.2.0": version: 1.2.0 resolution: "upath@npm:1.2.0" From 8b00fcec256df36e3caf2c73e05cf58cb910b56c Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 15:29:27 +0900 Subject: [PATCH 14/32] fix(textarea): remove unnecessary bypass code due to rollup commonjs plugin update https://github.com/channel-io/bezier-react/pull/513 --- .../components/Forms/Inputs/TextArea/TextArea.styled.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/bezier-react/src/components/Forms/Inputs/TextArea/TextArea.styled.ts b/packages/bezier-react/src/components/Forms/Inputs/TextArea/TextArea.styled.ts index 4828010c6a..66327a3359 100644 --- a/packages/bezier-react/src/components/Forms/Inputs/TextArea/TextArea.styled.ts +++ b/packages/bezier-react/src/components/Forms/Inputs/TextArea/TextArea.styled.ts @@ -50,13 +50,7 @@ interface TextAreaAutoSizeBaseProps extends InterpolationProps { readOnly: boolean } -/** - * FIXME: https://github.com/rollup/plugins/issues/872 - * @rollup/plugin-commonjs 의 버그로 인해 default export 가 namespace 그 자체로 계산됨. - * commonjs 상황을 위해 '.default' 를 추가함. - */ -// @ts-ignore -const TextAreaAutoSizeBase = styled(TextareaAutosize.default ?? TextareaAutosize)` +const TextAreaAutoSizeBase = styled(TextareaAutosize)` box-sizing: border-box; width: 100%; padding: 8px 12px; From ee0899f67ac60947b97d08fd509d19476cebf37e Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 15:36:09 +0900 Subject: [PATCH 15/32] build(rollup): remove unnecessary nodeResolve options and unify rollup settings --- packages/bezier-react/rollup.config.mjs | 31 +++++++------------------ 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/packages/bezier-react/rollup.config.mjs b/packages/bezier-react/rollup.config.mjs index f919a6c4d5..1b9c9241c2 100644 --- a/packages/bezier-react/rollup.config.mjs +++ b/packages/bezier-react/rollup.config.mjs @@ -6,6 +6,7 @@ import commonjs from '@rollup/plugin-commonjs' import { nodeResolve } from '@rollup/plugin-node-resolve' import typescript from '@rollup/plugin-typescript' import url from '@rollup/plugin-url' +import { defineConfig } from 'rollup' import peerDepsExternal from 'rollup-plugin-peer-deps-external' import { visualizer } from 'rollup-plugin-visualizer' @@ -31,6 +32,7 @@ function tscAlias() { const commonPlugins = [ commonjs(), + nodeResolve({ extensions }), typescript({ tsconfig: './tsconfig.json', exclude: [ @@ -50,15 +52,13 @@ const commonPlugins = [ peerDepsExternal(), url(), tscAlias(), - visualizer({ - filename: 'stats.html', - }), + visualizer({ filename: 'stats.html' }), ] -const configGenerator = ({ +const generateConfig = ({ output: _output, plugins: _plugins, -}) => ({ +}) => defineConfig({ input: 'src/index.ts', output: { ..._output, @@ -71,32 +71,19 @@ const configGenerator = ({ external: [/@babel\/runtime/], }) -export default [ - // CommonJS - configGenerator({ +export default defineConfig([ + generateConfig({ output: { file: 'dist/index.cjs.js', format: 'cjs', }, - plugins: [ - nodeResolve({ - mainFields: ['main', 'module'], - extensions, - }), - ], }), - // ESModules - configGenerator({ + generateConfig({ output: { dir: 'dist', format: 'esm', preserveModules: true, preserveModulesRoot: '.', }, - plugins: [ - nodeResolve({ - extensions, - }), - ], }), -] +]) From 73755af5cdda70f18445ecec65a816a64ff88ed0 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 17:21:06 +0900 Subject: [PATCH 16/32] build(rollup): changes to rollup settings and TypeScript type generation process (WIP) --- packages/bezier-react/package.json | 22 +++-- packages/bezier-react/rollup.config.mjs | 105 ++++++++++-------------- packages/bezier-react/tsconfig.json | 8 +- 3 files changed, 63 insertions(+), 72 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 044a598e37..50d090f0e6 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -7,23 +7,32 @@ "url": "https://github.com/channel-io/bezier-react", "directory": "packages/bezier-react" }, - "main": "dist/index.cjs.js", - "module": "dist/src/index.js", - "types": "dist/src/index.d.ts", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.mjs", + "types": "dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "require": "./dist/index.js", + "import": "./dist/index.mjs" + } + }, "sideEffects": false, "files": [ "dist", "src" ], "scripts": { - "build": "rollup -c", + "build": "rm -rf dist && run-s build:types build:js", + "build:js": "rollup -c", + "build:types": "tsc --build", "dev": "yarn storybook", "lint": "run-p 'lint:*'", "lint:js": "TIMING=1 eslint --cache .", "lint:style": "stylelint --cache '**/*.styled.{js,ts}'", - "typecheck": "yarn find-deadcode && tsc --build --verbose", + "typecheck": "yarn find-deadcode && tsc --noEmit", "find-deadcode": "ts-prune -e -p ./tsconfig.prune.json", - "test": "jest --onlyChanged", + "test": "jest", "test:ci": "jest --ci --coverage", "test:watch": "jest --watch", "update-snapshot": "jest --updateSnapshot", @@ -91,6 +100,7 @@ "core-js": "^3.8.1", "eslint-config-bezier": "workspace:*", "eslint-plugin-storybook": "^0.6.0", + "glob": "^10.2.7", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "jest-styled-components": "^7.1.1", diff --git a/packages/bezier-react/rollup.config.mjs b/packages/bezier-react/rollup.config.mjs index 1b9c9241c2..6b0819b7b0 100644 --- a/packages/bezier-react/rollup.config.mjs +++ b/packages/bezier-react/rollup.config.mjs @@ -1,89 +1,72 @@ -import { exec } from 'child_process' +import { readFileSync } from 'fs' +import * as path from 'path' +import { fileURLToPath } from 'url' import { DEFAULT_EXTENSIONS } from '@babel/core' +import alias from '@rollup/plugin-alias' import babel from '@rollup/plugin-babel' import commonjs from '@rollup/plugin-commonjs' import { nodeResolve } from '@rollup/plugin-node-resolve' -import typescript from '@rollup/plugin-typescript' import url from '@rollup/plugin-url' import { defineConfig } from 'rollup' import peerDepsExternal from 'rollup-plugin-peer-deps-external' import { visualizer } from 'rollup-plugin-visualizer' -const extensions = [...DEFAULT_EXTENSIONS, '.ts', '.tsx'] +const pkg = JSON.parse( + readFileSync(fileURLToPath(new URL('./package.json', import.meta.url))), +) -/** - * @type {import('rollup').PluginImpl} - */ -function tscAlias() { - return { - name: 'tscAlias', - writeBundle: () => new Promise((resolve, reject) => { - exec('tsc-alias', function callback(error, stdout, stderr) { - if (stderr || error) { - reject(stderr || error) - } else { - resolve(stdout) - } - }) - }), - } -} +const rootDir = fileURLToPath(new URL('.', import.meta.url)) -const commonPlugins = [ - commonjs(), - nodeResolve({ extensions }), - typescript({ - tsconfig: './tsconfig.json', - exclude: [ - '**/*.stories.tsx', - '**/*.test.ts', - '**/*.test.tsx', - './src/utils/storyUtils.ts', - './src/utils/testUtils.tsx', - ], - }), - babel({ - babelHelpers: 'runtime', - skipPreflightCheck: true, - exclude: 'node_modules/**', - extensions, - }), - peerDepsExternal(), - url(), - tscAlias(), - visualizer({ filename: 'stats.html' }), -] +const extensions = [...DEFAULT_EXTENSIONS, '.ts', '.tsx'] const generateConfig = ({ - output: _output, - plugins: _plugins, + output = [], + plugins = [], }) => defineConfig({ input: 'src/index.ts', - output: { - ..._output, - sourcemap: true, - }, + output, + external: [/@babel\/runtime/], plugins: [ - ..._plugins, - ...commonPlugins, + alias({ + entries: [{ + find: '~', + replacement: rootDir, + }], + }), + peerDepsExternal(), + nodeResolve({ extensions }), + commonjs(), + babel({ + babelHelpers: 'runtime', + skipPreflightCheck: true, + exclude: 'node_modules/**', + extensions, + }), + url(), + visualizer({ filename: 'stats.html' }), + ...plugins, ], - external: [/@babel\/runtime/], }) export default defineConfig([ generateConfig({ - output: { - file: 'dist/index.cjs.js', + output: [{ format: 'cjs', + dir: path.dirname(pkg.main), + sourcemap: true, + preserveModules: true, + preserveModulesRoot: 'src', + entryFileNames: '[name].js', + exports: 'named', }, - }), - generateConfig({ - output: { - dir: 'dist', + { format: 'esm', + dir: path.dirname(pkg.module), + sourcemap: true, preserveModules: true, - preserveModulesRoot: '.', - }, + preserveModulesRoot: 'src', + entryFileNames: '[name].mjs', + }], }), ]) diff --git a/packages/bezier-react/tsconfig.json b/packages/bezier-react/tsconfig.json index 74fb4ec812..03f3fccf97 100644 --- a/packages/bezier-react/tsconfig.json +++ b/packages/bezier-react/tsconfig.json @@ -1,16 +1,14 @@ { "compilerOptions": { "composite": true, - "rootDir": ".", - "outDir": "dist", + "rootDir": "./", + "declarationDir": "dist/types", + "emitDeclarationOnly": true, "declaration": true, "declarationMap": true, - "declarationDir": "dist", - "noEmit": true, "module": "esnext", "target": "es6", "lib": ["dom", "ESNext"], - "sourceMap": true, "jsx": "react", "moduleResolution": "node", "allowSyntheticDefaultImports": true, From 0a0ba7b53f0649e786a9c57577bbebc25661ec34 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Thu, 15 Jun 2023 20:55:48 +0900 Subject: [PATCH 17/32] build(tsc): enhance build command and type declaration build setting --- packages/bezier-react/package.json | 17 +- packages/bezier-react/tsconfig.build.json | 21 +++ packages/bezier-react/tsconfig.json | 13 +- yarn.lock | 201 ++++++++++++++++++++-- 4 files changed, 215 insertions(+), 37 deletions(-) create mode 100644 packages/bezier-react/tsconfig.build.json diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 50d090f0e6..c5d7e062a9 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -12,25 +12,26 @@ "types": "dist/types/index.d.ts", "exports": { ".": { - "types": "./dist/index.d.ts", - "require": "./dist/index.js", - "import": "./dist/index.mjs" + "types": "./dist/types/index.d.ts", + "require": "./dist/cjs/index.js", + "import": "./dist/esm/index.mjs" } }, "sideEffects": false, "files": [ "dist", + "!dist/*.tsbuildinfo", "src" ], "scripts": { - "build": "rm -rf dist && run-s build:types build:js", + "build": "run-p 'build:*'", "build:js": "rollup -c", - "build:types": "tsc --build", + "build:types": "tsc --build --verbose ./tsconfig.build.json", "dev": "yarn storybook", "lint": "run-p 'lint:*'", "lint:js": "TIMING=1 eslint --cache .", "lint:style": "stylelint --cache '**/*.styled.{js,ts}'", - "typecheck": "yarn find-deadcode && tsc --noEmit", + "typecheck": "yarn find-deadcode && tsc --build --verbose", "find-deadcode": "ts-prune -e -p ./tsconfig.prune.json", "test": "jest", "test:ci": "jest --ci --coverage", @@ -112,10 +113,12 @@ "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-visualizer": "^5.9.2", "styled-components": "^5.3.5", + "ts-patch": "^3.0.0", "ts-prune": "^0.10.3", "tsc-alias": "^1.8.6", "tsconfig": "workspace:*", - "tsconfig-paths-webpack-plugin": "^3.5.2" + "tsconfig-paths-webpack-plugin": "^3.5.2", + "typescript-transform-paths": "^3.4.6" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", diff --git a/packages/bezier-react/tsconfig.build.json b/packages/bezier-react/tsconfig.build.json new file mode 100644 index 0000000000..7d4f311275 --- /dev/null +++ b/packages/bezier-react/tsconfig.build.json @@ -0,0 +1,21 @@ +{ + "extends": "./tsconfig.json", + "exclude": [ + "**/*.stories.tsx", + "**/*.test.ts", + "**/*.test.tsx", + "./src/utils/testUtils.tsx", + "./src/utils/storyUtils.ts", + ], + "compilerOptions": { + "outDir": "dist/types", + "noEmit": false, + "emitDeclarationOnly": true, + "declaration": true, + "declarationMap": true, + "plugins": [ + { "transform": "typescript-transform-paths" }, + { "transform": "typescript-transform-paths", "afterDeclarations": true }, + ], + }, +} diff --git a/packages/bezier-react/tsconfig.json b/packages/bezier-react/tsconfig.json index 03f3fccf97..61ffbb536d 100644 --- a/packages/bezier-react/tsconfig.json +++ b/packages/bezier-react/tsconfig.json @@ -1,11 +1,8 @@ { "compilerOptions": { "composite": true, - "rootDir": "./", - "declarationDir": "dist/types", - "emitDeclarationOnly": true, - "declaration": true, - "declarationMap": true, + "rootDir": "./src", + "noEmit": true, "module": "esnext", "target": "es6", "lib": ["dom", "ESNext"], @@ -28,10 +25,4 @@ "include": [ "src/**/*" ], - "exclude": [ - "node_modules", - "dist", - "coverage", - "__mocks__", - ] } diff --git a/yarn.lock b/yarn.lock index 6f0b4606ab..7ae5b56124 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3582,6 +3582,7 @@ __metadata: core-js: ^3.8.1 eslint-config-bezier: "workspace:*" eslint-plugin-storybook: ^0.6.0 + glob: ^10.2.7 identity-obj-proxy: ^3.0.0 jest: ^26.6.3 jest-styled-components: ^7.1.1 @@ -3596,10 +3597,12 @@ __metadata: rollup-plugin-visualizer: ^5.9.2 ssr-window: ^3.0.0 styled-components: ^5.3.5 + ts-patch: ^3.0.0 ts-prune: ^0.10.3 tsc-alias: ^1.8.6 tsconfig: "workspace:*" tsconfig-paths-webpack-plugin: ^3.5.2 + typescript-transform-paths: ^3.4.6 uuid: ^9.0.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -4075,6 +4078,20 @@ __metadata: languageName: node linkType: hard +"@isaacs/cliui@npm:^8.0.2": + version: 8.0.2 + resolution: "@isaacs/cliui@npm:8.0.2" + dependencies: + string-width: ^5.1.2 + string-width-cjs: "npm:string-width@^4.2.0" + strip-ansi: ^7.0.1 + strip-ansi-cjs: "npm:strip-ansi@^6.0.1" + wrap-ansi: ^8.1.0 + wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" + checksum: 4a473b9b32a7d4d3cfb7a614226e555091ff0c5a29a1734c28c72a182c2f6699b26fc6b5c2131dfd841e86b185aea714c72201d7c98c2fba5f17709333a67aeb + languageName: node + linkType: hard + "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -5084,6 +5101,13 @@ __metadata: languageName: node linkType: hard +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f + languageName: node + linkType: hard + "@pmmmwh/react-refresh-webpack-plugin@npm:^0.5.3": version: 0.5.7 resolution: "@pmmmwh/react-refresh-webpack-plugin@npm:0.5.7" @@ -14589,6 +14613,16 @@ __metadata: languageName: node linkType: hard +"foreground-child@npm:^3.1.0": + version: 3.1.1 + resolution: "foreground-child@npm:3.1.1" + dependencies: + cross-spawn: ^7.0.0 + signal-exit: ^4.0.1 + checksum: 139d270bc82dc9e6f8bc045fe2aae4001dc2472157044fdfad376d0a3457f77857fa883c1c8b21b491c6caade9a926a4bed3d3d2e8d3c9202b151a4cbbd0bcd5 + languageName: node + linkType: hard + "fork-ts-checker-webpack-plugin@npm:^4.1.6": version: 4.1.6 resolution: "fork-ts-checker-webpack-plugin@npm:4.1.6" @@ -15091,6 +15125,21 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.2.7": + version: 10.2.7 + resolution: "glob@npm:10.2.7" + dependencies: + foreground-child: ^3.1.0 + jackspeak: ^2.0.3 + minimatch: ^9.0.1 + minipass: ^5.0.0 || ^6.0.2 + path-scurry: ^1.7.0 + bin: + glob: dist/cjs/src/bin.js + checksum: 555205a74607d6f8d9874ba888924b305b5ea1abfaa2e9ccb11ac713d040aac7edbf7d8702a2f4a1cd81b2d7666412170ce7ef061d33cddde189dae8c1a1a054 + languageName: node + linkType: hard + "glob@npm:^7.0.0, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -16387,7 +16436,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.8.1": +"is-core-module@npm:^2.12.0, is-core-module@npm:^2.8.1": version: 2.12.1 resolution: "is-core-module@npm:2.12.1" dependencies: @@ -17067,6 +17116,19 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^2.0.3": + version: 2.2.1 + resolution: "jackspeak@npm:2.2.1" + dependencies: + "@isaacs/cliui": ^8.0.2 + "@pkgjs/parseargs": ^0.11.0 + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: e29291c0d0f280a063fa18fbd1e891ab8c2d7519fd34052c0ebde38538a15c603140d60c2c7f432375ff7ee4c5f1c10daa8b2ae19a97c3d4affe308c8360c1df + languageName: node + linkType: hard + "jest-changed-files@npm:^26.6.2": version: 26.6.2 resolution: "jest-changed-files@npm:26.6.2" @@ -18853,6 +18915,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^9.1.1": + version: 9.1.2 + resolution: "lru-cache@npm:9.1.2" + checksum: d3415634be3908909081fc4c56371a8d562d9081eba70543d86871b978702fffd0e9e362b83921b27a29ae2b37b90f55675aad770a54ac83bb3e4de5049d4b15 + languageName: node + linkType: hard + "lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" @@ -19501,6 +19570,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.1": + version: 9.0.1 + resolution: "minimatch@npm:9.0.1" + dependencies: + brace-expansion: ^2.0.1 + checksum: 97f5f5284bb57dc65b9415dec7f17a0f6531a33572193991c60ff18450dcfad5c2dad24ffeaf60b5261dccd63aae58cc3306e2209d57e7f88c51295a532d8ec3 + languageName: node + linkType: hard + "minimist-options@npm:4.1.0, minimist-options@npm:^4.0.2": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -19526,6 +19604,13 @@ __metadata: languageName: node linkType: hard +"minimist@npm:^1.2.8": + version: 1.2.8 + resolution: "minimist@npm:1.2.8" + checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 + languageName: node + linkType: hard + "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2" @@ -19586,6 +19671,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^5.0.0 || ^6.0.2": + version: 6.0.2 + resolution: "minipass@npm:6.0.2" + checksum: d140b91f4ab2e5ce5a9b6c468c0e82223504acc89114c1a120d4495188b81fedf8cade72a9f4793642b4e66672f990f1e0d902dd858485216a07cd3c8a62fac9 + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -20793,6 +20885,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.7.0": + version: 1.9.2 + resolution: "path-scurry@npm:1.9.2" + dependencies: + lru-cache: ^9.1.1 + minipass: ^5.0.0 || ^6.0.2 + checksum: 92888dfb68e285043c6d3291c8e971d5d2bc2f5082f4d7b5392896f34be47024c9d0a8b688dd7ae6d125acc424699195474927cb4f00049a9b1ec7c4256fa8e0 + languageName: node + linkType: hard + "path-to-regexp@npm:0.1.7": version: 0.1.7 resolution: "path-to-regexp@npm:0.1.7" @@ -22661,6 +22763,19 @@ __metadata: languageName: node linkType: hard +"resolve@npm:^1.22.2": + version: 1.22.3 + resolution: "resolve@npm:1.22.3" + dependencies: + is-core-module: ^2.12.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: fb834b81348428cb545ff1b828a72ea28feb5a97c026a1cf40aa1008352c72811ff4d4e71f2035273dc536dcfcae20c13604ba6283c612d70fa0b6e44519c374 + languageName: node + linkType: hard + "resolve@npm:^2.0.0-next.4": version: 2.0.0-next.4 resolution: "resolve@npm:2.0.0-next.4" @@ -22687,6 +22802,19 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@^1.22.2#~builtin": + version: 1.22.3 + resolution: "resolve@patch:resolve@npm%3A1.22.3#~builtin::version=1.22.3&hash=c3c19d" + dependencies: + is-core-module: ^2.12.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: ad59734723b596d0891321c951592ed9015a77ce84907f89c9d9307dd0c06e11a67906a3e628c4cae143d3e44898603478af0ddeb2bba3f229a9373efe342665 + languageName: node + linkType: hard + "resolve@patch:resolve@^2.0.0-next.4#~builtin": version: 2.0.0-next.4 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#~builtin::version=2.0.0-next.4&hash=c3c19d" @@ -23317,6 +23445,13 @@ __metadata: languageName: node linkType: hard +"signal-exit@npm:^4.0.1": + version: 4.0.2 + resolution: "signal-exit@npm:4.0.2" + checksum: 41f5928431cc6e91087bf0343db786a6313dd7c6fd7e551dbc141c95bb5fb26663444fd9df8ea47c5d7fc202f60aa7468c3162a9365cbb0615fc5e1b1328fe31 + languageName: node + linkType: hard + "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5" @@ -23870,7 +24005,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -23980,6 +24115,15 @@ __metadata: languageName: node linkType: hard +"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": + version: 6.0.1 + resolution: "strip-ansi@npm:6.0.1" + dependencies: + ansi-regex: ^5.0.1 + checksum: f3cd25890aef3ba6e1a74e20896c21a46f482e93df4a06567cebf2b57edabb15133f1f94e57434e0a958d61186087b1008e89c94875d019910a213181a14fc8c + languageName: node + linkType: hard + "strip-ansi@npm:^3.0.1": version: 3.0.1 resolution: "strip-ansi@npm:3.0.1" @@ -24007,15 +24151,6 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": - version: 6.0.1 - resolution: "strip-ansi@npm:6.0.1" - dependencies: - ansi-regex: ^5.0.1 - checksum: f3cd25890aef3ba6e1a74e20896c21a46f482e93df4a06567cebf2b57edabb15133f1f94e57434e0a958d61186087b1008e89c94875d019910a213181a14fc8c - languageName: node - linkType: hard - "strip-ansi@npm:^7.0.1": version: 7.0.1 resolution: "strip-ansi@npm:7.0.1" @@ -24993,6 +25128,23 @@ __metadata: languageName: node linkType: hard +"ts-patch@npm:^3.0.0": + version: 3.0.0 + resolution: "ts-patch@npm:3.0.0" + dependencies: + chalk: ^4.1.2 + global-prefix: ^3.0.0 + minimist: ^1.2.8 + resolve: ^1.22.2 + semver: ^7.3.8 + strip-ansi: ^6.0.1 + bin: + ts-patch: bin/ts-patch.js + tspc: bin/tspc.js + checksum: a18546218119e04ba52c98d5da3aea96d26cdbf4fcab7048d2eb0be9e936e3d47cd550dae8aa88eed4be8abfa5ee632de47f8b0d9f32cd1e19beaf8a96cba62c + languageName: node + linkType: hard + "ts-pnp@npm:^1.1.6": version: 1.2.0 resolution: "ts-pnp@npm:1.2.0" @@ -25323,6 +25475,17 @@ __metadata: languageName: node linkType: hard +"typescript-transform-paths@npm:^3.4.6": + version: 3.4.6 + resolution: "typescript-transform-paths@npm:3.4.6" + dependencies: + minimatch: ^3.0.4 + peerDependencies: + typescript: ">=3.6.5" + checksum: 963d57f17b1be6717d8fbccf7740674b7c2919c39f1796886a4a425265b8679093b6dfc6662a64a3260ce57b6718563420deb290ab65df681641039ba6d89ab3 + languageName: node + linkType: hard + "typescript@npm:^4.6.4 || ^5.0.0": version: 5.0.4 resolution: "typescript@npm:5.0.4" @@ -26513,25 +26676,25 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^6.2.0": - version: 6.2.0 - resolution: "wrap-ansi@npm:6.2.0" +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0": + version: 7.0.0 + resolution: "wrap-ansi@npm:7.0.0" dependencies: ansi-styles: ^4.0.0 string-width: ^4.1.0 strip-ansi: ^6.0.0 - checksum: 6cd96a410161ff617b63581a08376f0cb9162375adeb7956e10c8cd397821f7eb2a6de24eb22a0b28401300bf228c86e50617cd568209b5f6775b93c97d2fe3a + checksum: a790b846fd4505de962ba728a21aaeda189b8ee1c7568ca5e817d85930e06ef8d1689d49dbf0e881e8ef84436af3a88bc49115c2e2788d841ff1b8b5b51a608b languageName: node linkType: hard -"wrap-ansi@npm:^7.0.0": - version: 7.0.0 - resolution: "wrap-ansi@npm:7.0.0" +"wrap-ansi@npm:^6.2.0": + version: 6.2.0 + resolution: "wrap-ansi@npm:6.2.0" dependencies: ansi-styles: ^4.0.0 string-width: ^4.1.0 strip-ansi: ^6.0.0 - checksum: a790b846fd4505de962ba728a21aaeda189b8ee1c7568ca5e817d85930e06ef8d1689d49dbf0e881e8ef84436af3a88bc49115c2e2788d841ff1b8b5b51a608b + checksum: 6cd96a410161ff617b63581a08376f0cb9162375adeb7956e10c8cd397821f7eb2a6de24eb22a0b28401300bf228c86e50617cd568209b5f6775b93c97d2fe3a languageName: node linkType: hard From f23a19f92778252bca02b7fed66658a31fa8ce8f Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Fri, 16 Jun 2023 02:53:05 +0900 Subject: [PATCH 18/32] build: remove unused package and add ttypescript to resolve alias path in d.ts --- packages/bezier-react/package.json | 6 +- packages/bezier-react/tsconfig.build.json | 3 + yarn.lock | 130 ++++++---------------- 3 files changed, 42 insertions(+), 97 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index c5d7e062a9..b1841c5387 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -26,7 +26,7 @@ "scripts": { "build": "run-p 'build:*'", "build:js": "rollup -c", - "build:types": "tsc --build --verbose ./tsconfig.build.json", + "build:types": "ttsc --build --verbose ./tsconfig.build.json", "dev": "yarn storybook", "lint": "run-p 'lint:*'", "lint:js": "TIMING=1 eslint --cache .", @@ -101,7 +101,6 @@ "core-js": "^3.8.1", "eslint-config-bezier": "workspace:*", "eslint-plugin-storybook": "^0.6.0", - "glob": "^10.2.7", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "jest-styled-components": "^7.1.1", @@ -113,11 +112,10 @@ "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-visualizer": "^5.9.2", "styled-components": "^5.3.5", - "ts-patch": "^3.0.0", "ts-prune": "^0.10.3", - "tsc-alias": "^1.8.6", "tsconfig": "workspace:*", "tsconfig-paths-webpack-plugin": "^3.5.2", + "ttypescript": "^1.5.15", "typescript-transform-paths": "^3.4.6" }, "peerDependencies": { diff --git a/packages/bezier-react/tsconfig.build.json b/packages/bezier-react/tsconfig.build.json index 7d4f311275..9130a543c6 100644 --- a/packages/bezier-react/tsconfig.build.json +++ b/packages/bezier-react/tsconfig.build.json @@ -13,6 +13,9 @@ "emitDeclarationOnly": true, "declaration": true, "declarationMap": true, + // typescript-transform-paths must be used with ttypescript. + // If you upgrade to typescript v5 or later, you will need to use a package other than ttypescript. + // See: https://github.com/cevek/ttypescript/issues/147 "plugins": [ { "transform": "typescript-transform-paths" }, { "transform": "typescript-transform-paths", "afterDeclarations": true }, diff --git a/yarn.lock b/yarn.lock index 7ae5b56124..e07eddf7f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3597,11 +3597,10 @@ __metadata: rollup-plugin-visualizer: ^5.9.2 ssr-window: ^3.0.0 styled-components: ^5.3.5 - ts-patch: ^3.0.0 ts-prune: ^0.10.3 - tsc-alias: ^1.8.6 tsconfig: "workspace:*" tsconfig-paths-webpack-plugin: ^3.5.2 + ttypescript: ^1.5.15 typescript-transform-paths: ^3.4.6 uuid: ^9.0.0 peerDependencies: @@ -11240,7 +11239,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.4.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.3": +"chokidar@npm:^3.4.1, chokidar@npm:^3.4.2": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -11691,13 +11690,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^9.0.0": - version: 9.5.0 - resolution: "commander@npm:9.5.0" - checksum: c7a3e27aa59e913b54a1bafd366b88650bc41d6651f0cbe258d4ff09d43d6a7394232a4dadd0bf518b3e696fdf595db1028a0d82c785b88bd61f8a440cecfade - languageName: node - linkType: hard - "commitizen@npm:^4.0.3": version: 4.2.4 resolution: "commitizen@npm:4.2.4" @@ -19604,13 +19596,6 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.8": - version: 1.2.8 - resolution: "minimist@npm:1.2.8" - checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 - languageName: node - linkType: hard - "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2" @@ -19801,13 +19786,6 @@ __metadata: languageName: node linkType: hard -"mylas@npm:^2.1.9": - version: 2.1.13 - resolution: "mylas@npm:2.1.13" - checksum: f861d092137a9ac268cba88042392a5dc2a290eed5c8543954eae849d85e5961332211161d2c08c3644ad893f20dbe9de89b07f5dc027f1f92f13f2d38f4b81f - languageName: node - linkType: hard - "nan@npm:^2.12.1": version: 2.16.0 resolution: "nan@npm:2.16.0" @@ -21063,15 +21041,6 @@ __metadata: languageName: node linkType: hard -"plimit-lit@npm:^1.2.6": - version: 1.5.0 - resolution: "plimit-lit@npm:1.5.0" - dependencies: - queue-lit: ^1.5.0 - checksum: a956e4e5e515a980403ca840b00c9e2381710a3a30e60e0e38f76b7842b24a345c9e59ef03568cb5925b4e9cdf67c088008148febec59e55bd47d1cb4003b024 - languageName: node - linkType: hard - "pluralize@npm:^7.0.0": version: 7.0.0 resolution: "pluralize@npm:7.0.0" @@ -21761,13 +21730,6 @@ __metadata: languageName: node linkType: hard -"queue-lit@npm:^1.5.0": - version: 1.5.0 - resolution: "queue-lit@npm:1.5.0" - checksum: 2e714b74072e1be9bd76356710af1d3b03763859f466a10ed74f36b5ccc524dbd0d299239adfc5cbd3a4a416c5fc69cf4af34f13ef4f95f6da70cad12cb79771 - languageName: node - linkType: hard - "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -22750,29 +22712,29 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2": - version: 1.22.1 - resolution: "resolve@npm:1.22.1" +"resolve@npm:>=1.9.0": + version: 1.22.3 + resolution: "resolve@npm:1.22.3" dependencies: - is-core-module: ^2.9.0 + is-core-module: ^2.12.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: 07af5fc1e81aa1d866cbc9e9460fbb67318a10fa3c4deadc35c3ad8a898ee9a71a86a65e4755ac3195e0ea0cfbe201eb323ebe655ce90526fd61917313a34e4e + checksum: fb834b81348428cb545ff1b828a72ea28feb5a97c026a1cf40aa1008352c72811ff4d4e71f2035273dc536dcfcae20c13604ba6283c612d70fa0b6e44519c374 languageName: node linkType: hard -"resolve@npm:^1.22.2": - version: 1.22.3 - resolution: "resolve@npm:1.22.3" +"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.12.0, resolve@npm:^1.14.2, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.3.2": + version: 1.22.1 + resolution: "resolve@npm:1.22.1" dependencies: - is-core-module: ^2.12.0 + is-core-module: ^2.9.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: fb834b81348428cb545ff1b828a72ea28feb5a97c026a1cf40aa1008352c72811ff4d4e71f2035273dc536dcfcae20c13604ba6283c612d70fa0b6e44519c374 + checksum: 07af5fc1e81aa1d866cbc9e9460fbb67318a10fa3c4deadc35c3ad8a898ee9a71a86a65e4755ac3195e0ea0cfbe201eb323ebe655ce90526fd61917313a34e4e languageName: node linkType: hard @@ -22789,29 +22751,29 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.18.1#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin": - version: 1.22.1 - resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" +"resolve@patch:resolve@>=1.9.0#~builtin": + version: 1.22.3 + resolution: "resolve@patch:resolve@npm%3A1.22.3#~builtin::version=1.22.3&hash=c3c19d" dependencies: - is-core-module: ^2.9.0 + is-core-module: ^2.12.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: 5656f4d0bedcf8eb52685c1abdf8fbe73a1603bb1160a24d716e27a57f6cecbe2432ff9c89c2bd57542c3a7b9d14b1882b73bfe2e9d7849c9a4c0b8b39f02b8b + checksum: ad59734723b596d0891321c951592ed9015a77ce84907f89c9d9307dd0c06e11a67906a3e628c4cae143d3e44898603478af0ddeb2bba3f229a9373efe342665 languageName: node linkType: hard -"resolve@patch:resolve@^1.22.2#~builtin": - version: 1.22.3 - resolution: "resolve@patch:resolve@npm%3A1.22.3#~builtin::version=1.22.3&hash=c3c19d" +"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.18.1#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.3.2#~builtin": + version: 1.22.1 + resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" dependencies: - is-core-module: ^2.12.0 + is-core-module: ^2.9.0 path-parse: ^1.0.7 supports-preserve-symlinks-flag: ^1.0.0 bin: resolve: bin/resolve - checksum: ad59734723b596d0891321c951592ed9015a77ce84907f89c9d9307dd0c06e11a67906a3e628c4cae143d3e44898603478af0ddeb2bba3f229a9373efe342665 + checksum: 5656f4d0bedcf8eb52685c1abdf8fbe73a1603bb1160a24d716e27a57f6cecbe2432ff9c89c2bd57542c3a7b9d14b1882b73bfe2e9d7849c9a4c0b8b39f02b8b languageName: node linkType: hard @@ -25128,23 +25090,6 @@ __metadata: languageName: node linkType: hard -"ts-patch@npm:^3.0.0": - version: 3.0.0 - resolution: "ts-patch@npm:3.0.0" - dependencies: - chalk: ^4.1.2 - global-prefix: ^3.0.0 - minimist: ^1.2.8 - resolve: ^1.22.2 - semver: ^7.3.8 - strip-ansi: ^6.0.1 - bin: - ts-patch: bin/ts-patch.js - tspc: bin/tspc.js - checksum: a18546218119e04ba52c98d5da3aea96d26cdbf4fcab7048d2eb0be9e936e3d47cd550dae8aa88eed4be8abfa5ee632de47f8b0d9f32cd1e19beaf8a96cba62c - languageName: node - linkType: hard - "ts-pnp@npm:^1.1.6": version: 1.2.0 resolution: "ts-pnp@npm:1.2.0" @@ -25171,22 +25116,6 @@ __metadata: languageName: node linkType: hard -"tsc-alias@npm:^1.8.6": - version: 1.8.6 - resolution: "tsc-alias@npm:1.8.6" - dependencies: - chokidar: ^3.5.3 - commander: ^9.0.0 - globby: ^11.0.4 - mylas: ^2.1.9 - normalize-path: ^3.0.0 - plimit-lit: ^1.2.6 - bin: - tsc-alias: dist/bin/index.js - checksum: e177c155e1501a1021cec8b201be582afabb3e2651b2e44883bf18efdce7f49fe0132497ab1df1d9f3bddd6e972db15d4de148b9514c6847e05f0ddd53896286 - languageName: node - linkType: hard - "tsconfig-paths-webpack-plugin@npm:^3.5.2": version: 3.5.2 resolution: "tsconfig-paths-webpack-plugin@npm:3.5.2" @@ -25272,6 +25201,21 @@ __metadata: languageName: node linkType: hard +"ttypescript@npm:^1.5.15": + version: 1.5.15 + resolution: "ttypescript@npm:1.5.15" + dependencies: + resolve: ">=1.9.0" + peerDependencies: + ts-node: ">=8.0.2" + typescript: ">=3.2.2" + bin: + ttsc: bin/tsc + ttsserver: bin/tsserver + checksum: 0328578050f08f9d12e6732a9fe71e93cc693ed5e825aefb7f4ba142d4d3d6912caa59a723f775de89cd066c8e609665fd5a7ccfa3b69fb3456c7f24d695db90 + languageName: node + linkType: hard + "tunnel@npm:^0.0.6": version: 0.0.6 resolution: "tunnel@npm:0.0.6" From b4eed25feeb1e9330941ac5d604757ad07b1030a Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Fri, 16 Jun 2023 03:33:07 +0900 Subject: [PATCH 19/32] chore(scripts): change dir of clean:build --- packages/bezier-react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index b1841c5387..1094787cf4 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -38,7 +38,7 @@ "test:watch": "jest --watch", "update-snapshot": "jest --updateSnapshot", "clean": "run-s 'clean:*'", - "clean:build": "rm -rf build", + "clean:build": "rm -rf dist", "clean:cache": "rm -rf node_modules .turbo .eslintcache .stylelintcache tsconfig.tsbuildinfo coverage", "prebuild": "yarn clean:build", "storybook": "start-storybook -p 4101", From ef7cb6e40e2be8321c1bb36e5c6f687be35745ec Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 11:54:45 +0900 Subject: [PATCH 20/32] chore(yarn): install --- yarn.lock | 136 ++++++++---------------------------------------------- 1 file changed, 18 insertions(+), 118 deletions(-) diff --git a/yarn.lock b/yarn.lock index e07eddf7f9..71a439b708 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3582,7 +3582,6 @@ __metadata: core-js: ^3.8.1 eslint-config-bezier: "workspace:*" eslint-plugin-storybook: ^0.6.0 - glob: ^10.2.7 identity-obj-proxy: ^3.0.0 jest: ^26.6.3 jest-styled-components: ^7.1.1 @@ -4077,20 +4076,6 @@ __metadata: languageName: node linkType: hard -"@isaacs/cliui@npm:^8.0.2": - version: 8.0.2 - resolution: "@isaacs/cliui@npm:8.0.2" - dependencies: - string-width: ^5.1.2 - string-width-cjs: "npm:string-width@^4.2.0" - strip-ansi: ^7.0.1 - strip-ansi-cjs: "npm:strip-ansi@^6.0.1" - wrap-ansi: ^8.1.0 - wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" - checksum: 4a473b9b32a7d4d3cfb7a614226e555091ff0c5a29a1734c28c72a182c2f6699b26fc6b5c2131dfd841e86b185aea714c72201d7c98c2fba5f17709333a67aeb - languageName: node - linkType: hard - "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -5100,13 +5085,6 @@ __metadata: languageName: node linkType: hard -"@pkgjs/parseargs@npm:^0.11.0": - version: 0.11.0 - resolution: "@pkgjs/parseargs@npm:0.11.0" - checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f - languageName: node - linkType: hard - "@pmmmwh/react-refresh-webpack-plugin@npm:^0.5.3": version: 0.5.7 resolution: "@pmmmwh/react-refresh-webpack-plugin@npm:0.5.7" @@ -14605,16 +14583,6 @@ __metadata: languageName: node linkType: hard -"foreground-child@npm:^3.1.0": - version: 3.1.1 - resolution: "foreground-child@npm:3.1.1" - dependencies: - cross-spawn: ^7.0.0 - signal-exit: ^4.0.1 - checksum: 139d270bc82dc9e6f8bc045fe2aae4001dc2472157044fdfad376d0a3457f77857fa883c1c8b21b491c6caade9a926a4bed3d3d2e8d3c9202b151a4cbbd0bcd5 - languageName: node - linkType: hard - "fork-ts-checker-webpack-plugin@npm:^4.1.6": version: 4.1.6 resolution: "fork-ts-checker-webpack-plugin@npm:4.1.6" @@ -15117,21 +15085,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.7": - version: 10.2.7 - resolution: "glob@npm:10.2.7" - dependencies: - foreground-child: ^3.1.0 - jackspeak: ^2.0.3 - minimatch: ^9.0.1 - minipass: ^5.0.0 || ^6.0.2 - path-scurry: ^1.7.0 - bin: - glob: dist/cjs/src/bin.js - checksum: 555205a74607d6f8d9874ba888924b305b5ea1abfaa2e9ccb11ac713d040aac7edbf7d8702a2f4a1cd81b2d7666412170ce7ef061d33cddde189dae8c1a1a054 - languageName: node - linkType: hard - "glob@npm:^7.0.0, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -17108,19 +17061,6 @@ __metadata: languageName: node linkType: hard -"jackspeak@npm:^2.0.3": - version: 2.2.1 - resolution: "jackspeak@npm:2.2.1" - dependencies: - "@isaacs/cliui": ^8.0.2 - "@pkgjs/parseargs": ^0.11.0 - dependenciesMeta: - "@pkgjs/parseargs": - optional: true - checksum: e29291c0d0f280a063fa18fbd1e891ab8c2d7519fd34052c0ebde38538a15c603140d60c2c7f432375ff7ee4c5f1c10daa8b2ae19a97c3d4affe308c8360c1df - languageName: node - linkType: hard - "jest-changed-files@npm:^26.6.2": version: 26.6.2 resolution: "jest-changed-files@npm:26.6.2" @@ -18907,13 +18847,6 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^9.1.1": - version: 9.1.2 - resolution: "lru-cache@npm:9.1.2" - checksum: d3415634be3908909081fc4c56371a8d562d9081eba70543d86871b978702fffd0e9e362b83921b27a29ae2b37b90f55675aad770a54ac83bb3e4de5049d4b15 - languageName: node - linkType: hard - "lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" @@ -19562,15 +19495,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.1": - version: 9.0.1 - resolution: "minimatch@npm:9.0.1" - dependencies: - brace-expansion: ^2.0.1 - checksum: 97f5f5284bb57dc65b9415dec7f17a0f6531a33572193991c60ff18450dcfad5c2dad24ffeaf60b5261dccd63aae58cc3306e2209d57e7f88c51295a532d8ec3 - languageName: node - linkType: hard - "minimist-options@npm:4.1.0, minimist-options@npm:^4.0.2": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -19656,13 +19580,6 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^5.0.0 || ^6.0.2": - version: 6.0.2 - resolution: "minipass@npm:6.0.2" - checksum: d140b91f4ab2e5ce5a9b6c468c0e82223504acc89114c1a120d4495188b81fedf8cade72a9f4793642b4e66672f990f1e0d902dd858485216a07cd3c8a62fac9 - languageName: node - linkType: hard - "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -20863,16 +20780,6 @@ __metadata: languageName: node linkType: hard -"path-scurry@npm:^1.7.0": - version: 1.9.2 - resolution: "path-scurry@npm:1.9.2" - dependencies: - lru-cache: ^9.1.1 - minipass: ^5.0.0 || ^6.0.2 - checksum: 92888dfb68e285043c6d3291c8e971d5d2bc2f5082f4d7b5392896f34be47024c9d0a8b688dd7ae6d125acc424699195474927cb4f00049a9b1ec7c4256fa8e0 - languageName: node - linkType: hard - "path-to-regexp@npm:0.1.7": version: 0.1.7 resolution: "path-to-regexp@npm:0.1.7" @@ -23407,13 +23314,6 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^4.0.1": - version: 4.0.2 - resolution: "signal-exit@npm:4.0.2" - checksum: 41f5928431cc6e91087bf0343db786a6313dd7c6fd7e551dbc141c95bb5fb26663444fd9df8ea47c5d7fc202f60aa7468c3162a9365cbb0615fc5e1b1328fe31 - languageName: node - linkType: hard - "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5" @@ -23967,7 +23867,7 @@ __metadata: languageName: node linkType: hard -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": +"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -24077,15 +23977,6 @@ __metadata: languageName: node linkType: hard -"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": - version: 6.0.1 - resolution: "strip-ansi@npm:6.0.1" - dependencies: - ansi-regex: ^5.0.1 - checksum: f3cd25890aef3ba6e1a74e20896c21a46f482e93df4a06567cebf2b57edabb15133f1f94e57434e0a958d61186087b1008e89c94875d019910a213181a14fc8c - languageName: node - linkType: hard - "strip-ansi@npm:^3.0.1": version: 3.0.1 resolution: "strip-ansi@npm:3.0.1" @@ -24113,6 +24004,15 @@ __metadata: languageName: node linkType: hard +"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": + version: 6.0.1 + resolution: "strip-ansi@npm:6.0.1" + dependencies: + ansi-regex: ^5.0.1 + checksum: f3cd25890aef3ba6e1a74e20896c21a46f482e93df4a06567cebf2b57edabb15133f1f94e57434e0a958d61186087b1008e89c94875d019910a213181a14fc8c + languageName: node + linkType: hard + "strip-ansi@npm:^7.0.1": version: 7.0.1 resolution: "strip-ansi@npm:7.0.1" @@ -26620,25 +26520,25 @@ __metadata: languageName: node linkType: hard -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0": - version: 7.0.0 - resolution: "wrap-ansi@npm:7.0.0" +"wrap-ansi@npm:^6.2.0": + version: 6.2.0 + resolution: "wrap-ansi@npm:6.2.0" dependencies: ansi-styles: ^4.0.0 string-width: ^4.1.0 strip-ansi: ^6.0.0 - checksum: a790b846fd4505de962ba728a21aaeda189b8ee1c7568ca5e817d85930e06ef8d1689d49dbf0e881e8ef84436af3a88bc49115c2e2788d841ff1b8b5b51a608b + checksum: 6cd96a410161ff617b63581a08376f0cb9162375adeb7956e10c8cd397821f7eb2a6de24eb22a0b28401300bf228c86e50617cd568209b5f6775b93c97d2fe3a languageName: node linkType: hard -"wrap-ansi@npm:^6.2.0": - version: 6.2.0 - resolution: "wrap-ansi@npm:6.2.0" +"wrap-ansi@npm:^7.0.0": + version: 7.0.0 + resolution: "wrap-ansi@npm:7.0.0" dependencies: ansi-styles: ^4.0.0 string-width: ^4.1.0 strip-ansi: ^6.0.0 - checksum: 6cd96a410161ff617b63581a08376f0cb9162375adeb7956e10c8cd397821f7eb2a6de24eb22a0b28401300bf228c86e50617cd568209b5f6775b93c97d2fe3a + checksum: a790b846fd4505de962ba728a21aaeda189b8ee1c7568ca5e817d85930e06ef8d1689d49dbf0e881e8ef84436af3a88bc49115c2e2788d841ff1b8b5b51a608b languageName: node linkType: hard From 10c921372c40cb018f10a13e5305fd3b66b5f703 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 11:58:36 +0900 Subject: [PATCH 21/32] chore(tsconfig): delete json comments --- packages/bezier-react/tsconfig.build.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/bezier-react/tsconfig.build.json b/packages/bezier-react/tsconfig.build.json index 9130a543c6..7d4f311275 100644 --- a/packages/bezier-react/tsconfig.build.json +++ b/packages/bezier-react/tsconfig.build.json @@ -13,9 +13,6 @@ "emitDeclarationOnly": true, "declaration": true, "declarationMap": true, - // typescript-transform-paths must be used with ttypescript. - // If you upgrade to typescript v5 or later, you will need to use a package other than ttypescript. - // See: https://github.com/cevek/ttypescript/issues/147 "plugins": [ { "transform": "typescript-transform-paths" }, { "transform": "typescript-transform-paths", "afterDeclarations": true }, From 4a1b49808b6e9001281c4aeb6db172cfa3682b5d Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 12:02:06 +0900 Subject: [PATCH 22/32] chore(deps): update babel-* packages --- packages/bezier-react/package.json | 6 +++--- yarn.lock | 27 +++++++++++++++++++++------ 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 1094787cf4..ead5edb0c0 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -94,9 +94,9 @@ "@types/styled-components": "^5.1.5", "@types/uuid": "^9.0.0", "babel-eslint": "^10.1.0", - "babel-loader": "^9.1.0", - "babel-plugin-styled-components": "^2.0.7", - "babel-preset-react-app": "^10.0.0", + "babel-loader": "^9.1.2", + "babel-plugin-styled-components": "^2.1.3", + "babel-preset-react-app": "^10.0.1", "chromatic": "^6.11.4", "core-js": "^3.8.1", "eslint-config-bezier": "workspace:*", diff --git a/yarn.lock b/yarn.lock index 71a439b708..51a9c92205 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3574,9 +3574,9 @@ __metadata: "@types/styled-components": ^5.1.5 "@types/uuid": ^9.0.0 babel-eslint: ^10.1.0 - babel-loader: ^9.1.0 - babel-plugin-styled-components: ^2.0.7 - babel-preset-react-app: ^10.0.0 + babel-loader: ^9.1.2 + babel-plugin-styled-components: ^2.1.3 + babel-preset-react-app: ^10.0.1 chromatic: ^6.11.4 classnames: ^2.3.2 core-js: ^3.8.1 @@ -10003,7 +10003,7 @@ __metadata: languageName: node linkType: hard -"babel-loader@npm:^9.1.0": +"babel-loader@npm:^9.1.2": version: 9.1.2 resolution: "babel-loader@npm:9.1.2" dependencies: @@ -10214,7 +10214,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-styled-components@npm:>= 1.12.0, babel-plugin-styled-components@npm:^2.0.7": +"babel-plugin-styled-components@npm:>= 1.12.0": version: 2.0.7 resolution: "babel-plugin-styled-components@npm:2.0.7" dependencies: @@ -10229,6 +10229,21 @@ __metadata: languageName: node linkType: hard +"babel-plugin-styled-components@npm:^2.1.3": + version: 2.1.3 + resolution: "babel-plugin-styled-components@npm:2.1.3" + dependencies: + "@babel/helper-annotate-as-pure": ^7.18.6 + "@babel/helper-module-imports": ^7.21.4 + babel-plugin-syntax-jsx: ^6.18.0 + lodash: ^4.17.21 + picomatch: ^2.3.1 + peerDependencies: + styled-components: ">= 2" + checksum: 0a4f2ca560e6124fb2e16aa2d35be33cc26f55f0a34307b5466df15e3645c32ac5795072807bac69792b4bcc4427ac892f8305d1cd18e4b1fd82016405b99a0d + languageName: node + linkType: hard + "babel-plugin-syntax-jsx@npm:^6.18.0": version: 6.18.0 resolution: "babel-plugin-syntax-jsx@npm:6.18.0" @@ -10289,7 +10304,7 @@ __metadata: languageName: node linkType: hard -"babel-preset-react-app@npm:^10.0.0": +"babel-preset-react-app@npm:^10.0.1": version: 10.0.1 resolution: "babel-preset-react-app@npm:10.0.1" dependencies: From ed994faca99f60e02489fdccb53e0fb8332891e1 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 13:33:09 +0900 Subject: [PATCH 23/32] build(babel): remove unnecessary plugins embedded in preset-env --- packages/bezier-react/babel.config.js | 4 +--- packages/bezier-react/package.json | 3 +-- yarn.lock | 12 +++++++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/packages/bezier-react/babel.config.js b/packages/bezier-react/babel.config.js index 616e63383c..c713505761 100644 --- a/packages/bezier-react/babel.config.js +++ b/packages/bezier-react/babel.config.js @@ -1,6 +1,6 @@ module.exports = { presets: [ - '@babel/preset-env', + ['@babel/preset-env', { useBuiltIns: 'entry', corejs: '3.31.0', bugfixes: true }], /** * Will use the native built-in instead of trying to polyfill behavior for any plugins that require one. * Remove the helper function for Object.assign. @@ -11,8 +11,6 @@ module.exports = { ], plugins: [ '@babel/plugin-transform-runtime', - ['@babel/plugin-proposal-private-property-in-object', { loose: false }], - ['@babel/plugin-proposal-class-properties', { loose: false }], ['babel-plugin-styled-components', { minify: true, pure: true, diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index ead5edb0c0..4a87ffadbc 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -60,7 +60,6 @@ ], "devDependencies": { "@babel/core": "^7.22.5", - "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-transform-runtime": "^7.22.5", "@babel/preset-env": "^7.22.5", "@babel/preset-react": "^7.22.5", @@ -98,7 +97,7 @@ "babel-plugin-styled-components": "^2.1.3", "babel-preset-react-app": "^10.0.1", "chromatic": "^6.11.4", - "core-js": "^3.8.1", + "core-js": "^3.31.0", "eslint-config-bezier": "workspace:*", "eslint-plugin-storybook": "^0.6.0", "identity-obj-proxy": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 51a9c92205..6d89584ad7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3528,7 +3528,6 @@ __metadata: resolution: "@channel.io/bezier-react@workspace:packages/bezier-react" dependencies: "@babel/core": ^7.22.5 - "@babel/plugin-proposal-class-properties": ^7.18.6 "@babel/plugin-transform-runtime": ^7.22.5 "@babel/preset-env": ^7.22.5 "@babel/preset-react": ^7.22.5 @@ -3579,7 +3578,7 @@ __metadata: babel-preset-react-app: ^10.0.1 chromatic: ^6.11.4 classnames: ^2.3.2 - core-js: ^3.8.1 + core-js: ^3.31.0 eslint-config-bezier: "workspace:*" eslint-plugin-storybook: ^0.6.0 identity-obj-proxy: ^3.0.0 @@ -11955,13 +11954,20 @@ __metadata: languageName: node linkType: hard -"core-js@npm:^3.0.4, core-js@npm:^3.6.5, core-js@npm:^3.8.1, core-js@npm:^3.8.2": +"core-js@npm:^3.0.4, core-js@npm:^3.6.5, core-js@npm:^3.8.2": version: 3.23.3 resolution: "core-js@npm:3.23.3" checksum: f517546388e468bd3155afbf06f38f8fe0448134fe086c4ed9c4d371d52db71e80585073b59362948777e01f2377ef7064925e1a3d9312a1c56da47eadfaca9a languageName: node linkType: hard +"core-js@npm:^3.31.0": + version: 3.31.0 + resolution: "core-js@npm:3.31.0" + checksum: f7cf9b3010f7ca99c026d95b61743baca1a85512742ed2b67e8f65a72ac4f4fe0b90b00057783e886bdd39d3a295f42f845d33e7cba3973ed263df978343ab79 + languageName: node + linkType: hard + "core-util-is@npm:~1.0.0": version: 1.0.3 resolution: "core-util-is@npm:1.0.3" From 7b125210c25f34822bf85521a25e2f7034421138 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 13:51:14 +0900 Subject: [PATCH 24/32] build(rollup): use skipPreflightCheck's default option and add comments about order matters --- packages/bezier-react/rollup.config.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/bezier-react/rollup.config.mjs b/packages/bezier-react/rollup.config.mjs index 6b0819b7b0..2801e5e373 100644 --- a/packages/bezier-react/rollup.config.mjs +++ b/packages/bezier-react/rollup.config.mjs @@ -36,10 +36,15 @@ const generateConfig = ({ }), peerDepsExternal(), nodeResolve({ extensions }), + /** + * **IMPORTANT**: Order matters! + * When using @rollup/plugin-babel with @rollup/plugin-commonjs in the same Rollup configuration, + * it's important to note that @rollup/plugin-commonjs must be placed before this plugin in the plugins array for the two to work together properly. + * @see https://github.com/rollup/plugins/tree/master/packages/babel#using-with-rollupplugin-commonjs + */ commonjs(), babel({ babelHelpers: 'runtime', - skipPreflightCheck: true, exclude: 'node_modules/**', extensions, }), From 63f4232039f3f78a57e2c0dcf54ac78e8444823f Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 14:43:11 +0900 Subject: [PATCH 25/32] build(rollup): change the peerDeps package to the maintained node extenral package --- packages/bezier-react/package.json | 2 +- packages/bezier-react/rollup.config.mjs | 13 +++++++++++-- yarn.lock | 12 ++++++------ 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 4a87ffadbc..3f9f03f251 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -108,7 +108,7 @@ "react-dom": "^18.1.0", "regenerator-runtime": "^0.13.11", "rollup": "^3.25.1", - "rollup-plugin-peer-deps-external": "^2.2.4", + "rollup-plugin-node-externals": "^6.1.1", "rollup-plugin-visualizer": "^5.9.2", "styled-components": "^5.3.5", "ts-prune": "^0.10.3", diff --git a/packages/bezier-react/rollup.config.mjs b/packages/bezier-react/rollup.config.mjs index 2801e5e373..e4f33cbf42 100644 --- a/packages/bezier-react/rollup.config.mjs +++ b/packages/bezier-react/rollup.config.mjs @@ -9,7 +9,7 @@ import commonjs from '@rollup/plugin-commonjs' import { nodeResolve } from '@rollup/plugin-node-resolve' import url from '@rollup/plugin-url' import { defineConfig } from 'rollup' -import peerDepsExternal from 'rollup-plugin-peer-deps-external' +import nodeExternals from 'rollup-plugin-node-externals' import { visualizer } from 'rollup-plugin-visualizer' const pkg = JSON.parse( @@ -34,7 +34,16 @@ const generateConfig = ({ replacement: rootDir, }], }), - peerDepsExternal(), + /** + * **IMPORTANT**: Order matters! + * If you're also using @rollup/plugin-node-resolve, make sure this plugin comes before it in the plugins array + * @see https://github.com/Septh/rollup-plugin-node-externals#3-order-matters + */ + nodeExternals({ + deps: false, + peerDeps: true, + packagePath: './package.json', + }), nodeResolve({ extensions }), /** * **IMPORTANT**: Order matters! diff --git a/yarn.lock b/yarn.lock index 6d89584ad7..3f5cb10e2b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3591,7 +3591,7 @@ __metadata: react-textarea-autosize: ^8.4.1 regenerator-runtime: ^0.13.11 rollup: ^3.25.1 - rollup-plugin-peer-deps-external: ^2.2.4 + rollup-plugin-node-externals: ^6.1.1 rollup-plugin-visualizer: ^5.9.2 ssr-window: ^3.0.0 styled-components: ^5.3.5 @@ -22800,12 +22800,12 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-peer-deps-external@npm:^2.2.4": - version: 2.2.4 - resolution: "rollup-plugin-peer-deps-external@npm:2.2.4" +"rollup-plugin-node-externals@npm:^6.1.1": + version: 6.1.1 + resolution: "rollup-plugin-node-externals@npm:6.1.1" peerDependencies: - rollup: "*" - checksum: 597bc7631f4e3cfc066a7da4e09e507258aba932008148328c1a4b48e7ffa755592ef4bcf0165320bbd5019afbdd326f569cd0c68406d820da9ab52e971c009b + rollup: ^3.0.0 + checksum: 9f11e7d2632628094fd0846571fba275ef60d9775ad2957edd68efa5c87e9201610e0f6f7cce9b1d22412322120ba74f9f47ee435511bbe5351c14199686b272 languageName: node linkType: hard From 7f0f797abb875eec41d935f150950958f0e7c9d1 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 16:58:06 +0900 Subject: [PATCH 26/32] build(package): add bezier-icons to peerDeps and peerDepsMeta --- packages/bezier-react/package.json | 8 +++++++- yarn.lock | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 3f9f03f251..d7b93d3766 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -64,6 +64,7 @@ "@babel/preset-env": "^7.22.5", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", + "@channel.io/bezier-icons": "^0.2.0", "@channel.io/react-docgen-typescript-plugin": "^1.0.0", "@mdx-js/react": "^1.6.22", "@rollup/plugin-alias": "^5.0.0", @@ -118,13 +119,18 @@ "typescript-transform-paths": "^3.4.6" }, "peerDependencies": { + "@channel.io/bezier-icons": ">=0.2.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", "styled-components": ">=5" }, + "peerDependenciesMeta": { + "@channel.io/bezier-icons": { + "optional": true + } + }, "dependencies": { "@babel/runtime": "^7.22.5", - "@channel.io/bezier-icons": "^0.2.0", "@radix-ui/react-checkbox": "^1.0.3", "@radix-ui/react-dialog": "^1.0.2", "@radix-ui/react-radio-group": "^1.1.0", diff --git a/yarn.lock b/yarn.lock index 3f5cb10e2b..5f9995535e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3602,9 +3602,13 @@ __metadata: typescript-transform-paths: ^3.4.6 uuid: ^9.0.0 peerDependencies: + "@channel.io/bezier-icons": ">=0.2.0" react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 styled-components: ">=5" + peerDependenciesMeta: + "@channel.io/bezier-icons": + optional: true languageName: unknown linkType: soft From 97922ad53f69674fea9004b639e491c0682f55fd Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 17:24:37 +0900 Subject: [PATCH 27/32] build(tsconfig): change to support es2020 --- packages/bezier-react/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bezier-react/tsconfig.json b/packages/bezier-react/tsconfig.json index 61ffbb536d..b77db92c82 100644 --- a/packages/bezier-react/tsconfig.json +++ b/packages/bezier-react/tsconfig.json @@ -4,8 +4,8 @@ "rootDir": "./src", "noEmit": true, "module": "esnext", - "target": "es6", - "lib": ["dom", "ESNext"], + "target": "es2020", + "lib": ["dom", "es2020"], "jsx": "react", "moduleResolution": "node", "allowSyntheticDefaultImports": true, From 99968e1ce16b8906057f015e5be18f00d3d6de94 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 17:33:21 +0900 Subject: [PATCH 28/32] test(jest): add a temp solution of type error of react-textarea-autosize --- packages/bezier-react/jest.setup.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/bezier-react/jest.setup.ts b/packages/bezier-react/jest.setup.ts index 906040113f..0f712ff19a 100644 --- a/packages/bezier-react/jest.setup.ts +++ b/packages/bezier-react/jest.setup.ts @@ -36,3 +36,11 @@ afterEach(() => { // @ts-ignore window.requestAnimationFrame.mockRestore() }) + +/** + * react-textarea-autosize@8.4.1 uses the APIs below, but the DOM in jest (JSDOM) hasn't implemented them. + * @see https://github.com/Andarist/react-textarea-autosize/issues/368 + */ +Object.defineProperty(document, 'fonts', { + value: { addEventListener() {}, removeEventListener() {} }, +}) From d14647fa5e887f8e7d630b07d5b36df532a01880 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 17:56:59 +0900 Subject: [PATCH 29/32] chore(scripts): revert --- packages/bezier-react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index d7b93d3766..389aa70a30 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -33,7 +33,7 @@ "lint:style": "stylelint --cache '**/*.styled.{js,ts}'", "typecheck": "yarn find-deadcode && tsc --build --verbose", "find-deadcode": "ts-prune -e -p ./tsconfig.prune.json", - "test": "jest", + "test": "jest --onlyChanged", "test:ci": "jest --ci --coverage", "test:watch": "jest --watch", "update-snapshot": "jest --updateSnapshot", From 1931a7ce2593badb09546bff8d20bbc74438130c Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 17:58:57 +0900 Subject: [PATCH 30/32] chore(bezier-react): remove ununsed package --- packages/bezier-react/package.json | 1 - yarn.lock | 23 +++-------------------- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/packages/bezier-react/package.json b/packages/bezier-react/package.json index 389aa70a30..b58dacb148 100644 --- a/packages/bezier-react/package.json +++ b/packages/bezier-react/package.json @@ -93,7 +93,6 @@ "@types/react-dom": "^18.0.3", "@types/styled-components": "^5.1.5", "@types/uuid": "^9.0.0", - "babel-eslint": "^10.1.0", "babel-loader": "^9.1.2", "babel-plugin-styled-components": "^2.1.3", "babel-preset-react-app": "^10.0.1", diff --git a/yarn.lock b/yarn.lock index 5f9995535e..8004ee36fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -971,7 +971,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.20.1, @babel/parser@npm:^7.20.2, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.8.3": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.20.1, @babel/parser@npm:^7.20.2, @babel/parser@npm:^7.8.3": version: 7.20.3 resolution: "@babel/parser@npm:7.20.3" bin: @@ -3119,7 +3119,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.18.6, @babel/traverse@npm:^7.20.1, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.7.0, @babel/traverse@npm:^7.8.3": +"@babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.18.6, @babel/traverse@npm:^7.20.1, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.8.3": version: 7.20.1 resolution: "@babel/traverse@npm:7.20.1" dependencies: @@ -3184,7 +3184,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.7, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.19.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.7.0, @babel/types@npm:^7.8.3": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.7, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.19.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": version: 7.20.2 resolution: "@babel/types@npm:7.20.2" dependencies: @@ -3572,7 +3572,6 @@ __metadata: "@types/react-dom": ^18.0.3 "@types/styled-components": ^5.1.5 "@types/uuid": ^9.0.0 - babel-eslint: ^10.1.0 babel-loader: ^9.1.2 babel-plugin-styled-components: ^2.1.3 babel-preset-react-app: ^10.0.1 @@ -9926,22 +9925,6 @@ __metadata: languageName: node linkType: hard -"babel-eslint@npm:^10.1.0": - version: 10.1.0 - resolution: "babel-eslint@npm:10.1.0" - dependencies: - "@babel/code-frame": ^7.0.0 - "@babel/parser": ^7.7.0 - "@babel/traverse": ^7.7.0 - "@babel/types": ^7.7.0 - eslint-visitor-keys: ^1.0.0 - resolve: ^1.12.0 - peerDependencies: - eslint: ">= 4.12.1" - checksum: bdc1f62b6b0f9c4d5108c96d835dad0c0066bc45b7c020fcb2d6a08107cf69c9217a99d3438dbd701b2816896190c4283ba04270ed9a8349ee07bd8dafcdc050 - languageName: node - linkType: hard - "babel-eslint@npm:^8.2.6": version: 8.2.6 resolution: "babel-eslint@npm:8.2.6" From 01b53c2dd2600a7450b54e855b64a75676a359ef Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Mon, 19 Jun 2023 18:55:23 +0900 Subject: [PATCH 31/32] build(bezier-icons): change to using the node resolve plugin to resolve ts modules --- packages/bezier-icons/package.json | 3 ++- packages/bezier-icons/rollup.config.mjs | 9 ++++++--- yarn.lock | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/bezier-icons/package.json b/packages/bezier-icons/package.json index fb5c09a04f..f4c161e090 100644 --- a/packages/bezier-icons/package.json +++ b/packages/bezier-icons/package.json @@ -43,13 +43,14 @@ "author": "Channel Corp.", "license": "Apache-2.0", "devDependencies": { + "@babel/core": "^7.22.5", "@babel/preset-env": "^7.22.5", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", "@rollup/plugin-alias": "^5.0.0", "@rollup/plugin-babel": "^6.0.3", + "@rollup/plugin-node-resolve": "^15.1.0", "@rollup/plugin-terser": "^0.4.3", - "@rollup/plugin-typescript": "^11.1.1", "@rollup/plugin-virtual": "^3.0.1", "@rollup/pluginutils": "^5.0.2", "@svgr/core": "^8.0.0", diff --git a/packages/bezier-icons/rollup.config.mjs b/packages/bezier-icons/rollup.config.mjs index ab516dcac3..b246dbc265 100644 --- a/packages/bezier-icons/rollup.config.mjs +++ b/packages/bezier-icons/rollup.config.mjs @@ -1,10 +1,11 @@ import * as fs from 'fs' import * as path from 'path' +import { DEFAULT_EXTENSIONS } from '@babel/core' import alias from '@rollup/plugin-alias' import { babel } from '@rollup/plugin-babel' +import { nodeResolve } from '@rollup/plugin-node-resolve' import terser from '@rollup/plugin-terser' -import typescript from '@rollup/plugin-typescript' import virtual from '@rollup/plugin-virtual' import { createFilter } from '@rollup/pluginutils' import { transform } from '@svgr/core' @@ -12,6 +13,8 @@ import { defineConfig } from 'rollup' import { visualizer } from 'rollup-plugin-visualizer' import { optimize } from 'svgo' +const extensions = [...DEFAULT_EXTENSIONS, '.ts', '.tsx', '.svg'] + const config = { input: { icons: 'icons', @@ -269,7 +272,7 @@ export default defineConfig({ external: ['react'], plugins: [ virtual({ 'src/index.ts': entryModuleContent }), - typescript(), + nodeResolve({ extensions }), svgBuild({ include: `${iconBasePath}/*.svg` }), /** * Module resolution is not working well inside the virtual module, so use the alias plugin to resolve the module manually. @@ -282,7 +285,7 @@ export default defineConfig({ }), babel({ exclude: 'node_modules/**', - extensions: ['.js', '.jsx', '.ts', '.tsx', '.svg'], + extensions, envName: 'production', babelHelpers: 'bundled', }), diff --git a/yarn.lock b/yarn.lock index 8004ee36fb..2430cf5a2b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3503,13 +3503,14 @@ __metadata: version: 0.0.0-use.local resolution: "@channel.io/bezier-icons@workspace:packages/bezier-icons" dependencies: + "@babel/core": ^7.22.5 "@babel/preset-env": ^7.22.5 "@babel/preset-react": ^7.22.5 "@babel/preset-typescript": ^7.22.5 "@rollup/plugin-alias": ^5.0.0 "@rollup/plugin-babel": ^6.0.3 + "@rollup/plugin-node-resolve": ^15.1.0 "@rollup/plugin-terser": ^0.4.3 - "@rollup/plugin-typescript": ^11.1.1 "@rollup/plugin-virtual": ^3.0.1 "@rollup/pluginutils": ^5.0.2 "@svgr/core": ^8.0.0 From 5dc1e54ec81a4f7440310324aaa899580d290320 Mon Sep 17 00:00:00 2001 From: Ed Sungik Choi Date: Tue, 20 Jun 2023 14:28:22 +0900 Subject: [PATCH 32/32] chore(changeset): add changeset --- .changeset/smart-kids-cough.md | 5 +++++ .changeset/witty-students-accept.md | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changeset/smart-kids-cough.md create mode 100644 .changeset/witty-students-accept.md diff --git a/.changeset/smart-kids-cough.md b/.changeset/smart-kids-cough.md new file mode 100644 index 0000000000..2676c727f8 --- /dev/null +++ b/.changeset/smart-kids-cough.md @@ -0,0 +1,5 @@ +--- +"@channel.io/bezier-icons": patch +--- + +Improve the way module resolves. diff --git a/.changeset/witty-students-accept.md b/.changeset/witty-students-accept.md new file mode 100644 index 0000000000..f7f7785d6a --- /dev/null +++ b/.changeset/witty-students-accept.md @@ -0,0 +1,5 @@ +--- +"@channel.io/bezier-react": minor +--- + +Add @channel.io/bezier-icons >= 0.2.0 as a peer dependency of bezier-react, bezier-icons is no longer bundled.