@jojoxd/barrels-nx
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.0 • Public • Published

@jojoxd/barrels-nx

Run @jojoxd/barrels using NX.

yarn install -D @jojoxd/barrels @jojoxd/barrels-nx

Generators

@jojoxd/barrels:configuration

Configure @jojoxd/barrels for a project, including barrels target

nx generate @jojoxd/barrels:configuration <project>

Or use it in your own generator:

// generator.ts
import { configurationGenerator, ConfigurationGeneratorSchema } from "@jojoxd/barrels-nx";
import { Schema } from "./schema";

export default async function(tree: Tree, schema: Schema & ConfigurationGeneratorSchema): Promise<void>
{
    await configurationGenerator(tree, schema);
}

Executors

@jojoxd/barrels:generate

Execute barrels

{
  "targets": {
    "barrels": {
      "executor": "@jojoxd/barrels:generate",
      
      "options": {
        "TODO": "Options reference"
      }
    }
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @jojoxd/barrels-nx

Weekly Downloads

0

Version

0.0.1-alpha.0

License

MIT

Unpacked Size

27.9 kB

Total Files

27

Last publish

Collaborators

  • bakaxd