From 58784b67b33b7cdef315a56bc4a8281c1c1295c4 Mon Sep 17 00:00:00 2001 From: James LiVolsi Date: Sun, 11 Dec 2022 23:49:13 -0600 Subject: [PATCH 1/6] upgrade vitejs and esbuild --- code/frameworks/react-vite/package.json | 2 +- code/lib/builder-manager/package.json | 2 +- code/lib/builder-vite/package.json | 2 +- code/lib/core-common/package.json | 2 +- code/package.json | 6 +- code/yarn.lock | 445 ++++++++++++------------ node_modules/.yarn-integrity | 14 - scripts/package.json | 4 +- scripts/yarn.lock | 406 ++++++++++----------- 9 files changed, 448 insertions(+), 435 deletions(-) delete mode 100644 node_modules/.yarn-integrity diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json index a60433f7c87..06a3be22a8d 100644 --- a/code/frameworks/react-vite/package.json +++ b/code/frameworks/react-vite/package.json @@ -55,7 +55,7 @@ "@rollup/pluginutils": "^4.2.0", "@storybook/builder-vite": "7.0.0-beta.3", "@storybook/react": "7.0.0-beta.3", - "@vitejs/plugin-react": "^2.0.0", + "@vitejs/plugin-react": "^3.0.0", "ast-types": "^0.14.2", "magic-string": "^0.26.1", "react-docgen": "^6.0.0-alpha.3", diff --git a/code/lib/builder-manager/package.json b/code/lib/builder-manager/package.json index e04b0cf4738..a278d0503c9 100644 --- a/code/lib/builder-manager/package.json +++ b/code/lib/builder-manager/package.json @@ -49,7 +49,7 @@ "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", "browser-assert": "^1.2.1", "ejs": "^3.1.8", - "esbuild": "^0.14.48", + "esbuild": "^0.16.4", "esbuild-plugin-alias": "^0.2.1", "express": "^4.17.3", "fs-extra": "^9.0.1", diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json index 80be86279ee..7797d4f3a7d 100644 --- a/code/lib/builder-vite/package.json +++ b/code/lib/builder-vite/package.json @@ -50,7 +50,7 @@ "@storybook/preview": "7.0.0-beta.3", "@storybook/preview-api": "7.0.0-beta.3", "@storybook/types": "7.0.0-beta.3", - "@vitejs/plugin-react": "^2.0.0", + "@vitejs/plugin-react": "^3.0.0", "browser-assert": "^1.2.1", "es-module-lexer": "^0.9.3", "express": "^4.17.3", diff --git a/code/lib/core-common/package.json b/code/lib/core-common/package.json index bc0700d3317..9cd1b60e9b3 100644 --- a/code/lib/core-common/package.json +++ b/code/lib/core-common/package.json @@ -54,7 +54,7 @@ "@types/node": "^16.0.0", "@types/pretty-hrtime": "^1.0.0", "chalk": "^4.1.0", - "esbuild": "^0.14.48", + "esbuild": "^0.16.4", "esbuild-register": "^3.3.3", "express": "^4.17.3", "file-system-cache": "^2.0.0", diff --git a/code/package.json b/code/package.json index af29e55ca31..bb974e82637 100644 --- a/code/package.json +++ b/code/package.json @@ -114,7 +114,7 @@ "@typescript-eslint/experimental-utils": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "boxen": "^5.1.2", - "esbuild": "^0.14.48", + "esbuild": "^0.16.4", "eslint": "^8.28.0", "serialize-javascript": "^3.1.0", "webpack": "5" @@ -261,7 +261,7 @@ "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/experimental-utils": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", - "@vitejs/plugin-react": "^2.1.0", + "@vitejs/plugin-react": "^3.0.0", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^29.3.1", @@ -280,7 +280,7 @@ "ejs-lint": "^1.2.2", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.5", - "esbuild": "^0.14.48", + "esbuild": "^0.16.4", "esbuild-loader": "^2.19.0", "esbuild-plugin-alias": "^0.2.1", "eslint": "^8.28.0", diff --git a/code/yarn.lock b/code/yarn.lock index 493b664f92b..e7cdae1c330 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -431,7 +431,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.17.2, @babel/core@npm:^7.17.5, @babel/core@npm:^7.19.6, @babel/core@npm:^7.20.2, @babel/core@npm:^7.3.4, @babel/core@npm:^7.7.5": +"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.17.2, @babel/core@npm:^7.17.5, @babel/core@npm:^7.20.2, @babel/core@npm:^7.20.5, @babel/core@npm:^7.3.4, @babel/core@npm:^7.7.5": version: 7.20.5 resolution: "@babel/core@npm:7.20.5" dependencies: @@ -2602,13 +2602,160 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.14.54": - version: 0.14.54 - resolution: "@esbuild/linux-loong64@npm:0.14.54" +"@esbuild/android-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/android-arm64@npm:0.16.4" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/android-arm@npm:0.16.4" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/android-x64@npm:0.16.4" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/darwin-arm64@npm:0.16.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/darwin-x64@npm:0.16.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/freebsd-arm64@npm:0.16.4" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/freebsd-x64@npm:0.16.4" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-arm64@npm:0.16.4" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-arm@npm:0.16.4" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-ia32@npm:0.16.4" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-loong64@npm:0.16.4" conditions: os=linux & cpu=loong64 languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-mips64el@npm:0.16.4" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-ppc64@npm:0.16.4" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-riscv64@npm:0.16.4" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-s390x@npm:0.16.4" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-x64@npm:0.16.4" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/netbsd-x64@npm:0.16.4" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/openbsd-x64@npm:0.16.4" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/sunos-x64@npm:0.16.4" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/win32-arm64@npm:0.16.4" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/win32-ia32@npm:0.16.4" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/win32-x64@npm:0.16.4" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^1.3.3": version: 1.3.3 resolution: "@eslint/eslintrc@npm:1.3.3" @@ -3404,7 +3551,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10": +"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13": version: 1.4.14 resolution: "@jridgewell/sourcemap-codec@npm:1.4.14" checksum: 3fbaff1387c1338b097eeb6ff92890d7838f7de0dde259e4983763b44540bfd5ca6a1f7644dc8ad003a57f7e80670d5b96a8402f1386ba9aee074743ae9bad51 @@ -5855,7 +6002,7 @@ __metadata: "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 browser-assert: ^1.2.1 ejs: ^3.1.8 - esbuild: ^0.14.48 + esbuild: ^0.16.4 esbuild-plugin-alias: ^0.2.1 express: ^4.17.3 fs-extra: ^9.0.1 @@ -5881,7 +6028,7 @@ __metadata: "@storybook/types": 7.0.0-beta.3 "@types/express": ^4.17.13 "@types/node": ^16.0.0 - "@vitejs/plugin-react": ^2.0.0 + "@vitejs/plugin-react": ^3.0.0 browser-assert: ^1.2.1 es-module-lexer: ^0.9.3 express: ^4.17.3 @@ -6168,7 +6315,7 @@ __metadata: "@types/picomatch": ^2.3.0 "@types/pretty-hrtime": ^1.0.0 chalk: ^4.1.0 - esbuild: ^0.14.48 + esbuild: ^0.16.4 esbuild-register: ^3.3.3 express: ^4.17.3 file-system-cache: ^2.0.0 @@ -6986,7 +7133,7 @@ __metadata: "@storybook/builder-vite": 7.0.0-beta.3 "@storybook/react": 7.0.0-beta.3 "@types/node": ^16.0.0 - "@vitejs/plugin-react": ^2.0.0 + "@vitejs/plugin-react": ^3.0.0 ast-types: ^0.14.2 magic-string: ^0.26.1 react-docgen: ^6.0.0-alpha.3 @@ -7203,7 +7350,7 @@ __metadata: "@typescript-eslint/eslint-plugin": ^5.45.0 "@typescript-eslint/experimental-utils": ^5.45.0 "@typescript-eslint/parser": ^5.45.0 - "@vitejs/plugin-react": ^2.1.0 + "@vitejs/plugin-react": ^3.0.0 babel-core: ^7.0.0-bridge.0 babel-eslint: ^10.1.0 babel-jest: ^29.3.1 @@ -7222,7 +7369,7 @@ __metadata: ejs-lint: ^1.2.2 enzyme: ^3.11.0 enzyme-adapter-react-16: ^1.15.5 - esbuild: ^0.14.48 + esbuild: ^0.16.4 esbuild-loader: ^2.19.0 esbuild-plugin-alias: ^0.2.1 eslint: ^8.28.0 @@ -9176,20 +9323,18 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-react@npm:^2.0.0, @vitejs/plugin-react@npm:^2.1.0": - version: 2.2.0 - resolution: "@vitejs/plugin-react@npm:2.2.0" +"@vitejs/plugin-react@npm:^3.0.0": + version: 3.0.0 + resolution: "@vitejs/plugin-react@npm:3.0.0" dependencies: - "@babel/core": ^7.19.6 - "@babel/plugin-transform-react-jsx": ^7.19.0 - "@babel/plugin-transform-react-jsx-development": ^7.18.6 + "@babel/core": ^7.20.5 "@babel/plugin-transform-react-jsx-self": ^7.18.6 "@babel/plugin-transform-react-jsx-source": ^7.19.6 - magic-string: ^0.26.7 + magic-string: ^0.27.0 react-refresh: ^0.14.0 peerDependencies: - vite: ^3.0.0 - checksum: 85fe5c740fbe8aa5dd4c3516a02a937dff0e2b0858cfa7cf8a69b998b7d05e08c296a087fde66f9171367f5c9d10d6e4bc026df1fa1e2ec528f49e7eaabeeae1 + vite: ^4.0.0 + checksum: f2802415ac56bfb02bae783616b41147335b33d0cb2f8d7f15e5de30e6cb9603a7d327ee592a031d6c6c008d42404301058533d00222fc989f8d7553f31a5577 languageName: node linkType: hard @@ -15370,104 +15515,6 @@ __metadata: languageName: node linkType: hard -"esbuild-android-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-android-64@npm:0.14.54" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - -"esbuild-android-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-android-arm64@npm:0.14.54" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-darwin-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-darwin-64@npm:0.14.54" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"esbuild-darwin-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-darwin-arm64@npm:0.14.54" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-freebsd-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-freebsd-64@npm:0.14.54" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"esbuild-freebsd-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-freebsd-arm64@npm:0.14.54" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-linux-32@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-32@npm:0.14.54" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - -"esbuild-linux-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-64@npm:0.14.54" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"esbuild-linux-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-arm64@npm:0.14.54" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-linux-arm@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-arm@npm:0.14.54" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"esbuild-linux-mips64le@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-mips64le@npm:0.14.54" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - -"esbuild-linux-ppc64le@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-ppc64le@npm:0.14.54" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - -"esbuild-linux-riscv64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-riscv64@npm:0.14.54" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - -"esbuild-linux-s390x@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-s390x@npm:0.14.54" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "esbuild-loader@npm:^2.19.0": version: 2.20.0 resolution: "esbuild-loader@npm:2.20.0" @@ -15484,20 +15531,6 @@ __metadata: languageName: node linkType: hard -"esbuild-netbsd-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-netbsd-64@npm:0.14.54" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - -"esbuild-openbsd-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-openbsd-64@npm:0.14.54" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "esbuild-plugin-alias@npm:^0.2.1": version: 0.2.1 resolution: "esbuild-plugin-alias@npm:0.2.1" @@ -15516,13 +15549,6 @@ __metadata: languageName: node linkType: hard -"esbuild-sunos-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-sunos-64@npm:0.14.54" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "esbuild-wasm@npm:0.14.22": version: 0.14.22 resolution: "esbuild-wasm@npm:0.14.22" @@ -15541,98 +15567,80 @@ __metadata: languageName: node linkType: hard -"esbuild-windows-32@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-windows-32@npm:0.14.54" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"esbuild-windows-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-windows-64@npm:0.14.54" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"esbuild-windows-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-windows-arm64@npm:0.14.54" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"esbuild@npm:^0.14.48": - version: 0.14.54 - resolution: "esbuild@npm:0.14.54" +"esbuild@npm:^0.16.4": + version: 0.16.4 + resolution: "esbuild@npm:0.16.4" dependencies: - "@esbuild/linux-loong64": 0.14.54 - esbuild-android-64: 0.14.54 - esbuild-android-arm64: 0.14.54 - esbuild-darwin-64: 0.14.54 - esbuild-darwin-arm64: 0.14.54 - esbuild-freebsd-64: 0.14.54 - esbuild-freebsd-arm64: 0.14.54 - esbuild-linux-32: 0.14.54 - esbuild-linux-64: 0.14.54 - esbuild-linux-arm: 0.14.54 - esbuild-linux-arm64: 0.14.54 - esbuild-linux-mips64le: 0.14.54 - esbuild-linux-ppc64le: 0.14.54 - esbuild-linux-riscv64: 0.14.54 - esbuild-linux-s390x: 0.14.54 - esbuild-netbsd-64: 0.14.54 - esbuild-openbsd-64: 0.14.54 - esbuild-sunos-64: 0.14.54 - esbuild-windows-32: 0.14.54 - esbuild-windows-64: 0.14.54 - esbuild-windows-arm64: 0.14.54 + "@esbuild/android-arm": 0.16.4 + "@esbuild/android-arm64": 0.16.4 + "@esbuild/android-x64": 0.16.4 + "@esbuild/darwin-arm64": 0.16.4 + "@esbuild/darwin-x64": 0.16.4 + "@esbuild/freebsd-arm64": 0.16.4 + "@esbuild/freebsd-x64": 0.16.4 + "@esbuild/linux-arm": 0.16.4 + "@esbuild/linux-arm64": 0.16.4 + "@esbuild/linux-ia32": 0.16.4 + "@esbuild/linux-loong64": 0.16.4 + "@esbuild/linux-mips64el": 0.16.4 + "@esbuild/linux-ppc64": 0.16.4 + "@esbuild/linux-riscv64": 0.16.4 + "@esbuild/linux-s390x": 0.16.4 + "@esbuild/linux-x64": 0.16.4 + "@esbuild/netbsd-x64": 0.16.4 + "@esbuild/openbsd-x64": 0.16.4 + "@esbuild/sunos-x64": 0.16.4 + "@esbuild/win32-arm64": 0.16.4 + "@esbuild/win32-ia32": 0.16.4 + "@esbuild/win32-x64": 0.16.4 dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true "@esbuild/linux-loong64": optional: true - esbuild-android-64: + "@esbuild/linux-mips64el": optional: true - esbuild-android-arm64: + "@esbuild/linux-ppc64": optional: true - esbuild-darwin-64: + "@esbuild/linux-riscv64": optional: true - esbuild-darwin-arm64: + "@esbuild/linux-s390x": optional: true - esbuild-freebsd-64: + "@esbuild/linux-x64": optional: true - esbuild-freebsd-arm64: + "@esbuild/netbsd-x64": optional: true - esbuild-linux-32: + "@esbuild/openbsd-x64": optional: true - esbuild-linux-64: + "@esbuild/sunos-x64": optional: true - esbuild-linux-arm: + "@esbuild/win32-arm64": optional: true - esbuild-linux-arm64: + "@esbuild/win32-ia32": optional: true - esbuild-linux-mips64le: - optional: true - esbuild-linux-ppc64le: - optional: true - esbuild-linux-riscv64: - optional: true - esbuild-linux-s390x: - optional: true - esbuild-netbsd-64: - optional: true - esbuild-openbsd-64: - optional: true - esbuild-sunos-64: - optional: true - esbuild-windows-32: - optional: true - esbuild-windows-64: - optional: true - esbuild-windows-arm64: + "@esbuild/win32-x64": optional: true bin: esbuild: bin/esbuild - checksum: 1df3cf7c5175ebee284fd027f287385a07ce8a0f0460a4412881aeff707577d91e55302f220ee8397b3b5aa17f4ceeb80eac16f36fc676532ff1b744e5965f2d + checksum: 5d74862e2b5ee97f187347ac8d163cf6d6f1ad8d89d7da92dad3b2f9cfa087afa4cd25b649796ae50a456714e8a3c338bd614aeed0a6a9fbbba2606f4bc0e410 languageName: node linkType: hard @@ -23038,6 +23046,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.27.0": + version: 0.27.0 + resolution: "magic-string@npm:0.27.0" + dependencies: + "@jridgewell/sourcemap-codec": ^1.4.13 + checksum: cddacfea14441ca57ae8a307bc3cf90bac69efaa4138dd9a80804cffc2759bf06f32da3a293fb13eaa96334b7d45b7768a34f1d226afae25d2f05b05a3bb37d8 + languageName: node + linkType: hard + "make-dir@npm:^1.0.0": version: 1.3.0 resolution: "make-dir@npm:1.3.0" diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity deleted file mode 100644 index 0308d05af52..00000000000 --- a/node_modules/.yarn-integrity +++ /dev/null @@ -1,14 +0,0 @@ -{ - "systemParams": "darwin-arm64-83", - "modulesFolders": [ - "node_modules" - ], - "flags": [], - "linkedModules": [ - "webpack" - ], - "topLevelPatterns": [], - "lockfileEntries": {}, - "files": [], - "artifacts": {} -} \ No newline at end of file diff --git a/scripts/package.json b/scripts/package.json index 9c8a5f58305..d8d7b7437c1 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -33,7 +33,7 @@ "@typescript-eslint/experimental-utils": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "boxen": "^5.1.2", - "esbuild": "^0.14.48", + "esbuild": "^0.16.4", "eslint": "^8.28.0", "serialize-javascript": "^3.1.0" }, @@ -111,7 +111,7 @@ "ejs": "^3.1.8", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.5", - "esbuild": "^0.14.48", + "esbuild": "^0.16.4", "esbuild-plugin-alias": "^0.2.1", "esbuild-register": "^3.4.1", "eslint": "^8.28.0", diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 9ed2cbe820b..79a1aadd67f 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -1782,13 +1782,160 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.14.54": - version: 0.14.54 - resolution: "@esbuild/linux-loong64@npm:0.14.54" +"@esbuild/android-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/android-arm64@npm:0.16.4" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/android-arm@npm:0.16.4" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/android-x64@npm:0.16.4" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/darwin-arm64@npm:0.16.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/darwin-x64@npm:0.16.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/freebsd-arm64@npm:0.16.4" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/freebsd-x64@npm:0.16.4" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-arm64@npm:0.16.4" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-arm@npm:0.16.4" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-ia32@npm:0.16.4" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-loong64@npm:0.16.4" conditions: os=linux & cpu=loong64 languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-mips64el@npm:0.16.4" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-ppc64@npm:0.16.4" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-riscv64@npm:0.16.4" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-s390x@npm:0.16.4" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/linux-x64@npm:0.16.4" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/netbsd-x64@npm:0.16.4" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/openbsd-x64@npm:0.16.4" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/sunos-x64@npm:0.16.4" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/win32-arm64@npm:0.16.4" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/win32-ia32@npm:0.16.4" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.16.4": + version: 0.16.4 + resolution: "@esbuild/win32-x64@npm:0.16.4" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^1.3.3": version: 1.3.3 resolution: "@eslint/eslintrc@npm:1.3.3" @@ -3268,7 +3415,7 @@ __metadata: ejs: ^3.1.8 enzyme: ^3.11.0 enzyme-adapter-react-16: ^1.15.5 - esbuild: ^0.14.48 + esbuild: ^0.16.4 esbuild-plugin-alias: ^0.2.1 esbuild-register: ^3.4.1 eslint: ^8.28.0 @@ -7570,118 +7717,6 @@ __metadata: languageName: node linkType: hard -"esbuild-android-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-android-64@npm:0.14.54" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - -"esbuild-android-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-android-arm64@npm:0.14.54" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-darwin-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-darwin-64@npm:0.14.54" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"esbuild-darwin-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-darwin-arm64@npm:0.14.54" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-freebsd-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-freebsd-64@npm:0.14.54" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"esbuild-freebsd-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-freebsd-arm64@npm:0.14.54" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-linux-32@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-32@npm:0.14.54" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - -"esbuild-linux-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-64@npm:0.14.54" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"esbuild-linux-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-arm64@npm:0.14.54" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"esbuild-linux-arm@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-arm@npm:0.14.54" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"esbuild-linux-mips64le@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-mips64le@npm:0.14.54" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - -"esbuild-linux-ppc64le@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-ppc64le@npm:0.14.54" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - -"esbuild-linux-riscv64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-riscv64@npm:0.14.54" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - -"esbuild-linux-s390x@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-linux-s390x@npm:0.14.54" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - -"esbuild-netbsd-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-netbsd-64@npm:0.14.54" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - -"esbuild-openbsd-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-openbsd-64@npm:0.14.54" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "esbuild-plugin-alias@npm:^0.2.1": version: 0.2.1 resolution: "esbuild-plugin-alias@npm:0.2.1" @@ -7700,105 +7735,80 @@ __metadata: languageName: node linkType: hard -"esbuild-sunos-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-sunos-64@npm:0.14.54" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - -"esbuild-windows-32@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-windows-32@npm:0.14.54" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"esbuild-windows-64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-windows-64@npm:0.14.54" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"esbuild-windows-arm64@npm:0.14.54": - version: 0.14.54 - resolution: "esbuild-windows-arm64@npm:0.14.54" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"esbuild@npm:^0.14.48": - version: 0.14.54 - resolution: "esbuild@npm:0.14.54" +"esbuild@npm:^0.16.4": + version: 0.16.4 + resolution: "esbuild@npm:0.16.4" dependencies: - "@esbuild/linux-loong64": 0.14.54 - esbuild-android-64: 0.14.54 - esbuild-android-arm64: 0.14.54 - esbuild-darwin-64: 0.14.54 - esbuild-darwin-arm64: 0.14.54 - esbuild-freebsd-64: 0.14.54 - esbuild-freebsd-arm64: 0.14.54 - esbuild-linux-32: 0.14.54 - esbuild-linux-64: 0.14.54 - esbuild-linux-arm: 0.14.54 - esbuild-linux-arm64: 0.14.54 - esbuild-linux-mips64le: 0.14.54 - esbuild-linux-ppc64le: 0.14.54 - esbuild-linux-riscv64: 0.14.54 - esbuild-linux-s390x: 0.14.54 - esbuild-netbsd-64: 0.14.54 - esbuild-openbsd-64: 0.14.54 - esbuild-sunos-64: 0.14.54 - esbuild-windows-32: 0.14.54 - esbuild-windows-64: 0.14.54 - esbuild-windows-arm64: 0.14.54 + "@esbuild/android-arm": 0.16.4 + "@esbuild/android-arm64": 0.16.4 + "@esbuild/android-x64": 0.16.4 + "@esbuild/darwin-arm64": 0.16.4 + "@esbuild/darwin-x64": 0.16.4 + "@esbuild/freebsd-arm64": 0.16.4 + "@esbuild/freebsd-x64": 0.16.4 + "@esbuild/linux-arm": 0.16.4 + "@esbuild/linux-arm64": 0.16.4 + "@esbuild/linux-ia32": 0.16.4 + "@esbuild/linux-loong64": 0.16.4 + "@esbuild/linux-mips64el": 0.16.4 + "@esbuild/linux-ppc64": 0.16.4 + "@esbuild/linux-riscv64": 0.16.4 + "@esbuild/linux-s390x": 0.16.4 + "@esbuild/linux-x64": 0.16.4 + "@esbuild/netbsd-x64": 0.16.4 + "@esbuild/openbsd-x64": 0.16.4 + "@esbuild/sunos-x64": 0.16.4 + "@esbuild/win32-arm64": 0.16.4 + "@esbuild/win32-ia32": 0.16.4 + "@esbuild/win32-x64": 0.16.4 dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true "@esbuild/linux-loong64": optional: true - esbuild-android-64: + "@esbuild/linux-mips64el": optional: true - esbuild-android-arm64: + "@esbuild/linux-ppc64": optional: true - esbuild-darwin-64: + "@esbuild/linux-riscv64": optional: true - esbuild-darwin-arm64: + "@esbuild/linux-s390x": optional: true - esbuild-freebsd-64: + "@esbuild/linux-x64": optional: true - esbuild-freebsd-arm64: + "@esbuild/netbsd-x64": optional: true - esbuild-linux-32: + "@esbuild/openbsd-x64": optional: true - esbuild-linux-64: + "@esbuild/sunos-x64": optional: true - esbuild-linux-arm: + "@esbuild/win32-arm64": optional: true - esbuild-linux-arm64: + "@esbuild/win32-ia32": optional: true - esbuild-linux-mips64le: - optional: true - esbuild-linux-ppc64le: - optional: true - esbuild-linux-riscv64: - optional: true - esbuild-linux-s390x: - optional: true - esbuild-netbsd-64: - optional: true - esbuild-openbsd-64: - optional: true - esbuild-sunos-64: - optional: true - esbuild-windows-32: - optional: true - esbuild-windows-64: - optional: true - esbuild-windows-arm64: + "@esbuild/win32-x64": optional: true bin: esbuild: bin/esbuild - checksum: 1df3cf7c5175ebee284fd027f287385a07ce8a0f0460a4412881aeff707577d91e55302f220ee8397b3b5aa17f4ceeb80eac16f36fc676532ff1b744e5965f2d + checksum: 5d74862e2b5ee97f187347ac8d163cf6d6f1ad8d89d7da92dad3b2f9cfa087afa4cd25b649796ae50a456714e8a3c338bd614aeed0a6a9fbbba2606f4bc0e410 languageName: node linkType: hard From 8c8cb73831e9cd2486d574fd4f81deeee3b18e15 Mon Sep 17 00:00:00 2001 From: James LiVolsi Date: Mon, 12 Dec 2022 10:27:39 -0600 Subject: [PATCH 2/6] update react-mdx.stories to build --- .../react/template/stories/react-mdx.stories.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/renderers/react/template/stories/react-mdx.stories.mdx b/code/renderers/react/template/stories/react-mdx.stories.mdx index 8591bc513b2..b7e8cf2d774 100644 --- a/code/renderers/react/template/stories/react-mdx.stories.mdx +++ b/code/renderers/react/template/stories/react-mdx.stories.mdx @@ -7,18 +7,18 @@ import { Meta, Story, Canvas } from '@storybook/addon-docs'; export const Button = globalThis.Components.Button; +export const Primary = (args) =>