Socket
Socket
Sign inDemoInstall

@smartsoft001/cli

Package Overview
Dependencies
Maintainers
1
Versions
450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smartsoft001/cli - npm Package Compare versions

Comparing version 0.0.41 to 0.0.42

2

package.json
{
"name": "@smartsoft001/cli",
"version": "0.0.41",
"version": "0.0.42",
"bin": {

@@ -5,0 +5,0 @@ "smart": "smart.js"

@@ -31,3 +31,3 @@ # @smartsoft001/cli

`smart generate library [name] [type=default]`
`smart generate library [name] [--type=default]`

@@ -41,3 +41,3 @@ Parameters:

<tr>
<td>type</td>
<td>--type</td>
<td>

@@ -44,0 +44,0 @@ Type of library (default: default)

@@ -8,7 +8,7 @@ "use strict";

return tslib_1.__awaiter(this, void 0, void 0, function* () {
const [, type, res, opt1] = args["_"];
const [, type, res] = args["_"];
switch (type) {
case 'library':
utils_1.log('Generate library');
utils_1.runCommand(`ng g library ${res} ${opt1 ? opt1 : ''}`);
utils_1.runCommand(`ng g lib ${res} --type ${args.type ? args.type : ''}`);
break;

@@ -15,0 +15,0 @@ default:

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc