nx
约 1 分钟阅读
- nrwl/nxGitHubnrwl/nxnrwl/nx · 大型仓库构建框架 · 一个 workspace 为一个大项目 - · 项目下包含多个 app、lib、tool 为 project · 通过插件提供生成和构建执行能力 · 参考 · nrwl/nx#4620 · 不好发布包笔记:nx
- 大型仓库构建框架
- 一个 workspace 为一个大项目 -
@project- 项目下包含多个 app、lib、tool 为 project
- 通过插件提供生成和构建执行能力
- 参考
- nrwl/nx#4620GitHub Issuenrwl/nx#4620nrwl/nx · 大型仓库构建框架 · 一个 workspace 为一个大项目 - · 项目下包含多个 app、lib、tool 为 project · 通过插件提供生成和构建执行能力 · 参考 · nrwl/nx#4620 · 不好发布包笔记:nx
- 不好发布包
- nrwl/nx#4620GitHub Issuenrwl/nx#4620nrwl/nx · 大型仓库构建框架 · 一个 workspace 为一个大项目 - · 项目下包含多个 app、lib、tool 为 project · 通过插件提供生成和构建执行能力 · 参考 · nrwl/nx#4620 · 不好发布包笔记:nx
- 全局一个 package.json 而不是每个一个 #1777GitHub Issuenrwl/nx#1777
npx create-nx-workspace --name demo --preset empty --packageManager npm --nx-cloud false
# 所有插件
nx list
npm add -D @nrwl/next @nrwl/react
npx nx g @nrwl/next:app demo
# import {} from '@myproject/mylibrary'
npx nx generate @nrwl/react:library mylibrary --style styled-component --component false
npx nx g @nrwl/react:storybook-configuration project-name
npx nx run project-name:storybookplugins
| plugin | include | for |
|---|---|---|
| @nrwl/web | builders,generators | Web Component |
| @nrwl/react | generators | |
| @nrwl/nest | executors,generators | |
| @nrwl/angular | generators | |
| @nrwl/node | executors,generators | |
| @nrwl/express | executors,generators | |
| @nrwl/next | builders,generators | |
| @nrwl/storybook | builders,generators | |
| @nrwl/cypress | builders,generators | |
| @nrwl/jest | builders,generators | |
| @nrwl/linter | builders | |
| @nrwl/workspace | builders,generators | |
| @nrwl/nx-plugin | executors,generators |
- generator
- app,application
- c,component
- component-story
- lib,library
- redux
- stories
- storybook-configuration
- configuration
- storybook
- page
- next
- executor
- build
- server
- export
- dev-server
- web
- file-server
- web
- package
- web
关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
GitHub3 条
- nrwl/nxgithub.com/nrwl/nx
- nrwl/nx#1777github.com/nrwl/nx/issues/1777
- nrwl/nx#4620github.com/nrwl/nx/issues/4620