40 Commits

Author SHA1 Message Date
Juri Strumpflohner
a22f4fce49
docs(misc): new self-hosted cache updates (#30550)
Adds the new updates around self-hosted caching possibilities.
2025-03-31 13:28:42 -04:00
Juri
437bad4aac docs(misc): add description frontmatter for better SEO 2025-03-04 16:58:14 +01:00
Philip Fulcher
8ca84f762e
docs(nx-dev): point blog links to internal blog (#29786) 2025-01-28 13:46:28 -07:00
Isaac Mann
6051e6e208
docs(core): fix references to createNodes v1 (#29400) 2024-12-18 08:15:04 -05:00
Isaac Mann
012d4e95a1
docs(core): createNodesV2 in plugin docs (#29346)
Update the project graph plugin recipe to use createNodesV2
2024-12-13 11:28:09 -05:00
Jack Hsu
8fa7065cf1
docs(misc): update generator examples to use new directory/path positional args (#28144)
This PR updates examples in `.md` files (both docs and blog posts) to
use positional args. Nx 20 changes the position arg to be either
`directory` for apps/libs or `path` for artifacts (e.g. components).

So before you'd do this:

```
nx g app myapp --directory=apps/myapp
nx g lib mylib --directory=libs/mylib
nx g lib mylib --directory=libs/nested/mylib
nx g lib @acme/foo --directory=libs/@acme/foo --importPath=@acme/foo
nx g component foo --directory=libs/ui/src/foo --pascalCaseFiles
```

Will now be simplified to

```
nx g app apps/myapp
nx g lib libs/mylib
nx g lib libs/nested/mylib
nx g lib libs/@acme/foo # name and import path are both "@acme/foo"
nx g component libs/ui/src/foo/Foo
```

For cases where `name` and `importPath` need to be changed, you can
always manually specify them.

```
nx g lib libs/nested/foo # name is foo
nx g lib libs/nested/foo --name=nested-foo # specify name with prefix
nx g lib libs/@acme/foo --name # use "foo" as name and don't match importPath
nx g lib libs/@internal/foo --importPath=@acme/foo # different importPath from name

<!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR -->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is merged. -->

Fixes #
2024-09-30 13:20:10 -04:00
Julián Gómez Sibecas
88d339a1a3
docs(core): replace yarn with pnpm (#28027) 2024-09-23 14:03:09 +04:00
Isaac Mann
b6dd9251f5
docs(core): use nx release in create install package recipe (#27567)
Use `nx release` in the create install package recipe
2024-08-21 15:15:48 -04:00
Isaac Mann
da823e04a9
docs(core): update create-install-package (#27562)
Updates the create-install-package recipe to match what is currently
generated

Fixes #22663
2024-08-21 10:43:21 -04:00
Isaac Mann
ba47c72981
docs(core): add organization plugin tutorial (#27279)
Updates the Extending Nx section.

- New intro content
- Enforce Organizational Best Practices tutorial
- Tooling Plugin tutorial
    - Flexible base generators
    - Inferred tasks
    - Executors
    - Migration generators
    - Publishing and listing the plugin
    - E2E testing with Verdaccio

In a separate PR:
- Repository Structure Plugin tutorial
    - Presets
    - Create-* script
    - Migration generators
2024-08-15 10:22:07 -04:00
Craigory Coppola
97b00840cc
docs(nx-plugin): fixup docs for project name and root changes (#27139)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
Some plugin docs don't make sense after project name and root changes

## Expected Behavior
They've been touched up

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #25191
2024-07-25 19:17:59 -04:00
cdwheatley
56a3af6f9d docs(nx-plugin): update local-executors.md
Change path for generation of my-plugin to libs/my-plugin

nx g @nx/plugin:plugin libs/my-plugin

This makes it work with the plugin executor generate command.
2024-06-04 16:06:40 -04:00
Craigory Coppola
45184fec21
docs(core): add docs for registering new targets + merge logic (#22748)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2024-04-23 15:57:21 +00:00
Isaac Mann
5f255c5a43
docs(core): editor setup in getting started (#22416)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2024-04-02 11:56:42 -04:00
Leosvel Pérez Espinosa
c076eab950
docs(misc): improve local executors guide (#22396) 2024-03-20 09:20:43 -04:00
Edouard Bozon
cc2f6551e9
docs(core): fix plugin object declaration example (#21765) 2024-03-05 18:05:13 -05:00
Miroslav Jonaš
3ead01987b
fix(nx-dev): remove fence from new packages and "nx add" commands (#21705) 2024-02-08 14:43:50 +01:00
Isaac Mann
61436a64ef
docs(core): inferred targets (#21167)
Co-authored-by: Katerina Skroumpelou <mandarini@users.noreply.github.com>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Emily Xiong <xiongemi@gmail.com>
Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
Co-authored-by: Victor Savkin <mail@vsavkin.com>
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2024-02-03 00:14:05 -05:00
beeman
a9974d3f25
docs(misc): change http:// to https:// (#19534) 2024-01-30 11:33:13 -05:00
Craigory Coppola
30d94f76ee
cleanup(core): remove async flag from signature of buildProjectsConfigurationsFromProjectPathsAndPlugins (#20228) 2023-11-17 15:31:03 -05:00
Craigory Coppola
08a4891494
feat(core): change the signature of createNodes to return a project root map instead of project name map (#20102) 2023-11-08 13:20:53 -05:00
Craigory Coppola
74b095ff64
docs(core): update documentation for nx plugin options (#19808) 2023-10-23 17:15:14 -04:00
Isaac Mann
6e60c7143c
docs(core): warning about dynamic targets (#19464) 2023-10-05 11:23:19 -04:00
Nicolas Beaussart
718c6e8906
docs(nx-plugin): made code example for extending project graph match the current api (#19398) 2023-10-01 18:13:44 -04:00
Isaac Mann
d1fe398ea0
docs(core): packages to api (#19281) 2023-09-22 14:24:35 -04:00
Craigory Coppola
f2e20c81b6
cleanup(core): adjust create dependencies context (#19070)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-09-12 09:01:32 -04:00
Craigory Coppola
5623e2c32d
docs(core): add v2 plugin documentation (#18890) 2023-09-06 16:16:09 -04:00
Juri
3ddb188fa3 docs(nx-plugin): add recipe for creating and testing a create-x package
Co-authored-by: AgentEnder <craigorycoppola@gmail.com>
2023-08-11 20:21:11 +02:00
Juri
dcecb6f46a docs(core): cleanup youtube tags 2023-07-31 11:19:07 +02:00
Miroslav Jonaš
ee7880c32e
feat(nx-dev): rename plugins to extending nx (#18273) 2023-07-24 12:26:05 -07:00
Miroslav Jonas
2fc3e2e485 docs(nx-dev): move plugin features under core features 2023-07-24 14:13:24 +02:00
Juri
4691d841a2 docs(devkit): improve structure and fix some typos 2023-07-05 18:09:40 +02:00
Victor Savkin
0848031dd9 feat(core): move task hashing into daemon 2023-05-17 11:37:57 -04:00
Isaac Mann
258b6df8b6
docs(core): plugin section (#16314) 2023-05-05 12:37:06 -04:00
Isaac Mann
afa5eb59fa
docs(core): document the @nrwl => @nx rescope (#16403)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-04-27 18:14:59 -04:00
Miroslav Jonaš
8d4855de61
feat(core): add full dependency information to project graph file dependencies (#14893) 2023-02-21 10:39:44 -05:00
Craigory Coppola
b2df831076
fix(core): tsconfig.base.json module setting should not break local plugins (#14610) 2023-02-13 16:28:32 -05:00
Benjamin Cabanes
e74356e4bf
docs(core): change overview path on devkit (#14960) 2023-02-13 11:07:32 -05:00
Benjamin Cabanes
8d517752d3
chore(core): use right GitHub syntax (#14624) 2023-01-25 18:56:06 +00:00
Isaac Mann
b96a178011
docs(core): restructure plugin docs (#14349) 2023-01-13 18:07:37 -05:00