Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install pnpm
if: steps.version_check.outputs.changed == 'true'
uses: pnpm/action-setup@v4

- name: Setup Node.js
if: steps.version_check.outputs.changed == 'true'
uses: actions/setup-node@v7
with:
node-version: '24.14.0'

- name: Install pnpm
if: steps.version_check.outputs.changed == 'true'
run: npm install -g pnpm

- name: Install Dependencies
if: steps.version_check.outputs.changed == 'true'
run: pnpm install --frozen-lockfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v7

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: '24.14.0'

- name: Install pnpm
run: npm install -g pnpm

- name: Install Dependencies
run: pnpm install

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v7

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: '24.14.0'

- name: Install pnpm
run: npm install -g pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

Expand Down
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ if [ "$branch" != "main" ]; then
fi

pnpm check && pnpm fix
git add .

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the intent here was to catch any built or fixed files, but I agree this is wrong and not desirable.

We should probably take a closer look at better aligning this to conventions we use elsewhere (e.g. using lint-staged)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this repo, the pre-commit hook handles building both the JSON schemas and examples from types - which is what the git add . is typically catching here. Without this step, I think we'd absolutely experience drift between types and generated JSONs (especially with external contributors, etc).

I'll try adding this back in a future PR.

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@
"dependencies": {
"ajv": "^8.20.0",
"ajv-formats": "^2.1.1",
"ts-json-schema-generator": "^2.3.0",
"ts-json-schema-generator": "2.3.0",
"ts-node": "^10.9.2"
},
"packageManager": "pnpm@8.6.6+sha512.6b9d5b209c829afb2d802bec59fe928199ec5df5a6c005b5a47584687da0377bea4060b9f322c52ffa0a070719587d268e9333056457752f5d2dd37a1802b647"
"packageManager": "pnpm@10.30.2",
"pnpm": {
"onlyBuiltDependencies": [
"core-js",
"fsevents"
]
}
}
Loading