From d8b0e97dca26c702478564543f8abc8807e9ea4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sta=C5=9B=20Ma=C5=82olepszy?= Date: Mon, 20 Nov 2017 15:04:40 +0100 Subject: [PATCH] Drop support for node versions before 8 LTS (8.9.0) (#95) --- README.md | 5 ++++- fluent-dom/package.json | 4 ++-- fluent-intl-polyfill/package.json | 4 ++-- fluent-langneg/package.json | 4 ++-- fluent-react/package.json | 4 ++-- fluent-syntax/package.json | 4 ++-- fluent-web/package.json | 4 ++-- fluent/package.json | 4 ++-- package.json | 3 +++ 9 files changed, 21 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 6354af4ec..3765d08e1 100644 --- a/README.md +++ b/README.md @@ -73,11 +73,14 @@ feedback. Local Development ----------------- -Hacking on `fluent.js` is easy! To quickly get started clone the repo: +Hacking on `fluent.js` is easy! To quickly get started clone the repo: $ git clone https://github.com/projectfluent/fluent.js.git $ cd fluent.js +You'll need node.js 8 LTS (v8.9.0 and up). Older 8.x versions and 7.x +versions have been reported to work as well. node.js 6.x is not supported. + Install the build tools used by all packages (Babel, Rollup, Mocha etc.): $ npm install diff --git a/fluent-dom/package.json b/fluent-dom/package.json index f9b28f846..030e69ddb 100644 --- a/fluent-dom/package.json +++ b/fluent-dom/package.json @@ -27,8 +27,8 @@ "localization", "l10n" ], - "engine": { - "node": ">=6" + "engines" : { + "node" : ">=8.9.0" }, "devDependencies": { "jsdom": "^9.12.0" diff --git a/fluent-intl-polyfill/package.json b/fluent-intl-polyfill/package.json index ea307199e..5f184c448 100644 --- a/fluent-intl-polyfill/package.json +++ b/fluent-intl-polyfill/package.json @@ -28,8 +28,8 @@ "localization", "l10n" ], - "engine": { - "node": ">=6" + "engines" : { + "node" : ">=8.9.0" }, "dependencies": { "intl-pluralrules": "projectfluent/IntlPluralRules#module" diff --git a/fluent-langneg/package.json b/fluent-langneg/package.json index 68481a74f..c1f2dc5ef 100644 --- a/fluent-langneg/package.json +++ b/fluent-langneg/package.json @@ -28,7 +28,7 @@ "localization", "l10n" ], - "engine": { - "node": ">=6" + "engines" : { + "node" : ">=8.9.0" } } diff --git a/fluent-react/package.json b/fluent-react/package.json index 95171a20f..cd9ec3325 100644 --- a/fluent-react/package.json +++ b/fluent-react/package.json @@ -28,8 +28,8 @@ "localization", "l10n" ], - "engine": { - "node": ">=6" + "engines" : { + "node" : ">=8.9.0" }, "dependencies": { "fluent": "^0.4.1", diff --git a/fluent-syntax/package.json b/fluent-syntax/package.json index 232ab3302..212198619 100644 --- a/fluent-syntax/package.json +++ b/fluent-syntax/package.json @@ -28,7 +28,7 @@ "localization", "l10n" ], - "engine": { - "node": ">=6" + "engines" : { + "node" : ">=8.9.0" } } diff --git a/fluent-web/package.json b/fluent-web/package.json index e4d5d6758..d62d6125c 100644 --- a/fluent-web/package.json +++ b/fluent-web/package.json @@ -27,8 +27,8 @@ "localization", "l10n" ], - "engine": { - "node": ">=6" + "engines" : { + "node" : ">=8.9.0" }, "dependencies": { "fluent": "~0.4.0", diff --git a/fluent/package.json b/fluent/package.json index f4cd0638c..57d509995 100644 --- a/fluent/package.json +++ b/fluent/package.json @@ -28,8 +28,8 @@ "localization", "l10n" ], - "engine": { - "node": ">=6" + "engines" : { + "node" : ">=8.9.0" }, "devDependencies": { "sinon": "^2.1.0" diff --git a/package.json b/package.json index d943ea753..cb1c74958 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "fluent-javascript", "version": "0.0.1", "private": true, + "engines" : { + "node" : ">=8.9.0" + }, "devDependencies": { "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-builtin-extend": "^1.1.2",