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

@studiohyperdrive/angular-builders

Package Overview
Dependencies
Maintainers
10
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studiohyperdrive/angular-builders

This repo contains some builders for Angular (v7+).

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
10
Created
Source

@studiohyperdrive/angular-builders

This repo contains some builders for Angular (v7+).

Install

npm install -D @studiohyperdrive/angular-builders

or

yarn add @studiohyperdrive/angular-builders

@studiohyperdrive/angular-builder:named-exports

This builder generates named exports for the build target using the @studiohyperdrive/named-exports package.

Usage

Use the builder in your build targets:

{
  ...
  "projects": {
    "demo": {
        ...
        "architect": {
            ...
            "named-exports": {
                "builder": "@studiohyperdrive/angular-builders:named-exports",
                "options": {
                    "dir": "src",
                    "indent": "space",
                    "indentSize": 4,
                    "ignore": "*.spec.ts"
                }
            }
        }
    }
}

For available options, see @studiohyperdrive/named-exports.

@studiohyperdrive/angular-builder:build-library

This builder runs the ng build command with support for auto-generated export files using the named-exports package described above.

Usage

Use the builder in your build targets like you would the standard library builder, adding options for the named-exports builder under the namedExports property:

{
  ...
  "projects": {
    "demo": {
        ...
        "architect": {
            ...
            "build": {
                "builder": "@studiohyperdrive/angular-builders:builder-library",
                "options": {
                    "tsConfig": "projects/demo/tsconfig.lib.json",
                    "project": "projects/demo/ng-package.json",
                    "namedExports": {
                        "dir": "projects/demo/src",
                        "fileName": "public-api"
                    }
                }
            }
        }
    }
}

For available options, see @studiohyperdrive/named-exports.

Contributing (Issue/PR)

Make sure to add your issue, question or feature request to the issue tracker and fire away!

FAQs

Package last updated on 07 Jun 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

  • 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