New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@openit.olivier.blanc/ng-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

@openit.olivier.blanc/ng-schematics

custom angular schematics

  • 1.0.0-4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Angular Schematics Collection

This project contains a collection of custom Angular schematics.

inline-templates

This schematic will inline the content of templateUrls.

Usage

npm ng g @openit.olivier.blanc/ng-schematics:inline-templates --max-lines 10 --base-path ./src

Options

  • max-lines: (type: number) [Optional] The maximum number of lines allowed for a template to be inlined. If omitted, all templates will be inlined.
  • base-path: (type: string) [Optional] Base path to run the conversion. Defaults to ./src
  • dry-run: do not write files

For more information on Angular Schematics, check out the official docs.

inline-styles

This schematic will inline the content of styleUrls. Components with multiple styles are ignored.

Usage

npm ng g @openit.olivier.blanc/ng-schematics:inline-styles --max-lines 10 --base-path ./src

Options

  • max-lines: (type: number) [Optional] The maximum number of lines allowed for a template to be inlined. If omitted, all templates will be inlined.
  • base-path: (type: string) [Optional] Base path to run the conversion. Defaults to ./src
  • dry-run: do not write files

For more information on Angular Schematics, check out the official docs.

private-to-pound

This schematic will replace all tspescript private class members and properties to their js # equivalent.

Usage

npm ng g @openit.olivier.blanc/ng-schematics:private-to-pound --base-path ./src

Options

  • base-path: (type: string) [Optional] Base path to run the conversion. Defaults to ./src
  • dry-run: do not write files

For more information on Angular Schematics, check out the official docs.

License

MIT

Keywords

FAQs

Package last updated on 06 May 2024

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

  • 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