sasjs / cli

Command line interface for creating, compiling, and building SAS® projects
https://cli.sasjs.io
MIT License
37 stars 5 forks source link

Prevent node version warnings when installing CLI #884

Closed krishna-acondy closed 3 years ago

krishna-acondy commented 3 years ago

Currently when installing the CLI the following message is presented to the user:

➜  ~ npm i -g @sasjs/cli
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@sasjs/adapter@2.10.0',
npm WARN EBADENGINE   required: { node: '>=15' },
npm WARN EBADENGINE   current: { node: 'v14.16.1', npm: '7.17.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@sasjs/utils@2.27.1',
npm WARN EBADENGINE   required: { node: '>=15' },
npm WARN EBADENGINE   current: { node: 'v14.16.1', npm: '7.17.0' }
npm WARN EBADENGINE }

changed 159 packages, and audited 160 packages in 11s

17 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

The CLI should always install without warnings. We should also support whatever is the LTS for Node, which is currently 14.x - https://github.com/nodejs/Release

ghost commented 3 years ago

:tada: This issue has been resolved in version 2.38.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: