4886 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
babcbf613e fix(core): prevent overwriting already added tasks when adding target dependencies tasks 2021-11-16 20:08:17 -05:00
Victor Savkin
e3c7b979b2 feat(core): rework the tasks runner to use life cycle for printing messages 2021-11-16 20:07:34 -05:00
Christopher Dieringer
9bedb80f20
fix(node): fix source-map-support dependency (#7728) 2021-11-17 00:23:28 +00:00
Naresh Bhatia
324b2f0a15
docs(react): clean up react tutorial to match the latest version of nx (#7639) 2021-11-16 18:07:40 -05:00
Fernando Montoya
204bbbf748
fix(react): Fix typo (#7748) 2021-11-16 18:00:23 -05:00
Nicholas Cunningham
49529b69d0
fix(web): add scripts default value in schema.json (#7757)
The scripts property inside project.json is not required. So if it is not provided running the build
command should not fail due to the scripts property being missing.

ISSUES CLOSED: #7178
2021-11-16 17:59:42 -05:00
Umair Hafeez
ddad52bc82
docs(angular): update 'npm run' to 'npx nx' for affected commands (#7738)
* docs(angular): update 'npm run' to 'npx nx' for affected commands

The tutorial refers to using 'npm run' for the affected commands, which doesn't work if the
workspace is generated using yarn.

To fix that, change it to 'npx nx' so it works in all cases,
like other places in the docs.

* chore(misc): fix formatting

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-16 17:57:34 -05: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
Leosvel Pérez Espinosa
4e1456e4b6
fix(misc): prevent formatting root config files twice (#7753) 2021-11-16 11:13:48 +00:00
Colum Ferry
bfb95af1ff
fix(angular): do not re-add transform ignore pattern (#7751) 2021-11-16 10:26:57 +00:00
Victor Savkin
fcecebeb3a feat(js): add library and app generators 2021-11-15 21:29:28 -05:00
Nicholas Cunningham
6e801a1e9b
fix(web): default react builds to production when NODE_ENV is not provided (#7727)
ISSUES CLOSED: #7410
2021-11-15 14:30:39 -05:00
Victor Savkin
3d54a7961a fix(core): NODE_PATH should include both workspace and tmp folders 2021-11-15 12:05:17 -05:00
Benjamin Cabanes
24a37d9edd
docs(nxdev): remove nx playbook 50% special link (#7741) 2021-11-15 10:14:10 -05:00
Benjamin Cabanes
bea4ba22b1
docs(nxdev): open source list on 2 columns for mobile (#7732) 2021-11-13 17:05:07 -05:00
Benjamin Cabanes
fd2676109f
docs(nxdev): nxplaybook special offer on mobile (#7733) 2021-11-13 22:02:16 +00: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
Craigory Coppola
d28f571874
feat(js): create @nrwl/js package and move @nrwl/workspace:tsc to it (#7604) 2021-11-12 16:41:30 -06:00
Jason Jean
18f2e703dd
fix(angular): remove unnecessary addition of module file extensions (#7725) 2021-11-12 16:36:59 -05:00
Benjamin Cabanes
24bbb848eb
docs(nxdev): add width to open platform logo elements (#7726) 2021-11-12 16:31:00 -05:00
Benjamin Cabanes
d39c1c17e9
docs(nxdev): simplify header links & fix keys issues (#7724) 2021-11-12 20:14:26 +00:00
Benjamin Cabanes
ee4cd5220b
docs(repo): refresh courses & videos section (#7723) 2021-11-12 15:06:01 -05:00
Jason Jean
a6085a9e97
fix(angular): handle projects with no targets in angular 13 migration (#7719) 2021-11-12 14:19:53 -05:00
Benjamin Cabanes
9fbd99700d
docs(nxdev): nx playbook offer 50% (#7722) 2021-11-12 14:18:00 -05:00
Benjamin Cabanes
7dccb15d5c
docs(nxdev): getting started animation cleanup (#7720) 2021-11-12 18:34:06 +00:00
AgentEnder
91967a37a7 feat(core): include community plugins when running nx report 2021-11-12 12:35:15 -05:00
Benjamin Cabanes
3cc17d7566
docs(nxdev): home updates (#7567) 2021-11-12 11:59:45 -05:00
Jay McDoniel
474dc283ce
fix(core): use pnpm exec instead of pnpx (#7695)
pnpm is deprecating pnpx and suggests using pnpm exec instead.
pnpx still works at the moment, but if for whatever reason it
isn't installed then this pr can make create-nx-worksapce stsill work.

[pnpx documenation](https://pnpm.io/pnpx-cli)
2021-11-12 11:49:53 -05:00
Victor Savkin
86baac49f5 chore(repo): update to nx 13.2 2021-11-12 10:13:26 -05:00
Jason Jean
5e4aa5abbb fix(core): fix parsing for --parallel 2021-11-12 10:05:29 -05:00
Victor Savkin
e2845647d6 cleanup(core): make the migration script more resilient 2021-11-11 21:45:30 -05:00
Victor Savkin
7d14859863 fix(core): support target names with colons 2021-11-11 21:43:31 -05:00
Brandon Roberts
0bde144b97 docs(nxdev): add links to Nx Conf videos 2021-11-11 20:54:44 -05:00
Chau Tran
421d4f2f02
feat(node): add outputFileName to build executor (#7708)
Fixes  #4969
2021-11-11 17:01:20 -06:00
Caleb Ukle
4c4a5039e8
fix(testing): update tsconfig migration to not warn when no file found (#7689)
* fix(testing): update tsconfig migration to not warn when no file found

use tsconfig.json references to find what other configs need to be updated. if non when we just exit

* fix(testing): update tests for migration changes

* fix(testing): include any spec. file names in pattern match

accounting for _spec. file names when generating 'test' pattern equivalents

* fix(testing): remove relance on tsconfig.references, walk for all tsconfigs to update

tsconfig.references is not always present. instead visit all files and check if they are tsconfig
json file. if so we update the include/exclude properties where a spec. pattern is found. if the
property isn't set then we do not update it.

* fix(testing): stream line update with devkit
2021-11-11 22:53:17 +00:00
Victor Savkin
025c15556e fix(core): workspaces with custom layouts should be scanned correctly when not using git 2021-11-11 15:32:03 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
AgentEnder
4d8c3496a3 fix(misc): ng-add fails when prettierignore not present 2021-11-11 15:12:06 -05:00
Emily Xiong
7712167d3e
chore(react): remove deprecated @types/styled-jsx (#7697) 2021-11-11 13:12:52 -05:00
Leosvel Pérez Espinosa
23415a5060
fix(angular): change tsconfig path handling for angular ng-packagr executors to let ng-packagr use default options (#7702) 2021-11-11 16:09:11 +00:00
Brandon
d1f276af52
chore(angular): change version of NgRx to ~12.5.0 release (#7676) 2021-11-11 08:24:26 -06:00
Nicholas Cunningham
6c7891cf34
fix(web): add default value for project.json schema style (#7693) 2021-11-10 16:56:25 -06:00
Emily Xiong
e818f61806
feat(gatsby): upgrade gatsby to 4.1.3 (#7691) 2021-11-10 13:00:04 -05:00
Nico
6ac6e981cd
fix(react): install missing react-test-renderer dependency (#7675)
When we install @nrwl/react we should also install react-test-renderer.

ISSUES CLOSED: #7578
2021-11-10 11:47:17 -05:00
Ashley Hunter
8f205715ea
fix(angular): fixing application generator when using protractor (#7603) 2021-11-10 10:41:41 -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
Katerina Skroumpelou
8551a7478b fix(storybook): only match exact component name for Storybook
ISSUES CLOSED: #7175
2021-11-10 14:06:59 +01:00
Leosvel Pérez Espinosa
adafc971a8
fix(angular): add .angular to gitignore only when it hasn't already been added (#7686) 2021-11-10 12:13:40 +00:00
Colum Ferry
c2c64ed8d2
fix(angular): migration versions (#7683) 2021-11-10 10:47:40 +00:00
Victor Savkin
af664f60a1
feat(core): add an option to nx.json to enable project graph creation in the background (#7682) 2021-11-10 10:12:31 +00:00