702 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
33b5142969
feat(angular): add x-type to host and remote generators (#10479) 2022-05-26 16:06:00 +01:00
Colum Ferry
a299469925
feat(angular): support alternate remote entry filenames #10206 (#10432) 2022-05-24 12:16:33 +01:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Katerina Skroumpelou
51b66d1394
feat(storybook): use native storybook/angular executor (#9332) 2022-05-19 11:25:17 +00:00
Colum Ferry
9808e65646
fix(angular): throw error when npmScope is incorrect (#10366)
* fix(angular): throw error when npmScope is incorrect

* fix(angular): use 'app' as default if npmScope is not defined

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

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-05-18 14:11:53 +01:00
Leosvel Pérez Espinosa
4c85e0791d
feat(angular): update postcss deps for new and existing workspaces (#10358) 2022-05-18 10:46:46 +01:00
Pascal Küsgen
0de895d35e
fix(angular): return error when name is missing from package.json (#10356)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-05-18 10:46:03 +01: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
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Leosvel Pérez Espinosa
43d5e621b7
fix(angular): add types to tsconfig.editor.json correctly (#10316) 2022-05-16 13:09:24 +01:00
Oliver Schlegel
b1cc187c20
feat(angular): expose builder functions (#10252) 2022-05-16 09:41:53 +01: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
NejcZdovc
60382f6370 docs(misc): Fixes typo for browserslistrc
Resolves #10230
2022-05-10 16:32:25 -04:00
Chau Tran
512237caf7
feat(core): add nx.json, workspace.json, and project.json JSON schemas (#10228)
* feat(core): add nx.json, workspace.json, and project.json JSON schemas

ISSUES CLOSED: #8574, #2299

* fix(core): add ajv to test generated config files based on JSON schema

* fix(core): only add $schema to project.json if it is standalone and in create mode

* feat(core): add migration to add json schema to config files for 14.2.0

* fix(core): adjust schemas

* chore(core): adjust tests across repo to adhere to JSON schema if generated

* fix(core): construct the json schema object instead of using a boolean flag

* chore(core): add ajv tests for workspacejson and nxjson

* chore(core): remove unnecessary standalone check
2022-05-10 15:05:26 -05: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
e7074617be
fix(angular): module federation generation should match react (#10214) 2022-05-09 15:31:57 +01:00
Stian Morsund
eb4243bc87
feat(angular): add flag for skipping the postinstall script in relevant generators (#10208) 2022-05-09 12:48:41 +01:00
Colum Ferry
b51327111f
fix(angular): eagerly load default packages (#10207) 2022-05-09 11:28:00 +01:00
Colum Ferry
38345dae3a
fix(angular): remote failing to serve should fail host serve (#10181) 2022-05-09 09:36:36 +01:00
Stian Morsund
d6f49ea624
fix(angular): support skipPackageJson for library generation (#10179) 2022-05-06 09:08:52 +01:00
Leosvel Pérez Espinosa
5c94d6222f
fix(angular): add missing skipImport option to the component generator (#10167) 2022-05-06 08:57:20 +01:00
Colum Ferry
77cc38a624
fix(angular): use fork in file-server for http-server (#10161) 2022-05-05 16:08:04 +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
Juri Strumpflohner
e8be46986d
docs(nxdev): adjust syntax highlighting lang for javascript & typescript (#10152) 2022-05-05 09:33:00 -04: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
1d3becac90
fix(angular): kill ports correctly (#10142) 2022-05-04 20:08:34 +01:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Leosvel Pérez Espinosa
0e21fa0368
fix(angular): normalize project name and don't default to npmScope as prefix when it's not a valid html selector (#10116) 2022-05-03 16:16:30 +01:00
Victor Savkin
085554b682
cleanup(misc): remove incorrect comments 2022-05-02 11:46:26 -04:00
Victor Savkin
cb8bf523ff
chore(repo): update cloud to 1403 (#10070) 2022-04-30 13:21:55 -04:00
Colum Ferry
0e5f4d5938
fix(angular): don't share angular mfe package (#10059) 2022-04-29 14:49:04 +01:00
Colum Ferry
b78d353c7a
fix(angular): cleanup ports on exit of mf server (#10060) 2022-04-29 13:49:53 +01:00
Byron
be1d1578e5
fix(angular): fix stylus import (#9950) 2022-04-28 16:20:38 -04:00
Jason Jean
5e23c07077
fix(core): automatically add root to the project.json projects (#9977)
* fix(core): automatically add root to the project.json projects

* chore(core): move project-configuration generator utils to nx package

* fix(core): add migrations to remove root
2022-04-28 13:24:35 -04:00
Leosvel Pérez Espinosa
b381e383c4
fix(angular): add missing alias for the component generator (#10038) 2022-04-28 12:19:14 +01:00
Leosvel Pérez Espinosa
4711d598ec
cleanup(angular): simplify collecting mfe application dependencies (#10023) 2022-04-27 15:39:09 +01:00
Leosvel Pérez Espinosa
2e8e1a45e0
feat(angular): support migrating angular cli workspaces with multiple applications (#10020) 2022-04-27 15:35:56 +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
James Henry
13807d3a81
chore(core): remove deprecated with-deps, NxJsonProjectConfiguration + operators (#9947) 2022-04-26 10:55:24 -04:00
Victor Savkin
8f1376277b
fix(misc): file server should force remote caching when invoking build 2022-04-25 14:31:23 -04:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Jason Jean
c3484c775e
fix(core): make npm scope optional (#9966) 2022-04-22 18:05:43 -04:00
Jonathan Cammisuli
c1c5f0b57d
feat(misc): add application x-type for host and remote generators (#9954) 2022-04-22 14:42:25 +00:00
Jason Jean
9f87d4c346
fix(angular): remove src from lintFilePatterns (#9940) 2022-04-21 18:54:22 -04:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files (#9854)
* feat(testing): move jest config to .ts

move jest config and preset to ts files

ISSUES CLOSED: #8344

* fix(testing): update tests for jest.config.ts changes

update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Emily Xiong
2f41eb07c1
cleanup(core): update the docs to be inline with nx 14 (#9851) (#9872)
Co-authored-by: Victor Savkin <mail@vsavkin.com>
2022-04-21 12:42:45 -04:00
Colum Ferry
56aa346354
fix(angular): mf generators failed with directory (#9922) 2022-04-21 12:21:21 +01:00
Colum Ferry
e7f220dfac
fix(angular): there is no cors option on the file-server (#9923) 2022-04-21 12:21:11 +01:00
Colum Ferry
991efef5e5
feat(angular): serve static for remotes (#9911) 2022-04-20 21:49:26 +00:00
Colum Ferry
cc389704b5
fix(angular): share secondary entry points (#9896) 2022-04-20 20:31:22 +00:00