Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend build with Node.js 18 and Vite (WIP) #397

Closed
wants to merge 29 commits into from

Conversation

loleg
Copy link
Contributor

@loleg loleg commented Oct 20, 2023

We would like to use Node 18 in our builds (CircleCI etc.), and require at least Node 16.

This requires updating from Vue CLI to Vite.

@loleg loleg mentioned this pull request Oct 20, 2023
@loleg loleg requested a review from tafonina November 6, 2023 11:12
@tafonina
Copy link
Contributor

tafonina commented Nov 8, 2023

@oleg the build-ui check is failed
Starting container cimg/node:18
Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub.
image cache not found on this host, downloading cimg/node:18

@loleg
Copy link
Contributor Author

loleg commented Nov 18, 2023

Yarn upgrade warnings:

  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > babel-runtime > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/wallet > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > bootstrap-vue > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > v-tooltip > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vis@4.21.0: Please consider using https://github.com/visjs
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/wallet > vis@4.21.0: Please consider using https://github.com/visjs
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vue-error-page@1.1.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/wallet > vue-error-page@1.1.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vue-tour > popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vue-headful@2.1.0: Please use 'vue-meta' instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/wallet > vue-headful@2.1.0: Please use 'vue-meta' instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/wallet > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > eslint-plugin-standard@5.0.0: standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-plugin-standard package. You can remove it from your dependencies with 'npm rm eslint-plugin-standard'. More info here: Eliminate eslint-plugin-standard standard/standard#1316
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > consolidate@0.16.0: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > @vue/component-compiler-utils > consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > vue-template-babel-compiler > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > vue-template-babel-compiler > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > vue-template-babel-compiler > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vue-headful > headful@1.0.3: Project will no longer receive updates.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vuex-persist > circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > @cypress/webpack-preprocessor > @babel/preset-env > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > @cypress/webpack-preprocessor > webpack > acorn-dynamic-import@3.0.0: This is probably built in to whatever tool you're using. If you still need it... idk
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > vite-plugin-vue2 > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > @cypress/webpack-preprocessor > @babel/preset-env > @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > @cypress/webpack-preprocessor > @babel/preset-env > @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > @cypress/webpack-preprocessor > @babel/preset-env > @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > @cypress/webpack-preprocessor > @babel/preset-env > @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > webpack > watchpack > watchpack-chokidar2 > chokidar > fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > @cypress/webpack-preprocessor > webpack > uglifyjs-webpack-plugin > uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js as of v3.13.0
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/wallet > vue-pdf > pdfjs-dist > dommatrix@1.0.3: dommatrix is no longer maintained. Please use @thednp/dommatrix.
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > webpack > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > webpack > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
  • warning workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
  • warning "workspace-aggregator-d9c21d90-a846-48fd-a00f-295e0fe17e65 > @proxeus/core > web3 > web3-eth-abi > abitype@0.7.1" has unmet peer dependency "typescript@>=4.9.4".

@loleg loleg self-assigned this Nov 18, 2023
@loleg loleg changed the title Update Node.js 18 Update to Node.js 18 and use Vite Nov 18, 2023
@loleg loleg changed the title Update to Node.js 18 and use Vite Support Node.js 18 and use Vite Nov 18, 2023
@loleg loleg changed the title Support Node.js 18 and use Vite Support Node.js 18 and build with Vite Nov 20, 2023
@loleg
Copy link
Contributor Author

loleg commented Dec 19, 2023

404: Not Found - I'm struggling with this issue as well on my local machine.

@loleg loleg changed the title Support Node.js 18 and build with Vite Frontend build with Node.js 18 and Vite (WIP) Dec 22, 2023
@loleg loleg deleted the branch ProxeusApp:preprod December 22, 2023 17:22
@loleg loleg closed this Dec 22, 2023
@loleg loleg deleted the preprod branch December 22, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants