Skip to content

Commit 089a1b1

Browse files
authored
Merge branch 'orval-labs:master' into master
2 parents 2003409 + 98bdeab commit 089a1b1

File tree

377 files changed

+2285
-2895
lines changed

Some content is hidden

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

377 files changed

+2285
-2895
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1 @@
1-
## Status
2-
3-
<!--- **READY/WIP/HOLD** --->
4-
5-
**READY/WIP/HOLD**
6-
7-
## Description
8-
9-
A few sentences describing the overall goals of the pull request's commits.
10-
11-
## Related PRs
12-
13-
List related PRs against other branches:
14-
15-
| branch | PR |
16-
| ------------------- | -------- |
17-
| other_pr_production | [link]() |
18-
| other_pr_master | [link]() |
19-
20-
## Todos
21-
22-
- [ ] Tests
23-
- [ ] Documentation
24-
- [ ] Changelog Entry (unreleased)
25-
26-
## Steps to Test or Reproduce
27-
28-
Outline the steps to test or reproduce the PR here.
29-
30-
```bash
31-
> git pull --prune
32-
> git checkout <branch>
33-
> grunt jasmine
34-
```
35-
36-
1.
1+
<!-- A few sentences describing the overall goals of the pull request's commits. -->

.github/workflows/deploy-doc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0
16-
- name: Use Node.js 20
16+
- name: Use Node.js 22
1717
uses: actions/setup-node@v5
1818
with:
19-
node-version: 20
19+
node-version: 22
2020
# https://github.com/actions/setup-node/issues/1357
2121
package-manager-cache: false
2222
- name: Install Vercel CLI
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Prepare Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version number (e.g., 1.2.3)'
8+
required: true
9+
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
14+
jobs:
15+
prepare:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v5
20+
with:
21+
fetch-depth: 0
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
24+
- name: Set up Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 24
28+
29+
- name: Enable Corepack
30+
run: corepack enable
31+
32+
- name: Cache Yarn dependencies
33+
uses: actions/cache@v4
34+
with:
35+
path: .yarn/cache
36+
key: yarn-${{ hashFiles('**/yarn.lock') }}
37+
restore-keys: |
38+
yarn-
39+
40+
- name: Install dependencies
41+
run: yarn install --immutable
42+
43+
- name: Update versions and samples
44+
run: |
45+
VERSION=${{ github.event.inputs.version }}
46+
echo "Updating all workspace versions to $VERSION"
47+
yarn workspaces foreach -Av version $VERSION
48+
yarn update-samples
49+
50+
- name: Create Pull Request
51+
uses: peter-evans/create-pull-request@v7
52+
with:
53+
token: ${{ secrets.GITHUB_TOKEN }}
54+
commit-message: 'chore(release): bump version to v${{ github.event.inputs.version }}'
55+
branch: release/v${{ github.event.inputs.version }}
56+
base: master
57+
title: 'Release v${{ github.event.inputs.version }}'
58+
body: |
59+
This PR prepares the release of version v${{ github.event.inputs.version }}.
60+
Once merged into master, the publish workflow will trigger.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Publish Release
2+
3+
on:
4+
pull_request:
5+
types:
6+
- closed
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
publish:
13+
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/v')
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v5
18+
with:
19+
fetch-depth: 0
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
22+
- name: Set up Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 24
26+
27+
- name: Enable Corepack
28+
run: corepack enable
29+
30+
- name: Cache Yarn dependencies
31+
uses: actions/cache@v4
32+
with:
33+
path: .yarn/cache
34+
key: yarn-${{ hashFiles('**/yarn.lock') }}
35+
restore-keys: |
36+
yarn-
37+
38+
- name: Install dependencies
39+
run: yarn install --immutable
40+
41+
- name: Run build
42+
run: yarn build
43+
44+
- name: Configure npm authentication
45+
run: |
46+
yarn config set npmRegistryServer "https://registry.npmjs.org"
47+
yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }}
48+
49+
- name: Publish workspaces to npm
50+
run: yarn workspaces foreach --all --no-private -v npm publish --tolerate-republish
51+
52+
- name: Extract version
53+
id: version
54+
run: |
55+
VERSION=$(node -p "require('./package.json').version")
56+
echo "version=$VERSION" >> $GITHUB_OUTPUT
57+
58+
- name: Create GitHub Tag
59+
run: |
60+
git tag v${{ steps.version.outputs.version }}
61+
git push origin v${{ steps.version.outputs.version }}
62+
63+
- name: Create GitHub Release
64+
uses: softprops/action-gh-release@v2
65+
with:
66+
tag_name: v${{ steps.version.outputs.version }}
67+
name: Release v${{ steps.version.outputs.version }}
68+
draft: false
69+
prerelease: false

.github/workflows/tests.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, windows-latest]
17-
node-version: [20.x]
17+
node-version: [22.x]
1818
steps:
1919
- uses: actions/checkout@v5
2020
- name: Use Node.js ${{ matrix.node-version }}
@@ -41,9 +41,3 @@ jobs:
4141
run: yarn format:check
4242
- name: unit tests
4343
run: yarn test:ci
44-
- name: tests generate
45-
working-directory: ./tests
46-
run: yarn generate
47-
- name: tests build
48-
working-directory: ./tests
49-
run: yarn build

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
yarn lint
2-
yarn test:ci
31
yarn format:staged

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.npmignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.release-it.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)