4169 Commits

Author SHA1 Message Date
Jason Jean
cd868a8a0d
fix(misc): remove import of webpack-dev-server (#6396) 2021-07-16 14:40:18 -04:00
Leosvel Pérez Espinosa
3a18c4da0a
fix(core): validate pattern if specified for a schema property (#6395) 2021-07-16 16:27:22 +01:00
Juri Strumpflohner
596cf5b4b0
fix(storybook): add cssmodule and image typings for React Storybook setup (#6363) 2021-07-16 14:43:03 +02:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Jason Jean
1ee463a9f6
chore(repo): update nx to 12.6.0-beta.7 (#6389) 2021-07-16 00:12:36 +00:00
Jason Jean
769758d9cf
fix(devkit): do not update unknown properties to workspace configuration (#6388) 2021-07-15 23:53:05 +00:00
Juri Strumpflohner
56e30d7739
docs(react): adjust Tailwind guide for React (#6386) 2021-07-15 21:27:58 +02:00
vsavkin
f86a07367a feat(core): improve project graph creation not to invalidate nxdeps when global config change 2021-07-15 14:12:38 -04:00
Leosvel Pérez Espinosa
f26eb1cffc
fix(angular): update jasmine-marbles to support jest-circus test runner (#6383) 2021-07-15 13:48:15 -04:00
Jason Jean
5ee362ad3d
fix(core): end tasks after cache is written (#6381) 2021-07-15 17:09:20 +00:00
Craigory V Coppola
d32ac2bfd8
cleanup(misc): fix missing return statement in ngcli-adapter (#6380) 2021-07-15 10:58:34 -04:00
Jason Jean
35d77a1b2a
fix(linter): check existence of eslintrc.json before running migration (#6335) 2021-07-15 10:40:54 -04:00
Craigory V Coppola
6ef8afbfd9
fix(core): wrapped angular schematics should be able to update newly created standalone projects (#6351)
* fix(core): wrapped angular schematics should be able to update newly created standalone projects

Wrapped angular schematics inside of generators should be able to update a newly created standalone
project configuration

ISSUES CLOSED: #6342

* fix(core): angular devkit schematics should normalize project paths before writing

Wrapped angular schematics inside of generators should be able to update a newly created
standalone
project configuration
ISSUES CLOSED: #6342

ISSUES CLOSED: #6353

* fix(core): wrapped angular-devkit schematics should pick up standaloneAsDefault

ISSUES CLOSED: #6354
2021-07-15 10:40:15 -04:00
Craigory V Coppola
84b40c8b85
fix(misc): @nrwl/workspace:rm generator should work with standalone configs (#6348)
* fix(devkit): removeProjectConfiguration should remove path for project.json from workspace.json

When using standalone config files, removing a project's config should also remove its entry in the
workspace file.

* fix(misc): @nrwl/workspace:rm should work with standalone config files

When using standalone config files, removing a project's config should also remove its entry in
the
workspace file.
2021-07-15 10:36:48 -04:00
Colum Ferry
4697ce1356
feat(angular): use webpack-server executor for mfe apps (#6373)
Use webpack-server for MFE angular apps as it will merge the webpack configs.
2021-07-15 15:23:06 +01:00
Miroslav Jonaš
586dd6df4e
chore(repo): use tagless approach to finding successful run commit sha (#6372) 2021-07-15 14:00:43 +02:00
Miroslav Jonaš
4c630cb337
chore(repo): improve cross package manager testing (#6371) 2021-07-15 12:39:32 +02:00
Colum Ferry
ec414e5840
feat(angular): add executor to allow custom webpack config with serve (#6359)
Add a builder to allow the user to pass a custom webpack config with serve. It should fetch the
custom webpack config from the build target.
2021-07-15 11:09:59 +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
904b3b6b7a Revert "chore(nxdev): update docs to 12.5.8 (#6367)
This reverts commit 094958cc6dad543c567934ac0ed97e95ff924a11.
2021-07-14 16:57:28 -04:00
Benjamin Cabanes
094958cc6d
chore(nxdev): update docs to 12.5.8 (#6367)
This reverts commit d6e3bcf6db8a1cde24ce3089eeb9704e5f9b4632.
2021-07-14 15:33:32 -04:00
James Henry
87e6d9dc77 chore(core): refactor createProjectGraph to be async, deprecate sync usage 2021-07-14 14:58:16 -04:00
Zachary DeRose
84f80c8f9c
fix(nxdev): fixing sidbar appearance with anchored links (#6365)
* fix(nxdev): fixing sidbar appearance with anchored links

* fix(nxdev): fixing when linkText is null
2021-07-14 13:49:23 -04:00
Martin Gansler
fe7ab82d91
feat(core): add the target project name to the environment variables (#5886) 2021-07-14 11:47:26 -04: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
vsavkin
485eaae702 docs(misc): wrong header styles 2021-07-13 15:17:40 -04:00
vsavkin
37460f9844 docs(misc): minor tweaks in the docs 2021-07-13 15:08:38 -04:00
vsavkin
08dfc9d554 docs(misc): minor tweaks 2021-07-13 14:57:07 -04:00
vsavkin
d6e3bcf6db chore(nxdev): update docs 2021-07-13 14:54:48 -04:00
vsavkin
9cacfb8307 docs(misc): tweaks to the intro and monoreo guides 2021-07-13 14:25:14 -04:00
vsavkin
22c7643370 feat(repo): refine the readme 2021-07-12 13:57:31 -04:00
Kirils L
cb3440a7af
fix(nxdev): fix serving (#6333) 2021-07-12 17:35:33 +00:00
Jason Jean
9c3d798ecc
fix(testing): fix getting jest config from tree when require is used (#6322) 2021-07-12 15:06:24 +00:00
Huynh Ninh Binh
ec1ab55f80
fix(devkit): module of classname should be capitalized when generated with special characters in a directory (#6283)
ISSUES CLOSED: #6281
2021-07-12 10:51:03 -04:00
Zachary DeRose
56a2f5dbf3
docs(misc): Using Tailwind CSS with React Guide (#6183)
* docs(misc): Install Tailwind for Web/React/Next.js Apps Guide

* fix(react): addressing PR comments

* fix(misc): updating map.json with new doc name

* fix(misc): updating map.json to match master
2021-07-12 10:44:47 -04:00
Daniel
8aee6cbc57
fix(core): make sanitizePath cross-platform (#6308) 2021-07-10 12:15:31 -06:00
Zachary DeRose
41234db93b
fix(testing): fixing migration and interop with move generator (#6323)
* fix(testing): fixing move tests and functionality

* fix(testing): fixing migration to no-op if getJestProjects() is already being used

* fix(misc): rming console.log statements
2021-07-09 23:22:55 +00:00
Zachary DeRose
2524fdbc3d
feat(testing): Using getJestProjects() out of the box (#5900)
* feat(testing): updating nx to use getJestProjects() itself

* feat(testing): using getJestProjects() for new workspaces

* feat(testing): accomodating for getJestConfig() when adding new project

* feat(testing): migration for updating the base jest.config.js

* testing...

* fix(testing): fixing formatting in tests and bumping to next version

* fix(testing): fixing broken tests

* fix(testing): fixing test for jest init

* fix(testing): removing unnecessary test in jest project

* fix(testing): updating remove generator to work with jest utility fn

* fix(testing): fixing line break on package.json

* fix(testing): fixing import statement

* fix(testing): using AST to update the jest config contents

* fix(testing): fixing snapshot tests

* fix(testing): fixing describe to 12.6

* fix(testing): adding back in import statement to jest.config.js

* fix(testing): updating generated docs
2021-07-09 16:32:01 -04:00
Jason Jean
033579712f
fix(core): include dependencies of projects which do not have a target (#6309) 2021-07-09 16:30:15 -04:00
Jason Jean
d35d03e55e
chore(repo): update nx to 12.6.0-beta.0 (#6266) 2021-07-09 18:44:59 +00:00
Benjamin Cabanes
481e8963d1
docs(core): Enhanced interpolation link function (#6318) 2021-07-09 14:38:12 -04:00
Colum Ferry
5a31e56564
docs(angular): fix minor issues with Nx Console docs and icon loading (#6295) 2021-07-09 12:46:50 -05:00
Juri Strumpflohner
1670199115
fix(core): adjust logger to avoid errors when the passed object is not a string (#6320) 2021-07-09 17:41:39 +00:00
Miroslav Jonaš
b9d76693b9
chore(repo): update remaining jest dependencies to v27 (#6296) 2021-07-09 19:06:15 +02:00
Kirils L
267557e8d6
cleanup(nextjs): change manual dependency migration to use packageJsonUpdates (#6319) 2021-07-09 16:25:17 +00:00
Kirils L
651b0d1f95
feat(core): migrations can add packages as dev dependencies (#6287) 2021-07-09 11:08:41 -04:00
vsavkin
6df137fc16 cleanup(repo): readme refinements 2021-07-09 10:45:23 -04:00
Katerina Skroumpelou
cfff767b12
fix(core): update root jest config with move generator (#6313)
ISSUES CLOSED: #6303
2021-07-09 09:30:09 -04:00
Katerina Skroumpelou
dbb74c6c67
feat(storybook): story generator takes into account actions (#6302) 2021-07-09 11:06:16 +02:00