55 Commits

Author SHA1 Message Date
Juri
437bad4aac docs(misc): add description frontmatter for better SEO 2025-03-04 16:58:14 +01:00
Leosvel Pérez Espinosa
dc67660fec
fix(misc): update artifact generator option descriptions and cleanup leftovers (#29077)
- Update artifact generator schemas:
- Clarify `path` is the artifact file path relative to the current
working directory
  - Clarify `name` is the artifact symbol name
- Remove prompt for `name` and remove it from the important options
(won't be displayed by default in Nx Console generation UI, it will be
part of the collapsed options) given that most of the time, it's meant
to match the filename (last segment of the `path`)
- Remove some leftover options related to the name and path formats that
were previously missed
- Fix an issue with NestJS generators
- Fix an issue with Next `page` generator

<!-- 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
<!-- 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-11-28 09:44:44 -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
Isaac Mann
8af66c1a00
docs(core): fix add astro typo (#27535)
Fixes #20140
2024-08-20 08:01:04 -04:00
Isaac Mann
0de28ccfe1
docs(core): add bun tab to install commands (#27511)
Add a bun tab to everywhere we list package manager install commands
2024-08-19 13:13:05 -04:00
Wayne Maurer
10ee761c4a
docs(misc): added additional required development dependencies (#27026)
Added vite-plugin-solid to development dependencies installation command

Co-authored-by: Wayne Maurer <2899448+wmaurer@users.noreply.github.com>
2024-08-09 13:46:37 -04:00
Isaac Mann
aedea54624
chore(nx-dev): check for broken anchor links (#23580)
Checks for broken anchor links, except for links that go to `/nx-api` or
`/blog`
Fixes existing broken anchor links
2024-05-21 09:31:37 -04:00
Leosvel Pérez Espinosa
5fea49a980
fix(vite): generate vitest cache dir scoped to each project root and normalize vite cache dir (#23330)
- Update Vitest `cache.dir` to be scoped to each project root to avoid
collisions (same as what's already done for Vite)
- Normalize Vite `cacheDir` to avoid trailing `/.` paths for root
projects
- Fix Remix & Storybook Vite `cacheDir` generation 

<!-- 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` -->

## 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 #21775
2024-05-13 14:14:43 -04: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
02075d5aed
docs(misc): remove some wrong references to the deprecated cacheableOperations option (#22483) 2024-03-26 09:40:29 -07:00
Louie Weng
e2692b2f9d
docs(express): add library import to express project example (#22293) 2024-03-14 11:52:13 +01:00
Miroslav Jonaš
ecf70adbce
fix(core): align terminal output padding and remove leading arrow (#21809) 2024-02-20 17:43:46 +01:00
James Henry
30d10d72f7
Revert "feat(core): remove leading arrow from output headlines" (#21800) 2024-02-13 09:40:24 -05:00
Miroslav Jonaš
c2a09c5043
feat(core): remove leading arrow from output headlines (#21359) 2024-02-13 09:11:39 -05:00
Jordan Hall
7eb83940de
docs(core): remove reference to deno (#21631)
Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
2024-02-12 15:57:10 -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
Indermohan Singh
c46c28694f
docs(astro): fix the generate library command (#21249) 2024-01-30 18:26:46 +02:00
Aditya Mathur
dd5f3c8d17
docs(misc): standardize all the install commands with different pm (#21226) 2024-01-19 15:21:42 +01:00
Miroslav Jonaš
d45a13e4fa
feat(core): extend nxCloud prompt to include basic CI workflow options (#21094) 2024-01-18 14:12:31 -05:00
Katerina Skroumpelou
db1dfbd473
docs(vue): remove showcase for vue and nuxt (#21145) 2024-01-16 17:08:43 +02:00
Isaac Mann
595a7743b6
docs(core): rename distributed cache to remote cache (#21061) 2024-01-11 18:14:44 +00:00
Lehoczky Zoltán
00f77ea314
docs(vue): fix typo import -> important (#19444) 2023-12-02 19:28:17 -05:00
Isaac Mann
d1e842f827
feat(nx-dev): rename nx-cloud tab to CI (#20476) 2023-11-30 08:24:24 -05:00
Nicholas Cunningham
02ee93f6ad docs(misc): Update Svelte recipe to use ts-standalone preset 2023-11-28 15:32:00 +01:00
Isaac Mann
457bbcbe57
docs(core): nx cloud features section (#20043) 2023-11-07 08:40:29 -05:00
Isaac Mann
4d1e0bd7e9
docs(core): deprecation for nameAndDirectoryFormat (#19861) 2023-10-31 10:13:17 -04:00
Isaac Mann
2d069796b3
docs(core): link to vue docs (#19797) 2023-10-24 09:36:12 -04:00
Isaac Mann
cc8d8e8f4c
docs(core): deprecate workspaceLayout (#19767) 2023-10-23 11:55:34 -04:00
Wayne Maurer
02675074f6
docs(core): fix solidjs instructions for deleting files (#19087) 2023-10-02 14:58:41 -04:00
Benny Neugebauer
190bc8b707
docs(core): replace Github with GitHub (#19397) 2023-10-02 14:44:31 -04:00
Isaac Mann
d1fe398ea0
docs(core): packages to api (#19281) 2023-09-22 14:24:35 -04:00
Isaac Mann
4f3988cb2c
docs(core): sync nx package versions (#18973) 2023-09-08 08:25:19 -04:00
Isaac Mann
c2c664a055
docs(core): add directory flag to all project generators (#18977) 2023-09-07 09:36:25 -04:00
Josh Wiegand
712bcb2256
docs(core): update svelte workspace setup (#18939)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2023-09-06 17:06:59 -04:00
Isaac Mann
61d9022ba0
docs(core): small fixes (#18868) 2023-08-29 09:04:58 -04:00
Juri
dd377d4597 docs(core): restructure & update intro page
Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
2023-08-29 08:59:26 +02:00
Isaac Mann
960d80be93 docs(core): fastify video 2023-08-28 15:41:28 +02:00
Isaac Mann
b52e844263 docs(core): add video to deno recipe 2023-08-28 15:30:08 +02:00
Isaac Mann
23430532bf docs(core): add dotnet recipe 2023-08-28 12:40:48 +02:00
Isaac Mann
c605c08dcf docs(core): fixes 2023-08-28 12:39:31 +02:00
Isaac Mann
8633e03b74 docs(core): add express recipe 2023-08-28 12:39:31 +02:00
Isaac Mann
20a78ed066
docs(core): add deno recipe (#18843) 2023-08-27 22:09:12 -04:00
Isaac Mann
e242655b46
docs(core): add fastify recipe (#18841) 2023-08-27 22:08:53 -04:00
Nicholas Cunningham
2180268d9d
docs(core): Add svelte docs recipe (#18590) 2023-08-17 11:30:10 +02:00
Caleb Ukle
baabbfda91
docs(core): add Nuxt recipe (#18549) 2023-08-16 16:53:16 +02:00
Colum Ferry
90f67a5565
docs(core): add rust recipe (#18633) 2023-08-16 13:44:57 +01:00
Nicholas Cunningham
721e4dfc61
docs(core): Update vue recipe to include a library (#18575) 2023-08-10 12:41:40 -06:00
Nicholas Cunningham
d0f64cd892
docs(core): Add vue documentation for nx-recipe (#18556) 2023-08-10 14:20:05 +02:00
Caleb Ukle
9fdf14b89c
docs(core): add astro recipe (#18277) 2023-08-02 16:09:34 -05:00