You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following exception to the nx-enforce-module-boundaries lint rule should allow importing any module that is one-level deep inside the "mylibrary" library.
add import { SublibraryModule } from '@myorg/mylibrary/sublibrary’;
Run yarn lint demo
Context
Please provide any relevant information about your setup:
Workspace created with create-nx-workspace@8.7.1
nx report from within created workspace:
@nrwl/angular : 8.7.1
@nrwl/cli : 8.7.1
@nrwl/cypress : 8.7.1
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 8.7.1
@nrwl/linter : Not Found
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 8.7.1
@nrwl/web : Not Found
@nrwl/workspace : 8.7.1
typescript : 3.4.5
The text was updated successfully, but these errors were encountered:
Expected Behavior
The following exception to the nx-enforce-module-boundaries lint rule should allow importing any module that is one-level deep inside the "mylibrary" library.
Current Behavior
With the above rule, the linter always fails on the following import:
import @myorg/mylibrary/a
Failure Information (for bugs)
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
yarn create nx-workspace myorg --preset=“angular” --appName=“demo”
yarn ng g @nrwl/angular:library mylibrary --publishable --style=css
yarn ng g @nrwl/angular:library sublibrary --directory=mylibrary --publishable --simpleModuleName --style=css
@myorg/mylibrary/*
to allow arrayimport { SublibraryModule } from '@myorg/mylibrary/sublibrary’;
yarn lint demo
Context
Please provide any relevant information about your setup:
Workspace created with create-nx-workspace@8.7.1
nx report
from within created workspace:@nrwl/angular : 8.7.1
@nrwl/cli : 8.7.1
@nrwl/cypress : 8.7.1
@nrwl/eslint-plugin-nx : Not Found
@nrwl/express : Not Found
@nrwl/jest : 8.7.1
@nrwl/linter : Not Found
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 8.7.1
@nrwl/web : Not Found
@nrwl/workspace : 8.7.1
typescript : 3.4.5
The text was updated successfully, but these errors were encountered: