Victor Savkin
181f9ede86
Release 8.5.1
2019-09-23 14:55:58 -04:00
Tobias Wittwer
85c54e9120
fix(nx): handle windows drive letters in nx-enforce-module-boundaries
...
Remove drive letter during path normalization to ensure consistent path structure between project nodes and target files
2019-09-23 14:30:24 -04:00
Daniel Smith
ba6be8d9bb
feat(testing): add support for testResultsProcessor jest option
2019-09-23 13:09:35 -04:00
Thomas Skalnik
d3d5417a09
feat(testing): set transpileOnly=true ...
...
... and use the ForkTsCheckerWebpackPlugin
for the cypress test execution.
Closes #1871
2019-09-23 13:01:00 -04:00
Colum Ferry
d89fd949bc
refactor(nx): change workspace-schematic output format to be consistent with Angular CLI
...
Any schematic that modifies the Virtual Tree using the `workspace-schematic` command will output
changes to the Virtual Tree in a consistent format with the Angular CLI `generate` command.
2019-09-23 12:55:36 -04:00
Mehrad Rafigh
e6b07e282c
fix(nx): use same prettier version ( #1869 )
2019-09-23 11:24:13 +01:00
Jo Pearce
3e431fa710
fix(nx): update create-nx-workspace to only offer styled components for react and react-express ( #1858 )
...
resolves #1773
2019-09-23 08:51:16 +01:00
Bucky Maler
fa05f1171a
fix(angular): remove tsconfig.lib.json excludes when --unit-test-runner is none
2019-09-17 12:01:48 -04:00
Brandon Roberts
47e751f931
fix(nx): check for valid semver version before updating package
...
Closes #1831
2019-09-17 10:43:25 -04:00
Jo Pearce
0a2555c14b
fix(testing): fix the breaking jest builder spec ( #1851 )
2019-09-17 14:19:03 +01:00
ben
0ac030b09f
docs(nx): update affected files description
...
Update the description of the `--files` options for the `affected`
command, making it clearer (hopefully).
close #1535
2019-09-17 08:51:32 -04:00
Rushi Patel
754a7e5eba
chore(nx): update the version of prettier to 1.18.2
2019-09-17 08:46:42 -04:00
Jo Hanna Pearce
065af438d2
docs(testing): clarify Cypress --watch behaviour and add link to open feature request
...
re #870
2019-09-17 08:46:04 -04:00
agriggs
dc0d05dac1
docs(nx): added slack community link
...
Added a link and description for the community slack channel.
2019-09-17 08:39:15 -04:00
Terry
37ab942407
fix(nx): remove unused double dashes to avoid yarn's warning
2019-09-17 08:37:02 -04:00
Jo Pearce
28327d30fc
fix(testing): pass setupFilesAfterEnv to jest.runCLI rather than deprecated option ( #1808 )
...
resolves #1343
2019-09-16 16:22:09 +01:00
Jo Pearce
5de142f69f
fix(testing): merge builder globals with jest.config.js globals rather than override them completely ( #1827 )
...
Resolves #1059
2019-09-16 16:20:49 +01:00
Yannick Galatol
14da0ff4b2
fix(testing): allow support of svg templates
...
Angular 8 supports SVG files in addition of HTML for component templates but they were not correctly parsed by Jest. All tests including SVG templates failed as below:
```sh
SyntaxError: /path/to/file.svg: Unexpected token (1:0)
> 1 | <svg xmlns="http://www.w3.org/2000/svg " viewBox="0 0 37.62 37.12">
```
2019-09-11 18:10:09 -04:00
Victor Savkin
4ef3a771ef
fix(nx): update the migrate command to handle edge cases
2019-09-11 18:09:28 -04:00
Zachary Williams
5daf21152d
feat(angular): fail cypress builder early if compilation error
...
If watch is not enabled and either the application or integration files (legacy) fail to compile,
the cypress angular builder will fail early.
2019-09-11 16:22:12 -04:00
Victor Savkin
e2f392e6b3
Release 8.5.0
2019-09-11 09:58:48 -04:00
Brandon Roberts
88512c2f93
fix(nx): use semver for version range comparison
2019-09-11 09:21:31 -04:00
Brandon Roberts
d5b4453ca3
fix(nx): add check to see if CLI version is more recent
2019-09-11 09:21:31 -04:00
Brandon Roberts
20b292b1a8
fix(nx): remove check for CLI version before migration
2019-09-11 09:21:31 -04:00
Jo Pearce
a1df1e040a
fix(nx): make package manager detection a bit smarter
...
In @nrwl/tao this covers the cases where no lock files exist and in create-nx-workspace we add
support for detecting pnpm installation
2019-09-10 11:31:21 -04:00
Jack Hsu
68498ab08e
fix(web): fix broken test ( #1820 )
2019-09-10 09:58:12 -04:00
Jack Hsu
3cc01b9155
fix(react): add react preset right after env ( #1817 )
2019-09-10 07:05:18 -04:00
Jack Hsu
bfd77db9eb
feat(react): updates RSK to 0.7 ( #1814 )
2019-09-09 22:08:40 -04:00
Jack Hsu
6f48e0175d
fix(web): use require.resolve for babel presets/plugins so we don't rely on module hoisting ( #1813 )
2019-09-09 21:37:35 -04:00
Jo Pearce
835f3b091d
fix(angular): remove backticks from home template which cause decorator parse errors
...
Resolves #1785
2019-09-09 14:10:33 -04:00
Brandon Roberts
cf147cf405
chore(nx): bump Angular CLI deps to 8.3.3
2019-09-09 14:08:05 -04:00
Brandon Roberts
f222e88272
fix(angular): update Angular to 8.2.x and CLI to 8.3.x for migration
2019-09-09 14:08:05 -04:00
Victor Savkin
3579c5a8b9
fix(nx): misc next.js related fixes
2019-09-09 12:29:43 -04:00
victor savkin
87f4d45311
Revert "chore(nx): add typescript eslint to 2.1.0"
...
This reverts commit 12f62ece58c3132f04e331f7f49f39377b3afe43.
2019-09-09 12:21:05 -04:00
Victor Savkin
0e96535930
chore(nx): update README
2019-09-09 12:21:05 -04:00
Victor Savkin
12f62ece58
chore(nx): add typescript eslint to 2.1.0
2019-09-08 14:40:21 -04:00
Victor Savkin
09a94b8958
feat(nx): implement next support
2019-09-08 14:36:30 -04:00
Victor Savkin
c3f2132436
fix(testing): init the jest setup any time jest project is created
2019-09-07 17:40:25 -04:00
Brandon Roberts
0491ccc5b2
feat(nx): update to Angular 8.2, Devkit 8.3, and NgRx 8.3
...
Incorporates fix from https://github.com/angular/angular-cli/pull/15041
which changed the behavior of registering schematic defaults
2019-09-07 16:28:07 -04:00
Bucky Maler
241d9dd8e7
fix(nx): update .prettierignore ( #1795 )
2019-09-06 15:43:45 -04:00
Jack Hsu
ca889a862b
feat(web): add support for typescript decorators ( #1798 )
2019-09-06 15:38:29 -04:00
Jack Hsu
811c50b92c
feat(web): use babel-loader instead of ts-loader for web build builder
...
- removes the `differentialLoading` build option
- differential loading is always enabled for prod builds
BEFORE (without ESM):
Benchmark #1 : nx build demo --prod
Time (mean ± σ): 13.834 s ± 1.731 s [User: 11.817 s, System: 1.352 s]
Range (min … max): 11.947 s … 16.015 s 10 runs
AFTER (with ESM):
Benchmark #1 : nx build demo --prod
Time (mean ± σ): 18.711 s ± 1.310 s [User: 12.172 s, System: 1.394 s]
Range (min … max): 17.232 s … 20.770 s 10 runs
2019-09-05 15:34:01 -04:00
Jo Pearce
4f5e3203cc
fix(nx): fix package manager detection in the tao package
...
resolves #1782
2019-09-05 15:29:09 -04:00
Jo Pearce
eeb713f5f0
fix(nx): exclude appropriate test setup file in tsconfig.lib.json
...
Resolves #1139
2019-09-05 15:27:47 -04:00
Jo Pearce
0b72c63be9
docs(nx): add tutorial note on restarting TS server when editing with VS Code ( #1781 )
2019-09-05 07:34:22 -05:00
Victor Savkin
70d71b3516
feat(nx): add support for migrations
2019-09-02 14:33:56 -04:00
mehrad-rafigh
3cef5095be
fix(nx): fix error message when using angular with nx cli
2019-09-02 13:20:00 -04:00
Bucky Maler
77c0c56a2f
fix(nx): format all files when --all is passed
2019-09-02 13:17:02 -04:00
mehrad-rafigh
5ada9dd394
feat(angular): add backendProject flag to angular app generation schematics
...
--backend-project now accepts a string, which should be the name of a node/nest app and creates a
proxy.conf.json
closes #1288
2019-09-02 13:15:28 -04:00
Jack Hsu
7cff67c7e9
fix(react): extend configureStore correctly when adding additional slices ( #1769 )
2019-08-30 10:30:02 -04:00