1125 Commits

Author SHA1 Message Date
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00
Colum Ferry
d782a694f4
feat(core): support ts 4.8 (#11845) 2022-09-12 13:47:31 +01:00
Caleb Ukle
6d0c6a83d4 fix(testing): move cypress tsconfig to cypress folder 2022-09-09 10:37:48 -04:00
Leosvel Pérez Espinosa
c6520a1496
fix(angular): emit typescript declaration diagnostics in ng-packagr executors (#11927) 2022-09-09 11:30:28 +01:00
Leosvel Pérez Espinosa
308effab15
cleanup(core): remove custom logger for tslint executor (#11931) 2022-09-09 10:52:45 +01:00
Leosvel Pérez Espinosa
41af7c7400
feat(angular): share by default some relevant angular packages when using withModuleFederation (#11849) 2022-09-09 10:34:09 +01:00
Colum Ferry
4aa72822cd
fix(angular): warning logged when generating MF app with no e2e (#11911) 2022-09-08 09:44:31 +01:00
Colum Ferry
81b5eebfa7
feat(angular): allow component options to be passed to standalone library #11702 (#11890) 2022-09-08 09:37:26 +01:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04:00
Caleb Ukle
a0904a601b
feat(testing): support angular cypress component testing (#11790)
* feat(testing): ng cypress component testing

closes: #11602

* chore(testing): move story utils into common util area

* feat(testing): add options for ng component testing

* docs(testing): add more info for component testing

* chore(testing): address PR feedback

* chore(testing): remove logs
2022-09-07 13:32:19 +00:00
Colum Ferry
458e89b159
fix(angular): host tests were failing due to no navigation (#11825) 2022-09-02 15:15:08 +01:00
Colum Ferry
f51c1becf7
fix(angular): remove double normalize of project name #11819 (#11822) 2022-09-01 12:24:50 +01:00
Colum Ferry
a2647549d4
fix(storybook): support secondary entry points for angular #11446 (#11798) 2022-09-01 09:23:17 +00:00
Caleb Ukle
c7249db386
fix(testing): handle more complex projects for react component testing (#11725)
* fix(testing): use @nrwl/web:webpack utils to generate a more robust webpack config

fixes: #11372

* fix(testing): do not overwrite existing component test

* fix(testing): add component-test to cacheable operations

* chore(testing): address pr feedback
2022-08-30 16:42:42 +00: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
b86ace50d3
fix(angular): change rxjs migration to conditional migration (#11771) 2022-08-30 10:43:35 -04: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
Isaac Mann
e717660102
docs(nx-dev): diataxis restructure (#11649)
* docs(nxdev): restructure docs to diataxis style

* docs(nxdev): cleanup

* docs(nxdev): fix links

* chore(nxdev): format

* docs(nxdev): fix broken images

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): tweaks

* docs(nxdev): redirect rules

* docs(nxdev): fixes
2022-08-29 08:36:55 -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
Jonathan Cammisuli
e7ec91b9e0
feat(core): add file completion types for the nx language server (#11669) 2022-08-26 10:34:33 -04:00
Colum Ferry
c616f6218c
feat(angular): standalone host and remote generation support (#11708) 2022-08-26 10:05:17 +01:00
Colum Ferry
614b2d2af8
fix(angular): use x-dropdown for nx console project hint (#11706) 2022-08-26 10:04:56 +01:00
Colum Ferry
3822d83200
fix(angular): remote entry component template typo (#11707)
* fix(angular): remote entry component template typo

* fix(angular): snapshot
2022-08-24 12:46:22 +01:00
Colum Ferry
6f0c22f4d9
fix(angular): remote generator should not assume a default host (#11705) 2022-08-24 11:33:42 +00:00
Colum Ferry
a198c95808
cleanup(angular): use app generator and setup-mf for host and remote (#11682) 2022-08-23 14:37:12 +01:00
Colum Ferry
e2c4c5490c
cleanup(angular): deprecate mf signature from app generator (#11680) 2022-08-23 13:12:29 +01:00
Craigory Coppola
6948ffdcff fix(core): project graph should be read from executor context
These changes lower the risk of reading the cache during a write operation when multiple
processes are actively writing / reading the cache.
2022-08-19 12:50:07 -04:00
Igor Katsuba
9294b64364
fix(angular): adds missing types in the schemes of remote and host generators (#11428) 2022-08-19 10:09:08 +01:00
Caleb Ukle
657b2bff5a
feat(testing): support jest 28 (#10857)
* feat(testing): support jest 28

WIP jest migration

* fix(testing): jest-environment-jsdom must be explicitly added now

* fix(testing): add rxjs to the transform lsit

* fix(testing): jest ts-jest updates and resolver issues

* feat(testing): remove test runner for react native jest

* feat(testing): add preprocessor for react native jest

* fix(testing): update query to handle tsx file syntax, remove rxjs transform

* chore(repo): remove file from accident commit

* chore(testing): update migration to target 14.6 for RN jest preprocessor

* fix(testing): call passed in packageFilter if preset

* docs(testing): add resolver env var to troubleshooting guide

* chore(repo): prep resolver for jest 28 migration

* fix(testing): update deps to handle esbuild-wasm service error

* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list

* fix(testing): force babel-jest preset in transformer for project transforms

* chore(testing): address PR feedback

* fix(testing): address pr feedback, remove react-native transform

* chore(testing): update createTreeWithEmptyWorkspace calls

* chore(testing): address pr feedback

* feat(testing): add migration script for react native to rename .babelrc to babel.config.json

* chore(testing): nx format after rebase

* chore(testing): fix display name for @nrwl/js

Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2022-08-18 18:40:31 -04:00
Colum Ferry
09112ccd24
feat(angular): support library routing setup for standalone routes (#11634) 2022-08-18 15:17:04 +01:00
Colum Ferry
1a5a09b790
chore(angular): add standalone router helper (#11632) 2022-08-18 14:12:06 +01: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
Waldbillig Thomas
99a3563c8f
feat(angular): export test runners from package (#11613)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Waldbillig-Thomas <waldbillig.thomas@gmail.com>
2022-08-18 09:58:16 +00:00
Colum Ferry
7891a68715
feat(angular): add scam to standalone conversion generator (#11578) 2022-08-17 12:06:07 +01:00
Colum Ferry
da1741bf56
feat(angular): support standalone component library generation (#11608) 2022-08-17 12:05:54 +01:00
Colum Ferry
af93cfd597
feat(angular): add standalone app generation (#11592) 2022-08-17 12:03:56 +01:00
Colum Ferry
47e38d1cd2
fix(angular): use rxjs 7.5.0 for Angular 14.1 (#11586) 2022-08-16 14:41:51 -04:00
Colum Ferry
f930117ed6
fix(angular): add check before attempting to collect secondary entrypoints #11437 (#11496)
* fix(angular): add check before attempting to collect secondary entry points

* fix(angular): ensure only the tsconfig aliases for the lib are used

* chore(angular): turn off canary releases to prevent overlap

* Revert "chore(angular): turn off canary releases to prevent overlap"

This reverts commit dd0ba238d8bb591b669ccc90752db83d58c09f6d.
2022-08-15 13:11:24 +01:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Craigory Coppola
8eb2304ecd
fix(angular): 14.5.3 migration should hit @angular/cdk (#11560) 2022-08-12 14:12:00 +00: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
Katerina Skroumpelou
8bc99407aa
feat(storybook): ignore paths when generating stories (#11111)
* feat(storybook): ignore paths when generating stories

ISSUES CLOSED: #10211

* cleanup(storybook): add test for nested component ignore path

* feat(storybook): ensure ignore paths parsed correctly

Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-08-08 14:17:06 +01:00
Caleb Ukle
bd4e6ac323
fix(testing): exclude jest.config.ts in angular project tsconfigs (#11468) 2022-08-05 12:15:56 -05:00
Jack Hsu
5267f4555d
feat(misc): update shared ts-node and ts-loader packages (#11429) 2022-08-05 16:47:33 +00:00
Craigory Coppola
2dc51d75fb
fix(angular): hide warnings when reading workspace due to extra properties (#11143)
* fix(angular): hide warnings when reading workspace due to extra properties

* fix(angular): bump angular to 14.1.1
2022-08-04 17:58:40 -04:00
Colum Ferry
e8ad46595f
fix(angular): building all projects in webpack-server #11349 (#11455) 2022-08-04 16:03:40 -04:00
Benjamin Cabanes
1c66a225e5
docs(nxdev): upgrade nextseo dependency (#11402) 2022-08-03 15:38:51 +00:00
Caleb Ukle
b4c4501979
docs(testing): update docs to use correct filenames for cypress and jest (#11394)
ISSUES CLOSED: #11392
2022-08-01 13:25:26 -05:00
Leosvel Pérez Espinosa
e5ec39a905
fix(angular): update angular cli package in a migration generator to prevent migration issues (#11375) 2022-07-30 16:17:09 +00:00
Leosvel Pérez Espinosa
7db3aac463
fix(angular): update module federation logic to correctly identify workspace libs secondary entry points (#11286) 2022-07-26 10:54:33 +01:00