426 Commits

Author SHA1 Message Date
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
Jonathan Cammisuli
7828b67745 fix(node): do not include directories when finding assets 2020-02-26 14:46:54 -05:00
Juri
ef8ddb5717 fix(node): pass builder options on to the serve target
Otherwise it is not possible to use option such as showCircularDependencies also during serve

ISSUES CLOSED: #1649
2020-02-26 14:28:16 -05:00
Victor Savkin
33e12754fe cleanup(core): improve the handling of edge cases determining task's outputs 2020-02-25 15:32:15 -05:00
Jonathan Cammisuli
f2c47cff0b feat(node): add runtimeArgs for execute builder
Closes #2215
2020-02-25 15:14:45 -05:00
Jonathan Cammisuli
1cc9dd6bb7 fix(node): change the default port to 0 for node:execute
ISSUES CLOSED: #1728
2020-02-25 15:14:15 -05:00
Victor Savkin
49168c10e3
feat(react): rework react buildable libraries to read deps from dist (#2513) 2020-02-20 11:00:13 -05:00
Juri
7723e941c0 docs(core): adjusts description on library schematics
right now "where the app is placed" is displayed which might be confusing given we generate a
library
2020-02-20 08:26:28 -05:00
Rares Matei
4b6c8f0927
fix(testing): invalid jest config --passWithNoTests (#2442)
fix(testing): pass passWithNoTests via builder instead of jest.config.js

ISSUES CLOSED: #2345
2020-02-16 10:56:00 -05:00
Jason Jean
e5db43f92b fix(misc): loosen dependencies for angular dependencies 2020-02-16 09:59:11 -05:00
Jason Jean
3dd84698f5 feat(node): exclude node_modules from ts-loader 2020-02-10 12:39:11 -05:00
Jason Jean
fd0b192161 feat(core): update to devkit 9.0.1 2020-02-07 13:47:54 -05:00
Jason Jean
35e3be2469 feat(angular): update to angular 9.0.0 2020-02-06 15:16:21 -05:00
Jason Jean
3c6d8c67f8
feat(angular): update angular to 9-rc.14 (#2437) 2020-02-06 13:01:04 -05:00
Juri
da1f8515c7 feat(node): allow building of publishable libs depending on other publishable libs
This commits adds a proper logic to automatically update the tsconfig paths s.t. they correctly
point to the compiled version of potential other dependent publishable libraries.
2020-02-04 15:23:22 -05:00
Juri
5840db16f0 fix(node): add npmScope prefix in library name
Publishable node libraries should use the default npmScope prefix like @proj/mylib. Otherwise it
might lead to inconsistencies when using the library within the monorepo with @proj/mylib and when
publishing it.
2020-02-04 15:23:22 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" (#2264)
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Jonathan Cammisuli
fe98e29e4b feat(nx-plugin): add new package for creating nx plugins 2020-01-21 15:18:13 -05:00
Jonathan Cammisuli
342ee9db77 chore(misc): update tree-kill package to 1.2.2 (#2328) 2020-01-16 19:53:04 -05:00
Juri
7a9d4bde0c chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 21:10:42 -05:00
Jonathan Cammisuli
a675c9f438 fix(node): update library to only copy MD files in the root 2020-01-15 21:06:53 -05:00
Victor Savkin
f43897978c Revert "chore(core): update @angular-devkit/* deps to fix browserslist out of date issue"
This reverts commit 3780eba421bda7f4755e6c433f1d6eba8fd86104.
2020-01-15 10:20:56 -05:00
Juri
3780eba421 chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 09:39:01 -05:00
Jonathan Cammisuli
e8b47a41ca fix(node): update copy-webpack-plugin for fixes in serialize-javascript
There is a security vulnerability in serialize-javascript that is currently being used by the
copy-webpack-plugin. Updating our dependency of copy-webpack-plugin will update serialize-javascript

ISSUES CLOSED: #2278
2020-01-08 13:14:21 -05:00
Jonathan Cammisuli
dec7063b89 feat(node): add package target for node libs (#2226) 2019-12-23 16:56:44 -05:00
Jonathan Cammisuli
6328b8f718 feat(node): add library schematic 2019-12-20 10:52:57 -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
Jason Jean
617e4c378f fix(node): add webpack-merge to @nrwl/node dependencies (#2171) 2019-12-11 21:40:00 -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
Jason Jean
0000266bc2 fix(backend): use consistent webpack version 2019-12-02 16:17:15 -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
Brandon Roberts
791c3f25fc chore(nx): fix LicenseWebpackPlugin references 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
64ebe9483a refactor(nx): remove dependency from @nrwl/web on @angular-devkit/build-angular 2019-11-12 09:53:43 -05:00
TheAifam5
58dba00650 feat(nx): add flag to toggle the restart of a node process 2019-11-08 17:56:55 -05:00
Brandon
8812ce1fe2
chore(nx): bump dependencies on Angular, Angular DevKit, and NgRx (#2002) 2019-11-07 13:57:36 -06: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
Mehrad Rafigh
e6b07e282c fix(nx): use same prettier version (#1869) 2019-09-23 11:24:13 +01: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
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
Jason Jean
aecdd2bc4c fix(angular): use build-angular for linting 2019-08-09 11:15:40 -04:00
Victor Savkin
81e8d5b8a9 docs(backend): update the docs to describe the special behavior of port:0 2019-08-07 14:04:10 -04:00
Victor Savkin
192a6a083d feat(nx): misc ux improvements 2019-07-29 09:23:51 -04:00
Jason Jean
df0e00d0dd
feat(backend): improve webpack output for node applications (#1634) 2019-07-26 09:01:49 -04:00
Victor Savkin
563559962b fix(nx): rename lint package into linter 2019-07-25 04:46:23 -04:00