1256 Commits

Author SHA1 Message Date
Juri
4e292f2454 feat(core): run-many runs all projects by default 2022-07-08 08:36:54 -04:00
Colum Ferry
37072bc5d6
feat(angular): replace mfe references with mf (#10957) 2022-07-01 13:48:38 +00:00
Victor Savkin
c52a8c2e9b feat(core): finalize the input api 2022-06-29 10:52:14 -04:00
Victor Savkin
4b857167cd feat(core): generalize the notion of filesets to include other inputs 2022-06-23 14:56:33 -04:00
Péter Ferenc Gyarmati
69881c277a
docs(core): fix typo "a executor" (#10862)
fixes "a executor" and "a Executor" to use "an"
2022-06-23 10:35:47 -04:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Victor Savkin
6a65101ec2 feat(core): extend the default hasher to support different filesets 2022-06-21 11:21:42 -04:00
Colum Ferry
1e6b19b5c6
chore(storybook): refactor e2e tests (#10811) 2022-06-20 16:21:12 +01:00
Minijus L
274534c518
feat(linter): use project scoped ESLint cacheLocation (#10590) 2022-06-20 12:57:07 +02:00
Colum Ferry
b215362bdb
chore(testing): refactor e2e-workspace tests to e2e-nx tests (#10739)
remove run commands

remove workspace core e2e

chore(testing): remove e2e-cli package

chore(testing): add nx-run e2e package

chore(testing): refactor cache tests

chore(testing): remove empty workspace-core e2e lib

chore(testing): update graph asset
2022-06-17 09:37:41 +01:00
Victor Savkin
633f8a8f08
chore(repo): fix e2e test to work on windows 2022-06-16 10:11:46 -04:00
Victor Savkin
f86a5ffe2e feat(core): generalize setting target defaults 2022-06-15 12:51:26 -04:00
Victor Savkin
5c49345c34 feat(core): provide a way to handle get unparsed args in the executor 2022-06-10 14:04:08 -04:00
Colum Ferry
67a27774ac
fix(angular): support secondary entry points #10329 (#10615) 2022-06-09 09:16:57 +00:00
Jay Tavares
99b245b08d
feat(node): add deleteOutputPath option to @nrwl/node:webpack executor (#10073) 2022-06-08 17:48:45 -04:00
Colum Ferry
31c753e930
chore(angular): fix e2e test for mfe served apps (#10616) 2022-06-08 10:37:49 +01:00
Emily Xiong
d038b70a87
feat(react-native): upgrade metro to 0.71.0 (#10598) 2022-06-07 10:57:58 -04:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators (#10601) 2022-06-06 20:03:46 +00:00
Victor Savkin
932404303a cleanup(core): use npm.json instead core.json as the preset name for npm workspaces 2022-06-06 15:10:29 -04:00
Chau Tran
5daeaf8e8f
fix(js): return empty array if no helper dependencies found (#10582)
* fix(js): return empty array if no helper dependencies found

* chore(js): add test for generate package json with helper dependency
2022-06-03 23:05:38 -05:00
Craigory Coppola
7f7bc1a095
fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format (#10497)
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format

* chore(repo): update usage of new readModulePackageJson function
2022-06-03 20:54:15 +00:00
Craigory Coppola
10363e3bec
feat(nx-plugin): add plugin eslint rules (#9697)
* feat(nx-plugin): add lint rule for nx-plugin validation

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(nx-plugin): review comments

* chore(nx-plugin): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>
2022-06-03 16:03:39 -04:00
Leosvel Pérez Espinosa
ec906251b0
fix(angular): do not configure e2e test runner when generating a library (#10553) 2022-06-02 12:51:36 +01:00
Nicholas Cunningham
89d9d9afd6
fix(nextjs): update e2e test case to cover env variables exported from libraries (#10532)
ISSUES CLOSED: #9633

update

Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-06-01 14:36:54 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Miroslav Jonaš
d200818376
chore(repo): fix output style e2e for windows (#10527) 2022-05-31 08:25:53 +00:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Victor Savkin
912e81957f cleanup(core): rework task graph creation to handle edge cases better 2022-05-30 19:57:21 -04:00
Miroslav Jonaš
daa5cfe558
fix(core): ensure pnpm v7 install when peer deps are missing (#10522) 2022-05-30 21:27:28 +00:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Victor Savkin
7bfceb6d6d feat(core): add the flag to stop execution on first error 2022-05-27 22:22:27 -04:00
Colum Ferry
affa979642
fix(core): new and migrate commands should exit with code (#10491) 2022-05-27 16:23:40 -04:00
Victor Savkin
9d0d0f235a feat(core): do not double prefix output when running nested commands 2022-05-27 10:42:13 -04:00
Victor Savkin
844679ed78 feat(core): prefix when using --output-style=stream 2022-05-25 19:44:35 -04:00
Miroslav Jonaš
85485cc80d
chore(repo): use latest version in e2e tests to avoid pnpm 7 issues (#10446) 2022-05-24 20:25:05 +02:00
Chau Tran
36010c1c0e
feat(js): implement a smarter compiler (tsc, swc) helper dependency d… (#10297)
* feat(js): implement a smarter compiler (tsc, swc) helper dependency detection

ISSUES CLOSED: #10270

* chore(js): add test to check for swc/helpers upon build lib
2022-05-20 14:14:30 -05:00
Miroslav Jonaš
d0ece6e1d2
fix(repo): fix pnpm v7 install config (#10361) 2022-05-18 10:22:02 +00:00
Miroslav Jonaš
0e47f7e732
chore(linter): cleanup e2e tests (#10362) 2022-05-18 10:06:56 +00:00
Jack Hsu
70f1a6b781
feat(web): add support for Node ESM when used to package SSR-ready library (#10349) 2022-05-18 01:11:18 +00:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Miroslav Jonas
8a88b989fa chore(repo): increase timeout for jest e2e tests 2022-05-17 13:45:03 -04:00
Miroslav Jonaš
0c8eade82e
fix(repo): fix add-to-monorepo test (#10333) 2022-05-17 08:36:57 +00:00
Miroslav Jonaš
34e74b4c93
chore(repo): use @latest to enforce correct version on e2e (#10332) 2022-05-16 22:11:46 +00:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default (#10035)
* fix(testing): jest.preset.ts => jest.preset.js

* fix(testing): update to export default

* fix(testing): migration for moving to export default

* fix(testing): add eslint ignore comments for jest config properties

fixes: #10021

* fix(testing): update tsconfig.spec.json for next apps with project parserOptions

fixes: #9982

* fix(testing): prevent renaming root jest preset

fixes: #9973

* fix(testing): update snapshots for export default

* fix(testing): bump migration version to run

* fix(testing): make sure default jest tests pass for various projects

* fix(js): generate correct jest config for --compiler=swc --js
2022-05-11 18:04:29 +00:00
Jack Hsu
23f6d5492c
fix(react): SWC compiled code should include react jsx runtime (#10220)
Fixes #8869
2022-05-09 12:32:08 -04:00
Daniele Tortora
664df0e849
feat(js): add --includeBabelRc flag for @nrwl/js:library generator (#8793, #8600) (#10055)
* fix(js): fix(js): adding missing babelrc for tsc compiled libraries

ISSUES CLOSED: #8600, #8793

ISSUES CLOSED: #8600, #8793

* feat(js): adds the --skipBabelConfig flag to prevent .babelrc file generation

ISSUES CLOSED: #8600, #8793
ISSUES CLOSED: #8600, #8793

* feat(js): adds the --includeBabelRc flag to the library generator

adds the --includeBabelRc flag to the library generator, and a mechanism to automatically detect the
nrwl/web plugin, which requires auto-generation of the babelrc even when not explicitly set by the
user

ISSUES CLOSED: #8600, #8793
2022-05-04 10:58:34 -05:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Victor Savkin
821fc07723 chore(repo): format fixes 2022-05-03 14:35:18 -04:00
Victor Savkin
e6738abc9f feat(misc): move run-commands executor to nx 2022-05-03 14:35:18 -04:00
Craigory Coppola
62d0535acd
fix(nx-plugin): create-nx-plugin should generate valid import path (#10107) 2022-05-03 10:42:23 -04:00