232 Commits

Author SHA1 Message Date
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
yinshuxun
f25e94a5dc
fix(angular): fix angular mfe when use NormalModuleReplacementPlugin with path alias ends with /* (#10355) 2022-05-18 09:20:25 +01:00
Leosvel Pérez Espinosa
25035927d6
fix(angular): handle packages with no exported package.json when collecting secondary entry points for mf builds (#10216) 2022-05-09 15:43:54 +01:00
Colum Ferry
b51327111f
fix(angular): eagerly load default packages (#10207) 2022-05-09 11:28:00 +01:00
Leosvel Pérez Espinosa
b8c175f5e0
feat(angular): add support for passing additional shared dependencies in the module federation config (#10156) 2022-05-05 15:08:55 +01:00
Leosvel Pérez Espinosa
e212cb9fe1
fix(angular): fix collecting secondary entry points for module federation builds (#10129) 2022-05-05 09:14:56 +01:00
Colum Ferry
0e5f4d5938
fix(angular): don't share angular mfe package (#10059) 2022-04-29 14:49:04 +01:00
Leosvel Pérez Espinosa
4711d598ec
cleanup(angular): simplify collecting mfe application dependencies (#10023) 2022-04-27 15:39:09 +01:00
Jay Bell
4d17b3275e
fix(angular): shared transitive npm deps from host and remote applica… (#9997) 2022-04-26 17:29:15 +01:00
Colum Ferry
cc389704b5
fix(angular): share secondary entry points (#9896) 2022-04-20 20:31:22 +00:00
Colum Ferry
388eb4026d
feat(angular): align config file naming for module federation (#9889) 2022-04-19 22:15:01 +00:00
Colum Ferry
5fb6fc78bc
fix(angular): path normalize was in correct on windows #9861 (#9881) 2022-04-19 12:47:29 +01:00
Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package (#9621) 2022-03-31 09:07:22 -04:00
Miroslav Jonaš
3b21f4dfea
fix(core): switch from appRootPath to workspaceRoot (#9600) 2022-03-30 09:15:20 -04:00
Colum Ferry
8bae893d4c
feat(angular): use a mfe.config.js for mfe (#9495) 2022-03-25 09:31:12 +00:00
Colum Ferry
53799efed2
fix(angular): failing tests related to mfe (#9491) 2022-03-24 10:55:06 +00:00
Colum Ferry
592c3d3541
feat(angular): use withModuleFederation for mfe (#9454) 2022-03-24 09:27:51 +00:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Colum Ferry
a8ede441eb
feat(angular): support angular v13.3.0 (#9311) 2022-03-18 14:59:04 +00:00
Colum Ferry
2d0871932c
feat(angular): add withModuleFederation helper (#9289)
* feat(angular): withModuleFederation helper
2022-03-16 09:47:03 +00:00
Leosvel Pérez Espinosa
7ae6d48f94
cleanup(angular): ban imports from @nrwl/workspace entry point (#9341) 2022-03-15 17:02:57 +00:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Colum Ferry
bef8fb3629
feat(angular): add opinionated mfe webpack helpers (#9233)
* feat(angular): add mfe helpers for sharing workspace libraries

* feat(angular): add share packages helper

* chore(angular): add webpack dep
2022-03-10 19:35:18 +00:00
Colum Ferry
61ed9037e8
chore(angular): upgrade mfe plugin (#9104) 2022-02-24 10:40:47 +00:00
Dominik Donoch
0fe6c2e4fb
feat(angular): update jest-preset-angular to 11.1.1 (#8970) 2022-02-16 13:15:43 +00:00
Colum Ferry
91ca67ad6b
fix(angular): add cypress workaround when generating mfes (#8909)
* fix(angular): add cypress workaround when generating mfes

* fix(angular): add a migration for cypress mfe

* docs(angular): fix typos in mfe docs

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

* fix(angular): target 13.8.1 for migration

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-02-09 23:12:08 +00:00
Colum Ferry
f4fa81338d
feat(angular): support version 13.2.0 (#8457)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-01-28 09:01:51 +00:00
Leosvel Pérez Espinosa
2b00c99db1
feat(angular): add support for configuring tailwind in existing and new apps and buildable/publishable libs (#8043) 2021-12-16 17:25:32 +00:00
Colum Ferry
08172bc3c8
feat(angular): upgrade to angular 13.1 (#8182) 2021-12-15 13:04:09 +00:00
Juri
6f4226af75 feat(storybook): upgrade to Storybook 6.4 2021-12-09 10:06:10 -05:00
Victor Savkin
8806d1f815 Revert "feat(storybook): upgrade to Storybook 6.4 (#7917)"
This reverts commit e4595867cc16cd5fe20d02e242d6ccbc727bd1f1.
2021-12-06 20:02:54 -05:00
Juri Strumpflohner
e4595867cc
feat(storybook): upgrade to Storybook 6.4 (#7917) 2021-12-06 12:49:16 +02:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter (#7912) 2021-12-03 11:05:09 -05:00
Colum Ferry
b3664fe264
feat(angular): update angular-architects/module-federation plugin to v13 (#7868) 2021-11-24 20:04:21 +00:00
James Henry
8fa36ff3e8
feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 17:22:21 +00:00
James Henry
512f094f98
feat(angular): update to angular-eslint v13 (#7799) 2021-11-18 19:04:45 -05:00
Jason Jean
55d68718d3
feat(angular): update jest-preset-angular to 11.0.0 (#7789) 2021-11-18 17:03:01 +00:00
Colum Ferry
d110bc77c0
chore(angular): bump ngrx to 13.0.0 (#7765)
* chore(angular): bump ngrx to 13.0.0

* fix(angular): add path filter to resolver for exports

* fix(testing): add mjs to jest module extensions and add dependency on resolve.exports

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-18 10:06:30 +00:00
Colum Ferry
dbcf4246cf
chore(angular): bump jest-preset-angular to rc4 (#7766) 2021-11-17 11:07:56 +00:00
Juri Strumpflohner
d057139122
chore(storybook): update Storybook to 6.4 RC.3 (#7755)
* chore(storybook): update Storybook to 6.4 RC.3

* chore(storybook): fix e2e test

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-16 17:11:07 -05:00
Juri Strumpflohner
1d9825875e
feat(storybook): angular v13 and Storybook 6.4 support (#7690)
* feat(storybook): angular v13 and Storybook 6.4 support

* fixup! feat(storybook): angular v13 and Storybook 6.4 support

* fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fixup! fix(angular): add specific storybook prerelease for angular 13 support

* feat(angular): add storybook support for angular 13

* fix(angular): temporarily disable storybook tests

Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-13 02:14:10 +00:00
Brandon
d1f276af52
chore(angular): change version of NgRx to ~12.5.0 release (#7676) 2021-11-11 08:24:26 -06:00
Colum Ferry
85692e488d
chore(angular): bump jest-preset-angular to rc.3 (#7687)
* chore(angular): bump jest-preset-angular to rc.3

* fix(angular): version string typo

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

* fix(angular): add mjs to angular jest module extensions

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2021-11-10 14:24:05 +00:00
Colum Ferry
8d6ac4f694
chore(angular): support angular 13 (#7161)
* chore(angular): support angular 13

Support Angular 13

chore(angular): support ng 13 next 11

chore(angular): upgrade tslib dep

chore(angular): update package and ng-packagr-lite executors to align with ng-packagr v13

chore(angular): update test snapshots with ts version

fix(angular): buildable lib tsconfig transform test

* chore(angular): sync ng-packagr changes to the package and ng-packagr-lite executors

* chore(angular): add migrations

* chore(angular): rxjs7

* feat(angular): check rxjs version to install

* feat(angular): update jest resolver to resolve esm

* chore(angular): fix version

* chore(angular): support jest-preset-angular

* fix(angular): tests

* fix(angular): fix e2e tests and add .angular to gitignore

* fix(angular): fix jest transformers ignore pattern

* fix(angular): fix node test

* fix(angular): fix workspace test

* fix(angular): import marble utils from jasmine-marbles instead of @nrwl/angular/testing

* feat(angular): update ngrx to 13.0.0-beta.;0

* fix(angular): temporarily skip test with pnpm

* fix(angular): bump jest-preset-angular to fix jest performance issues

* fix(angular): webpack-browser and server schema changes

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-08 12:01:55 -05:00
Leosvel Pérez Espinosa
5853d83fb1
cleanup(angular): remove deprecated utilities related to the angular devkit (#7386)
BREAKING CHANGE:
All the utilities located at `@nrwl/angular/src/utils/ast-utils` were removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilities `runSchematic` and `runExternalSchematic` located in `@nrwl/angular/src/utils/testing` were removed. These utilities were not part of the package public API and as such, they were not recommended to be used and were likely to be changed or removed.
2021-10-18 12:57:56 -05:00
Brandon
28f28af487
feat(angular): update NgRx to 12.5.0 (#7370) 2021-10-14 23:21:28 +00:00
Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json (#6642)
* feat(core): consolidate settings between workspace.json + nx.json

workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.

* chore(core): fix angular unit tests w/ new config

* chore(core): fix failing tests

* chore(core): fix formatting

* chore(core): fix more tests

* chore(core): normalize-nx-json feedback

* chore(core): Fix more unit tests

* chore(core): fix remaining tests in workspace

* chore(linter): fix remaining linter tests

* chore(core): fix remaining spec + build issues

* chore(core): formatting fixes

* feat(core): migration script to move config options to new locations

* chore(core): fix e2e tests

* chore(core): run format

* chore(react-native): fix failing tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): move properties to new location during format step

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): initial pass on ngcli-adapter for property consolidation

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(misc): fix tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* docs(core): update docs with changes

* chore(misc): fix tests

* chore(core): code review changes

updateWorkspaceJson -> updateWorkspace, no longer uses updater function

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix bug in ngcli impl

* fix(core): fix bug in ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* fix(core): fix ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix workspace e2e

* chore(core): fix nx-plugin e2e

* fix(core): move defaultProject to nx.json

* chore(core): fix broken workspace test

* chore(core): formatting

* chore(core): fix workspace format

* chore(core): add nxJson to ExecutorContext

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): remove all references ot `NxProjectConfiguration` from our code

* chore(core): Review Changes

* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Colum Ferry
2f2ede5ca5
cleanup(angular): add unit and e2e tests for extra reassurance (#6626)
* cleanup(angular): add unit and e2e tests for extra reassurance

After tests didn't fail but issues were introduced, add some extra tests to help catch breaking
changes

* chore(angular): increase timeout for e2e tests

* fix(angular): mfe not installing webpack correctly

Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2021-10-06 14:15:39 +01:00
Minijus L
259ac84c63
fix(angular): update jest-preset-angular to 10.0.1 (#7139) 2021-10-01 16:47:52 -04:00
Chau Tran
5ff55ced15
feat(angular): upgrade to ~12.2.0 (#6836)
* feat(angular): upgrade to ~12.2.0

* fix(angular): adjust nrwl/angular packageJson to pass depCheck

* fix(angular): add @angular/platform-server to migrations

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-25 15:51:22 -04:00