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

⬆️ Node.js 16 #3258

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ruby 2.6.10
nodejs 12.22.2
nodejs 16.19.1
python 2.7.18
4 changes: 2 additions & 2 deletions fedora-manual-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ln -s .tool-versions.sample .tool-versions

### Ruby and Node.js

The project supports **[ruby 2.6.x](https://www.ruby-lang.org/en/downloads/)** and **[Node.js 12](https://nodejs.org/en/download/)**.
The project supports **[ruby 2.6.x](https://www.ruby-lang.org/en/downloads/)** and **[Node.js 16](https://nodejs.org/download/release/v16.19.1/)**.
The recommended way to install them is with `asdf`:

```
Expand All @@ -24,7 +24,7 @@ asdf install

> Alternatively, Node.js can be installed as a [Module](https://developer.fedoraproject.org/tech/languages/nodejs/nodejs.html):
> ```
> dnf module install nodejs:12
> dnf module install nodejs:16
> ```

### Dependencies
Expand Down
8 changes: 1 addition & 7 deletions osx-manual-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ln -s .tool-versions.sample .tool-versions

### Ruby and Node.js

The project supports **[ruby 2.6.x](https://www.ruby-lang.org/en/downloads/)** and **[Node.js 12](https://nodejs.org/en/download/)**. To install them with `asdf` run:
The project supports **[ruby 2.6.x](https://www.ruby-lang.org/en/downloads/)** and **[Node.js 16](https://nodejs.org/download/release/v16.19.1/)**. To install them with `asdf` run:

```
asdf plugin add ruby
Expand All @@ -35,12 +35,6 @@ asdf plugin add nodejs
asdf install
```

* **Macs with M1** require installing and running node through Rosetta 2:

```
arch -x86_64 asdf install nodejs 12.22.2
```

### Python (only macs with M1)

The project requires Python 2.7.18. However, it is not included anymore in Apple macs with Silicon. To install it with `asdf` run:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"ci:lint": "eslint --ext .js,.jsx,.ts,.tsx . --quiet"
},
"engines": {
"node": "16"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.14.7",
Expand Down