703 Commits

Author SHA1 Message Date
James Henry
472459d9f5
chore(repo): allow e2e workflows to publish relative versions (#26609) 2024-06-21 00:11:35 +04:00
James Henry
42749b8225
chore(repo): refactor publish.yml for PR releases (#26550)
Redo of #26509, with more guards for unexpected missing/relative values
within full releases in GitHub Actions.

---

Refactors our publish workflow to support PR releases, in addition to
our previous triggers.

**Tests:**

---

- Example of failure on non-PR release (comment skipped):
https://github.com/nrwl/nx/actions/runs/9480869812

---

- Example of failure on PR release (comment created on PR):
  - https://github.com/nrwl/nx/actions/runs/9480852880
  - https://github.com/nrwl/nx/pull/26515#issuecomment-2162646682

---

- Example of dry-run of full release (`workflow_dispatch` with no PR
number provided): https://github.com/nrwl/nx/actions/runs/9497871483

---

- Real PR release created here:

| Release details | 📑 |
  | ------------- | ------------- |
| **Published version** |
[0.0.0-pr-26515-856ef7f](https://www.npmjs.com/package/nx/v/0.0.0-pr-26515-856ef7f)
|
  | **Triggered by** | @JamesHenry |
| **Branch** |
[JamesHenry-patch-1](https://github.com/nrwl/nx/tree/JamesHenry-patch-1)
|
| **Commit** |
[856ef7f](856ef7f353)
|
| **Workflow run** |
[9497298216](https://github.com/nrwl/nx/actions/runs/9497298216) |

---------

Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
2024-06-14 07:07:06 -04:00
Jason Jean
73c8c3343d
Revert publish (#26544)
<!-- 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 -->

The below commit caused the publish pipeline to publish a `minor`
version when it should have been a `next` version.

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

This reverts commit
3750366ebc.

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

Fixes #
2024-06-13 14:27:36 -04:00
James Henry
3750366ebc
chore(repo): refactor publish.yml for PR releases (#26509) 2024-06-13 09:28:43 -04:00
Isaac Mann
508fd862c6
chore(nx-dev): skip website publish for older minor versions (#26272)
Update the website publish flow to not publish if the current minor is
not the latest version.
Moves the logic into a node script
2024-06-12 15:14:17 -04:00
Craigory Coppola
a6cddba9d4
chore(repo): fix formatting in commitizen.js (#26364)
<!-- 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-06-04 15:54:22 -04:00
Austin Fahsl
b2855fd6e1
feat(release): add support for version plans (#23190) 2024-06-04 16:44:28 +04:00
Craigory Coppola
6f223005b8
fix(misc): ensure plugins are not creating workspace context while creating nodes (#26253) 2024-05-31 18:54:56 -04:00
Craigory Coppola
a308e1dc6b
fix(core): prevent graph output from being truncated (#23446)
<!-- 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
--graph stdout and --file stdout aren't documented. When printing graph
to stdout, its possible for some output to get missed.

## Expected Behavior
Existing flags are documented, and `--print` is more discoverable. We
await stdout finishing before exiting the program.

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

Fixes #18689
2024-05-31 18:05:26 -04:00
Jordan Hall
80702b59c7
feat(core): add bun package manager (#22602)
Bun uses yarn lock for it's binary file. Running the binary will produce
the content of a yarn lock file (v1)

Other option is to use the -y command on add and install. This will
create a yarn lock file and then createLockFile can just modify the
yarn.lock file instead?

This is the PR made from #19113 and pushed due to #22402 being closed.

PS Bun feels more stable since the PR was first created!

This PR will resolve #22283 and start of #21075
2024-05-22 16:51:21 -04:00
James Henry
b641852d9c
chore(repo): teardown local registry in case of setup error (#23470) 2024-05-21 11:05:14 -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
James Henry
24060dc650
chore(repo): prepopulate verdaccio storage for e2e-ci (#23429) 2024-05-16 10:06:25 -04:00
Isaac Mann
6c0ba0ee3a
docs(core): local links should not use nx.dev (#23380)
Ensure that local links start with `/` instead of `https://nx.dev/`
2024-05-14 14:19:49 -04:00
Isaac Mann
0e199cdf11
feat(nx-dev): check for missing images (#23248)
Checks for broken image links
2024-05-09 15:59:47 -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
Jack Hsu
bc43243498
chore(repo): add eslint and jest plugins to use inferred targets (#22946) 2024-04-23 21:52:13 -04:00
Emily Xiong
6d83dd7ff0
feat(gradle): add gradle init generator (#22245) 2024-03-19 14:38:15 -04:00
James Henry
1d6e0f8c67
chore(repo): only valid latest publish when not local (#22131) 2024-03-04 17:23:00 +04:00
James Henry
80ae3971ff
chore(repo): check valid release authors for latest (#22127) 2024-03-04 07:20:21 -05:00
Austin Fahsl
888110a20b
chore(repo): exclude master commits from commit linting (#22029) 2024-02-27 19:30:52 -07:00
Craigory Coppola
322ecf7a08
fix(core): nx build --graph file.json should work in subdirectories (#19858) 2024-02-01 19:41:06 -05:00
Austin Fahsl
69636ad7ba
fix(release): do not restart the daemon when skipLockFileUpdate is set (#21389) 2024-01-29 23:07:16 +04:00
Miroslav Jonaš
17b09b9ba1
fix(repo): fix version calculation on nx-release (#21382) 2024-01-29 16:48:26 +04:00
James Henry
c577f48cea
fix(release): only add nx-release-publish to public packages (#21338) 2024-01-26 11:56:54 -05:00
Miroslav Jonaš
fc8cca44c5
chore(repo): print version at the end of nx-release script (#21346) 2024-01-26 17:03:38 +04:00
Miroslav Jonaš
20dcc97099
fix(nx-dev): standardize nx cloud naming (#21059) 2024-01-10 13:09:42 +01:00
Emily Xiong
40cbae2fae
docs(core): add exec doc (#21046)
Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
2024-01-09 10:34:04 -05:00
Austin Fahsl
82fb2da5d2
fix(release): add overall nx release command (#20535)
Co-authored-by: James Henry <james@henry.sc>
Co-authored-by: Isaac Mann <isaacplmann@gmail.com>
2023-12-20 08:42:20 -05:00
Isaac Mann
998d8d8e3f
fix(nx-dev): fix plugin stats (#20741) 2023-12-14 10:15:07 -05:00
Colum Ferry
3b5bf6d1d1
feat(remix): add remix (#20641) 2023-12-13 11:07:08 -05:00
Leosvel Pérez Espinosa
b7a237b9d3
fix(angular): add missing package update for @angular/pwa (#20690) 2023-12-11 14:23:22 +01:00
Benjamin Cabanes
5a305d41de
feat(nx-dev): add homepage updates (#20592)
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2023-12-08 14:40:42 -05:00
Isaac Mann
cf976ce596
feat(nx-dev): allow custom media images (#20561) 2023-12-07 07:37:01 -08:00
Jason Jean
cfd8c898eb
fix(repo): fix release script to look for new node auth token (#20590) 2023-12-05 23:59:34 +04:00
Austin Fahsl
38954c4094
chore(repo): add 'release' commit scope (#20537) 2023-12-05 12:00:02 -05:00
MaxKless
75cc561e9d
feat(graph): add project details view (#20466)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-12-04 09:53:19 -05:00
James Henry
1b4b463b21
chore(core): add nightly canary release (#20540) 2023-12-02 00:39:04 +04:00
Leosvel Pérez Espinosa
68d0f792e8
chore(angular): improve angular updater script helper (#20532) 2023-12-01 17:30:08 +01:00
Isaac Mann
d1e842f827
feat(nx-dev): rename nx-cloud tab to CI (#20476) 2023-11-30 08:24:24 -05:00
Jason Jean
31df83bb2f
fix(repo): use a platform agnostic copy script (#20364) 2023-11-22 14:02:55 -05:00
Jason Jean
b4faf2dd3b
fix(core): fix changelog configuration (#20138) 2023-11-08 17:52:17 -05:00
Colum Ferry
3cd55f6fec
chore(repo): add module-federation scope and codeowners (#19656) 2023-10-31 10:20:39 -04:00
Jason Jean
e20860d0ca
fix(misc): publish legacy readmes (#19762) 2023-10-20 13:06:37 -04:00
Katerina Skroumpelou
406018ca2d
docs(vue): all of vue docs (#19600) 2023-10-20 19:28:47 +03:00
Miroslav Jonaš
b30f3c59cc
docs(linter): update docs for eslint package (#19649) 2023-10-19 18:07:12 -04:00
Jonathan Cammisuli
93e1e1b67e
chore(repo): update post install script to manually check for rust version less than 1.70 (#19739) 2023-10-19 10:01:56 -04:00
MaxKless
c727a22530
feat(graph): display expanded task inputs (#19597) 2023-10-16 16:01:34 -04:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -04:00
Isaac Mann
0e1962237b
fix(nx-dev): fix internal link checker (#19606) 2023-10-13 15:47:33 -04:00