552 Commits

Author SHA1 Message Date
Alan Elias
f3b673e618 feat(web): enable devserver allowed hosts option (#1969)
* feat(web): enable devserver allowed hosts option
2019-10-21 21:49:36 -04:00
Jack Hsu
930cf40a4a
fix(nx): add outputPath in schema.json for web and node build builders. (#1959)
Related: #1945
2019-10-17 12:46:34 -04:00
Jack Hsu
34a887a93f
fix(web): use legacy decorators so they work with TypeScript. (#1928)
Closes #1908
2019-10-08 12:05:30 -04:00
Jack Hsu
a524b2e947 feat(react): add publishable library support
Issue #1521
2019-10-02 16:26:20 -04:00
ben
047fb3200c docs(nx): add nx video course links 2019-09-26 09:23:34 -04:00
Mehrad Rafigh
e6b07e282c fix(nx): use same prettier version (#1869) 2019-09-23 11:24:13 +01:00
Jack Hsu
68498ab08e
fix(web): fix broken test (#1820) 2019-09-10 09:58:12 -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
Brandon Roberts
cf147cf405 chore(nx): bump Angular CLI deps to 8.3.3 2019-09-09 14:08:05 -04:00
Victor Savkin
09a94b8958 feat(nx): implement next support 2019-09-08 14:36:30 -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
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
Victor Savkin
70d71b3516 feat(nx): add support for migrations 2019-09-02 14:33:56 -04:00
ben
a83f47abf3 feat(frontend): update home screens 2019-08-29 16:47:02 -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
Jason Jean
aecdd2bc4c fix(angular): use build-angular for linting 2019-08-09 11:15:40 -04:00
Adam Vigneaux
8c7c0b7721 fix(nx): rename browserlist file to browserslist (#1654)
According to [the Browserslist docs](https://github.com/browserslist/browserslist#queries),
the file should be named `browserslist`. The previous name had a missing
"s" in the middle.

I do not know how `browserslist` is integrated in Nx and the Angular
CLI, but it is possible that the configuration file was being ignored
entirely due to this naming error. When the `browserslist` CLI does not
find a configuration file, it uses a sensible default configuration, so
it would not be obvious that the configuration file was ignored.
2019-08-01 11:01:50 -04:00
Victor Savkin
192a6a083d feat(nx): misc ux improvements 2019-07-29 09:23:51 -04:00
Jason Jean
89b522d2bc
fix(frontend): add style tag to head in html output (#1638)
fix #1623
2019-07-26 09:01:38 -04:00
Jack Hsu
776a185d65
feat(react): adds default babel-loader support for react apps (#1631) 2019-07-25 15:33:26 -04:00
Victor Savkin
563559962b fix(nx): rename lint package into linter 2019-07-25 04:46:23 -04:00
Victor Savkin
8fc5c4cae6 feat(nx): add a generic lint package that works with eslint and tslint 2019-07-25 08:34:05 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Jason Jean
25bb527515 fix(frontend): fix es5 compilation for differential loading 2019-07-23 19:39:24 -04:00
Jason Jean
610b4281b8 fix(frontend): fix peer dependency warning errors 2019-07-23 19:39:09 -04:00
Jason Jean
14d8280748 enhancement(nx): improve webpack output 2019-07-23 19:38:41 -04:00
Brandon Roberts
4f7ec84741 feat(nx): add migration to update Angular CLI devDependencies to 8.1.x
Angular CLI 8.1.x is required in order to use the --allow-dirty option.
This also covers the additional build dependencies added when generating
libraries.
2019-07-18 18:32:44 -04:00
Brandon Roberts
93aac33b79 docs(nx): update description of Nx in schematics, and frontend links
The schematics for React and Angular still refer to Angular CLI power-ups.
This also links the generated schematic for an Angular or React application
to their framework-specific pages.
2019-07-17 14:39:43 -04:00
Jason Jean
93c000d96c fix(nx): fix assets option object input 2019-07-16 21:22:34 -04:00
Victor Savkin
c16f250136 feat(nx): implement global nx cli to remove the need to use yarn nx 2019-07-10 17:53:47 -04:00
Victor Savkin
7640598239 feat(nx): remove prompt asking for tags and for unit and e2e test runners 2019-06-26 08:22:25 -04:00
Jason Jean
7a161ae6b4 chore(nx): update angular devkit to 8.0.1 2019-06-04 11:22:12 -04:00
Jason Jean
2cd4a72fe7 feat(nx): update to angular 8 2019-05-29 11:57:54 -04:00
Jason Jean
678750b98f fix(nx): set generated app to default app if none is set 2019-05-28 12:11:22 -04:00
Jason Jean
df23cba0e1 feat(nx): target es2015 by default for all applications 2019-05-27 10:19:47 -04:00
Jason Jean
43af1cd878 feat(frontend): add differential loading for web apps 2019-05-23 11:57:23 -04:00
Jason Jean
416ba048ea feat(nx): update angular to v8-rc.4 2019-05-21 12:11:38 -04:00
Victor Savkin
f007ca9d17 fix(nx): make distribution ivy-friendly 2019-05-21 11:51:40 -04:00
Jason Jean
a5351c9d36 feat(nx): set default collection on ngadd 2019-05-21 09:01:29 -04:00
Jason Jean
ff729156b3 fix(nx): extend @nrwl/workspace collection and cleanup inconsistencies 2019-05-17 19:56:26 -04:00
Jason Jean
9f27459c64
chore(nx): update versions of angular related deps to latest RC + small fixes (#1338) 2019-05-13 10:53:01 -04:00
Jason Jean
b6170bdb17 feat(nx): update angular to v8 (#1334)
feat(nx): update angular to v8
2019-05-10 12:09:47 -04:00
Jason Jean
857ee73142 fix(frontend): tsconfig paths resolution 2019-05-07 15:35:04 -04:00
Victor Savkin
90c2d45686 cleanup(nx): clean up schematics to only depend on non-framework specific packages 2019-05-02 11:43:47 -04:00
Jason Jean
a3be21ca78
feat(nx): generating apps works without ng-add (#1287) 2019-04-26 15:19:50 -04:00
Jason Jean
422fef7c1c fix(frontend): remove dependency on @angular/compiler-cli 2019-04-24 17:32:41 -04:00
Victor Savkin
e8ea4dfabf fix(build): add missing webpack deps to node and web 2019-04-22 18:14:25 -04:00
Victor Savkin
1c07d05af3 refactor(workspace): remove utils creating webpack config 2019-04-22 18:14:25 -04:00
Victor Savkin
b5f1966ca5 refactor(nx): extract workspace creation into @nrwl/workspace 2019-04-21 09:46:21 -04:00