Socket
Book a DemoInstallSign in
Socket

yot-cdk-runner

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yot-cdk-runner

This is the main entrypoint of the Component Development Kit (CDK). It contains logic to run commands in a CDK workspace.

0.0.23
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Component Development Kit Runner

This is the main entrypoint of the Component Development Kit (CDK). It contains logic to run commands in a CDK workspace.

$ node ./node_modules/yot-cdk-runner <command>

generate

Prompts the user to generate a new component based on a template.

$ node ./node_modules/yot-cdk-runner generate

build

Builds the component

$ node ./node_modules/yot-cdk-runner build <component-name> [options]

Arguments

ArgumentDescriptionValue type
<component-name>The name of the component to build.string

Options

OptionDescriptionValue typeDefault
--compressCompress build output into a zip-file.booleanfalse
--watchRun build when files change.booleanfalse

simulate

Builds the component (in watch-mode) and runs it inside the simulator.

$ node ./node_modules/yot-cdk-runner simulate <component-name>

Arguments

ArgumentDescriptionValue type
<component-name>The name of the component to build.string

deploy

Deploys the component (authentication is required)

$ node ./node_modules/yot-cdk-runner deploy <component-name> [options]

Arguments

ArgumentDescriptionValue type
<component-name>The name of the component to deploy.string

Options

OptionDescriptionValue typeDefault
--publishPublishes the deployed component.booleanfalse

publish

Publish a deployed component (authentication is required)

$ node ./node_modules/yot-cdk-runner publish <component-name> [options]

Arguments

ArgumentDescriptionValue type
<component-name>The name of the component to publish.string

Options

OptionDescriptionValue typeDefault
--versionPublish the passed version number.string
--latestPublish the latest unpublished versionbooleanfalse

login

Log in with your user account credentials. Generates a .accesstoken file.

$ node ./node_modules/yot-cdk-runner login

logout

Logs out. Removes the .accesstoken file that was generated on login.

$ node ./node_modules/yot-cdk-runner logout

FAQs

Package last updated on 12 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.