feat(repo): have separate readmes for all plugins
465
CHANGELOG.md
@ -1,465 +0,0 @@
|
|||||||
# Changelog
|
|
||||||
|
|
||||||
## Please use the [Github Releases](https://github.com/nrwl/nx/releases) page to see the changelog.
|
|
||||||
|
|
||||||
# 1.0.1
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
- **schematic:** add a migration to add tsconfig.tools.json ([c18baf0](https://github.com/nrwl/nx/commit/c18baf0))
|
|
||||||
|
|
||||||
# 1.0.0
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
- **schematics:** dep-graph visual style for affected lib ([8ca8548](https://github.com/nrwl/nx/commit/8ca8548))
|
|
||||||
- **schematics:** remove strict check for "file" option for dep-graph ([6aa6702](https://github.com/nrwl/nx/commit/6aa6702))
|
|
||||||
- **schematics:** add nxmodule forroot if not existing when generating ngrx for root ([e748e81](https://github.com/nrwl/nx/commit/e748e81))
|
|
||||||
- **schematics:** don't leak file descriptor in shared.ts/mtime ([aa1ff78](https://github.com/nrwl/nx/commit/aa1ff78)), closes [#403](https://github.com/nrwl/nx/issues/403)
|
|
||||||
- **schematics:** ignore errors when the tools directory already exists ([2a377fe](https://github.com/nrwl/nx/commit/2a377fe))
|
|
||||||
|
|
||||||
# 0.11.0
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Support to generate visualization graph](https://github.com/nrwl/nx/commit/49525efe3e31ff93dccf68499300fe35deaac78f)
|
|
||||||
|
|
||||||
# 0.10.1
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Add support for workspace-specific schematics](https://github.com/nrwl/nx/commit/bc559575f524aacbe3d25eb97210101e60de4526)
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
- [Extend ngrx and Angular schematics](https://github.com/nrwl/nx/commit/0c2b01bda6904e09f0c4f997ef4a98818723b795)
|
|
||||||
|
|
||||||
# 0.10.0
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Use npm-run-all to run build in parallel](https://github.com/nrwl/nx/commit/7b63de662e3aa99a8688681f0e26518ca05ffcbc)
|
|
||||||
- [Enhance nxEnforceModuleBoundaries check to support projects tagged with multiple tags](https://github.com/nrwl/nx/commit/d416c580b5db181cedf45ed952d9b6db49bb084d)
|
|
||||||
- [Add a usage information option to create-nx-workspace ](https://github.com/nrwl/nx/commit/2746f0399d0c729ff08420f46f2c2c6b4256f6a7)
|
|
||||||
- [Add an option to pass a custom module name when creating libs](https://github.com/nrwl/nx/commit/c1ca7df014043d0e27517b26470067677c57efa3)
|
|
||||||
- [Affected support for uncommitted changes](https://github.com/nrwl/nx/commit/113b51bd330c2af058675386e482d38f170a6688)
|
|
||||||
- [Extend circular dependency check](https://github.com/nrwl/nx/commit/fff9659c3a108b613c6db89bcca4072494fbe85f)
|
|
||||||
- [Add lint checks ensuring the integrity of the workspace](https://github.com/nrwl/nx/commit/ce553b732e8ca004e1ecf53cf54bcadb6ba1f7f3)
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
- [Fix the absolute import check](https://github.com/nrwl/nx/commit/de138bb26cb816b86afe6b8f14abb362cec2a20e)
|
|
||||||
- [Use yargs-parser to allow more types of arguments](https://github.com/nrwl/nx/commit/c747a4a0a066975bdbbda10234b78e3c63c3b44d)
|
|
||||||
- [Fix e2e lint config in angular cli json](https://github.com/nrwl/nx/commit/fc0bec90805217d03bf2008e9b241025cad72c05)
|
|
||||||
- [Handle undefined rulesDirectory](https://github.com/nrwl/nx/commit/8beae9fa3d6d905778dd24c5e6b27fe7c534be13)
|
|
||||||
- [Add appRoot.path for filesystem reads/writes](https://github.com/nrwl/nx/commit/809bdd4c270baf7fd883980db8d7171ebf09508e)
|
|
||||||
- [Correct docstring for affected](https://github.com/nrwl/nx/commit/6394f9e1edf5a0b1f219050dc8b1e8269d5e5c2b)
|
|
||||||
- [Update karma conf with app check](https://github.com/nrwl/nx/commit/fea4f48decdfa17feb5e020318abf2ac319d05da)
|
|
||||||
- [Fix typo in CONTIRBUTING.md](https://github.com/nrwl/nx/commit/bd50643d60b3c2a8e8ace6ceaab5834d897b4aa3)
|
|
||||||
- [Match ng lib and update versions ](https://github.com/nrwl/nx/commit/8482177b7373844d833aaad55e15a2a10d4ae116)
|
|
||||||
|
|
||||||
# 0.9.0
|
|
||||||
|
|
||||||
A large workspace contains a lot of apps and libs. Because it is so easy to share code, create new libs and depend on libs, the dependencies between the apps and libs can quickly get out of hand. We need a way to impose constraints on the dependency graph. This release adds this capability.
|
|
||||||
|
|
||||||
When creating an app or a lib, you can tag them:
|
|
||||||
|
|
||||||
```
|
|
||||||
ng g lib apilib --tags=api
|
|
||||||
ng g lib utilslib --tags=utils
|
|
||||||
ng g lib impllib --tags=impl
|
|
||||||
ng g lib untaggedlib
|
|
||||||
```
|
|
||||||
|
|
||||||
You can also pass multiple tags `ng g lib apilib --tags=one,two` or modify `.angular-cli.json` after the fact.
|
|
||||||
|
|
||||||
You can then define constraints in `tslint.json`, like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
"nx-enforce-module-boundaries": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
"allow": [],
|
|
||||||
"depConstraints": [
|
|
||||||
{ "sourceTag": "utils", "onlyDependOnLibsWithTags": ["utils"] },
|
|
||||||
{ "sourceTag": "api", "onlyDependOnLibsWithTags": ["api", "utils"] },
|
|
||||||
{ "sourceTag": "impl", "onlyDependOnLibsWithTags": ["api", "utils", "impl"] },
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
```
|
|
||||||
|
|
||||||
With this configuration in place:
|
|
||||||
|
|
||||||
- `utilslib` can depend on no libs.
|
|
||||||
- `apilib` can depend on `utilslib`
|
|
||||||
- `implib` can depend on both `utilslib` and `apilib`.
|
|
||||||
- `untaggedlib` can depend on no libs.
|
|
||||||
|
|
||||||
This gets really useful once you have multiple libs with the same tag.
|
|
||||||
|
|
||||||
You can also use wildcards, like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
{ "sourceTag": "impl", "onlyDependOnLibsWithTags": ["*"] } // impl can depend on anything
|
|
||||||
{ "sourceTag": "*", "onlyDependOnLibsWithTags": ["*"] } // anything can depend on anything
|
|
||||||
```
|
|
||||||
|
|
||||||
The system goes through the constrains until it finds the first one matching the source file it's analyzing.
|
|
||||||
|
|
||||||
If we change the configuration to the following:
|
|
||||||
|
|
||||||
```
|
|
||||||
"nx-enforce-module-boundaries": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
"allow": [],
|
|
||||||
"depConstraints": [
|
|
||||||
{ "sourceTag": "utils", "onlyDependOnLibsWithTags": ["utils"] },
|
|
||||||
{ "sourceTag": "api", "onlyDependOnLibsWithTags": ["api", "utils"] },
|
|
||||||
{ "sourceTag": "impl", "onlyDependOnLibsWithTags": ["api", "utils", "impl"] },
|
|
||||||
{ "sourceTag": "*", "onlyDependOnLibsWithTags": ["*"] },
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
```
|
|
||||||
|
|
||||||
The following will be true.
|
|
||||||
|
|
||||||
- `utilslib` can depend on no libs.
|
|
||||||
- `apilib` can depend on `utilslib`
|
|
||||||
- `implib` can depend on both `utilslib` and `apilib`.
|
|
||||||
- `untaggedlib` can depend on **all** libs.
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Cache the dependency graph to speed up "ng lint"](https://github.com/nrwl/nx/commit/93ecf24bdadfa7ae28cf802b4f3193390858db90)
|
|
||||||
- [Add lint check for circular deps](https://github.com/nrwl/nx/commit/53175f925e804539aacba8323af159d69205ddac)
|
|
||||||
- [Add support for tagged libs](https://github.com/nrwl/nx/commit/2842cb9c387226c24c0a42a154f3c65059d730f3)
|
|
||||||
- [Show warnings about importing lazy loadable libraries](https://github.com/nrwl/nx/commit/56788ba3d1a8220455b03f0c766963ae8179ce81)
|
|
||||||
- [Allow users to set prettier config](https://github.com/nrwl/nx/commit/56a6611575fee7b111655d2223f3e30ea684d000)
|
|
||||||
- [Add store-freeze support](https://github.com/nrwl/nx/commit/e21caa0143862059d4b1089ccf3a7e3799cef0f2)
|
|
||||||
- [Extend the nrwl schematics from the angular cli schematics](https://github.com/nrwl/nx/commit/04f8e2fd4613aff4064123cacd8eb54e1da09a60)
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
- [Improve windows compatibility](https://github.com/nrwl/nx/commit/4f052bb3e60f20d0d676f283de2e2faece0dcef8)
|
|
||||||
- [Dasherize the state folder](https://github.com/nrwl/nx/commit/b17b186186ea5617b1b953f1ddd4ab05ebfa7d92)
|
|
||||||
- [Fix create-nx-workspace to respect the --directory](https://github.com/nrwl/nx/commit/da9310e9dbb4eb3294200ca72bfa70b14faec2c2)
|
|
||||||
- [Fix protractor.conf.js schema](https://github.com/nrwl/nx/commit/37cabafb35980ce8e991abc1269387b3aaaf9f25)
|
|
||||||
|
|
||||||
# 0.8.0
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
Nx no longer uses a patched version of the CLI--we switched to using `@angular/cli@1.7.1`. We also renamed the nx-migrate command into `update` to align with the CLI.
|
|
||||||
|
|
||||||
- [Switch to @angular/cli 1.7](https://github.com/nrwl/nx/commit/acdeb1b71c14e3bc7e5bd2bc925640ad7d0aa24d)
|
|
||||||
- [Add update, update:skip, and update:check commands](https://github.com/nrwl/nx/commit/2fb62597514f1c82e4d80d75a7d60d11229d5aa3)
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
- [Fix format:write --libs-and-apps](https://github.com/nrwl/nx/commit/feeaba1a4b8d827a71731d919740135464d6e049)
|
|
||||||
- [Change format to default to format-all when no patterns are detected](https://github.com/nrwl/nx/commit/58e99ab04d8e9505285bdcf31014f3774a6f900a)
|
|
||||||
|
|
||||||
## Cleanup
|
|
||||||
|
|
||||||
- [Remove the version property](https://github.com/nrwl/nx/commit/24063f02464b6da38e003841e04820dcc347e876)
|
|
||||||
- [Use schematic context to format the generated code](https://github.com/nrwl/nx/commit/e7481a790f5becffc46e794ec46c0835a2114319)
|
|
||||||
|
|
||||||
# 0.7.4
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Change generate effect tests to use toBeObservable](https://github.com/nrwl/nx/commit/222efe2f2630b02f6fdb11f560c9158cd4f51d75)
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
- [Base projectPath on the full path instead of the current working directory of the process](https://github.com/nrwl/nx/commit/545f2ff13902a635b9c26854e9687790adff0616)
|
|
||||||
- [Ammend command in script errors](https://github.com/nrwl/nx/commit/9128fa8be1e31525acb6043ff87af73b6b884aaa)
|
|
||||||
|
|
||||||
# 0.7.2
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Added a post install script that run nx-migrate:check](https://github.com/nrwl/nx/commit/93a6b4e94be4b1b591eb017e77b79c777bc23deb)
|
|
||||||
- [Updated create-nx-workspace to support yarn](https://github.com/nrwl/nx/commit/e5b247b573cef0c1cf5cc5163d030dbf514f4dff)
|
|
||||||
|
|
||||||
## Cleanup
|
|
||||||
|
|
||||||
- [Cleaned up the output of nx-migrate](https://github.com/nrwl/nx/commit/7ab14e3b26e0e91d660ad5bb454dccb21b9745cf)
|
|
||||||
|
|
||||||
# 0.7.0
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Add nx-migrate:check and nx-migrate:skip scripts](d7ba9fdc1b9f4208db6de32184e953d00f6f064f)
|
|
||||||
|
|
||||||
# 0.7.0-beta.1
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Switch to Angular 5.2 and CLI 1.6.5](https://github.com/nrwl/nx/commit/172c18dc9b84f7ac3019694e4a0eeeb40dd1bc26)
|
|
||||||
|
|
||||||
# 0.6.18
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Fixed affected: commands. Continue traversing within irrelevant PropertyAssignment nodes](https://github.com/nrwl/nx/commit/2293e28bd031efa80566228dddc202bc437c2b03)
|
|
||||||
- [Make affected and format windows-friendly](https://github.com/nrwl/nx/commit/9609fc675031bd4dca285ceb942a71d995d1ee7b)
|
|
||||||
|
|
||||||
## Cleanup
|
|
||||||
|
|
||||||
- [Clean up tslint configuration](https://github.com/nrwl/nx/commit/828e4fe75da66dc41790e55a7738192940a04cbf)
|
|
||||||
- [Add a migration updating the version of prettier](https://github.com/nrwl/nx/commit/847a249980c3505845a8c597de8e9a3d78766f8b)
|
|
||||||
|
|
||||||
# 0.6.13
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Avoid relative paths to node modules](https://github.com/nrwl/nx/commit/2c49c3029535a9b98216d367e9c2b77a8d40a4a4)
|
|
||||||
- [Handle the case when libraries are placed in the directory with the same name as an app](https://github.com/nrwl/nx/commit/f862ed05d18e1474156779ad1dee2e7a7c785d1d)
|
|
||||||
|
|
||||||
# 0.6.10
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Improve error messages in the affected: and format: commands](https://github.com/nrwl/nx/commit/878784ae814ffea28796f458ff2f8b0b641996c0)
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Handle circular deps between apps and libs](https://github.com/nrwl/nx/commit/3531323fb5210b995b1296a198c8e76ee8bf9a07)
|
|
||||||
- [Handle projects that have similar names](https://github.com/nrwl/nx/commit/fe7032d29f4dcd66b51dbb889a1cf1751cd1d20a)
|
|
||||||
- [Update workspace to set \$schema and app name](https://github.com/nrwl/nx/commit/df5bd089b6515ea747f891bf590b46a4e00d0a92)
|
|
||||||
- [Update workspace to copy the cli file](https://github.com/nrwl/nx/commit/ddd8de3813f374a752b0e6f47deaa58c2e9f40c8)
|
|
||||||
- [Disallow importing apps](https://github.com/nrwl/nx/commit/912fc81708d381f49950255eeff746a2dfd46c7b)
|
|
||||||
|
|
||||||
# 0.6.5
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
This release adds the following commands:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm run format:write -- SHA1 SHA2
|
|
||||||
npm run format:check -- SHA1 SHA2
|
|
||||||
```
|
|
||||||
|
|
||||||
The `format:check` command checks that the files touched between the given SHAs are formatted properly, and `format:write` formats them.
|
|
||||||
|
|
||||||
Instead of passing the two SHAs, you can also pass the list of files, like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm run format:write -- --files="libs/mylib/index.ts,libs/mylib2/index.ts"
|
|
||||||
npm run format:check -- --files="libs/mylib/index.ts,libs/mylib2/index.ts"
|
|
||||||
```
|
|
||||||
|
|
||||||
You can add `--libs-and-apps` flag to always run the formatter on apps and libs instead of individual files.
|
|
||||||
|
|
||||||
```
|
|
||||||
npm run format:write -- SHA1 SHA2 --libs-and-apps
|
|
||||||
npm run format:check -- SHA1 SHA2 --libs-and-apps
|
|
||||||
```
|
|
||||||
|
|
||||||
Finally, you can the command on the whole repo, like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm run format:write
|
|
||||||
npm run format:check
|
|
||||||
```
|
|
||||||
|
|
||||||
- [Add format:check and format:write commands](https://github.com/nrwl/nx/commit/826a0b1056f9000425e189bad5a5d63966c3a704)
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Only allow importing libs using the configured npm scope](https://github.com/nrwl/nx/commit/c836668541532e64db088ef9a984678022abb3bd)
|
|
||||||
|
|
||||||
# 0.6.0
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
This release adds the following commands:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm run apps:affected -- SHA1 SHA2
|
|
||||||
npm run build:affected -- SHA1 SHA2
|
|
||||||
npm run e2e:affected -- SHA1 SHA2
|
|
||||||
```
|
|
||||||
|
|
||||||
The `apps:affected` prints the apps that are affected by the commits between the given SHAs. The `build:affected` builds them, and `e2e:affected` runs their e2e tests.
|
|
||||||
|
|
||||||
To be able to do that, Nx analyzes your monorepo to figure out the dependency graph or your libs and apps. Next, it looks at the files touched by the commits to figure out what apps and libs they belong to. Finally, it uses all this information to generate the list of apps that can be affected by the commits.
|
|
||||||
|
|
||||||
Instead of passing the two SHAs, you can also pass the list of files, like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
npm run apps:affected -- --files="libs/mylib/index.ts,libs/mylib2/index.ts"
|
|
||||||
npm run build:affected ----files="libs/mylib/index.ts,libs/mylib2/index.ts"
|
|
||||||
npm run e2e:affected ----files="libs/mylib/index.ts,libs/mylib2/index.ts"
|
|
||||||
```
|
|
||||||
|
|
||||||
- [Add support for building and testing only the apps affected by a commit](https://github.com/nrwl/nx/commit/428762664acc5fd155dd7be630dab09101d23542)
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Make deep import check work for libs with same prefix](https://github.com/nrwl/nx/commit/3c55f34ca12a4d5338099586ffe9455c81a3b199)
|
|
||||||
|
|
||||||
# 0.5.3
|
|
||||||
|
|
||||||
`ng new myproj --collection=@nrwl/schematics` creates a new workspace.
|
|
||||||
|
|
||||||
For this to work `@nrwl/schematics` and `@angular/cli` have to be installed globally, and they have to be compatible. This is error prone, and it often results in hard to debug errors. And it is impossible for Nx to solve this problem because we do not control your globally installed npm modules.
|
|
||||||
|
|
||||||
That is why we provided a way to create a new workspace using a sandbox that does not depend on any global modules, like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
curl -fsSL https://raw.githubusercontent.com/nrwl/nx/master/packages/install/install.sh | bash -s myprojectname
|
|
||||||
```
|
|
||||||
|
|
||||||
This works, but with one caveat: you have to have `curl` and `bash` installed, which might be a problem for a lot of windows folks. That is why starting with `0.5.3`, `@nrwl/schematics` ships with a binary that works on all platforms and creates an Nx workspace without relying on globally installed npm modules.
|
|
||||||
|
|
||||||
This is what you can do now:
|
|
||||||
|
|
||||||
```
|
|
||||||
yarn global add @nrwl/schematics # do it once
|
|
||||||
create-nx-workspace myproj
|
|
||||||
```
|
|
||||||
|
|
||||||
Some folks also reported having problems running Nx behind a firewall, in a corporate environment. We fixed them as well.
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Replace install.sh with a more robust way of creating projects](https://github.com/nrwl/nx/commit/f91b5309bdaf764e436bd544ec4f10c84b99cb08)
|
|
||||||
- [Bump up the version of prettier](https://github.com/nrwl/nx/commit/1481d169bbb7f1fbe3df5af2bce51c4215776d93)
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Generate an angular-cli config without the apps array, so the CLI can error properly](https://github.com/nrwl/nx/commit/a7f06edf5914212bcefbafb1198d262e9692cfdb)
|
|
||||||
|
|
||||||
# 0.5.2
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Remove default prop for viewEncapsulation option flag](https://github.com/nrwl/nx/commit/b46eb1c699dd509f4be103979a5938c3f7486fb1)
|
|
||||||
- [Fix NPM link in README](https://github.com/nrwl/nx/commit/4aa42e4772522a20df384ab9a48861a8d4f7ab0f)
|
|
||||||
- [Change rxjs version to use hat](https://github.com/nrwl/nx/commit/3b1942ed830ea31269a1fb9e995efb93b182870a)
|
|
||||||
|
|
||||||
# 0.5.1
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Disable typescript mismatch warnings](https://github.com/nrwl/nx/commit/ecb87a0dcd08f0968d77508976ce43a84f049743)
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- ["ng test" should not compile e2e tests](https://github.com/nrwl/nx/commit/ac53e9a624b01cf71f88eb412678ffc48125ff38)
|
|
||||||
- [Fix 'npm run format'](https://github.com/nrwl/nx/commit/670cd57dfa7d5bbf6b9af4e52f2c7d40081138cb)
|
|
||||||
|
|
||||||
# 0.5.0
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Update the workspace to use Angular 5.1 and CLI 1.6](https://github.com/nrwl/nx/commit/a477bb9fc953e3b44d696945cc259119f701fb78)
|
|
||||||
|
|
||||||
# 0.4.0
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [Add support for generating nested apps and libs](https://github.com/nrwl/nx/commit/013a828d1e31f55a9b3f7c69587316890ea834d4)
|
|
||||||
- [Update NgRx schematic to allow the customization of the state folder](https://github.com/nrwl/nx/commit/a2d02652665f497be8958efc403d7a44bd831088)
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Only begin converting to workspace once files have been checked](https://github.com/nrwl/nx/commit/e7fd6b1e04f3f3387a91c53a7ac479fe72bdd72e)
|
|
||||||
- ["ng build" should only recompile the selected app](https://github.com/nrwl/nx/commit/550de7bb80f4d3f306c23fac70db52c98dadcd05)
|
|
||||||
|
|
||||||
## Refactoring
|
|
||||||
|
|
||||||
- [Eliminated single letter variable names in effects template](https://github.com/nrwl/nx/commit/996143cf60bac1a57629815d5756db9ce23193ab)
|
|
||||||
|
|
||||||
# 0.3.0
|
|
||||||
|
|
||||||
We want to be able to add new features to Nx without breaking existing workspaces. Say, you created an Nx Workspace using Nx 0.2.0. Then, half a year later, you decided to upgrade the version of Nx to 0.5.0. Imagine the 0.5.0 release requires you to have more information in your `.angular-cli.json`. Until now, you would have to manually go through the changelog and modify your `.angular-cli.json`. This release adds the `nx-migrate` command that does it for you. Run `npm run nx-migrate` after upgrading `@nrwl/schematics`, and it will upgrade your workspace to be 0.5.0 compatible.
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- [add `allow` option to whitelist deep imports](https://github.com/nrwl/nx/commit/b3f67351fe8890e06402672e687b1789f279613b)
|
|
||||||
- [Added the nx-migrate command](https://github.com/nrwl/nx/commit/d6e66b99316181b8b67805b91cc35457c3465029)
|
|
||||||
- [Upgrade Prettier to 1.8.2](https://github.com/nrwl/nx/commit/cc2277e91be2ca49fb1588f1d8e29ef91fd12044)
|
|
||||||
- [Update readme to point to example apps using Nx](https://github.com/nrwl/nx/commit/3d53e31391d5d79a0724d099c7121edb53e8b163)
|
|
||||||
|
|
||||||
# 0.2.2
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [Adds a schema file to allow custom properties that the default CLI distribution does not support](https://github.com/nrwl/nx/commit/7fd7594e673cf38af7668b891ed7c75b390b3330)
|
|
||||||
- [Fix issue with generating a wrong full path on windows](https://github.com/nrwl/nx/commit/11e6c055ba1211a5bee1cc73d46663985645f08e)
|
|
||||||
|
|
||||||
# 0.2.1
|
|
||||||
|
|
||||||
## New Features
|
|
||||||
|
|
||||||
- [Export jasmine-marbles getTestScheduler and time functions](https://github.com/nrwl/nx/commit/2e4613f475fc2673731540fb4724d6ba2af02aae)
|
|
||||||
- [Use fetch instead of optimisticUpdate in the generated effect classes](https://github.com/nrwl/nx/commit/c9759cc4427283422e906ed19a8a2dabcb2a656b)
|
|
||||||
|
|
||||||
## Bug Fixes
|
|
||||||
|
|
||||||
- [--routing should add RouterTestingModule](https://github.com/nrwl/nx/commit/d7fc5b56054c9a4c1fbb12845bfc0803f9a9ff86)
|
|
||||||
- [Fix wording in the documentation](https://github.com/nrwl/nx/commit/058c8995f35a9e677f88404bc9c8a2b177487080)
|
|
||||||
|
|
||||||
## Refactorings
|
|
||||||
|
|
||||||
- [Refactor Nx to use RxJS lettable operators](https://github.com/nrwl/nx/commit/715efa4b225b65be0052a1e6a88c5bdcd5a6cf38)
|
|
||||||
|
|
||||||
# 0.2.0
|
|
||||||
|
|
||||||
## New Features
|
|
||||||
|
|
||||||
### Changing Default Library Type
|
|
||||||
|
|
||||||
We changed the default library type from "simple" to "Angular". So where previously you would run:
|
|
||||||
|
|
||||||
```
|
|
||||||
ng generate lib mylib // simple TS library
|
|
||||||
ng generate lib mylib --ngmodule // an angular library
|
|
||||||
```
|
|
||||||
|
|
||||||
Now, you run:
|
|
||||||
|
|
||||||
```
|
|
||||||
ng generate lib mylib // an angular library
|
|
||||||
ng generate lib mylib --nomodule // simple ts library
|
|
||||||
```
|
|
||||||
|
|
||||||
### Generating Router Configuration
|
|
||||||
|
|
||||||
You can pass `--routing` when generating an app.
|
|
||||||
|
|
||||||
```
|
|
||||||
ng generate app myapp --routing // generate an angular app with router config
|
|
||||||
```
|
|
||||||
|
|
||||||
The generated app will have `RouterModule.forRoot` configured.
|
|
||||||
|
|
||||||
You can also pass it when generating a library, like this:
|
|
||||||
|
|
||||||
```
|
|
||||||
ng generate lib mylib --routing
|
|
||||||
```
|
|
||||||
|
|
||||||
This will set up the router module and will create an array of routes, which can be plugged into the parent module. This configuration works well for modules that aren't loaded lazily.
|
|
||||||
|
|
||||||
You can add the `--lazy` to generate a library that is loaded lazily.
|
|
||||||
|
|
||||||
```
|
|
||||||
ng generate lib mylib --routing --lazy
|
|
||||||
```
|
|
||||||
|
|
||||||
This will also register the generated library in tslint.json, so the linters will make sure the library is not loaded lazily.
|
|
||||||
|
|
||||||
Finally, you can pass `--parentModule` and the schematic will wire up the generated library in the parent router configuration.
|
|
||||||
|
|
||||||
```
|
|
||||||
ng generate lib mylib --routing --parentModule=apps/myapp/src/myapp.module.ts
|
|
||||||
ng generate lib mylib --routing --lazy --parentModule=apps/myapp/src/myapp.module.ts
|
|
||||||
```
|
|
||||||
@ -7,7 +7,7 @@ We would love for you to contribute to Nx! Read this document to see how to do i
|
|||||||
Watch this 5-minute video:
|
Watch this 5-minute video:
|
||||||
|
|
||||||
<a href="https://www.youtube.com/watch?v=o11p0zSm0No&feature=youtu.be" target="_blank">
|
<a href="https://www.youtube.com/watch?v=o11p0zSm0No&feature=youtu.be" target="_blank">
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/how-to-contribute.png" width="600"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/how-to-contribute.png" width="600"></p>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
## Got a Question?
|
## Got a Question?
|
||||||
|
|||||||
120
README.md
@ -1,4 +1,4 @@
|
|||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png" width="450"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
@ -93,7 +93,6 @@ You are good to go!
|
|||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
- [Nx Documentation and Guides](https://nx.dev)
|
- [Nx Documentation and Guides](https://nx.dev)
|
||||||
- [Nx blog posts](https://blog.nrwl.io/nx/home)
|
|
||||||
|
|
||||||
### Quick Start Videos
|
### Quick Start Videos
|
||||||
|
|
||||||
@ -101,12 +100,12 @@ You are good to go!
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://www.youtube.com/watch?v=mVKMse-gFBI" target="_blank">
|
<a href="https://www.youtube.com/watch?v=mVKMse-gFBI" target="_blank">
|
||||||
<p align="center">Angular<br><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-angular-video.png" width="350"></p>
|
<p align="center">Angular<br><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-angular-video.png" width="350"></p>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://www.youtube.com/watch?v=E188J7E_MDU" target="_blank">
|
<a href="https://www.youtube.com/watch?v=E188J7E_MDU" target="_blank">
|
||||||
<p align="center">React<br><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-react-video.png" width="350"></p>
|
<p align="center">React<br><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-react-video.png" width="350"></p>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -118,37 +117,114 @@ You are good to go!
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://www.youtube.com/watch?v=2mYLe9Kp9VM&list=PLakNactNC1dH38AfqmwabvOszDmKriGco" target="_blank">
|
<a href="https://www.youtube.com/watch?v=2mYLe9Kp9VM&list=PLakNactNC1dH38AfqmwabvOszDmKriGco" target="_blank">
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-workspace-course.png" width="350"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-workspace-course.png" width="350"></p>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://nxplaybook.com/p/advanced-nx-workspaces" target="_blank">
|
<a href="https://nxplaybook.com/p/advanced-nx-workspaces" target="_blank">
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/advanced-nx-workspace-course.png" width="350"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/advanced-nx-workspace-course.png" width="350"></p>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
### Books
|
|
||||||
|
|
||||||
- [Effective React Development with Nx](https://go.nrwl.io/effective-react-development-with-nx-new-book)
|
|
||||||
- [Angular Enterprise Monorepo Patterns](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
|
|
||||||
|
|
||||||
### Videos
|
|
||||||
|
|
||||||
- [45-Minute Walkthrough (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
|
||||||
- [45-Minute Walkthrough (Angular)](https://www.youtube.com/watch?v=h5FIGDn5YM0)
|
|
||||||
|
|
||||||
### Talks
|
### Talks
|
||||||
|
|
||||||
- [Angular at Large Organizations](https://www.youtube.com/watch?v=piQ0EZhtus0)
|
- [React Development At Scale (React Vancouver Virtual Meetup)](https://youtu.be/ZGXuzVipe1U?t=3721), Jack Hsu (May 27, 2020)
|
||||||
- [Nx: The New Way to Build Enterprise Angular Apps](https://www.youtube.com/watch?v=xo-1SDmvM8Y)
|
|
||||||
- [Supercharging the Angular CLI](https://www.youtube.com/watch?v=bMkKz8AedHc)
|
|
||||||
- [Hands on Full Stack development with Nx and Bazel](https://www.youtube.com/watch?v=1KDDIhcQORM)
|
|
||||||
|
|
||||||
## Misc
|
- [Scalable React Development (React Summit Remote Edition)](https://www.youtube.com/watch?v=Lr-u2ALSEQg), Jason Jean (April 17, 2020)
|
||||||
|
Slides: [https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/](https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/)
|
||||||
|
|
||||||
|
- [Beyond Basics: Scaling Development across Large Teams (Angular Rome Meetup online)](https://docs.google.com/presentation/d/1zEgeppole9avhrvV6Zmpmk-L1W9-6JsHbnjaJwBigtQ/edit?usp=sharing), Juri Strumpflohner (April 2, 2020)
|
||||||
|
|
||||||
|
- [Develop like Google, Microsoft, and Facebook with Nx - Dev Nexus](https://prezi.com/view/BVhl92reqg7cnhvv6hhH/), Jason Jean (February 18, 2020)
|
||||||
|
|
||||||
|
- [Enhancing the workspace with Custom Builders - AngularToronto](https://www.youtube.com/watch?v=M1Bk_O49n94), Benjamin Cabanes (February 18, 2020)
|
||||||
|
|
||||||
|
- [Advanced Nx - Angular Air](https://www.youtube.com/watch?v=pcTSDMid-aE), Isaac Mann (February 5th, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - HackFlix](https://www.youtube.com/watch?v=WRmj4JwfoMs) - Isaac Mann (January 9th, 2020)
|
||||||
|
|
||||||
|
* [E2E Testing at Half the Cost - NG-BE 2019](https://www.youtube.com/watch?v=C88th0SbepE), Isaac Mann (Dev 10, 2019)
|
||||||
|
|
||||||
|
* [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps - ngBucharest](https://www.youtube.com/watch?v=bKhyTeTCf7M), Isaac Mann (March 30, 2019)
|
||||||
|
|
||||||
|
- Slides: [https://prezi.com/view/jglXvEfeqnjEr4l2L11h/](https://prezi.com/view/jglXvEfeqnjEr4l2L11h/)
|
||||||
|
|
||||||
|
* [Modern Development with Angular CLI & Nrwl Nx](https://www.youtube.com/watch?v=tE8sUAfKI3g), Victor Savkin at ngAtlanta (Feb 5, 2019)
|
||||||
|
|
||||||
|
* [Supercharging the Angular CLI](https://www.youtube.com/watch?v=bMkKz8AedHc) - ngVikings, James Henry (March 10, 2018)
|
||||||
|
|
||||||
|
* [Hands on Full Stack development with Nx and Bazel](https://www.youtube.com/watch?v=1KDDIhcQORM) - ngConf, Alex Eagle, Torgeir Helgevold (April 19, 2018)
|
||||||
|
|
||||||
|
* [Angular at Large Organizations](https://www.youtube.com/watch?v=piQ0EZhtus0) - ngConf, Victor Savkin(April 20, 2018)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps Successfully with Nx - AngularNYC Meetup](https://youtu.be/Jwv3wRZ3BTM), Jason Jean (December 19, 2018)
|
||||||
|
|
||||||
|
- [Nx: The New Way to Build Enterprise Angular Apps](https://www.youtube.com/watch?v=xo-1SDmvM8Y) - Angular Mix, Jeff Cross & Victor Savkin (October 11, 2017)
|
||||||
|
|
||||||
|
### Podcasts and Shows
|
||||||
|
|
||||||
|
- [Nx Plugins - ngHouston](https://youtu.be/bydqr-Yxsu8), Wes Grimes and Jon Cammisuli (April 8 2020)
|
||||||
|
|
||||||
|
- [Apollo GQL, Angular & Nx - ngHouston](https://youtu.be/bydqr-Yxsu8), Philip Fulcher (Feb 26, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - With Isaac Mann from Nrwl](https://youtu.be/WRmj4JwfoMs), Isaac Mann (Jan 9, 2020)
|
||||||
|
|
||||||
|
- [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
- [React Roundup: Nx and Monorepos](https://player.fm/series/react-round-up/rru-081-nx-and-monorepos-with-jeffrey-cross-and-victor-savkin), Victor Savkin (Oct 1, 2019)
|
||||||
|
|
||||||
|
- [Nx and Angular CLI - Adventures in Angular](https://devchat.tv/adv-in-angular/aia-254-nx-and-angular-cli-with-brandon-roberts/), Brandon Roberts (Aug 27th 2019)
|
||||||
|
|
||||||
|
- [ngHouston: NX Demo](https://www.youtube.com/watch?v=E_UlU2Yv4G0) (Dec 7, 2017)
|
||||||
|
|
||||||
|
- [ngAir 140: Nx for Enterprise Angular Development](https://www.youtube.com/watch?v=qYNiOKDno_I), Victor Savkin (Dec 12, 2017)
|
||||||
|
|
||||||
|
### Nx Demo & Tutorial Videos
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (Angular)](https://youtu.be/h5FIGDn5YM0)
|
||||||
|
|
||||||
|
- [Storybook Integration with Nx](https://youtu.be/sFpqyjT7u4s)
|
||||||
|
|
||||||
|
- [Building Custom Plugins for Nx](https://youtu.be/XYO689PAhow)
|
||||||
|
|
||||||
|
- [Improved Dependency Graph Visualization for Nx](https://youtu.be/cMZ-ReC-jWU)
|
||||||
|
|
||||||
|
- [Group all your stories into a single viewable Storybook with Nx](https://youtu.be/c323HOuFKkA)
|
||||||
|
|
||||||
|
- [Debug Nx with Node and VSCode](https://youtu.be/OGV4R0cPRPc)
|
||||||
|
|
||||||
|
- [Debug your Jest tests in Nx with VSCode](https://youtu.be/9_lgM2nokLg)
|
||||||
|
|
||||||
|
- [Nx Console - A Must-Have Visual Studio Code Extension for Angular Developers](https://youtu.be/IIetmfgozgI)
|
||||||
|
|
||||||
|
- [Introducing Nx Cloud](https://youtu.be/pwG20nNTEQc)
|
||||||
|
|
||||||
|
- [Setting up distributed caching using Nx Cloud, @nrwl/nx-cloud](https://youtu.be/w1-GiB74ddc)
|
||||||
|
|
||||||
|
- [High Quality React apps with Nx & Cypress](https://youtu.be/mfJBLhjYMdo)
|
||||||
|
|
||||||
|
### Books amd Blogs
|
||||||
|
|
||||||
|
- [Nx blog posts](https://blog.nrwl.io/nx/home)
|
||||||
|
|
||||||
|
- [Angular Enterprise Monorepo Patterns Book (free)](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
|
||||||
|
|
||||||
|
* [High Quality React apps with Nx & Cypress](https://cypress.io/blog/2020/04/14/high-quality-react-apps-with-nx-cypress/) (April 2020)
|
||||||
|
|
||||||
|
* [Shell Library patterns with Nx and Monorepo Architectures](https://indepth.dev/the-shell-library-patterns-with-nx-and-monorepo-architectures/) (March 2020)
|
||||||
|
|
||||||
|
- [Tiny Angular application projects in Nx workspaces](https://indepth.dev/tiny-angular-application-projects-in-nx-workspaces/#peer-reviewers--30/) (March 2020)
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
|
||||||
- [nx-examples](https://github.com/nrwl/nx-examples) repo has branches for different nx comments to display expected behavior and example app and libraries. Check out the branch (workspace, ngrx...) to see what gets created for you. More info on readme.
|
- [nx-examples](https://github.com/nrwl/nx-examples) repo has branches for different nx comments to display expected behavior and example app and libraries. Check out the branch (workspace, ngrx...) to see what gets created for you. More info on readme.
|
||||||
|
|
||||||
- [xplat - Cross-platform tools for Nx workspaces](https://nstudio.io/xplat/)
|
- [xplat - Cross-platform tools for Nx workspaces](https://nstudio.io/xplat/)
|
||||||
|
|
||||||
## Want to help?
|
## Want to help?
|
||||||
@ -156,7 +232,7 @@ You are good to go!
|
|||||||
If you want to file a bug or submit a PR, read up on our [guidelines for contributing](https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md) and watch this video that will help you get started.
|
If you want to file a bug or submit a PR, read up on our [guidelines for contributing](https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md) and watch this video that will help you get started.
|
||||||
|
|
||||||
<a href="https://www.youtube.com/watch?v=o11p0zSm0No&feature=youtu.be" target="_blank">
|
<a href="https://www.youtube.com/watch?v=o11p0zSm0No&feature=youtu.be" target="_blank">
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/how-to-contribute.png" width="600"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/how-to-contribute.png" width="600"></p>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
## Core Team
|
## Core Team
|
||||||
|
|||||||
@ -103,7 +103,7 @@ And the template of the generated component will look as follows:
|
|||||||
Welcome to {{title}}!
|
Welcome to {{title}}!
|
||||||
<img
|
<img
|
||||||
width="300"
|
width="300"
|
||||||
src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png"
|
src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ export class App extends Component {
|
|||||||
<h1>Welcome to {title}!</h1>
|
<h1>Welcome to {title}!</h1>
|
||||||
<img
|
<img
|
||||||
width="300"
|
width="300"
|
||||||
src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png"
|
src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
@ -340,7 +340,7 @@ Finally, we can update `app.component.html` to use our shared web component.
|
|||||||
<happynrwl-greeting [title]="title"></happynrwl-greeting>
|
<happynrwl-greeting [title]="title"></happynrwl-greeting>
|
||||||
<img
|
<img
|
||||||
width="300"
|
width="300"
|
||||||
src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png"
|
src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -397,7 +397,7 @@ export class App extends Component {
|
|||||||
<happynrwl-greeting title={title} />
|
<happynrwl-greeting title={title} />
|
||||||
<img
|
<img
|
||||||
width="300"
|
width="300"
|
||||||
src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png"
|
src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -22,25 +22,103 @@
|
|||||||
|
|
||||||
[](https://nxplaybook.com/p/advanced-nx-workspaces)
|
[](https://nxplaybook.com/p/advanced-nx-workspaces)
|
||||||
|
|
||||||
## Books and Blogs
|
## Resources
|
||||||
|
|
||||||
|
### Talks
|
||||||
|
|
||||||
|
- [React Development At Scale (React Vancouver Virtual Meetup)](https://youtu.be/ZGXuzVipe1U?t=3721), Jack Hsu (May 27, 2020)
|
||||||
|
|
||||||
|
- [Scalable React Development (React Summit Remote Edition)](https://www.youtube.com/watch?v=Lr-u2ALSEQg), Jason Jean (April 17, 2020)
|
||||||
|
Slides: [https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/](https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/)
|
||||||
|
|
||||||
|
- [Beyond Basics: Scaling Development across Large Teams (Angular Rome Meetup online)](https://docs.google.com/presentation/d/1zEgeppole9avhrvV6Zmpmk-L1W9-6JsHbnjaJwBigtQ/edit?usp=sharing), Juri Strumpflohner (April 2, 2020)
|
||||||
|
|
||||||
|
- [Develop like Google, Microsoft, and Facebook with Nx - Dev Nexus](https://prezi.com/view/BVhl92reqg7cnhvv6hhH/), Jason Jean (February 18, 2020)
|
||||||
|
|
||||||
|
- [Enhancing the workspace with Custom Builders - AngularToronto](https://www.youtube.com/watch?v=M1Bk_O49n94), Benjamin Cabanes (February 18, 2020)
|
||||||
|
|
||||||
|
- [Advanced Nx - Angular Air](https://www.youtube.com/watch?v=pcTSDMid-aE), Isaac Mann (February 5th, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - HackFlix](https://www.youtube.com/watch?v=WRmj4JwfoMs) - Isaac Mann (January 9th, 2020)
|
||||||
|
|
||||||
|
* [E2E Testing at Half the Cost - NG-BE 2019](https://www.youtube.com/watch?v=C88th0SbepE), Isaac Mann (Dev 10, 2019)
|
||||||
|
|
||||||
|
* [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps - ngBucharest](https://www.youtube.com/watch?v=bKhyTeTCf7M), Isaac Mann (March 30, 2019)
|
||||||
|
|
||||||
|
- Slides: [https://prezi.com/view/jglXvEfeqnjEr4l2L11h/](https://prezi.com/view/jglXvEfeqnjEr4l2L11h/)
|
||||||
|
|
||||||
|
* [Modern Development with Angular CLI & Nrwl Nx](https://www.youtube.com/watch?v=tE8sUAfKI3g), Victor Savkin at ngAtlanta (Feb 5, 2019)
|
||||||
|
|
||||||
|
* [Supercharging the Angular CLI](https://www.youtube.com/watch?v=bMkKz8AedHc) - ngVikings, James Henry (March 10, 2018)
|
||||||
|
|
||||||
|
* [Hands on Full Stack development with Nx and Bazel](https://www.youtube.com/watch?v=1KDDIhcQORM) - ngConf, Alex Eagle, Torgeir Helgevold (April 19, 2018)
|
||||||
|
|
||||||
|
* [Angular at Large Organizations](https://www.youtube.com/watch?v=piQ0EZhtus0) - ngConf, Victor Savkin(April 20, 2018)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps Successfully with Nx - AngularNYC Meetup](https://youtu.be/Jwv3wRZ3BTM), Jason Jean (December 19, 2018)
|
||||||
|
|
||||||
|
- [Nx: The New Way to Build Enterprise Angular Apps](https://www.youtube.com/watch?v=xo-1SDmvM8Y) - Angular Mix, Jeff Cross & Victor Savkin (October 11, 2017)
|
||||||
|
|
||||||
|
### Podcasts and Shows
|
||||||
|
|
||||||
|
- [Nx Plugins - ngHouston](https://youtu.be/bydqr-Yxsu8), Wes Grimes and Jon Cammisuli (April 8 2020)
|
||||||
|
|
||||||
|
- [Apollo GQL, Angular & Nx - ngHouston](https://youtu.be/bydqr-Yxsu8), Philip Fulcher (Feb 26, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - With Isaac Mann from Nrwl](https://youtu.be/WRmj4JwfoMs), Isaac Mann (Jan 9, 2020)
|
||||||
|
|
||||||
|
- [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
- [React Roundup: Nx and Monorepos](https://player.fm/series/react-round-up/rru-081-nx-and-monorepos-with-jeffrey-cross-and-victor-savkin), Victor Savkin (Oct 1, 2019)
|
||||||
|
|
||||||
|
- [Nx and Angular CLI - Adventures in Angular](https://devchat.tv/adv-in-angular/aia-254-nx-and-angular-cli-with-brandon-roberts/), Brandon Roberts (Aug 27th 2019)
|
||||||
|
|
||||||
|
- [ngHouston: NX Demo](https://www.youtube.com/watch?v=E_UlU2Yv4G0) (Dec 7, 2017)
|
||||||
|
|
||||||
|
- [ngAir 140: Nx for Enterprise Angular Development](https://www.youtube.com/watch?v=qYNiOKDno_I), Victor Savkin (Dec 12, 2017)
|
||||||
|
|
||||||
|
### Nx Demo & Tutorial Videos
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (Angular)](https://youtu.be/h5FIGDn5YM0)
|
||||||
|
|
||||||
|
- [Storybook Integration with Nx](https://youtu.be/sFpqyjT7u4s)
|
||||||
|
|
||||||
|
- [Building Custom Plugins for Nx](https://youtu.be/XYO689PAhow)
|
||||||
|
|
||||||
|
- [Improved Dependency Graph Visualization for Nx](https://youtu.be/cMZ-ReC-jWU)
|
||||||
|
|
||||||
|
- [Group all your stories into a single viewable Storybook with Nx](https://youtu.be/c323HOuFKkA)
|
||||||
|
|
||||||
|
- [Debug Nx with Node and VSCode](https://youtu.be/OGV4R0cPRPc)
|
||||||
|
|
||||||
|
- [Debug your Jest tests in Nx with VSCode](https://youtu.be/9_lgM2nokLg)
|
||||||
|
|
||||||
|
- [Nx Console - A Must-Have Visual Studio Code Extension for Angular Developers](https://youtu.be/IIetmfgozgI)
|
||||||
|
|
||||||
|
- [Introducing Nx Cloud](https://youtu.be/pwG20nNTEQc)
|
||||||
|
|
||||||
|
- [Setting up distributed caching using Nx Cloud, @nrwl/nx-cloud](https://youtu.be/w1-GiB74ddc)
|
||||||
|
|
||||||
|
- [High Quality React apps with Nx & Cypress](https://youtu.be/mfJBLhjYMdo)
|
||||||
|
|
||||||
|
### Books amd Blogs
|
||||||
|
|
||||||
- [Nx blog posts](https://blog.nrwl.io/nx/home)
|
- [Nx blog posts](https://blog.nrwl.io/nx/home)
|
||||||
|
|
||||||
- [Angular Enterprise Monorepo Patterns Book (free)](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
|
- [Angular Enterprise Monorepo Patterns Book (free)](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
|
||||||
|
|
||||||
## Talks
|
* [High Quality React apps with Nx & Cypress](https://cypress.io/blog/2020/04/14/high-quality-react-apps-with-nx-cypress/) (April 2020)
|
||||||
|
|
||||||
- [Angular at Large Organizations](https://www.youtube.com/watch?v=piQ0EZhtus0)
|
* [Shell Library patterns with Nx and Monorepo Architectures](https://indepth.dev/the-shell-library-patterns-with-nx-and-monorepo-architectures/) (March 2020)
|
||||||
- [Nx: The New Way to Build Enterprise Angular Apps](https://www.youtube.com/watch?v=xo-1SDmvM8Y)
|
|
||||||
- [Supercharging the Angular CLI](https://www.youtube.com/watch?v=bMkKz8AedHc)
|
|
||||||
- [Hands on Full Stack development with Nx and Bazel](https://www.youtube.com/watch?v=1KDDIhcQORM)
|
|
||||||
- [Modern Development with Angular CLI & Nrwl Nx](https://www.youtube.com/watch?v=tE8sUAfKI3g)
|
|
||||||
|
|
||||||
## Podcasts and Shows
|
- [Tiny Angular application projects in Nx workspaces](https://indepth.dev/tiny-angular-application-projects-in-nx-workspaces/#peer-reviewers--30/) (March 2020)
|
||||||
|
|
||||||
- [ngAir 140: Nx for Enterprise Angular Development](https://www.youtube.com/watch?v=qYNiOKDno_I)
|
### Misc
|
||||||
- [ngHouston: NX Demo](https://www.youtube.com/watch?v=E_UlU2Yv4G0)
|
|
||||||
|
|
||||||
## Misc
|
|
||||||
|
|
||||||
- [nx-examples](https://github.com/nrwl/nx-examples) repo has branches for different nx comments to display expected behavior and example app and libraries. Check out the branch (workspace, ngrx...) to see what gets created for you. More info on readme.
|
- [nx-examples](https://github.com/nrwl/nx-examples) repo has branches for different nx comments to display expected behavior and example app and libraries. Check out the branch (workspace, ngrx...) to see what gets created for you. More info on readme.
|
||||||
|
|
||||||
- [xplat - Cross-platform tools for Nx workspaces](https://nstudio.io/xplat/)
|
- [xplat - Cross-platform tools for Nx workspaces](https://nstudio.io/xplat/)
|
||||||
|
|||||||
@ -16,12 +16,103 @@
|
|||||||
|
|
||||||
[](https://nxplaybook.com/p/advanced-nx-workspaces)
|
[](https://nxplaybook.com/p/advanced-nx-workspaces)
|
||||||
|
|
||||||
## Books and Blogs
|
## Resources
|
||||||
|
|
||||||
- [Nx blog posts](https://blog.nrwl.io/react/home)
|
### Talks
|
||||||
- [Effective React Development with Nx (free)](https://go.nrwl.io/effective-react-development-with-nx-new-book)
|
|
||||||
|
|
||||||
## Misc
|
- [React Development At Scale (React Vancouver Virtual Meetup)](https://youtu.be/ZGXuzVipe1U?t=3721), Jack Hsu (May 27, 2020)
|
||||||
|
|
||||||
|
- [Scalable React Development (React Summit Remote Edition)](https://www.youtube.com/watch?v=Lr-u2ALSEQg), Jason Jean (April 17, 2020)
|
||||||
|
Slides: [https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/](https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/)
|
||||||
|
|
||||||
|
- [Beyond Basics: Scaling Development across Large Teams (Angular Rome Meetup online)](https://docs.google.com/presentation/d/1zEgeppole9avhrvV6Zmpmk-L1W9-6JsHbnjaJwBigtQ/edit?usp=sharing), Juri Strumpflohner (April 2, 2020)
|
||||||
|
|
||||||
|
- [Develop like Google, Microsoft, and Facebook with Nx - Dev Nexus](https://prezi.com/view/BVhl92reqg7cnhvv6hhH/), Jason Jean (February 18, 2020)
|
||||||
|
|
||||||
|
- [Enhancing the workspace with Custom Builders - AngularToronto](https://www.youtube.com/watch?v=M1Bk_O49n94), Benjamin Cabanes (February 18, 2020)
|
||||||
|
|
||||||
|
- [Advanced Nx - Angular Air](https://www.youtube.com/watch?v=pcTSDMid-aE), Isaac Mann (February 5th, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - HackFlix](https://www.youtube.com/watch?v=WRmj4JwfoMs) - Isaac Mann (January 9th, 2020)
|
||||||
|
|
||||||
|
* [E2E Testing at Half the Cost - NG-BE 2019](https://www.youtube.com/watch?v=C88th0SbepE), Isaac Mann (Dev 10, 2019)
|
||||||
|
|
||||||
|
* [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps - ngBucharest](https://www.youtube.com/watch?v=bKhyTeTCf7M), Isaac Mann (March 30, 2019)
|
||||||
|
|
||||||
|
- Slides: [https://prezi.com/view/jglXvEfeqnjEr4l2L11h/](https://prezi.com/view/jglXvEfeqnjEr4l2L11h/)
|
||||||
|
|
||||||
|
* [Modern Development with Angular CLI & Nrwl Nx](https://www.youtube.com/watch?v=tE8sUAfKI3g), Victor Savkin at ngAtlanta (Feb 5, 2019)
|
||||||
|
|
||||||
|
* [Supercharging the Angular CLI](https://www.youtube.com/watch?v=bMkKz8AedHc) - ngVikings, James Henry (March 10, 2018)
|
||||||
|
|
||||||
|
* [Hands on Full Stack development with Nx and Bazel](https://www.youtube.com/watch?v=1KDDIhcQORM) - ngConf, Alex Eagle, Torgeir Helgevold (April 19, 2018)
|
||||||
|
|
||||||
|
* [Angular at Large Organizations](https://www.youtube.com/watch?v=piQ0EZhtus0) - ngConf, Victor Savkin(April 20, 2018)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps Successfully with Nx - AngularNYC Meetup](https://youtu.be/Jwv3wRZ3BTM), Jason Jean (December 19, 2018)
|
||||||
|
|
||||||
|
- [Nx: The New Way to Build Enterprise Angular Apps](https://www.youtube.com/watch?v=xo-1SDmvM8Y) - Angular Mix, Jeff Cross & Victor Savkin (October 11, 2017)
|
||||||
|
|
||||||
|
### Podcasts and Shows
|
||||||
|
|
||||||
|
- [Nx Plugins - ngHouston](https://youtu.be/bydqr-Yxsu8), Wes Grimes and Jon Cammisuli (April 8 2020)
|
||||||
|
|
||||||
|
- [Apollo GQL, Angular & Nx - ngHouston](https://youtu.be/bydqr-Yxsu8), Philip Fulcher (Feb 26, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - With Isaac Mann from Nrwl](https://youtu.be/WRmj4JwfoMs), Isaac Mann (Jan 9, 2020)
|
||||||
|
|
||||||
|
- [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
- [React Roundup: Nx and Monorepos](https://player.fm/series/react-round-up/rru-081-nx-and-monorepos-with-jeffrey-cross-and-victor-savkin), Victor Savkin (Oct 1, 2019)
|
||||||
|
|
||||||
|
- [Nx and Angular CLI - Adventures in Angular](https://devchat.tv/adv-in-angular/aia-254-nx-and-angular-cli-with-brandon-roberts/), Brandon Roberts (Aug 27th 2019)
|
||||||
|
|
||||||
|
- [ngHouston: NX Demo](https://www.youtube.com/watch?v=E_UlU2Yv4G0) (Dec 7, 2017)
|
||||||
|
|
||||||
|
- [ngAir 140: Nx for Enterprise Angular Development](https://www.youtube.com/watch?v=qYNiOKDno_I), Victor Savkin (Dec 12, 2017)
|
||||||
|
|
||||||
|
### Nx Demo & Tutorial Videos
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (Angular)](https://youtu.be/h5FIGDn5YM0)
|
||||||
|
|
||||||
|
- [Storybook Integration with Nx](https://youtu.be/sFpqyjT7u4s)
|
||||||
|
|
||||||
|
- [Building Custom Plugins for Nx](https://youtu.be/XYO689PAhow)
|
||||||
|
|
||||||
|
- [Improved Dependency Graph Visualization for Nx](https://youtu.be/cMZ-ReC-jWU)
|
||||||
|
|
||||||
|
- [Group all your stories into a single viewable Storybook with Nx](https://youtu.be/c323HOuFKkA)
|
||||||
|
|
||||||
|
- [Debug Nx with Node and VSCode](https://youtu.be/OGV4R0cPRPc)
|
||||||
|
|
||||||
|
- [Debug your Jest tests in Nx with VSCode](https://youtu.be/9_lgM2nokLg)
|
||||||
|
|
||||||
|
- [Nx Console - A Must-Have Visual Studio Code Extension for Angular Developers](https://youtu.be/IIetmfgozgI)
|
||||||
|
|
||||||
|
- [Introducing Nx Cloud](https://youtu.be/pwG20nNTEQc)
|
||||||
|
|
||||||
|
- [Setting up distributed caching using Nx Cloud, @nrwl/nx-cloud](https://youtu.be/w1-GiB74ddc)
|
||||||
|
|
||||||
|
- [High Quality React apps with Nx & Cypress](https://youtu.be/mfJBLhjYMdo)
|
||||||
|
|
||||||
|
### Books amd Blogs
|
||||||
|
|
||||||
|
- [Nx blog posts](https://blog.nrwl.io/nx/home)
|
||||||
|
|
||||||
|
- [Angular Enterprise Monorepo Patterns Book (free)](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
|
||||||
|
|
||||||
|
* [High Quality React apps with Nx & Cypress](https://cypress.io/blog/2020/04/14/high-quality-react-apps-with-nx-cypress/) (April 2020)
|
||||||
|
|
||||||
|
* [Shell Library patterns with Nx and Monorepo Architectures](https://indepth.dev/the-shell-library-patterns-with-nx-and-monorepo-architectures/) (March 2020)
|
||||||
|
|
||||||
|
- [Tiny Angular application projects in Nx workspaces](https://indepth.dev/tiny-angular-application-projects-in-nx-workspaces/#peer-reviewers--30/) (March 2020)
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
|
||||||
|
- [nx-examples](https://github.com/nrwl/nx-examples) repo has branches for different nx comments to display expected behavior and example app and libraries. Check out the branch (workspace, ngrx...) to see what gets created for you. More info on readme.
|
||||||
|
|
||||||
- [nx-examples](https://github.com/nrwl/nx-examples) repo has branches for different nx comments to display expected behavior and example app and libraries.
|
|
||||||
- [xplat - Cross-platform tools for Nx workspaces](https://nstudio.io/xplat/)
|
- [xplat - Cross-platform tools for Nx workspaces](https://nstudio.io/xplat/)
|
||||||
|
|||||||
BIN
images/Confluence-space-export-021344.html.zip
Normal file
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 781 KiB After Width: | Height: | Size: 781 KiB |
|
Before Width: | Height: | Size: 710 KiB After Width: | Height: | Size: 710 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
BIN
images/nx-logo.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
images/nx-next.png
Normal file
|
After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 223 KiB |
BIN
images/nx-react.png
Normal file
|
After Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
BIN
images/nx.png
Normal file
|
After Width: | Height: | Size: 246 KiB |
2
nx.json
@ -15,7 +15,7 @@
|
|||||||
"runner": "@nrwl/nx-cloud",
|
"runner": "@nrwl/nx-cloud",
|
||||||
"options": {
|
"options": {
|
||||||
"accessToken": "OTM4MGQ1NDctZGRjMy00ZDlmLThkYzQtOTU3MDhkNWZhZjcwfHJlYWQ=",
|
"accessToken": "OTM4MGQ1NDctZGRjMy00ZDlmLThkYzQtOTU3MDhkNWZhZjcwfHJlYWQ=",
|
||||||
"cacheableOperations": ["build", "test", "lint", "e2e"],
|
"cacheableOperations": ["build", "build-base", "test", "lint", "e2e"],
|
||||||
"canTrackAnalytics": false,
|
"canTrackAnalytics": false,
|
||||||
"showUsageWarnings": true,
|
"showUsageWarnings": true,
|
||||||
"runtimeCacheInputs": ["echo $SELECTED_CLI"],
|
"runtimeCacheInputs": ["echo $SELECTED_CLI"],
|
||||||
|
|||||||
44
packages/angular/README.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Angular Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
```
|
||||||
|
? Workspace name (e.g., org name) happyorg
|
||||||
|
? What to create in the new workspace angular [a workspace with a single Angular application]
|
||||||
|
? Application name myapp
|
||||||
|
? Default stylesheet format CSS
|
||||||
|
```
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
- Run `nx e2e myapp-e2e` to run e2e tests for it.
|
||||||
|
|
||||||
|
You can also use `ng` instead of `nx:
|
||||||
|
|
||||||
|
- Run `ng serve myapp` to serve the newly generated application!
|
||||||
|
- Run `ng test myapp` to test it.
|
||||||
|
- Run `ng e2e myapp-e2e` to run e2e tests for it.
|
||||||
|
|
||||||
|
## Adding Angular Plugin Into an Existing Workspace
|
||||||
|
|
||||||
|
You can always add the Angular plugin to an existing workspace by installing `@nrwl/angular` and then generating an Angular application, as follows: `ng g @nrwl/angular:app myapp`.
|
||||||
|
|
||||||
|
## Quick Start Videos
|
||||||
|
|
||||||
|
<a href="https://www.youtube.com/watch?v=mVKMse-gFBI" target="_blank">
|
||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-angular-video.png" width="350"></p>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer](https://youtu.be/h5FIGDn5YM0)
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
15
packages/bazel/README.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Bazel Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/workspace`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
15
packages/cli/README.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Nx CLI
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/workspace`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
19
packages/create-nx-plugin/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# `> npx create-nx-plugin`
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It?
|
||||||
|
|
||||||
|
It's a command to create an Nx workspace to develop an Nx plugin.
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
- Check out the list of community plugins and the documentation on how to create one using `create-nx-plugin` here: [https://nx.dev/nx-community](https://nx.dev/nx-community)
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
30
packages/create-nx-workspace/README.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# `> npx create-nx-workspace`
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
```
|
||||||
|
? Workspace name (e.g., org name) happyorg
|
||||||
|
? What to create in the new workspace web components [a workspace with a single app built using web components]
|
||||||
|
? Application name myapp
|
||||||
|
? Default stylesheet format CSS
|
||||||
|
```
|
||||||
|
|
||||||
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
- Run `nx e2e myapp-e2e` to run e2e tests for it.
|
||||||
|
|
||||||
|
Angular users can also run `ng g/serve/test/e2e`.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
19
packages/cypress/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Cypress Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It?
|
||||||
|
|
||||||
|
Builders and schematics adding Cypress tests for frontend applications.
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/web`, `@nrwl/react`, and `@nrwl/angular`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
15
packages/eslint-plugin-nx/README.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# ESLint Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/web`, `@nrwl/react`, `@nrwl/angular`, and `@nrwl/node`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
44
packages/express/README.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Express Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
```
|
||||||
|
? What to create in the new workspace (Use arrow keys)
|
||||||
|
❯ empty [an empty workspace]
|
||||||
|
web components [a workspace with a single app built using web components]
|
||||||
|
angular [a workspace with a single Angular application]
|
||||||
|
angular-nest [a workspace with a full stack application (Angular + Nest)]
|
||||||
|
react [a workspace with a single React application]
|
||||||
|
react-express [a workspace with a full stack application (React + Express)]
|
||||||
|
next.js [a workspace with a single Next.js application]
|
||||||
|
```
|
||||||
|
|
||||||
|
Select the preset that works best for you.
|
||||||
|
|
||||||
|
```
|
||||||
|
? Workspace name (e.g., org name) happyorg
|
||||||
|
? What to create in the new workspace react-preset [a workspace with a full stack application (React + Express)]
|
||||||
|
? Application name myapp
|
||||||
|
? Default stylesheet format CSS
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also select `empty` and add `@nrwl/express` plugin using yarn or npm, and then generate a new express app using `nx g @nrwl/express:app myapp`.
|
||||||
|
|
||||||
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
|
||||||
|
You are good to go!
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
19
packages/jest/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Jest Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It?
|
||||||
|
|
||||||
|
Builders and schematics adding Jest tests to applications and libraries.
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/web`, `@nrwl/react`, `@nrwl/angular`, `@nrwl/node`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
19
packages/linter/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Linter Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It?
|
||||||
|
|
||||||
|
Builders and schematics adding TS and JS lint checks to applications and libraries.
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/web`, `@nrwl/react`, `@nrwl/angular`, `@nrwl/node`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
31
packages/nest/README.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Nest.js Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
```
|
||||||
|
? Workspace name (e.g., org name) happyorg
|
||||||
|
? What to create in the new workspace angular-preset [a workspace with a full stack application (Angular + Nest)]
|
||||||
|
? Application name myapp
|
||||||
|
? Default stylesheet format CSS
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also select `empty` and add `@nrwl/nest` plugin using yarn or npm, and then generate a new express app using `nx g @nrwl/nest:app myapp`.
|
||||||
|
|
||||||
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
|
||||||
|
You are good to go!
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
40
packages/next/README.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-next.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Next.js Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
```
|
||||||
|
? Workspace name (e.g., org name) happyorg
|
||||||
|
? What to create in the new workspace next.js [a workspace with a single Next.js application]
|
||||||
|
? Application name myapp
|
||||||
|
? Default stylesheet format CSS
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also select `empty` and add `@nrwl/next` plugin using yarn or npm, and then generate a new express app using `nx g @nrwl/next:app myapp`.
|
||||||
|
|
||||||
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
- Run `nx e2e myapp` to run e2e tests for your application.
|
||||||
|
|
||||||
|
You are good to go!
|
||||||
|
|
||||||
|
## Quick Start Videos
|
||||||
|
|
||||||
|
<a href="https://www.youtube.com/watch?v=E188J7E_MDU" target="_blank">
|
||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-react-video.png" width="350"></p>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
19
packages/node/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# NodeJS Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It?
|
||||||
|
|
||||||
|
Builders and schematics adding basic functionality for building, testing and linting node applications and libraries.
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/express`, and `@nrwl/next`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
17
packages/nx-plugin/README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Plugin for Creating Nx Plugins
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It?
|
||||||
|
|
||||||
|
It's an Nx plugin used to build other Nx plugins.
|
||||||
|
|
||||||
|
Check out the list of community plugins and the documentation on how to create one using `create-nx-plugin` here: [https://nx.dev/nx-community](https://nx.dev/nx-community)
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
40
packages/react/README.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-react.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# React Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
```
|
||||||
|
? Workspace name (e.g., org name) happyorg
|
||||||
|
? What to create in the new workspace react [a workspace with a single React application]
|
||||||
|
? Application name myapp
|
||||||
|
? Default stylesheet format CSS
|
||||||
|
```
|
||||||
|
|
||||||
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
- Run `nx e2e myapp-e2e` to run e2e tests for it.
|
||||||
|
|
||||||
|
## Adding React Plugin Into an Existing Workspace
|
||||||
|
|
||||||
|
You can always add the React plugin to an existing workspace by installing `@nrwl/react` and then generating an React application, as follows: `nx g @nrwl/react:app myapp`.
|
||||||
|
|
||||||
|
## Quick Start Videos
|
||||||
|
|
||||||
|
<a href="https://www.youtube.com/watch?v=E188J7E_MDU" target="_blank">
|
||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-react-video.png" width="350"></p>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
19
packages/storybook/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Storybook Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It?
|
||||||
|
|
||||||
|
Builders and schematics adding Storybook support for frontend applications.
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/web`, `@nrwl/react`, and `@nrwl/angular`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
19
packages/tao/README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# TAO Cli for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
## What is It
|
||||||
|
|
||||||
|
An internal package implementing the core functionality of the Nx CLI.
|
||||||
|
|
||||||
|
## How to Use
|
||||||
|
|
||||||
|
This package is used by the `@nrwl/workspace`. See [https://github.com/nrwl/nx](https://github.com/nrwl/nx) for more information.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
31
packages/web/README.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Web Plugin for Nx
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
```angular [a workspace with a single Angular application]
|
||||||
|
? Workspace name (e.g., org name) happyorg ? What to create in the new workspace
|
||||||
|
web components [a workspace with a single app built using web components] ?
|
||||||
|
Application name myapp ? Default stylesheet format CSS
|
||||||
|
```
|
||||||
|
|
||||||
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
- Run `nx e2e myapp-e2e` to run e2e tests for it.
|
||||||
|
|
||||||
|
## Adding Web Plugin Into an Existing Workspace
|
||||||
|
|
||||||
|
You can always add the web plugin to an existing workspace by installing `@nrwl/web` and then generating a web components application, as follows: `nx g @nrwl/web:app myapp`.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
21
packages/workspace/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-react.png" width="600"></p>
|
||||||
|
|
||||||
|
{{links}}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
# Workspace Nx Package
|
||||||
|
|
||||||
|
{{what-is-nx}}
|
||||||
|
|
||||||
|
{{getting-started}}
|
||||||
|
|
||||||
|
If it's your first Nx project, the command will recommend you to install `@nrwl/cli` globally, so you can invoke `nx` directly without going through yarn or npm.
|
||||||
|
|
||||||
|
## Serving Application
|
||||||
|
|
||||||
|
- Run `nx serve myapp` to serve the newly generated application!
|
||||||
|
- Run `nx test myapp` to test it.
|
||||||
|
- Run `nx e2e myapp-e2e` to run e2e tests for it.
|
||||||
|
|
||||||
|
{{resources}}
|
||||||
@ -198,7 +198,7 @@ describe('AppComponent', () => {
|
|||||||
<h1>Welcome to ${options.name}!</h1>
|
<h1>Welcome to ${options.name}!</h1>
|
||||||
<img
|
<img
|
||||||
width="450"
|
width="450"
|
||||||
src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png"
|
src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>Message: {{ (hello$|async)|json }}</div>
|
<div>Message: {{ (hello$|async)|json }}</div>
|
||||||
@ -269,7 +269,7 @@ export const App = () => {
|
|||||||
<h1>Welcome to ${options.name}!</h1>
|
<h1>Welcome to ${options.name}!</h1>
|
||||||
<img
|
<img
|
||||||
width="450"
|
width="450"
|
||||||
src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png"
|
src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>{m.message}</div>
|
<div>{m.message}</div>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
This project was generated using [Nx](https://nx.dev).
|
This project was generated using [Nx](https://nx.dev).
|
||||||
|
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png" width="450"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="450"></p>
|
||||||
|
|
||||||
🔎 **Nx is a set of Extensible Dev Tools for Monorepos.**
|
🔎 **Nx is a set of Extensible Dev Tools for Monorepos.**
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ Visit the [Nx Documentation](https://nx.dev/angular) to learn more.
|
|||||||
|
|
||||||
This project was generated using [Nx](https://nx.dev).
|
This project was generated using [Nx](https://nx.dev).
|
||||||
|
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png" width="450"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="450"></p>
|
||||||
|
|
||||||
🔎 **Nx is a set of Extensible Dev Tools for Monorepos.**
|
🔎 **Nx is a set of Extensible Dev Tools for Monorepos.**
|
||||||
|
|
||||||
@ -177,7 +177,7 @@ Visit the [Nx Documentation](https://nx.dev) to learn more.
|
|||||||
|
|
||||||
### Computation Memoization in the Cloud
|
### Computation Memoization in the Cloud
|
||||||
|
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-cloud-card.png"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-cloud-card.png"></p>
|
||||||
|
|
||||||
Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.
|
Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.
|
||||||
|
|
||||||
|
|||||||
23
scripts/copy-readme.js
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
const fs = require('fs');
|
||||||
|
|
||||||
|
const p = process.argv[2];
|
||||||
|
|
||||||
|
let r = fs.readFileSync(`packages/${p}/README.md`).toString();
|
||||||
|
r = r.replace(
|
||||||
|
`{{links}}`,
|
||||||
|
fs.readFileSync('scripts/readme-fragments/links.md')
|
||||||
|
);
|
||||||
|
r = r.replace(
|
||||||
|
`{{what-is-nx}}`,
|
||||||
|
fs.readFileSync('scripts/readme-fragments/what-is-nx.md')
|
||||||
|
);
|
||||||
|
r = r.replace(
|
||||||
|
`{{getting-started}}`,
|
||||||
|
fs.readFileSync('scripts/readme-fragments/getting-started.md')
|
||||||
|
);
|
||||||
|
r = r.replace(
|
||||||
|
`{{resources}}`,
|
||||||
|
fs.readFileSync('scripts/readme-fragments/resources.md')
|
||||||
|
);
|
||||||
|
|
||||||
|
fs.writeFileSync(`build/packages/${p}/README.md`, r);
|
||||||
36
scripts/readme-fragments/getting-started.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
## Getting Started
|
||||||
|
|
||||||
|
### Creating an Nx Workspace
|
||||||
|
|
||||||
|
**Using `npx`**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx create-nx-workspace
|
||||||
|
```
|
||||||
|
|
||||||
|
**Using `npm init`**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm init nx-workspace
|
||||||
|
```
|
||||||
|
|
||||||
|
**Using `yarn create`**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn create nx-workspace
|
||||||
|
```
|
||||||
|
|
||||||
|
The `create-nx-workspace` command will ask you to select a preset, which will configure some plugins and create your applications to help you get started.
|
||||||
|
|
||||||
|
```
|
||||||
|
? What to create in the new workspace (Use arrow keys)
|
||||||
|
❯ empty [an empty workspace]
|
||||||
|
web components [a workspace with a single app built using web components]
|
||||||
|
angular [a workspace with a single Angular application]
|
||||||
|
angular-nest [a workspace with a full stack application (Angular + Nest)]
|
||||||
|
react [a workspace with a single React application]
|
||||||
|
react-express [a workspace with a full stack application (React + Express)]
|
||||||
|
next.js [a workspace with a single Next.js application]
|
||||||
|
```
|
||||||
|
|
||||||
|
Select the preset that works best for you.
|
||||||
11
scripts/readme-fragments/links.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<div align="center">
|
||||||
|
|
||||||
|
[](https://circleci.com/gh/nrwl/nx)
|
||||||
|
[]()
|
||||||
|
[](https://www.npmjs.com/@nrwl/workspace)
|
||||||
|
[]()
|
||||||
|
[](http://commitizen.github.io/cz-cli/)
|
||||||
|
[](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
[](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc)
|
||||||
|
|
||||||
|
</div>
|
||||||
120
scripts/readme-fragments/resources.md
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
## Documentation
|
||||||
|
|
||||||
|
- [Nx Repo](https://github.com/nrwl/nx)
|
||||||
|
- [Nx Documentation and Guides](https://nx.dev)
|
||||||
|
|
||||||
|
## Courses
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="https://www.youtube.com/watch?v=2mYLe9Kp9VM&list=PLakNactNC1dH38AfqmwabvOszDmKriGco" target="_blank">
|
||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-workspace-course.png" width="350"></p>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="https://nxplaybook.com/p/advanced-nx-workspaces" target="_blank">
|
||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/advanced-nx-workspace-course.png" width="350"></p>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
### Talks
|
||||||
|
|
||||||
|
- [React Development At Scale (React Vancouver Virtual Meetup)](https://youtu.be/ZGXuzVipe1U?t=3721), Jack Hsu (May 27, 2020)
|
||||||
|
|
||||||
|
- [Scalable React Development (React Summit Remote Edition)](https://www.youtube.com/watch?v=Lr-u2ALSEQg), Jason Jean (April 17, 2020)
|
||||||
|
Slides: [https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/](https://prezi.com/view/fm9sUbR7vbr5fZlO9C8D/)
|
||||||
|
|
||||||
|
- [Beyond Basics: Scaling Development across Large Teams (Angular Rome Meetup online)](https://docs.google.com/presentation/d/1zEgeppole9avhrvV6Zmpmk-L1W9-6JsHbnjaJwBigtQ/edit?usp=sharing), Juri Strumpflohner (April 2, 2020)
|
||||||
|
|
||||||
|
- [Develop like Google, Microsoft, and Facebook with Nx - Dev Nexus](https://prezi.com/view/BVhl92reqg7cnhvv6hhH/), Jason Jean (February 18, 2020)
|
||||||
|
|
||||||
|
- [Enhancing the workspace with Custom Builders - AngularToronto](https://www.youtube.com/watch?v=M1Bk_O49n94), Benjamin Cabanes (February 18, 2020)
|
||||||
|
|
||||||
|
- [Advanced Nx - Angular Air](https://www.youtube.com/watch?v=pcTSDMid-aE), Isaac Mann (February 5th, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - HackFlix](https://www.youtube.com/watch?v=WRmj4JwfoMs) - Isaac Mann (January 9th, 2020)
|
||||||
|
|
||||||
|
* [E2E Testing at Half the Cost - NG-BE 2019](https://www.youtube.com/watch?v=C88th0SbepE), Isaac Mann (Dev 10, 2019)
|
||||||
|
|
||||||
|
* [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps - ngBucharest](https://www.youtube.com/watch?v=bKhyTeTCf7M), Isaac Mann (March 30, 2019)
|
||||||
|
|
||||||
|
- Slides: [https://prezi.com/view/jglXvEfeqnjEr4l2L11h/](https://prezi.com/view/jglXvEfeqnjEr4l2L11h/)
|
||||||
|
|
||||||
|
* [Modern Development with Angular CLI & Nrwl Nx](https://www.youtube.com/watch?v=tE8sUAfKI3g), Victor Savkin at ngAtlanta (Feb 5, 2019)
|
||||||
|
|
||||||
|
* [Supercharging the Angular CLI](https://www.youtube.com/watch?v=bMkKz8AedHc) - ngVikings, James Henry (March 10, 2018)
|
||||||
|
|
||||||
|
* [Hands on Full Stack development with Nx and Bazel](https://www.youtube.com/watch?v=1KDDIhcQORM) - ngConf, Alex Eagle, Torgeir Helgevold (April 19, 2018)
|
||||||
|
|
||||||
|
* [Angular at Large Organizations](https://www.youtube.com/watch?v=piQ0EZhtus0) - ngConf, Victor Savkin(April 20, 2018)
|
||||||
|
|
||||||
|
* [Building Large Angular Apps Successfully with Nx - AngularNYC Meetup](https://youtu.be/Jwv3wRZ3BTM), Jason Jean (December 19, 2018)
|
||||||
|
|
||||||
|
- [Nx: The New Way to Build Enterprise Angular Apps](https://www.youtube.com/watch?v=xo-1SDmvM8Y) - Angular Mix, Jeff Cross & Victor Savkin (October 11, 2017)
|
||||||
|
|
||||||
|
### Podcasts and Shows
|
||||||
|
|
||||||
|
- [Nx Plugins - ngHouston](https://youtu.be/bydqr-Yxsu8), Wes Grimes and Jon Cammisuli (April 8 2020)
|
||||||
|
|
||||||
|
- [Apollo GQL, Angular & Nx - ngHouston](https://youtu.be/bydqr-Yxsu8), Philip Fulcher (Feb 26, 2020)
|
||||||
|
|
||||||
|
- [Teach Me Anything - With Isaac Mann from Nrwl](https://youtu.be/WRmj4JwfoMs), Isaac Mann (Jan 9, 2020)
|
||||||
|
|
||||||
|
- [Sneak Peek of New Nx Workspace Course - ngHouston](https://www.youtube.com/watch?v=uLbA4f2SINE&feature=youtu.be), Isaac Mann (Nov 27, 2019)
|
||||||
|
|
||||||
|
- [React Roundup: Nx and Monorepos](https://player.fm/series/react-round-up/rru-081-nx-and-monorepos-with-jeffrey-cross-and-victor-savkin), Victor Savkin (Oct 1, 2019)
|
||||||
|
|
||||||
|
- [Nx and Angular CLI - Adventures in Angular](https://devchat.tv/adv-in-angular/aia-254-nx-and-angular-cli-with-brandon-roberts/), Brandon Roberts (Aug 27th 2019)
|
||||||
|
|
||||||
|
- [ngHouston: NX Demo](https://www.youtube.com/watch?v=E_UlU2Yv4G0) (Dec 7, 2017)
|
||||||
|
|
||||||
|
- [ngAir 140: Nx for Enterprise Angular Development](https://www.youtube.com/watch?v=qYNiOKDno_I), Victor Savkin (Dec 12, 2017)
|
||||||
|
|
||||||
|
### Nx Demo & Tutorial Videos
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
||||||
|
|
||||||
|
- [Nx Dev Tools for Monorepos, In-Depth Explainer (Angular)](https://youtu.be/h5FIGDn5YM0)
|
||||||
|
|
||||||
|
- [Storybook Integration with Nx](https://youtu.be/sFpqyjT7u4s)
|
||||||
|
|
||||||
|
- [Building Custom Plugins for Nx](https://youtu.be/XYO689PAhow)
|
||||||
|
|
||||||
|
- [Improved Dependency Graph Visualization for Nx](https://youtu.be/cMZ-ReC-jWU)
|
||||||
|
|
||||||
|
- [Group all your stories into a single viewable Storybook with Nx](https://youtu.be/c323HOuFKkA)
|
||||||
|
|
||||||
|
- [Debug Nx with Node and VSCode](https://youtu.be/OGV4R0cPRPc)
|
||||||
|
|
||||||
|
- [Debug your Jest tests in Nx with VSCode](https://youtu.be/9_lgM2nokLg)
|
||||||
|
|
||||||
|
- [Nx Console - A Must-Have Visual Studio Code Extension for Angular Developers](https://youtu.be/IIetmfgozgI)
|
||||||
|
|
||||||
|
- [Introducing Nx Cloud](https://youtu.be/pwG20nNTEQc)
|
||||||
|
|
||||||
|
- [Setting up distributed caching using Nx Cloud, @nrwl/nx-cloud](https://youtu.be/w1-GiB74ddc)
|
||||||
|
|
||||||
|
- [High Quality React apps with Nx & Cypress](https://youtu.be/mfJBLhjYMdo)
|
||||||
|
|
||||||
|
### Books amd Blogs
|
||||||
|
|
||||||
|
- [Nx blog posts](https://blog.nrwl.io/nx/home)
|
||||||
|
|
||||||
|
- [Angular Enterprise Monorepo Patterns Book (free)](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
|
||||||
|
|
||||||
|
* [High Quality React apps with Nx & Cypress](https://cypress.io/blog/2020/04/14/high-quality-react-apps-with-nx-cypress/) (April 2020)
|
||||||
|
|
||||||
|
* [Shell Library patterns with Nx and Monorepo Architectures](https://indepth.dev/the-shell-library-patterns-with-nx-and-monorepo-architectures/) (March 2020)
|
||||||
|
|
||||||
|
- [Tiny Angular application projects in Nx workspaces](https://indepth.dev/tiny-angular-application-projects-in-nx-workspaces/#peer-reviewers--30/) (March 2020)
|
||||||
|
|
||||||
|
### Misc
|
||||||
|
|
||||||
|
- [nx-examples](https://github.com/nrwl/nx-examples) repo has branches for different nx comments to display expected behavior and example app and libraries. Check out the branch (workspace, ngrx...) to see what gets created for you. More info on readme.
|
||||||
|
|
||||||
|
- [xplat - Cross-platform tools for Nx workspaces](https://nstudio.io/xplat/)
|
||||||
19
scripts/readme-fragments/what-is-nx.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
## What is Nx?
|
||||||
|
|
||||||
|
🔎 **Extensible Dev Tools for Monorepos.**
|
||||||
|
|
||||||
|
## Nx Helps You
|
||||||
|
|
||||||
|
### Develop like Google, Facebook, and Microsoft
|
||||||
|
|
||||||
|
Nx helps scale your development from one team building one application to many teams building multiple frontend and backend applications all in the same workspace. When using Nx, developers have a holistic dev experience powered by an advanced CLI (with editor plugins), capabilities for controlled code sharing and consistent code generation.
|
||||||
|
|
||||||
|
### Use Intelligent Build System with Distributed Caching
|
||||||
|
|
||||||
|
Nx is smart. It analyzes your workspace and figures out what can be affected by every code change. That's why Nx doesn't rebuild and retest everything on every commit--it only rebuilds what is necessary.
|
||||||
|
|
||||||
|
Nx also uses a distributed computation cache. If someone has already built or tested similar code, Nx will use their results to speed up the command for everyone else instead of rebuilding or retesting the code from scratch. This, in combination with Nx’s support for distributed and incremental builds, can help teams see up to 10x reduction in build and test times.
|
||||||
|
|
||||||
|
### Use Modern Tools
|
||||||
|
|
||||||
|
Nx is an open platform with plugins for many modern tools and frameworks. It has support for TypeScript, React, Angular, Cypress, Jest, Prettier, Nest.js, Next.js, Storybook, Ionic among others. With Nx, you get a consistent dev experience regardless of the tools used.
|
||||||
472
workspace.json
@ -24,16 +24,27 @@
|
|||||||
"main": "packages/tao/index.ts",
|
"main": "packages/tao/index.ts",
|
||||||
"updateBuildableProjectDepsInPackageJson": false,
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
"assets": [
|
"assets": [
|
||||||
{ "input": "packages/tao", "glob": "**/files/**", "output": "/" },
|
{
|
||||||
|
"input": "packages/tao",
|
||||||
|
"glob": "**/files/**",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"input": "packages/tao",
|
"input": "packages/tao",
|
||||||
"glob": "**/files/**/.gitkeep",
|
"glob": "**/files/**/.gitkeep",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/tao", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/tao", "glob": "**/*.js", "output": "/" },
|
"input": "packages/tao",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/tao",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -42,8 +53,15 @@
|
|||||||
"outputs": ["build/packages/tao"],
|
"outputs": ["build/packages/tao"],
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
{ "command": "nx build-base tao" },
|
{
|
||||||
{ "command": "chmod +x build/packages/tao/index.js" }
|
"command": "nx build-base tao"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "chmod +x build/packages/tao/index.js"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js tao"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"parallel": false
|
"parallel": false
|
||||||
}
|
}
|
||||||
@ -98,8 +116,7 @@
|
|||||||
"glob": "**/*.{js,css,html}",
|
"glob": "**/*.{js,css,html}",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
"LICENSE",
|
"LICENSE"
|
||||||
"README.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -107,7 +124,14 @@
|
|||||||
"builder": "@nrwl/workspace:run-commands",
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
"outputs": ["build/packages/workspace"],
|
"outputs": ["build/packages/workspace"],
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [{ "command": "nx build-base workspace" }],
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base workspace"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js workspace"
|
||||||
|
}
|
||||||
|
],
|
||||||
"parallel": false
|
"parallel": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -127,7 +151,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/web",
|
"outputPath": "build/packages/web",
|
||||||
@ -136,7 +160,11 @@
|
|||||||
"main": "packages/web/index.ts",
|
"main": "packages/web/index.ts",
|
||||||
"updateBuildableProjectDepsInPackageJson": false,
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
"assets": [
|
"assets": [
|
||||||
{ "input": "packages/web", "glob": "**/files/**", "output": "/" },
|
{
|
||||||
|
"input": "packages/web",
|
||||||
|
"glob": "**/files/**",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"input": "packages/web",
|
"input": "packages/web",
|
||||||
"glob": "**/files/**/.gitkeep",
|
"glob": "**/files/**/.gitkeep",
|
||||||
@ -147,12 +175,34 @@
|
|||||||
"glob": "**/files/**/.babelrc__tmpl__",
|
"glob": "**/files/**/.babelrc__tmpl__",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/web", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/web", "glob": "**/*.js", "output": "/" },
|
"input": "packages/web",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/web",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/web"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base web"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js web"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -170,7 +220,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/cypress",
|
"outputPath": "build/packages/cypress",
|
||||||
@ -194,11 +244,29 @@
|
|||||||
"glob": "**/*.json",
|
"glob": "**/*.json",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/cypress", "glob": "**/*.js", "output": "/" },
|
{
|
||||||
"LICENSE",
|
"input": "packages/cypress",
|
||||||
"README.md"
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/cypress"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base cypress"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js cypress"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -216,7 +284,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/jest",
|
"outputPath": "build/packages/jest",
|
||||||
@ -235,12 +303,34 @@
|
|||||||
"glob": "**/files/**/.gitkeep",
|
"glob": "**/files/**/.gitkeep",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/jest", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/jest", "glob": "**/*.js", "output": "/" },
|
"input": "packages/jest",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/jest",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/jest"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base jest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js jest"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -258,7 +348,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/storybook",
|
"outputPath": "build/packages/storybook",
|
||||||
@ -287,10 +377,24 @@
|
|||||||
"glob": "**/*.js",
|
"glob": "**/*.js",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
"LICENSE",
|
"LICENSE"
|
||||||
"README.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/storybook"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base storybook"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js storybook"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -308,7 +412,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/react",
|
"outputPath": "build/packages/react",
|
||||||
@ -340,10 +444,24 @@
|
|||||||
{ "input": "packages/react", "glob": "**/*.json", "output": "/" },
|
{ "input": "packages/react", "glob": "**/*.json", "output": "/" },
|
||||||
{ "input": "packages/react", "glob": "**/*.d.ts", "output": "/" },
|
{ "input": "packages/react", "glob": "**/*.d.ts", "output": "/" },
|
||||||
{ "input": "packages/react", "glob": "**/*.js", "output": "/" },
|
{ "input": "packages/react", "glob": "**/*.js", "output": "/" },
|
||||||
"LICENSE",
|
"LICENSE"
|
||||||
"README.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/react"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base react"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js react"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -361,7 +479,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/nx-plugin",
|
"outputPath": "build/packages/nx-plugin",
|
||||||
@ -390,10 +508,24 @@
|
|||||||
"glob": "**/*.js",
|
"glob": "**/*.js",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
"LICENSE",
|
"LICENSE"
|
||||||
"README.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/nx-plugin"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base nx-plugin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js nx-plugin"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -411,7 +543,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/node",
|
"outputPath": "build/packages/node",
|
||||||
@ -430,12 +562,34 @@
|
|||||||
"glob": "**/files/**/.gitkeep",
|
"glob": "**/files/**/.gitkeep",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/node", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/node", "glob": "**/*.js", "output": "/" },
|
"input": "packages/node",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/node",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/node"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base node"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js node"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -453,7 +607,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/next",
|
"outputPath": "build/packages/next",
|
||||||
@ -477,12 +631,34 @@
|
|||||||
"glob": "**/files/**/.babelrc__tmpl__",
|
"glob": "**/files/**/.babelrc__tmpl__",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/next", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/next", "glob": "**/*.js", "output": "/" },
|
"input": "packages/next",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/next",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/next"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base next"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js next"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -500,7 +676,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/nest",
|
"outputPath": "build/packages/nest",
|
||||||
@ -519,12 +695,34 @@
|
|||||||
"glob": "**/files/**/.gitkeep",
|
"glob": "**/files/**/.gitkeep",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/nest", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/nest", "glob": "**/*.js", "output": "/" },
|
"input": "packages/nest",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/nest",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/nest"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base nest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js nest"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -542,7 +740,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/linter",
|
"outputPath": "build/packages/linter",
|
||||||
@ -566,11 +764,29 @@
|
|||||||
"glob": "**/*.json",
|
"glob": "**/*.json",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/linter", "glob": "**/*.js", "output": "/" },
|
{
|
||||||
"LICENSE",
|
"input": "packages/linter",
|
||||||
"README.md"
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/linter"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base linter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js linter"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -588,7 +804,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/express",
|
"outputPath": "build/packages/express",
|
||||||
@ -612,11 +828,29 @@
|
|||||||
"glob": "**/*.json",
|
"glob": "**/*.json",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/express", "glob": "**/*.js", "output": "/" },
|
{
|
||||||
"LICENSE",
|
"input": "packages/express",
|
||||||
"README.md"
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/express"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base express"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js express"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -634,7 +868,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/eslint-plugin-nx",
|
"outputPath": "build/packages/eslint-plugin-nx",
|
||||||
@ -663,10 +897,24 @@
|
|||||||
"glob": "**/*.js",
|
"glob": "**/*.js",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
"LICENSE",
|
"LICENSE"
|
||||||
"README.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/eslint-plugin-nx"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base eslint-plugin-nx"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js eslint-plugin-nx"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -713,8 +961,7 @@
|
|||||||
"glob": "**/*.js",
|
"glob": "**/*.js",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
"LICENSE",
|
"LICENSE"
|
||||||
"README.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -723,9 +970,14 @@
|
|||||||
"outputs": ["build/packages/create-nx-workspace"],
|
"outputs": ["build/packages/create-nx-workspace"],
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
{ "command": "nx build-base create-nx-workspace" },
|
{
|
||||||
|
"command": "nx build-base create-nx-workspace"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"command": "chmod +x build/packages/create-nx-workspace/bin/create-nx-workspace.js"
|
"command": "chmod +x build/packages/create-nx-workspace/bin/create-nx-workspace.js"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js create-nx-workspace"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"parallel": false
|
"parallel": false
|
||||||
@ -776,8 +1028,7 @@
|
|||||||
"glob": "**/*.js",
|
"glob": "**/*.js",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
"LICENSE",
|
"LICENSE"
|
||||||
"README.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -786,9 +1037,14 @@
|
|||||||
"outputs": ["build/packages/create-nx-plugin"],
|
"outputs": ["build/packages/create-nx-plugin"],
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
{ "command": "nx build-base create-nx-plugin" },
|
{
|
||||||
|
"command": "nx build-base create-nx-plugin"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"command": "chmod +x build/packages/create-nx-plugin/bin/create-nx-plugin.js"
|
"command": "chmod +x build/packages/create-nx-plugin/bin/create-nx-plugin.js"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js create-nx-workspace"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"parallel": false
|
"parallel": false
|
||||||
@ -819,16 +1075,27 @@
|
|||||||
"main": "packages/cli/index.ts",
|
"main": "packages/cli/index.ts",
|
||||||
"updateBuildableProjectDepsInPackageJson": false,
|
"updateBuildableProjectDepsInPackageJson": false,
|
||||||
"assets": [
|
"assets": [
|
||||||
{ "input": "packages/cli", "glob": "**/files/**", "output": "/" },
|
{
|
||||||
|
"input": "packages/cli",
|
||||||
|
"glob": "**/files/**",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"input": "packages/cli",
|
"input": "packages/cli",
|
||||||
"glob": "**/files/**/.gitkeep",
|
"glob": "**/files/**/.gitkeep",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/cli", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/cli", "glob": "**/*.js", "output": "/" },
|
"input": "packages/cli",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/cli",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -837,8 +1104,15 @@
|
|||||||
"outputs": ["build/packages/cli"],
|
"outputs": ["build/packages/cli"],
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
{ "command": "nx build-base cli" },
|
{
|
||||||
{ "command": "chmod +x build/packages/cli/bin/nx.js" }
|
"command": "nx build-base cli"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "chmod +x build/packages/cli/bin/nx.js"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js cli"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"parallel": false
|
"parallel": false
|
||||||
}
|
}
|
||||||
@ -859,7 +1133,7 @@
|
|||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build": {
|
"build-base": {
|
||||||
"builder": "@nrwl/node:package",
|
"builder": "@nrwl/node:package",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "build/packages/bazel",
|
"outputPath": "build/packages/bazel",
|
||||||
@ -878,12 +1152,34 @@
|
|||||||
"glob": "**/files/**/.gitkeep",
|
"glob": "**/files/**/.gitkeep",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/bazel", "glob": "**/*.json", "output": "/" },
|
{
|
||||||
{ "input": "packages/bazel", "glob": "**/*.js", "output": "/" },
|
"input": "packages/bazel",
|
||||||
"LICENSE",
|
"glob": "**/*.json",
|
||||||
"README.md"
|
"output": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"input": "packages/bazel",
|
||||||
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"outputs": ["build/packages/bazel"],
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
{
|
||||||
|
"command": "nx build-base bazel"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js bazel"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parallel": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -930,9 +1226,12 @@
|
|||||||
"glob": "**/*.json",
|
"glob": "**/*.json",
|
||||||
"output": "/"
|
"output": "/"
|
||||||
},
|
},
|
||||||
{ "input": "packages/angular", "glob": "**/*.js", "output": "/" },
|
{
|
||||||
"LICENSE",
|
"input": "packages/angular",
|
||||||
"README.md"
|
"glob": "**/*.js",
|
||||||
|
"output": "/"
|
||||||
|
},
|
||||||
|
"LICENSE"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -941,8 +1240,15 @@
|
|||||||
"outputs": ["build/packages/angular"],
|
"outputs": ["build/packages/angular"],
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
{ "command": "nx build-base angular" },
|
{
|
||||||
{ "command": "./scripts/build-angular.sh" }
|
"command": "nx build-base angular"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "./scripts/build-angular.sh"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "node ./scripts/copy-readme.js angular"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"parallel": false
|
"parallel": false
|
||||||
}
|
}
|
||||||
|
|||||||