Nx
Enterprise
Nx
Sign in / Sign up
Open main menu
Nx
GitHub
Select a tab
Overview
Runs
Analytics
Nx
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix status
Filter
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
643
5de01c45 fix(schematics): workspace schematics support for directory option The custom workspace schematic generates a schematic for a custom 'lib': ```ts import { chain, externalSchematic, Rule } from '@angular-devkit/schematics'; export default function(schema: any): Rule { return chain([ externalSchematic('@nrwl/schematics', 'lib', { name: schema.name }) ]); } ``` > This schematic does not support the `--directory=<parent folder>` option. Here is what **should be** generated: ```ts import { chain, externalSchematic, Rule } from '@angular-devkit/schematics'; export default function(schema: any): Rule { return chain([ externalSchematic('@nrwl/schematics', 'lib', { name: schema.name, directory : schema.directory }) ]); } ``` Fixes #642.
3 days ago
by ThomasBurl...
Previous page
Previous
Next
Next page