180 Commits

Author SHA1 Message Date
Craigory Coppola
d28f571874
feat(js): create @nrwl/js package and move @nrwl/workspace:tsc to it (#7604) 2021-11-12 16:41:30 -06:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Philip Fulcher
2f675f7577
fix(misc): dep-graph --file option supports absolute paths (#7206) 2021-10-12 08:10:15 -06:00
Miroslav Jonaš
a61068d544
chore(repo): add isAndroid check (#7094) 2021-09-23 00:52:03 +00:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
Jason Jean
84e7f46473
fix(repo): fix npm e2e tests (#6806) 2021-08-22 16:45:55 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Miroslav Jonaš
b32062416a
fix(core): skip caching output properties missing in options and arguments (#6743)
* fix(core): add outputFile to cached outputs

* fix(core): ignore output properties missing in options and console arguments
2021-08-18 19:56:01 -04:00
Chau Tran
3bcfaf018d
feat(core): detect package manager used to invoke create-nx-(plugin|workspace) (#6749)
* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* fix(core): move detectInvokedPackageManager off of tao

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-18 12:09:00 -04:00
Miroslav Jonaš
aaf962ff0e
chore(repo): fix osx failing tests (#6666)
* chore(repo): test osx runs

* chore(repo): test workspace only
2021-08-10 14:05:26 +02:00
Miroslav Jonaš
549b735057
chore(repo): improve e2e test stability (#6658)
* chore(repo): rest mac failing tests

* chore(repo): update mac to bigsur

* chore(repo): revert mac to catalina

* chore(react): fix flaky react report test

* chore(web): check if content exists serving file server

* chore(core): fix flaky arguments test

* chore(repo): increase duration of web file serve test

* chore(repo): fix tests

* chore(repo): fix cleanup console logs

* chore(repo): test latest changes

* chore(repo): fix typo

* chore(repo): remove content check from file-server

* chore(repo): check workspace

* chore(repo): check workspace

* chore(repo): turn on all the tests
2021-08-09 12:48:48 -07:00
Miroslav Jonaš
13534369b7
chore(repo): revert pre-loading of nrwl/cypress on e2e tests (#6639)
* chore(repo): reorder the package installs for internal dependencies

* chore(repo): rename mac to osx

* chore(repo): revert change
2021-08-06 23:38:10 +02:00
Miroslav Jonaš
07251ba647
chore(repo): enforce fixed version for local packages in e2e tests (#6628) 2021-08-06 14:11:11 +02:00
Miroslav Jonaš
f6cf645e47
chore(repo): add isOsx for e2e tests and include macos to nightly (#6627) 2021-08-06 13:18:02 +02:00
Miroslav Jonaš
bd216dbb36
chore(angular): enable all e2e tests for npm pm (#6625) 2021-08-06 10:04:17 +02:00
Miroslav Jonaš
0f250ff4a9
chore(repo): remove cypress package from e2e default packages (#6416) 2021-07-19 15:56:08 +02:00
Jason Jean
90921aabf1
fix(repo): fix running e2e tests locally with npm 7 (#6400) 2021-07-16 22:04:09 +00:00
Miroslav Jonaš
4c630cb337
chore(repo): improve cross package manager testing (#6371) 2021-07-15 12:39:32 +02:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Miroslav Jonaš
e19fd897eb
chore(repo): run cypress tests on merge to master (#6262) 2021-07-06 11:25:42 +02:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Miroslav Jonaš
4b7902b74e
chore(repo): hide cypress e2e tests behind NX_E2E_CI_NIGHTLY flag (#6079) 2021-06-21 11:18:07 +02:00
Miroslav Jonaš
b3c36dc067
chore(repo): enable windows nightly tests (#5889) 2021-06-18 21:16:50 +02:00
Miroslav Jonaš
3c833e44fe
chore(repo): update pnpm to v6 (#6047)
* chore(repo): update pnpm to v6

* chore(repo): increase timeout for e2e tests running e2e tests
2021-06-17 16:41:39 +02:00
Miroslav Jonaš
4f92e608b4
chore(repo): prepare CI and E2E for better tracking of errors (#6001) 2021-06-14 17:41:05 +02:00
Miroslav Jonaš
bb8d73fb3e
feat(repo): remove obsolete kill commands and check if ports closed (#5939) 2021-06-14 12:48:33 +02:00
Miroslav Jonaš
6ca30d86be
fix(repo): fix flaky cross-os new line check (#5938) 2021-06-09 16:32:27 +02:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Miroslav Jonaš
d023eafeb9
fix(testing): fix buffer issue on e2e test (#5916) 2021-06-07 18:48:57 +02:00
Miroslav Jonaš
76a3092891
fix(testing): enable and fix several disabled unit and e2e tests (#5711) 2021-05-28 14:35:04 +02:00
Miroslav Jonaš
9e47d968b9
feat(repo): fix failing yarn and pnpm (#5782) 2021-05-26 09:53:33 +02:00
Juri Strumpflohner
75cbd54818
feat(nextjs): allow custom server to be written in TypeScript (#5510)
ISSUES CLOSED: #1933
2021-05-18 09:50:01 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
vsavkin
d4e659c660 feat(repo): explicitly kill processes holding onto ports 2021-05-03 11:59:28 -04:00
vsavkin
d767261fea fix(nextjs): default to build target for incremental serve
feat(core): support exclude with run-many
2021-04-29 15:57:26 -04:00
vsavkin
85ceb3c790 fix(core): propagate sigterm and other signals correctly 2021-04-26 20:50:30 -04:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
vsavkin
aef1b1783c feat(repo): switch to using dependsOn for the relationship between build and build-base 2021-04-23 10:11:31 -04:00
Tasos Bekos
aaa049fb4f chore(repo): fix e2e for npm@7 2021-04-03 21:43:21 -04:00
Jack Hsu
ed94c4e1ec
docs(core): add nextjs app for new nx.dev website (#5133)
Co-authored-by: ben <contact@benjamincabanes.com>
2021-03-27 04:01:31 +00:00
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
ead6dd8864
chore(repo): run e2e outside project directory on CI (#5037) 2021-03-26 11:19:31 -04:00
Vivek More 🧐
212fb00548 cleanup(misc): use more es6 features
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
  This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
Gustavo Perdomo
17dd93362c chore(core): update @types/node version to 14.14.33 2021-03-12 09:15:39 -05:00
Tasos Bekos
6f32f22e29 chore(repo): free space on CI when runnig e2e 2021-02-11 10:42:29 -05:00
Tasos Bekos
0d6b8691bc chore(repo): add dependencies for e2e tests 2021-02-02 12:25:00 -05:00
Victor Savkin
bcdd0a7261 cleanup(core): remove unused npm deps 2021-02-01 10:46:18 -05:00
Victor Savkin
669f21513b fix(core): add missing deps to support running old migrations 2021-01-29 10:31:52 -05:00
Jack Hsu
51973b88e2 chore(gatsby): move gatsby plugin to main repo 2021-01-26 12:17:28 -05:00
Jason Jean
0933bcafd8
feat(core): clean up remaining usages of angular devkit (#4610) 2021-01-25 17:21:42 -05:00