Skip to content

Commit dad74d8

Browse files
committed
chore: fix lockfile?
1 parent 5d5311f commit dad74d8

11 files changed

Lines changed: 10759 additions & 6592 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,21 @@ jobs:
1010
env:
1111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414

1515
- name: Read .tool-versions
1616
uses: marocchino/tool-versions-action@v1
1717
id: versions
1818

19-
- uses: actions/setup-node@v2
19+
- uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ steps.versions.outputs.nodejs }}
2222

23-
- name: Install yarn
24-
run: npm install -g yarn
25-
26-
- name: Get yarn cache directory path
27-
id: yarn-cache-dir-path
28-
run: echo "::set-output name=dir::$(yarn cache dir)"
29-
30-
- uses: actions/cache@v4
31-
id: yarn-cache
32-
with:
33-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
34-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
35-
restore-keys: |
36-
${{ runner.os }}-yarn-
23+
- name: Enable Corepack
24+
run: corepack enable
3725

3826
- name: Install dependencies
39-
run: yarn install
27+
run: yarn install --immutable
4028

4129
- name: Generate LLMs content
4230
run: yarn generate-llms

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
# dependencies
44
/node_modules
5-
/.pnp
6-
.pnp.js
5+
.pnp.*
6+
7+
# yarn berry
8+
.yarn/install-state.gz
79

810
# testing
911
/coverage

.tool-versions

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
nodejs 24.13.0
2-
yarn 1.22.10

.yarn/releases/yarn-4.9.1.cjs

Lines changed: 948 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nodeLinker: node-modules
2+
yarnPath: .yarn/releases/yarn-4.9.1.cjs

AGENTS.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ Documentation, tutorials, and the API reference for Knock. Built with Next.js an
66

77
### System requirements
88

9-
- Node.js 20.19.3
10-
- Yarn 1.22.10
11-
12-
See `.tool-versions` for the exact versions.
9+
- Node.js (see `.tool-versions` for the exact version)
10+
- Yarn 4.9.1 (bundled at `.yarn/releases/yarn-4.9.1.cjs`, activated automatically via `.yarnrc.yml`)
1311

1412
### Getting started
1513

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Documentation, guides, and the API reference for Knock. Built with Next.JS and T
88

99
To run docs you will need:
1010

11-
- `node` & `yarn` (see `.tool-versions`)
11+
- `node` (see `.tool-versions`)
12+
- `yarn` is bundled at `.yarn/releases/yarn-4.9.1.cjs` and activated automatically via `.yarnrc.yml` — no additional setup required.
1213

1314
### Running docs
1415

bin/bootstrap.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ then
2424
fi
2525

2626
asdf plugin add nodejs || true
27-
asdf plugin add yarn || true
2827

2928
echo "Installing dependencies"
3029

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
33
/// <reference types="next/navigation-types/compat/navigation" />
4-
import "./.next/types/routes.d.ts";
4+
import "./.next/dev/types/routes.d.ts";
55

66
// NOTE: This file should not be edited
77
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,16 @@
101101
"typescript": "^5.2.2"
102102
},
103103
"resolutions": {
104-
"react-syntax-highlighter/**/prismjs": "^1.30.0",
104+
"@types/react": "19.2.2",
105+
"@types/react-dom": "19.2.2",
106+
"react-syntax-highlighter/prismjs": "^1.30.0",
105107
"form-data": "4.0.4",
106108
"js-yaml": "4.1.1",
107109
"mdast-util-to-hast": "13.2.1",
108110
"merge-anything": "6.0.5"
111+
},
112+
"packageManager": "yarn@4.9.1",
113+
"engines": {
114+
"yarn": ">=4.0.0"
109115
}
110116
}

0 commit comments

Comments
 (0)