62 Commits

Author SHA1 Message Date
Juri
d428eec060 feat(nx-dev): update workspace conformance rule to check md files in general 2025-03-04 16:58:14 +01:00
Jack Hsu
e8647df08a
fix(storybook): fix package.json updates so @storybook packages are in sync during migration (#30191)
This PR is the same as https://github.com/nrwl/nx/pull/30187 but for
`@storybook` packages. We want to make sure that workspaces that have
other `@storybook/*` packages installed have their versions updated
along with the packages we use. Otherwise version mismatches can lead to
errors due to changing APIs.

This PR also adds a conformance rule that prevents mistakes from going
out in future migrations.
2025-02-27 16:50:32 -05:00
Juri
3d0b15ef10 feat(nx-dev): conformance rule for blog post description 2025-02-04 20:26:08 +01:00
James Henry
dfd5014792
chore(repo): add conformance rule for our package.json files (#29078) 2024-12-19 16:17:00 +04:00
Jack Hsu
018543c785
cleanup(misc): remove unused migrations (#28591)
This PR removes migrations that are unused in our packages.

Other changes:

- Update the `remove-migrations` generator to remove all files inside
the migration directory, rather than just the implementation, spec file,
and `__snapshots__` directory. There were some helpers that were not
removed due to this problem.
- Add a check to the `assertValidMigrationPaths` test util (used in
`migrations.spec.ts` test files) to ensure that all paths inside
`./src/migrations` are included in `migrations.json` file. There were a
few migrations missing in the `@nx/expo` package, and we never run them
nor cleaned them up.


**Note:** This has no effect on users and is purely a clean-up.

## 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-10-23 14:29:56 -04:00
Nicholas Cunningham
bc8b71ac6c
fix(core): Remove nameAndDirectoryFormat option from generators (#28110)
<!-- 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 -->

Currently, when we use generator's via the CLI passing the `name` arg
has more than one responsibility:
1.  it can be used as a path
2. it can be used as the generator's name (e.g. Component name)

This is not intuitive as if we use via Nx Console because it creates
some ambiguity around the `--name` property which is normally described
as only 2.

![image](https://github.com/user-attachments/assets/b05fa2a7-36e7-44a1-af82-6f55f53d6c43)

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

What is expected is that the `name` property should only have the
responsibility of determining the name of the generated module
(Component, Directive etc...).

The new property `path` replaces the `directory` property but fulfils
the same purpose as determining where the module should be created.

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

Fixes #

---------

Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2024-10-01 08:26:27 -04:00
James Henry
2e33230753
chore(misc): add custom lint rule for ensuring pnpm-lock.yaml version (#28010) 2024-09-20 23:17:05 +04:00
James Henry
68eeb2eeed
feat(linter): create new workspaces with ESLint v9 and typescript-eslint v8 (#27404)
Closes #27451

---------

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2024-09-12 16:02:27 -04:00
James Henry
ddec7ad4b0
chore(repo): add valid-command-object lint rule (#27777) 2024-09-05 13:14:04 +04:00
mathis
8295275dc6
chore(core): update axios to ^1.7.4 (#27420)
Closes CVE-2024-39338



## Related Issue(s)

Fixes #27419
2024-08-16 15:06:20 -04:00
Katerina Skroumpelou
720681fcba
fix(nx-dev): clean up heading text (#27205)
Fixing 3 issues when storing the page sections:

1. The heading of a node can be like this: `title: 'Angular Monorepo
Tutorial - Part 1: Code Generation' description: In this tutorial you'll
create a frontend-focused workspace with Nx`. We only want to keep the
`title` part.
2. Some headings have `{% highlightColor="green" %}`. We want to remove
that from the heading of the page section (and the link text)
3. There's an [error in `tags.json` where the path is
incorrect](https://github.com/nrwl/nx/blob/master/docs/generated/manifests/tags.json#L126).
We want to fix that on the fly, so that the embeddings script finds the
correct pages.
2024-08-06 09:13:03 -04:00
Jason Jean
064eb714cf
chore(repo): update nx to 19.5.0-beta.5 (#26925)
<!-- 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 -->

This repo uses Nx `19.4.0-rc.1`

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

This repo uses Nx `19.5.0-beta.5`

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

Fixes #
2024-07-17 11:12:21 -04:00
Jason Jean
7495f0664b
chore(repo): add sync generator for e2e configs (#26427) 2024-06-06 16:51:18 -04:00
James Henry
8cfc0a0c08
fix(linter): support eslint v9 (#24632) 2024-05-22 19:27:06 +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
Jack Hsu
e617e549a4
chore(repo): remove @side/jest-runtime as Node v20.10 patched the memory leak (#22886) 2024-04-18 22:11:36 -04:00
beeman
a9974d3f25
docs(misc): change http:// to https:// (#19534) 2024-01-30 11:33:13 -05:00
James Henry
b60ae51100
chore(repo): update to nx 17.3.0-beta.2 (#21090) 2024-01-11 15:23:44 -05:00
Jason Jean
d27158ca66
chore(repo): remove the cpu benchmark from pipelines (#20660) 2023-12-08 13:04:54 -05:00
Katerina Skroumpelou
3befa3a22d
chore(repo): update nx to 17.2.0-beta.14 (#20601) 2023-12-06 13:10:44 -05:00
Isaac Mann
d1e842f827
feat(nx-dev): rename nx-cloud tab to CI (#20476) 2023-11-30 08:24:24 -05:00
Jason Jean
eaa1a4a113
chore(repo): add benchmark to the pipeline (#20418) 2023-11-27 09:39:19 -05:00
Miroslav Jonaš
6e7141b22c
cleanup(repo): simplify lint pattern configuration (#20184) 2023-11-24 09:35:07 +01:00
Craigory Coppola
30d94f76ee
cleanup(core): remove async flag from signature of buildProjectsConfigurationsFromProjectPathsAndPlugins (#20228) 2023-11-17 15:31:03 -05:00
Katerina Skroumpelou
5d389dd62d
fix(core): await for createNodesAsync (#20232) 2023-11-14 08:13:38 -05:00
Katerina Skroumpelou
dc51a90745
fix(core): create nodes plugin fixes (#20134) 2023-11-09 11:49:20 +02: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
Jason Jean
c7d0d21761
chore(repo): update nx to 17.1.0-beta.4 (#20124) 2023-11-08 13:01:06 -05:00
Leosvel Pérez Espinosa
25d6ec3a92
feat(angular): support angular v17 (#19689) 2023-11-07 15:45:42 -05:00
Katerina Skroumpelou
7416b9c4a7
feat(repo): add exports to package.json of package (#20090) 2023-11-07 10:18:02 -05:00
Jason Jean
32ff9c80b1
fix(linter): fix update to using module node16 (#20004) 2023-11-02 14:52:44 -04:00
Miroslav Jonaš
79c9233553
feat(linter): update typescript-eslint to v6 (#19548)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2023-11-02 10:09:40 +01:00
Jason Jean
bdde0ddc98
chore(devkit): add util for migrating to a plugin (#19942) 2023-10-31 14:21:17 -04:00
Jason Jean
44f2f0ce2c
chore(devkit): add util for getting named-inputs (#19924) 2023-10-30 10:55:25 -04:00
Jason Jean
cd66a55fde
chore(repo): update nx to 17.0.0-rc.0 (#19691) 2023-10-18 12:08:25 -04:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -04:00
Jason Jean
47e9fc8ed6
feat(misc): remove migrations for v14 and under (#19552) 2023-10-11 10:46:17 -04:00
Isaac Mann
e29e9f90b6
docs(core): fix links (#19339) 2023-09-30 17:00:09 +00:00
Isaac Mann
d1fe398ea0
docs(core): packages to api (#19281) 2023-09-22 14:24:35 -04:00
Katerina Skroumpelou
fb1c39f3b6
feat(nx-dev): add embeddings for community plugins (#19168) 2023-09-14 13:36:42 -04:00
Katerina Skroumpelou
1931390bd0
feat(nx-dev): improve link text for ai docs (#18943) 2023-09-01 09:50:50 +03:00
Katerina Skroumpelou
1abe35c52b
feat(nx-dev): move all the querying logic to edge function (#18834) 2023-08-31 09:49:33 -04:00
Isaac Mann
4579b68485 docs(core): move package recipes 2023-08-25 14:32:13 +02:00
Emily Xiong
6a09105f74
feat(core): replace dotenv with dotenv-expand (#18622)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-08-23 16:09:32 -04:00
Nicholas Cunningham
476c133a24
docs(core): Create embeddings fix null url paths (#18716) 2023-08-18 16:45:14 -04:00
Katerina Skroumpelou
c85a4d9122
feat(nx-dev): create a more chat-like interface for ai docs (#18530) 2023-08-09 19:26:45 +03:00
Katerina Skroumpelou
8be2a268b7
feat(misc): add memory to chat completion (#18463) 2023-08-08 10:18:26 -04:00
Katerina Skroumpelou
e9d50af945
feat(misc): embeddings script and list sources in ai response (#18455) 2023-08-03 18:51:31 +03:00
Jason Jean
ff8074bf75
chore(repo): update to nx 16.0.0-beta.5 (#16347) 2023-04-21 10:17:56 -04:00
Jason Jean
92610fe4b6
chore(repo): update nx to 15.8.0-beta.7 (#15293) 2023-02-27 17:24:06 -05:00