Socket
Book a DemoInstallSign in
Socket

@ni/nimble-angular-schematics

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@ni/nimble-angular-schematics

Angular schematics for Nimble components in Angular

1.0.0-alpha.3
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ni | nimble | angular schematics

Nimble Angular Schematics

NPM Version

This repository is a simple schematic implementation for the nimble-angular repository.

It contains a template that extends the standard ng generate component template to include a Storybook file (*.stories.ts), and to modify the generated module file (*.module.ts) to explicitly export the component.

How to use this project

To generate a new nimble-* component in the nimble-angular repository:

  • npm i -D @ni/nimble-angular-schematics at the root of NimbleAngular (should already be complete)

  • Navigate to the components directory. I.e. cd projects/nimble-angular/src/components/

  • Run ng generate module and enter the component name when prompted. E.g. nimble-button

  • Run ng g @ni/nimble-angular-schematics:nimble and enter the same name. E.g. nimble-button

  • Navigate back to the root directory and run Storybook to see the live component. Modify the component for your specific needs. E.g.

cd ../../../../
npm run nimble:watch:storybook

Example component screenshot

Contributing

Follow the instructions in CONTRIBUTING.md to modify this library.

Keywords

schematics

FAQs

Package last updated on 14 May 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.