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

ng-barrel

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-barrel - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "ng-barrel",
"version": "2.0.0",
"version": "2.0.1",
"description": "CLI tool to add generated Angular files to barrel files",

@@ -5,0 +5,0 @@ "main": "ng-barrel.js",

@@ -75,4 +75,4 @@ # ng-barrel [![npm version](https://badge.fury.io/js/ng-barrel.svg)](https://badge.fury.io/js/ng-barrel)

You can also pass `--create / -c` to specify where a barrel file should be created.
If this option is specified it takes priority over tree traversing.
You can also pass a relative path as an argument to specify where a barrel file should be created.
If this argument is specified it takes priority over tree traversing.

@@ -82,6 +82,6 @@ If a barrel file at the specified path already exists, the export will be appended.

`--create` takes a relative path, which will be combined with the path of the newly added files.
The argument should be a path relative to the created TS files.
```bash
$ ng g s foo/services/Data data | ng-barrel -c ./
$ ng g s foo/services/Data data | ngb .
Angular:

@@ -88,0 +88,0 @@ CREATE src/app/foo/services/data.service.spec.ts (323 bytes)

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