Skip to content

Commit b1e3808

Browse files
committed
feat(repo): switch to yarn pnp
1 parent 805d18c commit b1e3808

File tree

7,532 files changed

+281068
-36649
lines changed

Some content is hidden

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

7,532 files changed

+281068
-36649
lines changed

.env

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Nx 18 enables using plugins to infer targets by default
2+
# This is disabled for existing workspaces to maintain compatibility
3+
# For more info, see: https://nx.dev/concepts/inferred-tasks
4+
NX_ADD_PLUGINS=false

.github/workflows/actions.yml

+33-33
Original file line numberDiff line numberDiff line change
@@ -15,74 +15,74 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.event_name != 'pull_request' && github.event_name != 'schedule' }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
name: Checkout [main]
2020
with:
2121
fetch-depth: 0
2222
ref: ${{ github.event.pull_request.head.ref }}
2323
repository: ${{ github.event.pull_request.head.repo.full_name }}
2424
- name: Derive appropriate SHAs for base and head for `nx affected` commands
25-
uses: nrwl/nx-set-shas@v2
25+
uses: nrwl/nx-set-shas@v4
2626
- uses: denoland/setup-deno@v1
2727
with:
2828
deno-version: '^1.3'
29-
- uses: actions/setup-node@v1
29+
- uses: actions/setup-node@v4
3030
with:
31-
node-version: '16'
32-
- run: yarn
31+
node-version: '18'
32+
- run: yarn --immutable
3333
- run: deno info && deno --version
34-
- run: npx nx affected --target=lint --parallel --max-parallel=3
35-
- run: npx nx affected --target=build --parallel --max-parallel=3
36-
- run: npx nx affected --target=test --parallel --max-parallel=2
37-
- run: npx nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e
38-
- run: npx nx-cloud stop-all-agents
34+
- run: yarn nx affected --target=lint --parallel --max-parallel=3
35+
- run: yarn nx affected --target=build --parallel --max-parallel=3
36+
- run: yarn nx affected --target=test --parallel --max-parallel=2
37+
- run: yarn nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e
38+
- run: yarn nx-cloud stop-all-agents
3939
nightly:
4040
runs-on: ubuntu-latest
4141
if: ${{ github.event_name == 'schedule' }}
4242
steps:
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
name: Checkout [main]
4545
with:
4646
fetch-depth: 0
4747
ref: ${{ github.event.pull_request.head.ref }}
4848
repository: ${{ github.event.pull_request.head.repo.full_name }}
4949
- name: Derive appropriate SHAs for base and head for `nx affected` commands
50-
uses: nrwl/nx-set-shas@v2
50+
uses: nrwl/nx-set-shas@v4
5151
- uses: denoland/setup-deno@v1
5252
with:
5353
deno-version: '^1.3'
54-
- uses: actions/setup-node@v1
54+
- uses: actions/setup-node@v4
5555
with:
56-
node-version: '16'
57-
- run: yarn
56+
node-version: '18'
57+
- run: yarn --immutable
5858
- run: deno info && deno --version
59-
- run: npx nx run-many -t=build,test,lint --parallel --max-parallel=3
60-
- run: npx nx affected -t=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e
61-
- run: npx nx-cloud stop-all-agents
59+
- run: yarn nx run-many -t=build,test,lint --parallel --max-parallel=3
60+
- run: yarn nx affected -t=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e
61+
- run: yarn nx-cloud stop-all-agents
6262
pr:
6363
runs-on: ubuntu-latest
6464
if: ${{ github.event_name == 'pull_request' }}
6565
steps:
66-
- uses: actions/checkout@v3
66+
- uses: actions/checkout@v4
6767
with:
6868
fetch-depth: 0
6969
ref: ${{ github.event.pull_request.head.ref }}
7070
repository: ${{ github.event.pull_request.head.repo.full_name }}
7171
- name: Derive appropriate SHAs for base and head for `nx affected` commands
72-
uses: nrwl/nx-set-shas@v2
72+
uses: nrwl/nx-set-shas@v4
7373
- uses: denoland/setup-deno@v1
7474
with:
7575
deno-version: '^1.3'
76-
- uses: actions/setup-node@v1
76+
- uses: actions/setup-node@v4
7777
with:
78-
node-version: '16'
79-
- run: yarn
78+
node-version: '18'
79+
- run: yarn --immutable
8080
- run: deno info && deno --version
81-
- run: npx nx affected --target=lint --parallel --max-parallel=3
82-
- run: npx nx affected --target=build --parallel --max-parallel=3
83-
- run: npx nx affected --target=test --parallel --max-parallel=2
84-
- run: npx nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e,gatsby-e2e
85-
- run: npx nx-cloud stop-all-agents
81+
- run: yarn nx affected --target=lint --parallel --max-parallel=3
82+
- run: yarn nx affected --target=build --parallel --max-parallel=3
83+
- run: yarn nx affected --target=test --parallel --max-parallel=2
84+
- run: yarn nx affected --target=e2e --parallel --max-parallel=1 --exclude=nx-ignore-e2e
85+
- run: yarn nx-cloud stop-all-agents
8686
agents:
8787
runs-on: ubuntu-latest
8888
name: Agent 1
@@ -91,16 +91,16 @@ jobs:
9191
matrix:
9292
agent: [1, 2, 3]
9393
steps:
94-
- uses: actions/checkout@v3
94+
- uses: actions/checkout@v4
9595
with:
9696
ref: ${{ github.event.pull_request.head.ref }}
9797
repository: ${{ github.event.pull_request.head.repo.full_name }}
9898
- uses: denoland/setup-deno@v1
9999
with:
100100
deno-version: '^1.3'
101-
- uses: actions/setup-node@v1
101+
- uses: actions/setup-node@v4
102102
with:
103-
node-version: '16'
104-
- run: yarn
103+
node-version: '18'
104+
- run: yarn --immutable
105105
- name: Start Nx Agent ${{ matrix.agent }}
106-
run: npx nx-cloud start-agent
106+
run: yarn nx-cloud start-agent

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ testem.log
3939
Thumbs.db
4040

4141
# migration file
42-
./migrations.json
42+
./migrations.json
43+
.nx/cache

0 commit comments

Comments
 (0)