125 Commits

Author SHA1 Message Date
Tasos Bekos
e3aaf65c88
fix(node): early assets copy to "respect" updates on package.json (#5114)
If `package.json` is "accidentally" copied with assets, it overwrites the existing updated `package.json` resulting in loss of entry points and buildable dependencies. This commit makes sure that any update to `package.json` happens after asset copying.
2021-03-26 11:33:14 -04:00
Tasos Bekos
82799042db
fix(node): fix unreachable code on library generation (#5080) 2021-03-22 11:18:42 -04:00
kirjai
9d863a7073 fix(nextjs): include peer dependencies in built package.json 2021-03-15 10:29:33 -04:00
Tasos Bekos
3d24d56312 chore(repo): fix e2e-cli for Windows 2021-02-01 13:35:34 -05:00
Tasos Bekos
659eb12047 cleanup(repo): return project scope for e2e tests 2021-01-16 17:54:54 +02:00
Tasos Bekos
e5b0c5c0f6 cleanup(repo): make e2e tests package manager agnostic 2021-01-08 10:57:28 -05:00
Tasos Bekos
9abdb78a4a feat(repo): run E2E tests on Windows (cmd) 2021-01-06 15:47:18 -05:00
Victor Savkin
8224a1029e feat(core): switch default config to v2 2020-12-06 13:29:40 -05:00
Juri
fa67518892 fix(web): set buildLibsFromSource to true by default
Incremental build is for large monorepos and should be enabled manually
2020-12-04 14:10:46 -05:00
Jonathan Cammisuli
2ec6848dd3 feat(node): add generatePackageJson option to build executor 2020-11-30 19:59:45 -05:00
Victor Savkin
4511ec65fb feat(web): add file-server builder 2020-11-17 19:31:08 -05:00
Victor Savkin
68a4a7eb8c feat(core): add nx devkit builders 2020-11-17 19:31:08 -05:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
Jonathan Cammisuli
e6e2dc67aa
feat(testing): add projects into jest config (#3766)
* feat(testing): add projects into jest config

* chore(testing): update unit tests and fix presets with spreading a default

* chore(testing): fix node e2e

* chore(testing): review comment changes
2020-09-23 02:20:10 -04:00
Jonathan Cammisuli
87ded432ed
fix(node): set noEmitOnError to always true, and show diagnostic messages from ts (#3697) 2020-09-17 13:08:22 -04:00
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins (#3636)
ISSUES CLOSED: #3041
2020-09-08 13:59:36 -04:00
Jonathan Cammisuli
3f6aae5d55
fix(node): do not include rootDir in tsconfig.lib.json (#3545)
* fix(node): use typescript directly to emit files rather than calling tsc

* chore(node): add migration to remove root dir from projects using @nrwl/node:package

* chore(node): fix unit tests

* chore(node): update package spec and e2es
2020-08-18 18:29:10 -04:00
Victor Savkin
8d2a7dbc43 fix(repo): fix tsconfig to make editors resolve references 2020-07-22 15:13:24 -04:00
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
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Jonathan Cammisuli
3b8a10f073
feat(testing): add setupFilesAfterEnv and other configs to project's jest config file (#3224)
* feat(testing): add util to update jest configs.

* feat(testing): place configurations in jest config file rather than just the builder

* feat(testing): create migration and unit tests

* feat(testing): fix jest template

* feat(testing): fix jest template to correct unit tests

* feat(testing): include globals.ts-jest for all non babel configs

* feat(testing): include globals.ts-jest for node e2e

* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder

* feat(testing): clean up jest config functions and fix errors with some migrations

* feat(testing): add new line to package.json

* feat(testing): update object check to actually check for undefined

* chore(testing): loop through all project targets as well as targets

* chore(testing): update migration to be 10.0.0-beta.2
2020-07-13 10:45:04 -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
Victor Savkin
7cbf4ffd88 feat(core): add oss preset to create-nx-workspace 2020-06-19 13:01:57 -04:00
Victor Savkin
96a7f69d33 feat(core): add second way of capturing output 2020-06-15 16:55:35 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00