From a6b82013a53079a36f00bc9c7c6080265edac114 Mon Sep 17 00:00:00 2001 From: Josh Black Date: Mon, 29 Jul 2024 16:27:40 -0500 Subject: [PATCH 1/2] chore(deps): remove optionalDependencies in favor of wasm-node package --- package-lock.json | 25 ++++++++++++++++++++++--- package.json | 4 +--- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e4fdbb..b35cb42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "@changesets/cli": "^2.18.1", "@github/prettier-config": "^0.0.6", "@rollup/plugin-typescript": "^11.1.6", + "@rollup/wasm-node": "^4.19.1", "@size-limit/preset-small-lib": "^11.1.4", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.1", @@ -34,9 +35,6 @@ "rollup": "^4.18.0", "size-limit": "^11.1.4", "typescript": "^5.2.2" - }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.18.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2971,6 +2969,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -3028,6 +3027,26 @@ "win32" ] }, + "node_modules/@rollup/wasm-node": { + "version": "4.19.1", + "resolved": "https://registry.npmjs.org/@rollup/wasm-node/-/wasm-node-4.19.1.tgz", + "integrity": "sha512-G90QnusWbCqaHB0BRgGb5f1FIs7W+0bh/kaoBMZNS30VzCcGBEzbpL0UIDQZYPkbKnP5GHZ9s+HrWuny3IAGIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.5" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", diff --git a/package.json b/package.json index 38129c2..12d92a5 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "@changesets/cli": "^2.18.1", "@github/prettier-config": "^0.0.6", "@rollup/plugin-typescript": "^11.1.6", + "@rollup/wasm-node": "^4.19.1", "@size-limit/preset-small-lib": "^11.1.4", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.1", @@ -94,8 +95,5 @@ "rollup": "^4.18.0", "size-limit": "^11.1.4", "typescript": "^5.2.2" - }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.18.0" } } From fd1419aa9fe1b3821903fbb145d76ce5e35e1c9a Mon Sep 17 00:00:00 2001 From: Josh Black Date: Mon, 29 Jul 2024 16:31:29 -0500 Subject: [PATCH 2/2] chore: add changeset --- .changeset/honest-boats-jam.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/honest-boats-jam.md diff --git a/.changeset/honest-boats-jam.md b/.changeset/honest-boats-jam.md new file mode 100644 index 0000000..c0f4c23 --- /dev/null +++ b/.changeset/honest-boats-jam.md @@ -0,0 +1,5 @@ +--- +'@primer/behaviors': patch +--- + +Remove optionalDependencies from npm package