301 Commits

Author SHA1 Message Date
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) (#2840)
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
Jack Hsu
ed8bd2bbe8
Revert "fix(core): resolve webpack loaders with require.resolve() (#3341)" (#3371)
This reverts commit d74ab4e9d6eae6d83c3bb76072b45f7a4c7a6305.
2020-07-20 16:24:47 -04:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Spencer Elliott
d74ab4e9d6
fix(core): resolve webpack loaders with require.resolve() (#3341)
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.

This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.

See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
2020-07-15 13:55:38 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Jason Jean
0ab2fc7875
fix(repo): register local collections for unit tests (#3207) 2020-06-20 03:01:03 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Victor Savkin
2a3116f2e6 feat(misc): add an option not to update package.json files when building libs 2020-06-03 12:55:37 -04:00
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -04:00
Devin Shoemaker
0a70e46b6b
cleanup(core): export setDefaultCollection from @nrwl/workspace (#2970) 2020-05-09 12:12:40 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Jo Hanna Pearce
09baaaa8ba fix(node): add defensive check for architect to node migration 2020-04-27 10:32:49 +01:00
Jason Jean
3bdcc0b012
fix(core): rework where tmp tsconfigs are generated (#2805) 2020-04-16 14:30:49 -04:00
Jason Jean
4e4bd6d764
fix(misc): skip jest and cypress configuration when generating… (#2743) 2020-04-02 12:49:55 -04:00
Victor Savkin
70a64c1776 fix(misc): minor misc fixes 2020-03-31 17:45:01 -04:00
Brandon Roberts
49d8ce1297 feat(angular): update Angular libraries to version 9.1.0 2020-03-31 11:25:30 -04:00
Jason Jean
1cc18a7704 feat(node): add memory limit option 2020-03-29 11:32:53 -04:00
Jason Jean
09c4654ae9 fix(misc): add formatting to all migrations 2020-03-29 11:30:59 -04:00
Jason Jean
aeb0bdcb4e feat(core): enable caching by default 2020-03-26 17:14:17 -04:00
Jason Jean
9f1ca1c162 fix(node): remove directory prompt from node apps 2020-03-21 17:06:37 -04:00
Victor Savkin
2c42431130 feat(core): rewrite path mappings when buildings apps 2020-03-19 21:41:03 -04:00
Jay Bell
a39587a350
feat(nest): implement nest lib schematic (#2540) 2020-03-02 11:20:45 -05:00
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