42 Commits

Author SHA1 Message Date
James Henry
ee097a8e10
feat(release)!: useLegacyVersioning is false by default, migrate config (#30838)
This PR updates `nx release` to use the revamped versioning
implementation by default. It also updates and adds relevant
documentation, and provides an automated migration for the new
configuration structure.

For anyone exclusively versioning TS/JS packages, there should be no
real difference to your experience (although a number of bugs have been
fixed and new features around updating multiple `package.json` files at
once are now available to you with this change).

For the lifecycle of Nx v21, `release.version.useLegacyVersioning` will
remain as a option that can be set to `true` to revert to the old
behavior and configuration structure.

NOTE: This should only be a temporary solution, for example if one of
the plugins you use does provide a `VersionActions` based versioning
implementation yet. The option and legacy implementation will be removed
entirely in Nx v22 (in ~6 months).

BREAKING CHANGE:

**⚠️ For any early adopters of `VersionActions` in Nx 20.8 when it was
opt-in, there are breaking changes to the abstract class here as well.**

`manifestRootsToUpdate` has gone from `string[]` to `manifestsToUpdate:
{ manifestPath: string; preserveLocalDependencyProtocols: boolean; }[]`
to support controlling the local dependency updates per manifest in
order to support advanced source vs dist scenarios, and correspondingly
`isLocalDependencyProtocol` has been removed from the abstract class and
the method will no longer be called from the core logic. It should be
thought of as an implementation detail of `updateProjectDependencies`
instead.
2025-04-24 22:09:38 -04:00
Jason Jean
b56df7ba7a
chore(repo): update nx to 20.8.0-beta.2 (#30694)
<!-- 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 20.7.0-beta.3

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

This repo uses Nx 20.8.0-beta.2

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

Fixes #
2025-04-11 19:18:50 -04:00
Jack Hsu
973244970f
chore(repo): use @nx/webpack/plugin to infer graph client targets (#22955) 2024-04-24 09:45:35 -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
Jason Jean
ec59d2ca98
chore(repo): update nx to 18.1.0-beta.5 (#22191) 2024-03-07 09:40:14 -05:00
Jason Jean
9d5bdbe884
chore(graph): disable failing e2e graph test (#22186) 2024-03-06 14:54:45 -05:00
Colum Ferry
0f691d5ff0
chore(graph): cleanup missed console.log from debug (#21160) 2024-01-16 13:21:30 +01:00
Rares Matei
9747eead55
chore(repo): revert env var propagation (#21131)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2024-01-15 09:23:35 -05:00
Miroslav Jonaš
b30f3c59cc
docs(linter): update docs for eslint package (#19649) 2023-10-19 18:07:12 -04:00
MaxKless
c727a22530
feat(graph): display expanded task inputs (#19597) 2023-10-16 16:01:34 -04:00
Jason Jean
222b7720d5
chore(repo): update nx to 16.7.0-beta.4 (#18579) 2023-08-11 13:18:54 -04:00
Jason Jean
c780e07ea5
chore(repo): update nx to 16.4.0-beta.16 (#17739) 2023-06-23 13:20:45 -04:00
Victor Savkin
0848031dd9 feat(core): move task hashing into daemon 2023-05-17 11:37:57 -04:00
Miroslav Jonaš
846320a6b9
chore(repo): enable enforce-module-boundaries on nx repo (#16864) 2023-05-10 11:35:33 -04:00
Leosvel Pérez Espinosa
f45aa076da
feat(angular): support angular v16 (#15592) 2023-05-03 11:02:07 -04: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
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Craigory Coppola
5b74232de0
chore(repo): migrate to 16.0.0-beta.0 (#16234) 2023-04-11 18:07:14 -04:00
Philip Fulcher
cc8907bb13
chore(graph): reducing flakiness of tests (#15680) 2023-03-15 10:36:35 -04:00
Jason Jean
c8be5c1ec2
chore(repo): update nx to 15.5.0-beta.0 (#14322) 2023-01-12 19:02:34 -05:00
Craigory Coppola
7992ec618f
chore(repo): setup negative config for several targets (#14080) 2023-01-04 11:34:50 -05:00
Philip Fulcher
6d1e4a33bd
feat(graph): persist select all tasks to url (#13970) 2022-12-27 15:02:15 -05:00
Philip Fulcher
95fb804171
chore(graph): enforce chrome on e2e tests (#13967) 2022-12-22 10:49:10 +01:00
Philip Fulcher
9163756230
fix(graph): handle special characters in url parameters (#13836)
Co-authored-by: Philip Fulcher <philipfulcher@Philips-MacBook-Air.local>
2022-12-15 09:12:54 +01:00
Philip Fulcher
e5265d6348
cleanup(graph): add e2e tests to externalAPI (#13737)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-12 13:44:48 -07:00
Philip Fulcher
76536fda60
fix(graph): restore behavior of proximity buttons (#13608)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-05 10:09:12 -05:00
Philip Fulcher
f1f7ccc25e
chore(graph): remove route listener and setter machines (#13524) 2022-12-01 00:18:31 +00:00
Philip Fulcher
17514d2366
feat(graph): enable task graph (#13343) 2022-11-23 09:53:55 -05:00
Philip Fulcher
cb2d6b61dd
cleanup(graph): add e2e tests to task graph (#13342) 2022-11-22 20:04:41 -07:00
Philip Fulcher
0d9f228aa1
chore(graph): refactor task selection workflow (#13302) 2022-11-22 15:23:47 -07:00
Philip Fulcher
e42da40438
chore(graph): add group by project option to task graph (#13239) 2022-11-17 15:09:36 -07:00
Philip Fulcher
074a7f9f37
chore(graph): selected task is persisted in url (#13189) 2022-11-15 15:29:18 -07:00
Philip Fulcher
c18ec6ccd6
chore(graph): add tasks to graph (#13133) 2022-11-11 12:52:19 -07:00
Philip Fulcher
2be9a01272
chore(graph): consume task graph data in client (#13092) 2022-11-09 16:58:28 -07:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Philip Fulcher
86b4a51555
chore(graph): add graph generator (#13003) 2022-11-07 20:18:30 +00:00
Philip Fulcher
ed33d17f8f
chore(graph): upgrade to Cypress 10 (#12980) 2022-11-03 20:37:12 +00:00
Philip Fulcher
4ca743ea54
chore(graph): add routing to graph client (#12475) 2022-11-02 13:45:50 -06:00
Alexander Ciesielski
fc6b85d986
feat(graph): toggle visibility of all projects in a folder (#12641)
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2022-11-01 22:32:17 -06:00
Kenneth Tan
5577bfbdfb
feat(graph): add button to toggle graph rankDir under feature flag (#12646)
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2022-11-01 20:49:07 +00:00
Philip Fulcher
4e5656c550
chore(graph): change ports for serving graph configs (#12087) 2022-09-19 13:58:41 -06:00
Philip Fulcher
6c3ef9d417
chore(graph): move dep-graph-client to graph-client (#11792) 2022-09-01 04:20:08 +00:00