onflow / kitty-items

Kitty Items: CryptoKitties Sample App
https://kitty-items.onflow.org
Apache License 2.0
409 stars 214 forks source link

Upgrade all packages without any breaking changes #319

Open Quasso opened 1 year ago

Quasso commented 1 year ago

As per title, just helps a little to keep things secure and up-to-date!

zolrath commented 1 year ago

Attempting to npm install with this PR using Ubuntu 20.04 results in new errors. Without this PR, the WARNs still occur, but with it the unsupported platform for @next/swc-darwin-arm64 error appears.

> npx lerna exec npm install

lerna notice cli v4.0.0
lerna info Executing command in 2 packages: "npm install"
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@readme/oas-to-har@16.1.0',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16' },
npm WARN EBADENGINE   current: { node: 'v18.15.0', npm: '8.16.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'api@4.5.1',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16' },
npm WARN EBADENGINE   current: { node: 'v18.15.0', npm: '8.16.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'fetch-har@5.0.5',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16' },
npm WARN EBADENGINE   current: { node: 'v18.15.0', npm: '8.16.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'remove-undefined-objects@1.1.0',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16' },
npm WARN EBADENGINE   current: { node: 'v18.15.0', npm: '8.16.0' }
npm WARN EBADENGINE }
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for @next/swc-darwin-arm64@13.3.0: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  arm64
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/zolrath/.npm/_logs/2023-04-17T22_28_22_538Z-debug-0.log
lerna ERR! npm install exited 1 in 'kitty-items-web'
lerna ERR! npm install exited 1 in 'kitty-items-web'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
npm ERR! code 1
npm ERR! path /home/zolrath/code/work/flow/kitty-items
npm ERR! command failed
npm ERR! command sh -c npx lerna exec npm install

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/zolrath/.npm/_logs/2023-04-17T22_27_43_289Z-debug-0.log