573 Commits

Author SHA1 Message Date
Jason Jean
d7a769ccf5 fix(react): fix security vulnerability in serialize-javascript 2019-12-26 16:35:14 -05:00
Jack Hsu
80b9af1244 fix(react): add babel-plugin-const-enum as a dependency (#2237) 2019-12-23 23:08:56 -05:00
Jack Hsu
5d0e1ad199
feat(react): add support for const enums (#2224) 2019-12-23 14:06:58 -05:00
Jason Jean
cee6888a12
feat(misc): export mock builder context from workspace (#2221) 2019-12-19 18:30:21 -05:00
Victor Savkin
f5b56fd41b fix(misc): reenable run-many tests 2019-12-14 15:26:34 -05:00
Victor Savkin
f816fc424d Revert "feat(core): update to next version of angular deps"
This reverts commit bd230e0530e690b2ae7896a876510f62002943c8.
2019-12-10 08:07:26 -05:00
Jason Jean
bd230e0530 feat(core): update to next version of angular deps 2019-12-08 16:16:33 -05:00
victor savkin
dbd94926bf fix(web): clean up third-party code to drop unnecessary deps from web's package.json 2019-12-04 09:24:59 -05:00
Victor Savkin
91e1f4ef8b fix(web): do not replace 0.0.0.0 with localhost 2019-12-02 18:08:46 -05:00
Jack Hsu
7a434d469a fix(web): resolve issue where different core-js versions exist in the same workspace
Closes #2086
2019-11-28 07:54:08 -05:00
Jack Hsu
4a3aa1f0fb
chore(react): update React-related libs (#2089) 2019-11-25 15:49:39 -05:00
Brandon
4ab9827757 fix(nx): align package versions for web and node packages (#2098)
Aligns package versions for:
webpack-dev-server
license-webpack-plugin
circular-dependency-plugin
2019-11-25 11:23:40 -05:00
Victor Savkin
3027c167f4 fix(react): webpack build fails in a react project 2019-11-22 13:48:38 -05:00
Isaac Mann
949869e273 fix(nx): typo in @nrwl/web dependency 2019-11-15 18:58:40 -05:00
Brandon Roberts
791c3f25fc chore(nx): fix LicenseWebpackPlugin references 2019-11-12 09:53:43 -05:00
Brandon Roberts
0821c564dd chore(nx): add missing node_module libraries for e2e tests 2019-11-12 09:53:43 -05:00
Brandon Roberts
a24c31dd20 chore(nx): format new files 2019-11-12 09:53:43 -05:00
Brandon Roberts
c2ed286d5a chore(nx): review feedback fixes 2019-11-12 09:53:43 -05:00
Brandon Roberts
64ebe9483a refactor(nx): remove dependency from @nrwl/web on @angular-devkit/build-angular 2019-11-12 09:53:43 -05:00
Brandon
8812ce1fe2
chore(nx): bump dependencies on Angular, Angular DevKit, and NgRx (#2002) 2019-11-07 13:57:36 -06:00
Alan Elias
e85f56f9e3 fix(web): fixes devserver allowed hosts option schema validation error
I removed `enum` to fix `--allowed-hosts` option schema validation error. snum should be removed so
developers have the option to pass whatever they want. it was a mistake from
https://github.com/nrwl/nx/pull/1969 PR.
2019-11-03 16:55:12 -05:00
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