6116 Commits

Author SHA1 Message Date
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
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
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
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
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
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
64063f72df docs(nx): update api docs to contain examples 2019-08-21 11:56:21 -04:00
Victor Savkin
3bf8818def fix(react): fix invalid version o @types/react-dom 2019-08-17 12:36:40 -04:00
Ahn
2c18f6aad7 docs(nx): correct wrong description for ng-add (#1731)
* docs(nx): correct wrong description for ng-add

* docs(nx): generate new ng-add.md
2019-08-16 13:12:03 -04:00
Jack Hsu
e93064a758
fix(react): fix eslint config so it does not override module boundaries from parent. (#1733) 2019-08-16 13:11:22 -04:00
Jack Hsu
f4d83548f3
feat(react): add aliases for common React commands (#1732) 2019-08-16 13:01:57 -04:00
Jack Hsu
fa7c9a7c7f
feat(react): add --directory option for React components (#1729)
Also adds alias support to tao cli.

Closes #1702
2019-08-16 09:22:15 -04:00
Victor Savkin
01f1c8145b fix(react): add missing dependencies to react package.json 2019-08-14 10:43:31 -04:00
Jack Hsu
13e7b69c5a
feat(react): add react-specific eslint configuration (#1727) 2019-08-15 13:01:22 -04:00
Mehrad Rafigh
ff1de5b7f0 build(nx): update dependencies (#1711)
* build(nx): update husky and conventional-changelog-cli to latest version

* build(nx): update react and react-dom

update react and react-dom to 16.9.0
update @types/react to 16.9.1

* build(nx): update graphviz to 0.0.9

* build(nx): update express 4.17.1 and @types/express to 4.17.0

* build(nx): update cypress to 3.4.1
2019-08-15 11:21:33 -04:00
Jack Hsu
a9a1f669d7
feat(react): update workspace defaults based on app schematic option (#1726)
The defaults make it easier to generate other apps/libs/components later.
An option `skipWorkspaceJson` can be used to skip updates entirely.
2019-08-14 23:21:44 -04:00
Jack Hsu
5b6da28b71
fix(react): validate style value before proceeding with app/lib/component generate (#1725) 2019-08-14 21:18:17 -04:00
Victor Savkin
e29dcf904d fix(testing): remove directory x-prompt 2019-08-14 04:12:53 -04:00
Victor Savkin
b028452380 feat(nx): make choosing the cli clearer 2019-08-14 18:11:11 -04:00
Jack Hsu
a2fbc47c13 feat(react): improve lib schematic by replacing parentRoute with appProject option
- Instead of providing full path to app component, just pass the project's name.
- Updates both app.tsx and main.tsx so user no longer need to do any maual updates.
2019-08-14 18:10:51 -04:00
Victor Savkin
96d0203b1e fix(react): add tsx files to includes to fix the linter 2019-08-14 11:58:19 -04:00
Victor Savkin
17f8a79282 fix(nx): normalize paths in the eslint version of boundaries check 2019-08-14 11:58:19 -04:00
Victor Savkin
53027b4635 refactor(nx): do not ask for directory when creating apps and libs 2019-08-13 21:13:46 -04:00
James Henry
49dcacfd1a feat(eslint-plugin-nx): new package, ESLint enforce-module-boundaries rule 2019-08-13 21:13:46 -04:00
mehrad-rafigh
4cd0ff17e6 fix(nx): pass --fix flag to selected linter
Closes #1703
2019-08-13 16:18:04 -04:00
Jack Hsu
bb8c18c2d8
fix(react): update extensions for Prettier to include tsx and jsx files (#1708) 2019-08-13 13:03:50 -04:00
Victor Savkin
bd7af859ce fix(nx): fix workspace schematic package manager detection 2019-08-10 14:53:18 -04:00
Victor Savkin
4e0602a45f fix(nx): fix the default linter for express package 2019-08-10 14:53:18 -04:00
Jason Jean
aecdd2bc4c fix(angular): use build-angular for linting 2019-08-09 11:15:40 -04:00
Victor Savkin
cdcab0107c fix(nx): create-nx-workspace passes appname twice 2019-08-02 09:11:12 -04:00
Victor Savkin
14de19d205 fix(nx): app name is not used when preset is provided 2019-08-07 14:04:10 -04:00