Unverified Commit 97ab23fb authored by Jessica Franco's avatar Jessica Franco Committed by GitHub

Add missing @napi-rs/cli devDependency to next-swc (#39164)

Otherwise build-native fails with "napi: command not found.".

Alternatively, this is missing from this package's devDependencies.



## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)

P.S.: local copy fails `pnpm lint` due to the `target` subfolder with intermediate rust build artifacts... should I add a `.prettierignore` update to exclude `/packages/next-swc/target/`?
Co-authored-by: 's avatarJJ Kasper <22380829+ijjk@users.noreply.github.com>
parent 9a1b756d
......@@ -12,6 +12,8 @@ packages/react-dev-overlay/lib/**
lerna.json
.github/actions/next-stats-action/.work
packages/next-swc/crates/**/*
packages/next-swc/target/**/*
packages/next-swc/native/**/*
packages/next-codemod/transforms/__testfixtures__/**/*
packages/next-codemod/transforms/__tests__/**/*
packages/next-codemod/**/*.js
......@@ -21,4 +23,4 @@ test-timings.json
test/**/out/**
bench/nested-deps/pages/**/*
bench/nested-deps/components/**/*
pnpm-lock.yaml
\ No newline at end of file
pnpm-lock.yaml
......@@ -24,5 +24,8 @@
"aarch64-pc-windows-msvc"
]
}
},
"devDependencies": {
"@napi-rs/cli": "2.7.0"
}
}
......@@ -119,7 +119,7 @@
"@babel/types": "7.18.0",
"@edge-runtime/primitives": "1.1.0-beta.23",
"@hapi/accept": "5.0.2",
"@napi-rs/cli": "2.4.4",
"@napi-rs/cli": "2.7.0",
"@napi-rs/triples": "1.1.0",
"@next/polyfill-module": "12.2.4-canary.8",
"@next/polyfill-nomodule": "12.2.4-canary.8",
......
......@@ -416,7 +416,7 @@ importers:
'@babel/types': 7.18.0
'@edge-runtime/primitives': 1.1.0-beta.23
'@hapi/accept': 5.0.2
'@napi-rs/cli': 2.4.4
'@napi-rs/cli': 2.7.0
'@napi-rs/triples': 1.1.0
'@next/env': 12.2.4-canary.8
'@next/polyfill-module': 12.2.4-canary.8
......@@ -609,7 +609,7 @@ importers:
'@babel/types': 7.18.0
'@edge-runtime/primitives': 1.1.0-beta.23
'@hapi/accept': 5.0.2
'@napi-rs/cli': 2.4.4
'@napi-rs/cli': 2.7.0
'@napi-rs/triples': 1.1.0
'@next/polyfill-module': link:../next-polyfill-module
'@next/polyfill-nomodule': link:../next-polyfill-nomodule
......@@ -832,7 +832,10 @@ importers:
whatwg-fetch: 3.0.0
packages/next-swc:
specifiers: {}
specifiers:
'@napi-rs/cli': 2.7.0
devDependencies:
'@napi-rs/cli': 2.7.0
packages/react-dev-overlay:
specifiers:
......@@ -4644,8 +4647,8 @@ packages:
glob-to-regexp: 0.3.0
dev: true
/@napi-rs/cli/2.4.4:
resolution: {integrity: sha512-f+tvwCv1ka24dBqI2DgBhR7Oxl3DKHOp4onxLXwyBFt6iCADnr3YZIr1/2Iq5r3uqxFgaf01bfPsRQZPkEp0kQ==}
/@napi-rs/cli/2.7.0:
resolution: {integrity: sha512-bQb+r9/xW8LFRbpEN7A/4fX8LnEWbI0JzyOzXGDpO+cI8dXRxX7OPySOpzT2nBgP1brA2Ydkw/t9lyxLN9TlxQ==}
engines: {node: '>= 10'}
hasBin: true
dev: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment