Releases: Njs2/njs2-cli
CLI plugin updates
Feature updates and Bug fixes
- Added NPM login check.
- Updated Njs2 commands in terminal logs.
Important Points to Remember
Once you install CLI version 2.0.0-beta, while creating new project specify the base version manually in the command-line arguments.
Run the following command to create a new project:
njs2 project <project-name> version beta
Since CLI version 2.0.0-beta.3 has a breaking change it is required to use base version 3.0.0-beta.2.
CLI plugin updates
Plugin command updates
CLI commands for installing, compiling and updating plugins has been updated.
To check updated command open terminal and run njs2
or njs2 --help
.
Documentation can be found in the below link:
Plugin Docs
Installing CLI
It is required to update the current version of CLI with beta version(2.0.0-beta.2).
Feature updates
- Compiles plugin into multiple Node Versions and publish to Juego NPM registry.
- Test your plugin by installing as a npm package.
- Install plugin version with your current Node Version from Juego NPM registry
Important Points to Remember
Once you install CLI version 2.0.0-beta, while creating new project specify the base version manually in the command-line arguments.
Run the following command to create a new project:
njs2 project <project-name> version 3.0.0-beta.1
Since CLI version 2.0.0-beta.1 has a breaking change it is required to use base version 3.0.0-beta.1.
CLI plugin updates
Plugin command updates
CLI commands for installing, compiling and updating plugins has been updated.
To check updated command open terminal and run njs2
or njs2 --help
.
Documentation can be found in the below link:
Plugin Docs
Installing CLI
It is required to update the current version of CLI with beta version(2.0.0-beta.1).
Feature updates
- Compiles plugin into multiple Node Versions and publish to Juego NPM registry.
- Test your plugin by installing as a npm package.
- Install plugin version with your current Node Version from Juego NPM registry
Important Points to Remember
Once you install CLI version 2.0.0-beta, while creating new project specify the base version manually in the command-line arguments.
Run the following command to create a new project:
njs2 project <project-name> version 3.0.0-beta.0
Since CLI version 2.0.0-beta.1 has a breaking change it is required to use base version 3.0.0-beta.1.
CLI plugin updates
Plugin command updates
CLI commands for installing, compiling and updating plugins has been updated.
To check updated command open terminal and run njs2
or njs2 --help
.
Documentation can be found in the below link:
Plugin Docs
Installing CLI
It is required to update the current version of CLI with beta version(2.0.0-beta).
Feature updates
- Compiles plugin into multiple Node Versions and publish to Juego NPM registry.
- Test your plugin by installing as a npm package.
- Install plugin version with your current Node Version from Juego NPM registry
Important Points to Remember
Once you install CLI version 2.0.0-beta, while creating new project specify the base version manually in the command-line arguments.
Run the following command to create a new project:
njs2 project <project-name> version 3.0.0-beta.0
Since CLI version 2.0.0-beta has a breaking change it is required to use base version 3.0.0-beta.0.
local private package install command
- Added command to install a local private package 553e105
Enhancement(s) to @njs2/cli commands and new introduction 'njs2 upgrade'
-
Added a new command to upgrade existing njs2 project:
njs2 project upgrade [version] [version-string]
- the upgrade command without version string will be treated as
njs2 upgrade version latest
- likewise
njs2 upgrade version 2.1.0
to bump your current project @njs2/base version to 2.1.0
- the upgrade command without version string will be treated as
-
njs2 project command can now take @njs2/base version:
njs2 project <project-name> [version] [version-string]
- the project creation command without version string will be treated as
njs2 project cricket-backend version latest
- likewise
njs2 project stick-backend version 2.0.2
would bootstrap a new backend with @njs2/base version of 2.0.2
- the project creation command without version string will be treated as