8697 Commits

Author SHA1 Message Date
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
Victor Savkin
0550a3b0f4 Release 8.4.13 2019-08-29 17:08:02 -04:00
Victor Savkin
1dfc2dc0da fix(nx): fix react-expess preset styling issue 2019-08-29 17:06:35 -04:00
ben
a83f47abf3 feat(frontend): update home screens 2019-08-29 16:47:02 -04:00
Victor Savkin
b4e25fdd2a feat(nx): point to nx tutorial after running create-nx-workspace 2019-08-29 16:29:59 -04:00
Victor Savkin
e79731b913 fix(nx): set the right linter in react-express preset 2019-08-29 16:29:59 -04:00
Victor Savkin
644047b474 build(nx): more strickly enforce commit messages 2019-08-29 15:57:25 -04:00
Wes Grimes
929aeb751b feat(nx): check .nxignore for globs to add to ignored files in affected
Add ability to ignore files from the affected check using .nxignore files

Implement #895
2019-08-29 10:44:15 -04:00
victor savkin
cfc1eaa474 fix(nx): package manager detection in code generation 2019-08-28 15:15:02 -04:00
Victor Savkin
74442e4329 fix(docs): fix docs generation 2019-08-27 21:39:15 -04:00
Jack Hsu
989e5667e0
feat(react): add react-router-dom types (#1762)
Closes #1557
2019-08-28 08:58:35 -04:00
Jack Hsu
0a2f7fd78a
feat(react): add redux schematic (#1761) 2019-08-28 08:25:34 -04:00
Jack Hsu
d222ef04fe
fix(react): set configPath for @babel/preset-env to match project context (#1758) 2019-08-27 13:06:36 -04:00
Victor Savkin
11b2412a39 fix(nx): fix formatting 2019-08-19 10:49:25 -04:00
Victor Savkin
64063f72df docs(nx): update api docs to contain examples 2019-08-21 11:56:21 -04:00
Victor Savkin
54d5826103 docs(nx): update readme 2019-08-19 10:42:37 -04:00