504 Commits

Author SHA1 Message Date
Craigory Coppola
a300b2c0f2
docs(core): updates to configuration docs to reflect #6642 (#7413) 2021-10-19 10:27:03 -05:00
Victor Savkin
693bd411d7 fix(core): reset daemon intenral state when cache is missing 2021-10-19 11:19:20 -04:00
Colum Ferry
0f85b49065
docs(angular): fix command in karma to jest (#7417) 2021-10-19 15:08:31 +01:00
Leosvel Pérez Espinosa
86613f6e66
cleanup(angular): remove deprecated options from the ngrx generator (#7404)
BREAKING CHANGE:
The deprecated options `onlyAddFiles` and `onlyEmptyRoot` from the `ngrx` generator were removed,
`skipImport` and `minimal` should be used instead.
2021-10-18 13:44:37 -04:00
Miroslav Jonaš
d9fd42eec8
chore(linter): update eslint to latest v7 version (#7400) 2021-10-18 15:20:51 +02:00
Xie Jay
3fca35ceb1
fix(web): remove default baseHref in dev-server (#7302) 2021-10-15 21:38:16 -04: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
Benjamin Cabanes
54aecd07c8
docs(nxdev): typedoc generator upgraded (#7374) 2021-10-15 11:59:27 -06:00
Dominik Pieper
b3a656ec89
feat(storybook): add @storybook/svelte fot the storybook and build-storybook executors (#7352) 2021-10-15 10:58:47 -04:00
Jason Neal
a4b0c80785
docs(angular): fix a typo
Co-authored-by: Jason Neal <jasonneal@rocketmortgage.com>
2021-10-15 10:51:40 -04:00
puku0x
324738b289 feat(core): strict mode by default for workspace libraries 2021-10-15 10:35:44 -04:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00
Colum Ferry
65b65bf4c5
docs(angular): provide reason for imported remote entry module (#7377) 2021-10-15 11:38:44 +01:00
James Henry
a4e0d72edc chore(core): updates to daemon related commands and output 2021-10-14 20:10:20 -04:00
James Henry
e7d49aa55d chore(core): nx reset command, updates to cli help output and docs 2021-10-14 20:10:20 -04: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
Jack Hsu
086f67d4bd
chore(web): remove build options deprecated since Nx 11 (#7330) 2021-10-13 05:48:31 +00:00
Jack Hsu
4d6df58ac8
chore(node): remove build options deprecated since Nx 11 (#7331) 2021-10-13 07:47:51 +02:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
James Henry
9d2a304b11 chore(core): updates to daemon outputs, socket location and help 2021-10-12 20:02:00 -04:00
Antoine Leblanc
a965f89d89
Update GitHub brand name usage (#7291)
* docs(misc): update github brand name usage

Relates to https://github.com/logos

* docs(nxdev): update github brand name usage

Relates to https://github.com/logos

* fix(misc): update github brand name usage

Relates to https://github.com/logos
2021-10-12 15:09:03 -04:00
Craigory Coppola
8435bdfb6f
feat(core): shift from 'master' to 'main' as default branch and base (#7111)
* chore(core): fix some broken tests

* docs(core): update docs to represent master -> main

* chore(core): review changes

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>

* chore(core): add migration script for backwards-compat w/ main default.

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-10-08 16:48:02 -04:00
Benjamin Cabanes
5ae45b63dd
docs(core): add categories typed comment for nxdevk (#7286) 2021-10-08 12:09:53 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref (#6994)
close #5079
2021-10-04 14:50:26 -04:00
Philip Fulcher
1d8a8878dc
feat(misc): add --open option for dep-graph command (#7209) 2021-10-04 11:45:00 -04:00
Benjamin Cabanes
88fa507f1b
docs(nxdev): sync content (#7138) 2021-09-25 15:23:45 +00:00
Elderov Ali
3e3ec2e981
docs(angular): fix embedded link in talk section (#7037) 2021-09-25 11:09:38 -04:00
Jonathan Romano
f8f09b91df
fix(linter): add setParserOptionsProject option to generators missing it (#7103) 2021-09-24 21:02:52 -04:00
Benjamin Cabanes
1377728f41
docs(nxdev): better path interpolation (#7112) 2021-09-23 14:07:15 -04:00
Tyler Morrison
17d8647818
feat(testing): remediate headless option for Cypress 8.x (#6882)
* feat(testing): warn Cypress 8.x users about deprecation
* feat(testing): add `headed` option to executor
* chore(testing): refactor `CypressExecutorOptions` to match schema
* docs(testing):  update based on schema

CLOSES: #6811

Co-authored-by: Tyler Morrison <tyler.morrison@ally.com>
2021-09-20 09:42:16 +02:00
Victor Savkin
3e8427f783 docs(misc): clarify a few things regarding incremental builds 2021-09-18 21:13:53 -04:00
Victor Savkin
dca092874b feat(core): add examples and links to nx.dev when using --help 2021-09-17 10:02:44 -04:00
Victor Savkin
a5ba9bc0c3 docs(core): add better docs for run-script 2021-09-16 20:30:00 -04:00
Stephen Wade
c71d286ef5
docs(angular): Fix code snippets incorrectly marked as bash (#7033)
* docs(angular): Fix code snippets incorrectly marked as `bash`

* docs(angular): slight fixes

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-09-16 16:51:51 -06:00
Jay Bell
470f86d0ab
feat(nest): feat(nest): add standalone config flag to nest library generator 2021-09-15 12:10:58 -04:00
Ali Yusuf
93f9569deb feat(angular): add support to sass style to the generator 2021-09-15 09:58:49 -04:00
James Henry
bafabb3a11
feat(linter): add support for workspace rules (#6859)
* feat(linter): add support for workspace rules

* chore(linter): move deps to correct package

* feat(linter): workspace-lint-rules as project with test target

* chore(linter): tiny clean up

* fix(linter): update generators.json after refactor

* chore(linter): implement e2e test and PR feedback

* docs(linter): update generator docs

* docs(linter): update generator docs

* docs(linter): update generator docs
2021-09-01 12:49:11 -04:00
Tony
d0e217666a
docs(angular): update setup for micro frontend (#6863) 2021-08-26 20:48:29 +00:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
Leosvel Pérez Espinosa
a30d9e11f8
docs(core): improve cli docs (#6669) 2021-08-24 16:05:02 +00:00
Colum Ferry
9b3f920a3b
docs(angular): add mfe guide (#6829)
* docs(angular): add mfe guide

Add guide "How to setup a Micro Frontend with Angular and Nx" to docs

* docs(angular): fix some issues with mfe guide

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-08-24 11:23:20 -04:00
Jason Jean
fa3dcabe8a
docs(core): add cli overview page and a section documenting how to keep configuration in sync (#6832)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2021-08-24 02:13:25 +00:00
Jason Jean
da7bbc908e
docs(core): rewrite the CLI guide (#6801) 2021-08-23 22:08:41 -04:00
AlmarAubel
e2637760ca
feat(storybook): add vue3 support for storybook executer (#6604)
`This PR adds support for 'vue3' so it can be used to run storybook in a NX workspace

Closes #6603
2021-08-23 10:16:16 +03:00
Jason Jean
bfa06ce8b0
feat(misc): add generator for simple npm-package (#6784) 2021-08-20 14:10:00 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Lars von Qualen
6b37e4b2f1
feat(node): builder should support multiple entry files (#5741)
Adds a new option to the node build executor in order to enable multiple entry files.
2021-08-20 15:49:56 +00:00
Jack Hsu
28ebfae4ea
feat(react): add a hook generator (e.g. useThing) (#6773)
1- Implement a hook generator which provides the skeleton for a new hook, including a test which
uses @testing-library/react-hooks
2- add --pascalCaseDirs to the component generator, so you can
have 'SomeComponent/SomeComponent.tsx' instead of 'some-component/SomeComponent.tsx'

Co-authored-by: Sam Clement <samclement@msn.com>
2021-08-19 13:19:35 -04:00
Jack Hsu
cddb1edd56
feat(react): add format option for buildable libs (#6753)
- Clean up @nrwl/web:package executor
- Combine react package e2e tests to speed up test time
2021-08-18 23:08:30 -04:00
Sumit Parakh
295b8d737c
fix(core): fix --directory alias conflict (#6596)
ISSUES CLOSED: #6571
2021-08-18 18:02:12 -04:00