Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability ( #9383 )
2022-03-24 12:00:06 -04:00
Colum Ferry
592c3d3541
feat(angular): use withModuleFederation for mfe ( #9454 )
2022-03-24 09:27:51 +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
Leosvel Pérez Espinosa
081ff42955
fix(angular): handle newProjectRoot correctly when generating apps and libs ( #9255 )
2022-03-10 13:09:04 +00:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json ( #9195 )
...
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json
* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
Leosvel Pérez Espinosa
b80de979d7
fix(angular): fix invalid style option for nx welcome component when generating an application ( #9173 )
2022-03-03 12:47:11 +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
Juri
aa1d8b8e3f
docs(misc): adjust Tailwind references to v3
2022-02-05 19:42:37 +01:00
Leosvel Pérez Espinosa
39f4c47fd0
fix(angular): update schemas with missing changes from previous versions ( #8836 )
2022-02-04 11:07:57 +00:00
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson ( #8806 )
2022-02-01 16:32:47 -05:00
Isaac Mann
07ebdb36a3
feat(core): add nx graph as alias of nx dep-graph ( #8539 )
...
* feat(core): add nx graph as alias of nx dep-graph
* docs(core): add note about old dep-graph syntax
* cleanup(core): formatting
* feat(core): formatting
* feat(core): formatting
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-01-21 11:15:23 -05:00
Leosvel Pérez Espinosa
5afd3d6d2c
fix(angular): update tailwind content glob pattern to ignore stories and tests ( #8637 )
2022-01-21 11:02:23 +00:00
Jason Jean
c72520ec17
fix(angular): do not format when skipFormat is passed for generating a lib ( #8549 )
2022-01-14 23:51:21 +00:00
Leosvel Pérez Espinosa
b989e8de19
feat(angular): simplify generated tailwind config for v3 ( #8471 )
2022-01-12 11:33:29 +00:00
Colum Ferry
be908e2be6
feat(angular): use share helper to ensure correct version matching ( #8277 )
2021-12-22 15:03:39 +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
Noriyuki Shinpuku
e77c498f2d
feat(angular): update complier options for strict mode ( #8126 )
2021-12-14 22:32:45 -05:00
Colum Ferry
5339e99d84
feat(angular): enable minimization for MFEs ( #8135 )
...
* feat(angular): enable minimization for MFEs
* fix(angular): test snapshots
2021-12-13 15:58:16 +00:00
Leosvel Pérez Espinosa
3fa53857d7
fix(angular): fix setParserOptionsProject being ignored when generating apps ( #8105 )
2021-12-10 16:00:43 +00:00
Colum Ferry
6e400322f1
fix(angular): support module syntax for mfes ( #8020 )
...
* fix(angular): support module syntax for mfes
* fix(angular): add publich host to prevent infinte reload
2021-12-09 12:49:37 +00:00
Mateo Tibaquirá
d6410162a0
fix(angular): remove numbers from the project name ( #6646 )
...
* fix(angular): remove numbers after dashes
* fix(angular): correctly handle empty libsDir
* feat(angular): validate apps with empty appsDir
* feat(angular): validate libs with empty libsDir
* fix(angular): revert change to createTreeWithEmptyWorkspace
2021-12-06 09:45:46 +00:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter ( #7912 )
2021-12-03 11:05:09 -05:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file ( #7584 )
2021-11-30 15:02:06 -06:00
Ashley Hunter
8f205715ea
fix(angular): fixing application generator when using protractor ( #7603 )
2021-11-10 10:41:41 -06:00
Caleb Ukle
0ca5a88bf1
fix(testing) generated jest ts configs mismatch ( #7556 )
...
* fix(testing): add .test. files to spec tsconfig template
add support for .test.ts and with supportTsx .test.{js|tsx|jsx} files
in the tsconfig.spec.json template.
Note each package that excludes testing files will need to be updated to
exclude the new files (coming in future commits)
* fix(angular): add .test.ts support in tsconfigs
add .test.ts in angular jest template
update angular generators to exclude test files
* fix(gatsby): add .test. file prefixes to tsconfig ignore
ignore the new .test.{js|ts|jsx|tsx} files added to jest configs
* fix(react): add .test. file prefix to app/lib tsconfigs
add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig
* fix(node): add .test. file prefix to app/lib tsconfig
add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig
ISSUES CLOSED : #7263
* fix(nest): update tests for new .test.ts files in tsconfig
update tests to account for changes in node generators which add .test.ts to the exclude of
tsconfigs
* fix(express): update tests to account for new tsconfig changes
updated snapshots
added new patterns for tsconfig
* fix(linter): update snapshots for new tsconfig changes
snapshot updated to include new .test.ts file changes for tsconfig
* fix(node): update testing to account for spec tsconfig changes
add .test.ts files in e2e tests
* fix(testing): add migration for tsconfig changes
initial migration and test for tsconfig changes
* chore(testing): add to migrations collection
add the update-ts-config-for-test-filenames to migrations
* fix(testing): fix filesystem issue with jest tests
mock readConfig to always return an basic config to prevent issues of not finding a config in non
linux environments, aka missing /root
* cleanup(testing): update error message
update message logged when tsconfig isn't found to mention what was trying to be accompished so it
can be manually updated if desired.
2021-11-05 14:25:25 -05:00
Jack Hsu
8686e919fb
fix(core): update generator logic so empty strings ("") for appsDir and libsDir work properly ( #7508 )
2021-10-25 12:01:53 -04:00
Colum Ferry
b0b9c8fc2e
feat(angular): allow port to be added to non-mfe app ( #7403 )
2021-10-18 14:04:38 +01:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default ( #7351 )
...
* feat(core): standalone project configuration is default
* chore(core): changes to e2e tests
* fix(core): intuit projects when inside their directories when using project.json files
* chore(core): e2e changes
* fix(core): standalone configurations work with npm-project generator
* chore(core): e2e tests should use standalone configurations
* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02: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
654cfbf147
fix(angular): incremental builds with mfes #6923 ( #7260 )
2021-10-06 15:37:22 +01:00
Alex Herbig
8addb45fd0
fix(angular): stop modifying tags that match app name ( #7137 )
...
ISSUES CLOSED : #7097
2021-10-01 14:57:26 -04:00
Jonathan Romano
f8f09b91df
fix(linter): add setParserOptionsProject option to generators missing it ( #7103 )
2021-09-24 21:02:52 -04:00
Leosvel Pérez Espinosa
d52aed9fde
fix(angular): remove extra comma when generating application with --inlineTemplate ( #7126 )
2021-09-24 15:24:18 +01:00
Ali Yusuf
93f9569deb
feat(angular): add support to sass style to the generator
2021-09-15 09:58:49 -04:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile ( #6852 )
2021-08-26 11:25:51 -04:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor ( #6706 )
2021-08-16 16:23:17 -04:00
Jason Jean
c13c02d27e
fix(angular): fix angular projects not being standalone when all other projects are standalone ( #6641 )
2021-08-06 20:48:35 -04:00
Jason Jean
d68d2ad965
fix(angular): add eslint to protractor apps ( #6524 )
2021-07-27 20:36:29 +00:00
Colum Ferry
3e6a3158be
feat(angular): add an serve-mfe target to host app ( #6444 )
2021-07-21 21:58:56 +00:00
Jason Jean
9c3c296d89
fix(angular): fix generating apps with protractor ( #6422 )
2021-07-20 11:02:31 -04:00
Colum Ferry
227eed9172
feat(angular): generate entry module for remote mfes ( #6403 )
2021-07-20 12:00:00 +01:00
Colum Ferry
776bd277b7
feat(angular): add host option to MFE generator ( #6368 )
...
Add a host option to MFE generator to allow a remote to specify a host that it should be consumed
by.
Use this value to update the host application's webpack.config,js
2021-07-15 09:54:41 +01:00
vsavkin
0fd5af9fff
fix(nxdev): broken links on home pages
2021-07-14 11:44:57 -04:00
Colum Ferry
8b1f812c85
fix(angular): change mfe naming convention to use host
...
Previously, naming convention of consuming applications for MFEs was `shell`.
Change it to match Webpack Module Federation's naming convention of calling it `host`.
BREAKING CHANGE:
The `mfeType` options have changed from `shell | remote` to `host | remote`.
2021-07-14 10:40:14 +01:00
Craigory V Coppola
23e21d0995
fix(core): project.json split should be remembered if all projects utilize it ( #6180 )
2021-07-08 23:35:57 +00:00
Colum Ferry
0fd0fc4d93
feat(angular): add mfe options to app generator ( #6242 )
2021-07-06 10:32:45 +01:00
Leosvel Pérez Espinosa
277bdd2255
docs(angular): refresh generators docs ( #6202 )
2021-07-01 10:11:36 +01:00
Craigory V Coppola
d3ba0caf7c
cleanup(core): misc cleanup for project.json files ( #6112 )
2021-06-24 10:16:00 -04:00
Benjamin Cabanes
44bbc08bdf
fix(angular): Inline nx logo in default template ( #6114 )
2021-06-24 14:20:39 +01:00
Leosvel Pérez Espinosa
0bcb50373a
cleanup(angular): deprecate and clean up angular schematics utilities ( #6099 )
2021-06-23 10:08:50 +01:00