Skip to content

Commit 1b0992d

Browse files
author
Ron Sherfey
authored
Merge branch 'lerna:main' into main
2 parents 8b726bf + 52c3bcb commit 1b0992d

File tree

164 files changed

+6302
-4327
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+6302
-4327
lines changed

.eslintrc.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
],
2727
"checkDynamicDependenciesExceptions": [".*"]
2828
}
29+
],
30+
"no-restricted-imports": [
31+
"error",
32+
{
33+
"name": "npmlog",
34+
"message": "Please use the inlined core utility instead."
35+
}
2936
]
3037
}
3138
},
@@ -34,7 +41,9 @@
3441
"extends": ["plugin:@nx/typescript"],
3542
"rules": {
3643
"@typescript-eslint/no-empty-function": "off",
37-
"@typescript-eslint/no-explicit-any": "off"
44+
"@typescript-eslint/no-explicit-any": "off",
45+
"@typescript-eslint/no-extra-semi": "error",
46+
"no-extra-semi": "off"
3847
}
3948
},
4049
{
@@ -77,7 +86,9 @@
7786
"strict": "off",
7887
"default-param-last": "warn",
7988
"max-len": "off",
80-
"arrow-body-style": "off"
89+
"arrow-body-style": "off",
90+
"@typescript-eslint/no-extra-semi": "error",
91+
"no-extra-semi": "off"
8192
}
8293
},
8394
{

.github/actions/install-node-and-dependencies/action.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
using: "composite"
1414
steps:
1515
- name: Install node and npm based on the given values (or the volta config in package.json)
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
1818
node-version-file: ${{ inputs.node-version == '' && 'package.json' || '' }}
1919
node-version: ${{ inputs.node-version }}
@@ -28,21 +28,38 @@ runs:
2828
- name: Enable corepack
2929
run: corepack enable
3030
shell: bash
31+
env:
32+
COREPACK_ENABLE_AUTO_PIN: "0"
33+
COREPACK_ENABLE_STRICT: "0"
3134

3235
- name: Install pnpm v8
3336
run: corepack install -g pnpm@8
3437
shell: bash
3538
env:
3639
COREPACK_ENABLE_AUTO_PIN: "0"
37-
38-
- name: Print installed pnpm version
39-
run: pnpm --version
40-
shell: bash
40+
COREPACK_ENABLE_STRICT: "0"
4141

4242
- name: Use Yarn classic
4343
run: yarn set version classic
4444
shell: bash
45+
env:
46+
COREPACK_ENABLE_AUTO_PIN: "0"
47+
COREPACK_ENABLE_STRICT: "0"
48+
49+
- name: Print installed node, npm, yarn and pnpm versions
50+
run: |
51+
node --version
52+
npm --version
53+
yarn --version
54+
pnpm --version
55+
shell: bash
56+
env:
57+
COREPACK_ENABLE_AUTO_PIN: "0"
58+
COREPACK_ENABLE_STRICT: "0"
4559

4660
- name: Install dependencies
4761
run: ${{ inputs.install-command }}
4862
shell: bash
63+
env:
64+
COREPACK_ENABLE_AUTO_PIN: "0"
65+
COREPACK_ENABLE_STRICT: "0"

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ concurrency:
1414

1515
env:
1616
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
17-
NX_CLOUD_DISTRIBUTED_EXECUTION: true
1817
NX_VERBOSE_LOGGING: false
1918

2019
jobs:

.github/workflows/other-node-versions.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ concurrency:
1212

1313
env:
1414
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
15-
NX_CLOUD_DISTRIBUTED_EXECUTION: true
1615
NX_VERBOSE_LOGGING: false
16+
COREPACK_ENABLE_AUTO_PIN: "0"
17+
COREPACK_ENABLE_STRICT: "0"
1718

1819
jobs:
1920
set-node-versions:
@@ -46,8 +47,6 @@ jobs:
4647
with:
4748
fetch-depth: 0
4849

49-
- uses: nrwl/nx-set-shas@v4
50-
5150
- name: Install node v${{ matrix.node }} and dependencies
5251
uses: ./.github/actions/install-node-and-dependencies
5352
with:
@@ -65,23 +64,15 @@ jobs:
6564
- name: Install pnpm v8
6665
run: corepack install -g pnpm@8
6766
shell: bash
68-
env:
69-
COREPACK_ENABLE_AUTO_PIN: "0"
7067

71-
- name: Print installed pnpm version
72-
run: pnpm --version
68+
- name: Print installed node, npm, yarn and pnpm versions
69+
run: |
70+
node --version
71+
npm --version
72+
yarn --version
73+
pnpm --version
7374
shell: bash
7475

75-
- name: Run parallel distributed builds and tests on each node version
76-
uses: jameshenry/parallel-bash-commands@v1
77-
with:
78-
cmd1: npx nx run-many -t build --parallel=3
79-
cmd2: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2
80-
cmd3: npx nx run integration:integration --ci --maxWorkers=2
81-
82-
# e2e tests for everything except the primary task runner
83-
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --t e2e --parallel=1
84-
8576
- name: Configure git metadata
8677
run: |
8778
git config --global user.email test@example.com
@@ -116,6 +107,16 @@ jobs:
116107
git config tag.gpgsign true
117108
git config --global user.signingkey $GPG_KEY_ID
118109
110+
- name: Run parallel distributed builds and tests on each node version
111+
uses: jameshenry/parallel-bash-commands@v1
112+
with:
113+
cmd1: npx nx run-many -t build --parallel=3
114+
cmd2: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2
115+
cmd3: npx nx run integration:integration --ci --maxWorkers=2
116+
117+
# e2e tests for everything except the primary task runner
118+
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --t e2e --parallel=1
119+
119120
- name: Run e2e tests for task-runner
120121
run: |
121122
# We do not want the automatic Github Actions grouping to be applied to the e2e tests, or the snapshots won't match local

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ website/build
3939
website/.docusaurus
4040
website/.cache-loader
4141

42-
.nx/cache
42+
.nx/cache
43+
.nx/workspace-data

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
dist
66
tmp
7-
/.nx/cache
7+
/.nx/cache
8+
/.nx/workspace-data

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [8.1.5](https://github.com/lerna/lerna/compare/v8.1.4...v8.1.5) (2024-06-24)
7+
8+
### Bug Fixes
9+
10+
- update npm utility dependencies and related packages ([#4033](https://github.com/lerna/lerna/issues/4033)) ([bd1c2d8](https://github.com/lerna/lerna/commit/bd1c2d8a267af47b409e2933fde2186dd73f4772))
11+
12+
## [8.1.4](https://github.com/lerna/lerna/compare/v8.1.3...v8.1.4) (2024-06-09)
13+
14+
### Bug Fixes
15+
16+
- specify 'dependencies: true' when prepping task runner options ([#4017](https://github.com/lerna/lerna/issues/4017)) ([244462d](https://github.com/lerna/lerna/commit/244462d59008f627ca7836c490a97951a9e5dd26))
17+
618
## [8.1.3](https://github.com/lerna/lerna/compare/v8.1.2...v8.1.3) (2024-05-13)
719

820
### Bug Fixes

0 commit comments

Comments
 (0)