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

feat: (strf-8625) support Node 12.x #645

Conversation

MaxGenash
Copy link
Contributor

@MaxGenash MaxGenash commented Sep 22, 2020

What?

Added support for node 12.x.

Smoke-tested all the CLI commands + ran local store, seems to work fine.

Tickets / Documentation

strf-8625

@MaxGenash MaxGenash requested a review from a team September 22, 2020 15:28
@MaxGenash MaxGenash self-assigned this Sep 22, 2020
@@ -6,7 +6,7 @@ addons:
ssh_known_hosts:
- github.com
node_js:
- 10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should support 10 as well until EOL for node 10 or should we switch over support to 12 only
@bookernath thoughts ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should take into account that there are some dependencies (esp. related to hapi) that have last versions already not supporting node 10

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decided that we should support node 10 too

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MaxGenash lets keep node 10 for now since it is an LTS version. We will drop it next year.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.
@junedkazi also just for curiosity tried node 14, but unfortunately, our old version of node-sass doesn’t work with it :(

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes since we are on a forked version of node-sass we have not compiled a node 14 binary for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, got it

@@ -6,7 +6,7 @@ addons:
ssh_known_hosts:
- github.com
node_js:
- 10
- 12.18.4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to update appveyor

- nodejs_version: "10"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@junedkazi junedkazi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also recommend a clean install to confirm things are working correctly specially making sure node-sass is cleanly installed.

@MaxGenash
Copy link
Contributor Author

@junedkazi we should also update the documentation to reflect the latest version.

Actually instead of

nvm install 10.16
nvm use 10.16

we can write

nvm install
nvm use

it will grab the correct version from .nvmrc automatically

@MaxGenash
Copy link
Contributor Author

I would also recommend a clean install to confirm things are working correctly specially making sure node-sass is cleanly installed.

Yeah, I did it

@MaxGenash MaxGenash force-pushed the STRF-8625_Update_stencil_cli_to_support_node_12 branch from 6b5d63f to 176741c Compare September 22, 2020 15:56
@MaxGenash MaxGenash force-pushed the STRF-8625_Update_stencil_cli_to_support_node_12 branch from 176741c to 80861b5 Compare September 23, 2020 10:20
README.md Outdated
_Note: Stencil requires the Node.js runtime environment, version 10.x We do not yet have support for Node 12 or greater._
_Note: Stencil requires the **Node.js** runtime environment, version **12.x** (recommended),
or 10.x (still supported, but will be removed soon).
We do not ensure correct work on other versions at the moment._
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this line.

README.md Outdated
Comment on lines 10 to 11
_Note: Stencil requires the **Node.js** runtime environment, version **12.x** (recommended),
or 10.x (still supported, but will be removed soon).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we change this to

_Note: Stencil requires the Node.js runtime environment, version 10.x and 12.x (Recommended) are supported. We do not yet have support for versions greater than Node 12._

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, updated

@MaxGenash MaxGenash force-pushed the STRF-8625_Update_stencil_cli_to_support_node_12 branch from 80861b5 to 1449751 Compare September 23, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants