Skip to content

Commit 79b6c09

Browse files
committed
chore: install oxc
1 parent 810d32d commit 79b6c09

14 files changed

Lines changed: 2400 additions & 1900 deletions

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

.github/pull_request_template.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ Thank you for your contribution! 👍
1717

1818
- ...
1919

20-
2120
## Additional context
2221

23-
2422
## Community note
2523

2624
<!-- Please keep this section. -->

.github/workflows/nodejs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
- run: npm install
2828
if: steps.npm-cache.outputs.cache-hit != 'true'
2929
- run: npm run lint
30-
if: matrix.os != 'windows-latest'
3130
- run: npm run typecheck
3231
- run: npm test
3332

@@ -38,18 +37,21 @@ jobs:
3837
contents: read
3938
id-token: write
4039
if: startsWith(github.ref, 'refs/tags/v')
40+
strategy:
41+
matrix:
42+
node-version: [24]
4143
steps:
4244
- uses: actions/checkout@v5
4345
- name: Use Node.js
4446
uses: actions/setup-node@v5
4547
with:
46-
node-version: 24
48+
node-version: ${{ matrix.node-version }}
4749
registry-url: 'https://registry.npmjs.org'
4850
- uses: actions/cache@v5
4951
id: npm-cache
5052
with:
5153
path: 'node_modules'
52-
key: ${{ runner.os }}-node-v24-npm-${{ hashFiles('package-lock.json') }}
54+
key: ${{ runner.os }}-node-v${{ matrix.node-version }}-npm-${{ hashFiles('package-lock.json') }}
5355
- run: npm install
5456
if: steps.npm-cache.outputs.cache-hit != 'true'
5557
- run: npm run build

.oxfmtrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"printWidth": 100,
4+
"singleQuote": true,
5+
"sortPackageJson": false,
6+
"sortImports": {
7+
"newlinesBetween": false
8+
},
9+
"ignorePatterns": ["dist", "projects/*/**", "$*.ts"]
10+
}

0 commit comments

Comments
 (0)