We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apps
libs
tiptap
extensions
media-resize (if framework specific nodes, 1 library per framework)
import { mediaResize } from '@notitap/tiptap/extensions/media-resize/core
traling-nodes -> if framework agnostic no subfolders / libs
ui
utils
shared
tags: framework: angular,vue,react,shared
Example rules to prevent wrong imports:
{ "sourceTag": "framework:angular", "onlyDependOnLibsWithTags": [ "framework:angular", "framework:shared", ] }, { "sourceTag": "framework:react", "onlyDependOnLibsWithTags": [ "framework:react", "framework:shared", ] },
Example commands to create different libraries nx g @nrwl/workspace:library media-resize --directory tiptap/extensions/shared --tags framework:shared https://nx.dev/packages/workspace/generators/library nx g @nrwl/react:library media-resize --directory tiptap/extensions/shared --tags framework:react https://nx.dev/packages/react/generators/library nx g @nrwl/angular:library media-resize --directory tiptap/extensions/shared --tags framework:react
nx g @nrwl/workspace:library media-resize --directory tiptap/extensions/shared --tags framework:shared
nx g @nrwl/react:library media-resize --directory tiptap/extensions/shared --tags framework:react
nx g @nrwl/angular:library media-resize --directory tiptap/extensions/shared --tags framework:react
Ressources:
The text was updated successfully, but these errors were encountered:
@Benny739 To me this seems perfect, looks like you're created a solid structure. I'd say let's move forward with this. ⚡
Sorry, something went wrong.
No branches or pull requests
apps
libs
tiptap
extensions
media-resize (if framework specific nodes, 1 library per framework)
import { mediaResize } from '@notitap/tiptap/extensions/media-resize/core
traling-nodes -> if framework agnostic no subfolders / libs
ui
utils
shared
tags: framework: angular,vue,react,shared
Example rules to prevent wrong imports:
Example commands to create different libraries
nx g @nrwl/workspace:library media-resize --directory tiptap/extensions/shared --tags framework:shared
https://nx.dev/packages/workspace/generators/library
nx g @nrwl/react:library media-resize --directory tiptap/extensions/shared --tags framework:react
https://nx.dev/packages/react/generators/library
nx g @nrwl/angular:library media-resize --directory tiptap/extensions/shared --tags framework:react
Ressources:
The text was updated successfully, but these errors were encountered: