1625 Commits

Author SHA1 Message Date
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture (#12535) 2022-10-12 22:06:32 +00:00
Jason Jean
834e2db7cb
feat(core): prefix outputs and warn on non-prefixed outputs (#12470) 2022-10-11 21:54:25 +00:00
Victor Savkin
beb04e243d feat(misc): clean up package-based npm preset 2022-10-11 14:30:28 -04:00
Jason Jean
49c5e5069b
feat(core): migrate existing workspaces to use inputs configuration (#12416) 2022-10-05 22:30:03 +00:00
Phillip Barta
d91c7ca4ec
fix(linter): remove leftovers after tslint support removal (#12313) 2022-09-30 12:02:05 +01:00
Victor Savkin
6775f5ddbc fix(misc): buildable libs should not throw when some npm packages are not defined 2022-09-28 15:49:57 -04:00
Miroslav Jonaš
8bf9b56254
cleanup(repo): remove tslint module boundaries rule (#12291) 2022-09-28 20:49:31 +02:00
Colum Ferry
09c6ccb266
feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Jack Hsu
37bedce8ed
fix(core): add missing packages (esbuild, webpack, rollup) to nx-migration field (#12285) 2022-09-28 10:51:05 -04:00
Craigory Coppola
9b63ce167a
feat(core): don't generate workspace.json for v2 workspaces (#12127) 2022-09-27 23:16:22 +00:00
Jason Jean
90604d8506
feat(core): add migration and deprecation warning for @nrwl/workspace:run-commands (#12199) 2022-09-23 18:06:34 -04:00
Jason Jean
c8de6f1b6f Revert "Revert "fix(misc): move library without given importPath should default to contain slashes (#11869)""
This reverts commit 33c0f944e0c85cc43fad2e9fde183b1f07903cdd.
2022-09-23 14:26:10 -07:00
Victor Savkin
33c0f944e0
Revert "fix(misc): move library without given importPath should default to contain slashes (#11869)"
This reverts commit 9dbcb45cb9bd9a34d612386507879d1245f186b6.
2022-09-23 14:53:22 -04:00
Jordan Emslie
9dbcb45cb9
fix(misc): move library without given importPath should default to contain slashes (#11869)
`nx g mv --projectName lib/child-1 --destionation lib/child-2` would result in the ts-config and import paths of `@<project>/lib-child-2` when it is expected to be `@<project>/lib/child-2`

Closes #9281
2022-09-22 18:44:35 -04:00
Jack Hsu
ed7db7c114
feat(bundling): add esbuild plugin (#12053) 2022-09-20 12:05:58 -04:00
Artur Androsovych
d526efb7b2
fix(linter): consider the default public API filename when checking for secondary entrypoints (#11811) 2022-09-20 14:45:29 +02:00
Benjamin Cabanes
da0cc4792f
docs(nxdev): update internal reference links (#12083) 2022-09-19 19:15:19 +00:00
Victor Savkin
6e6925f8e4
chore(repo): update to nx 14.7.6-beta.6 2022-09-17 15:59:06 -04:00
MaxKless
fd670d298b
docs(misc): update package descriptions to be more consistent (#12039) 2022-09-16 17:03:33 -04:00
Emily Xiong
a411e85e42
Feature/move expo (#11712)
* feat(expo): move expo to main repo

* feat(expo): add e2e expo tests and fix expo unit tests

* feat(expo): add generated docs

* feat(expo): update cz-config to add expo to commit message

* feat(expo): add @nrwl/expo to e2e test setup

* feat(expo): add expo to preset

* feat(expo): add detox tests

* feat(expo): update docs

* feat(expo): fix e2e tests

* feat(expo): upgrade expo to 46.0.10

* fix(expo): correct eas-cli build:info parameters names

* fix(expo): add cleanupProject to e2e test
2022-09-16 11:56:28 -04:00
Jack Hsu
dd6addefc3
feat(bundling): move rollup to its own plugin (#12009) 2022-09-15 14:55:06 -04:00
Miroslav Jonaš
ace2325f24
feat(core): update nrwl/ci version to 0.7 (#11925) 2022-09-13 08:53:05 +00:00
Colum Ferry
d782a694f4
feat(core): support ts 4.8 (#11845) 2022-09-12 13:47:31 +01:00
Jason Jean
caec117288
fix(core): add back target defaults for all new workspaces (#11936) 2022-09-08 17:59:01 -04:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04:00
Colum Ferry
62d2d82a7a
fix(angular): collect secondary folders correctly for tailwind #11747 (#11805) 2022-09-01 10:05:28 +00:00
Philip Fulcher
6c3ef9d417
chore(graph): move dep-graph-client to graph-client (#11792) 2022-09-01 04:20:08 +00:00
Sean Sanker
aedcdaf1bb
feat(js): support wildcard/nested tsconfig paths (#11233)
* feat(js): support wildcard/nested tsconfig paths

* chore(js): add e2e test for wildcard path alias

Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-08-31 20:39:05 +07:00
Caleb Ukle
b63893d1cd
docs(core): fix mistakes in @nrwl/workspace usage (#11776)
* docs(core): fix mistakes in @nrwl/workspace usage

@nrwl/workspace docs included a command for generators in the 'nx' package that doesn't contain
generators
update the usage of the 'move' generator to have the usage for the --destination arg

* docs(angular): update examples and add $default for project name
2022-08-30 16:19:33 +00:00
Colum Ferry
bbe7a3679a
fix(linter): use typescript-eslint 5.33.1 as latest requires ts4.8 (#11773) 2022-08-30 10:43:17 -04:00
Colum Ferry
aaeeaedceb
feat(angular): migrate versions to 14.2.0 (#11530)
* feat(angular): migrate versions to 14.2.0-next.0

* feat(angular): support 14.2.0-rc.0
2022-08-29 10:39:40 +01:00
Miroslav Jonaš
5bb75baf60
feat(core): stop agents after build task on CI generated workflows (#11719) 2022-08-25 10:31:46 +00:00
Craigory Coppola
2d50f35d83
fix(core): Add throw of error if a dependency is not in the graph (#11652)
Co-authored-by: Andreas Richter <708186+richtera@users.noreply.github.com>
2022-08-19 21:58:40 +00:00
Miroslav Jonaš
15d83258fe
feat(core): move git commit from generators to create-nx-workspace (#11633)
* fix(core): move git commit to create-nx-workspace

* fix(core): add git init to create-nx-plugin
2022-08-18 18:40:46 -04:00
Miroslav Jonaš
187f5200c0
fix(linter): add jest to root .eslintrc if selected as unit test runner (#11555) 2022-08-18 14:51:09 +02:00
Jason Jean
7d4a5c7d3a
fix(core): fix backwards compatibility with Nx 14.1.0 (#11438) 2022-08-17 15:30:07 +00:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Miroslav Jonaš
36213b71fb
feat(core): support yarn berry in CNW (#11528) 2022-08-11 17:37:53 +00:00
Jason Jean
00ef4c7283
fix(misc): make __unparsed__ not required and add smart provider in adapter (#11262) 2022-07-22 14:53:17 -04:00
Stefan van de Vooren
2f0cd86b6f
fix(core): improve performance of enforce-module-boundaries linting rule on Windows (#11251)
Co-authored-by: fu_cdp_jenkins-git_houston <online.darwin@rabobank.nl>
2022-07-22 18:39:35 +02:00
Leosvel Pérez Espinosa
46ad8c3d63
feat(angular): support angular v14.1.0 (#11155) 2022-07-22 16:01:24 +01:00
Miroslav Jonaš
5f097b90ff
feat(core): improve graph utils matrix generation (#11226) 2022-07-20 16:48:56 -04:00
Miroslav Jonaš
5194551d85
fix(linter): improve performance of runtime lint utils (#11100) 2022-07-12 17:04:01 +02:00
Miroslav Jonaš
d7bbf85f29
feat(linter): support transitive hasBannedImport (#11000) 2022-07-11 14:31:13 +02:00
Caleb Ukle
8154191eb1
feat(testing): Cypress 10 and component testing support (#9201)
* feat(testing): add generator to aid in the migration to cypress 10

cypress 10 introduces a new configuration format and new layout that requires update settings and
files for e2e projects

* feat(testing): cypress component tests for react/next

initial work for cypress component tests for react and next

* feat(testing): add support for v10 e2e cypress projects

create the correct files for cypress projects >v10 and reorganize tests based on version to allow
easier parsing of tests

* feat(testing): add utils for modifying cypress v10 config

provide ts transformers to take in an existing cypress config and update/add properties within the
given configuration

* fix(testing): fix tests affected by the cypress v10 changes

update tests to assert the correct files/folders/file contents due to the cypress changes in v10

* cleanup(testing): move cypress component testing plugins into the respective packages

move the plugins into out of cypress plugins into the specific vertical plugin to prevent issues
with circular refs

* cleanup(testing): bump cypress version

bump to latest cypress v10 release

* docs(testing): update docs for cypress 10

update cypress docs to include info about component testing and migration to cypress v10

* fix(repo): revert cypress version bump

keep v9 of cypress installed for nx repo until v10 release

* fix(testing): update cypress gen tsconfig and infer targets with converter

* fix(testing): make sure tests use the cypress v10 (for the intermediate)

* fix(testing): update target name after feedback

* fix(testing): support multiple target w/custom configs for cypress v10 migration

* fix(testing): refactor cy component tests into seperate verticals

* feat(testing): create storybook cypress preset

* fix(testing): clean up cy v10 migration

* fix(testing): don't branch for cypress executor testingType

* fix(testing): move cy comp test generator to next

* fix(testing): bump cypress deps

* fix(testing): clean up cy component testing generators

* fix(testing): update cy component testing docs

* fix(testign): dep check. runtime plugin pulls from @nrwl/react

* fix(testing): move e2e into verticals

* fix(testing): address PR feedback

* fix(testing): clean up unit tests

* feat(angular): support migrating angular cli workspaces using cypress v10

* chore(testing): update e2e tests

* fix(testing): address pr feedback

* chore(testing): remove cypress component testing for next.js

* fix(testing): address pr feedback

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-07-08 14:34:00 -05:00
Miroslav Jonaš
16ffa482b5
feat(core): update GitHub CI workflow generator to v0.6 (#11068) 2022-07-08 09:02:39 +00:00
Miroslav Jonaš
b8efa778f6
fix(core): remove eslintrc.json from the package build artifact (#11043) 2022-07-07 18:34:34 +00:00
Miroslav Jonaš
c299234557
fix(core): do not attempt to slice leading slash on move if not defined (#10959) 2022-07-01 14:57:19 +00:00
Victor Savkin
c52a8c2e9b feat(core): finalize the input api 2022-06-29 10:52:14 -04:00