Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polaris-sloc/cli

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polaris-sloc/cli - npm Package Compare versions

Comparing version 0.2.0-beta.13 to 0.2.0-beta.14

6

package.json
{
"name": "@polaris-sloc/cli",
"version": "0.2.0-beta.13",
"version": "0.2.0-beta.14",
"license": "Apache-2.0",

@@ -11,4 +11,4 @@ "author": "Polaris SLO Cloud Authors",

"dependencies": {
"tslib": "^2.2.0",
"yargs": "^17.0.1"
"tslib": "^2.3.1",
"yargs": "^17.1.1"
},

@@ -15,0 +15,0 @@ "main": "./src/main.js",

@@ -11,3 +11,3 @@ # Polaris CLI

```sh
nx build cli-polaris-cli --with-deps=true --skip-nx-cache=true --sourceMap=true
nx build cli-polaris-cli --skip-nx-cache=true --sourceMap=true
```

@@ -14,0 +14,0 @@

@@ -13,20 +13,20 @@ "use strict";

function createGenerateCommand(cli) {
return command_1.createYargsCommand(['generate <type> <name>', 'g'], 'Generates a new Polaris project/component.', args => {
return args.positional(TYPE, {
type: 'string',
description: 'The type of the project/component that should be created.',
choices: [
'slo-mapping-type',
'slo-controller',
// 'slo-mapping',
'elasticity-strategy',
'elasticity-strategy-controller',
],
})
.positional(NAME, {
type: 'string',
description: 'The name of the project/component.',
});
}, args => {
const options = args._.slice(1).join(' ') || '--help';
return command_1.createYargsCommand(['generate <type> <name>', 'g'], 'Generates a new Polaris project/component.', args => args.positional(TYPE, {
type: 'string',
description: 'The type of the project/component that should be created.',
choices: [
'slo-mapping-type',
'slo-controller',
// 'slo-mapping',
'metrics-dashboard',
'elasticity-strategy',
'elasticity-strategy-controller',
'metrics-alert',
],
})
.positional(NAME, {
type: 'string',
description: 'The name of the project/component.',
}), args => {
const options = args._.slice(0).join(' ') || '--help';
return cli.taskExecutor.runTask(new tasks_1.RunNpmBinaryTask({

@@ -33,0 +33,0 @@ command: `${polaris_cli_1.NX_CLI} g ${polaris_cli_1.POLARIS_NX}:${args.type} ${args.name} ${options}`,

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