118 Commits

Author SHA1 Message Date
Jack Hsu
c7878533ed
docs(misc): disable prefetch on page load for links (#26837)
This PR changes `<Link>` to use `prefetch={false}` in the following
components:

1. Header
2. Sidebar
3. Docs header
4. Markdown content

This means that prefetch happens on hover of the link rather than page
load, and will reduce the amount of edge requests made from the app.

## 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-07-05 09:29:08 -04:00
Caleb Ukle
7699b33ea1
fix(nx-dev): allow linking to headers that are code wrapped (#26608)
before if a header that was using `code` in the title (i.e. launch
template) the header should so the link icon but would not link anywhere
because the rendered id tag would be an empty string

![empty id tag for
headers](https://github.com/nrwl/nx/assets/23272162/6ee2aa5f-7b1f-4a98-ad11-2e088dd5c36d)

after the id tag is correctly linked by checking the rendering children
contains a `code` tag and pulls the code children out.

added benefit includes the code headers being linked in the side nav
correct too

![side by side diff with
changes](https://github.com/nrwl/nx/assets/23272162/c4f7a166-44fa-4541-ae72-d095962bee5b)



Example showing working from preview:
https://nx-dev-git-docs-allow-linking-code-headers-nrwl.vercel.app/ci/reference/launch-templates#launchtemplatestemplatenameinitsteps
2024-06-20 13:00:26 -05:00
Nicholas Cunningham
b9b89b2575
feat(nx-dev): Use app router for blogs (#23127)
The PR activates the app router for the Blog page at /blog. 

Its purpose is to test Next.js changes within nx-dev, allowing us to
identify and address any issues that users might encounter.
Integrating these changes into our environment, we can gain firsthand
experience and insights into potential problems, ensuring that the
updates are robust and reliable.

This approach helps us improve the overall quality and user experience
of our platform by proactively identifying and resolving any issues that
could affect consumers.
2024-06-11 09:28:29 -04:00
Jason Jean
a7dc8f6d7f
chore(repo): fix file formatting (#26463)
<!-- 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 -->

Files are unformatted.

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

Files are formatted.

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

Fixes #
2024-06-07 16:10:22 -04:00
Miroslav Jonaš
61e4ab2eef
fix(core): use zkochan/js-yaml directly to avoid false audit errors (#25999)
Some of the audit tools have been falsely flagging the alias to
`@zkochan/js-yaml` as `js-yaml@0.0.7` (which has security holes) so we
decided to use the package explicitly.

## 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-05-24 12:43:18 +02:00
Emily Xiong
fd5ea92062
fix(nx-dev): fix project details in nx dev (#23175)
<!-- 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
-->
fix project details in nx dev
add metadata to nx dev's project details json

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

Fixes #
2024-05-03 20:07:32 -04:00
Emily Xiong
f73d6530a1
fix(graph): add grayscale to technology icon (#23107)
<!-- 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 #
2024-05-03 12:08:36 -04:00
Emily Xiong
bacdc799b4
fix(graph): remove redux and useState and useContext hook (#23085)
<!-- 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 #
2024-05-02 13:38:23 -04:00
MaxKless
c8d44b0355
feat(graph): show partial project graph & errors in graph app (#22838) 2024-04-30 11:35:07 -04:00
Jack Hsu
458f2cc1e8
feat(nx-dev): add nx blog (#22828)
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
Co-authored-by: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
2024-04-29 17:04:37 -04:00
Emily Xiong
aa82f031c3
feat(graph): add target groups and technology icon (#22839) 2024-04-29 13:52:07 -04:00
Jack Hsu
bc43243498
chore(repo): add eslint and jest plugins to use inferred targets (#22946) 2024-04-23 21:52:13 -04:00
Rares Matei
55a933855c
docs(nx-cloud): update release notes (#22915) 2024-04-22 17:12:36 +01:00
Isaac Mann
211f3eda0e
feat(nx-dev): remember selected tabs (#22699) 2024-04-05 13:47:22 -04:00
Nicholas Cunningham
c7719c01f2
docs(nx-dev): Refresh /showcase/example-repos (#22320) 2024-03-15 09:52:37 -06:00
Nicholas Cunningham
73a8091b93
docs(nx-dev): Update internal links to use Link tag (#22287) 2024-03-13 10:34:55 +01:00
Isaac Mann
650dcf31af
docs(core): npm workspace tutorial (#22018) 2024-03-08 15:01:49 -05:00
Jack Hsu
8030bd7291
docs(core): remove @nrwl/ rescope message from codeblocks (#22184) 2024-03-06 15:18:19 -05:00
Isaac Mann
bf1dcdc986
docs(core): nx cloud video (#22103) 2024-03-05 20:25:07 +01: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
Jack Hsu
7b680ec68c
feat(docs): add {% project-details %} as a tag in markdown docs (#21288)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
2024-01-24 12:53:03 -05:00
Jack Hsu
8ccf327b1a
feat(graph): decouple graph client from nx.dev <Fence> component (#21186) 2024-01-17 21:00:36 -05:00
MaxKless
e38b0bb6f4
feat(graph): rework pdv target section & remove unused code (#21159) 2024-01-16 20:12:34 +00:00
Miroslav Jonaš
42aefd87d0
fix(nx-dev): increase shorts video size to show volume control (#21142) 2024-01-15 13:08:40 -08:00
Isaac Mann
54bae6588a
feat(nx-dev): new year challenge (#20639) 2024-01-05 16:25:07 +01:00
Isaac Mann
cb86dcbaeb
docs(core): fix columns (#20888) 2023-12-21 14:18:28 +00:00
Isaac Mann
ba35bf19c3
fix(nx-dev): dynamic classes not allowed (#20800) 2023-12-15 15:07:43 -05:00
Isaac Mann
7261194da0
docs(core): reduce waste in CI (#20429) 2023-11-29 15:55:11 -05:00
Juri Strumpflohner
27aa505193
feat(nx-dev): allow ranges in fences highlighting (#20202) 2023-11-13 11:42:42 -05:00
Isaac Mann
b9e02d152b feat(nx-dev): call to action button 2023-11-09 18:03:30 +01:00
Benjamin Cabanes
f85acdd5ff
chore(nx-dev): update angular logo (#20097) 2023-11-07 14:07:53 -05:00
Isaac Mann
457bbcbe57
docs(core): nx cloud features section (#20043) 2023-11-07 08:40:29 -05:00
Benjamin Cabanes
b8cd45eb67 feat(nx-dev): add short-embed UI interactions and styles
The short-embed tag and corresponding CSS have been refactored for better user experience. Styling changes have been made within the `tsx` file to provide a more user-friendly interface.
2023-11-06 14:31:39 +01:00
Zachary DeRose
92ade5f9a1
docs(misc): add picture-in-picture shorts on select pages (#19974) 2023-11-03 13:29:29 -04:00
MaxKless
12b8d5ea86
cleanup(misc): make nx console links on various starter pages consistent (#19867) 2023-10-26 14:47:09 +02:00
Isaac Mann
de606782eb
docs(core): ci with Nx intro and restructure (#19564) 2023-10-25 08:41:22 -04:00
Juri
68064b53b0 docs(core): improve core features and concepts 2023-10-19 23:17:27 +02:00
Isaac Mann
5fd0097192
feat(nx-dev): statically highlight lines in code (#19703) 2023-10-18 11:44:13 -04:00
Isaac Mann
479d9a5c4a
fix(nx-dev): video cards formatting (#19449) 2023-10-06 08:21:54 -04:00
Jack Hsu
9460b86787
feat(nx-dev): remove emojis from heading ID (#19194) 2023-09-15 13:40:42 -04:00
Isaac Mann
885765ef96
docs(core): fix icons (#18909) 2023-08-30 13:16:15 +00:00
Isaac Mann
61d9022ba0
docs(core): small fixes (#18868) 2023-08-29 09:04:58 -04:00
Juri Strumpflohner
00f68a9717
fix(nx-dev): fix intro page icons on safari (#18877) 2023-08-29 11:03:29 +02: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
67d9e7da0e docs(core): fix shell component 2023-08-25 14:32:13 +02:00
Isaac Mann
77bc1e8778
feat(nx-dev): highlight lines in code samples (#18690) 2023-08-18 10:59:18 -04:00
Isaac Mann
3313c7619a
docs(core): add stack example recipes (#18118) 2023-08-01 10:18:51 -04:00
Juri
9610fdd90c feat(nx-dev): update terminal markdown embeds 2023-07-31 21:49:46 +02:00
Juri
05cbce0de8 docs(nx-dev): add video and terminal output cmps 2023-07-31 21:49:46 +02:00