mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
⚡ Remove fibers
to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib * 📦 Update package-lock.json * 📦 Update package-lock.json * ✏️ Mention recommended version * ⚡ Update node version in Docker images * ⬆️ bump uuid and flatted * 📦 Update package-lock.json Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
parent
2cc1f58f46
commit
fc550ecbcb
|
@ -1,5 +1,5 @@
|
|||
# 1. Create an image to build n8n
|
||||
FROM node:14.15-alpine as builder
|
||||
FROM node:16-alpine as builder
|
||||
|
||||
# Update everything and install needed dependencies
|
||||
USER root
|
||||
|
@ -26,7 +26,7 @@ RUN npm run build
|
|||
|
||||
|
||||
# 2. Start with a new clean image with just the code that is needed to run n8n
|
||||
FROM node:14.15-alpine
|
||||
FROM node:16-alpine
|
||||
|
||||
USER root
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:14.15
|
||||
FROM node:16
|
||||
|
||||
ARG N8N_VERSION
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:14.15-alpine
|
||||
FROM node:16-alpine
|
||||
|
||||
ARG N8N_VERSION
|
||||
|
||||
|
|
1028
package-lock.json
generated
1028
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -25,7 +25,7 @@ if (process.argv.length === 2) {
|
|||
var nodeVersion = process.versions.node.split('.');
|
||||
|
||||
if (parseInt(nodeVersion[0], 10) < 14) {
|
||||
console.log(`\nYour Node.js version (${process.versions.node}) is too old to run n8n.\nPlease update to version 14 or later!\n`);
|
||||
console.log(`\nYour Node.js version (${process.versions.node}) is too old to run n8n.\nPlease update at least to Node.js v14 or to the recommended Node.js v16!\n`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
"dotenv": "^8.0.0",
|
||||
"express": "^4.16.4",
|
||||
"fast-glob": "^3.2.5",
|
||||
"flatted": "^2.0.0",
|
||||
"flatted": "^3.2.4",
|
||||
"google-timezones-json": "^1.0.2",
|
||||
"inquirer": "^7.0.1",
|
||||
"json-diff": "^0.5.4",
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
"eslint": "^7.32.0",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"eslint-plugin-vue": "^7.16.0",
|
||||
"fibers": "^5.0.0",
|
||||
"gulp": "^4.0.0",
|
||||
"prettier": "^2.3.2",
|
||||
"sass": "^1.26.5",
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"@types/lodash.set": "^4.3.6",
|
||||
"@types/node": "14.17.27",
|
||||
"@types/quill": "^2.0.1",
|
||||
"@types/uuid": "^8.3.0",
|
||||
"@types/uuid": "^8.3.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
||||
"@typescript-eslint/parser": "^4.29.0",
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
|
@ -67,7 +67,7 @@
|
|||
"eslint-plugin-import": "^2.23.4",
|
||||
"eslint-plugin-vue": "^7.16.0",
|
||||
"file-saver": "^2.0.2",
|
||||
"flatted": "^2.0.0",
|
||||
"flatted": "^3.2.4",
|
||||
"jquery": "^3.4.1",
|
||||
"jshint": "^2.9.7",
|
||||
"jsplumb": "2.15.4",
|
||||
|
@ -87,7 +87,7 @@
|
|||
"ts-jest": "^26.3.0",
|
||||
"tslint": "^6.1.2",
|
||||
"typescript": "~4.3.5",
|
||||
"uuid": "^8.3.0",
|
||||
"uuid": "^8.3.2",
|
||||
"vue": "^2.6.11",
|
||||
"vue-cli-plugin-webpack-bundle-analyzer": "^2.0.0",
|
||||
"vue-json-pretty": "1.7.1",
|
||||
|
|
|
@ -689,7 +689,7 @@
|
|||
"@types/request-promise-native": "~1.0.15",
|
||||
"@types/ssh2-sftp-client": "^5.1.0",
|
||||
"@types/tmp": "^0.2.0",
|
||||
"@types/uuid": "^8.3.0",
|
||||
"@types/uuid": "^8.3.2",
|
||||
"@types/xml2js": "^0.4.3",
|
||||
"gulp": "^4.0.0",
|
||||
"jest": "^26.4.2",
|
||||
|
@ -750,7 +750,7 @@
|
|||
"snowflake-sdk": "^1.5.3",
|
||||
"ssh2-sftp-client": "^7.0.0",
|
||||
"tmp-promise": "^3.0.2",
|
||||
"uuid": "^8.3.0",
|
||||
"uuid": "^8.3.2",
|
||||
"vm2": "~3.9.5",
|
||||
"xlsx": "^0.17.0",
|
||||
"xml2js": "^0.4.23"
|
||||
|
|
Loading…
Reference in a new issue