1125 Commits

Author SHA1 Message Date
Katerina Skroumpelou
56dbb0d602
fix(storybook): tsConfig option for storybook angular (#10663) 2022-06-09 14:42:49 +00:00
Colum Ferry
67a27774ac
fix(angular): support secondary entry points #10329 (#10615) 2022-06-09 09:16:57 +00:00
Leosvel Pérez Espinosa
9e91bafb9c
fix(angular): prevent deleting library's root package.json file on windows machines (#10635) 2022-06-08 11:57:54 +01:00
Denis Frenademetz
26488c27b8
fix(angular): add exports to package.json in the ng-packagr-lite executor (#10630) 2022-06-08 11:55:03 +01:00
Leosvel Pérez Espinosa
f828da9d37
fix(angular): handle paths correctly on window when migrating angular cli workspaces to nx (#10611) 2022-06-07 13:26:36 +01:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators (#10601) 2022-06-06 20:03:46 +00:00
Colum Ferry
339b12977e
fix(angular): apply default eager packages correctly #10496 (#10596) 2022-06-06 16:12:50 +01: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
Leosvel Pérez Espinosa
eea2470619
feat(angular): support angular v14.0.0 (#10559) 2022-06-03 10:23:09 -04:00
Leosvel Pérez Espinosa
914f0ce707
feat(misc): update typescript to 4.7 (#10560) 2022-06-02 13:29:11 -04:00
Leosvel Pérez Espinosa
edea01aee6
fix(angular): update remote entry component selector to use the provided prefix (#10561) 2022-06-02 17:23:54 +01: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
Jason Jean
925a27bf64
fix(devkit): add options allow trailing commas for parsing json (#10538) 2022-06-01 13:13:24 -04:00
Leosvel Pérez Espinosa
26edb49302
feat(angular): support angular v14.0.0-rc.3 (#10543) 2022-06-01 16:26:09 +00:00
Leosvel Pérez Espinosa
5ec5497edd
fix(angular): fix implementation path to setup-tailwind schematic (#10545) 2022-06-01 16:14:13 +00:00
Leosvel Pérez Espinosa
98014dd660
feat(angular): support exporting standalone component in library's entry point file (#10544) 2022-06-01 17:00:26 +01:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Leosvel Pérez Espinosa
c6af229a48
feat(angular): support tailwind.config.cjs as valid config file in library executors (#10531) 2022-05-31 16:01:28 +01:00
Leosvel Pérez Espinosa
20a509d6b4
fix(angular): add missing angular packages to the v14 migration (#10530) 2022-05-31 15:27:46 +01:00
Leosvel Pérez Espinosa
2b1591d85a
fix(angular): fix component export logic to handle internal modules and secondary entry points (#10517) 2022-05-31 11:09:39 +01:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Colum Ferry
0c241eea9c
feat(angular): support auto-serving known dynamic remotes (#10475) 2022-05-27 11:27:07 +01:00
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