Skip to content

Commit a9b0b99

Browse files
Goosterhofclaude
andcommitted
Add oxfmt formatter with CI gate
Replaces placeholder format scripts with oxfmt. Reformatted all 19 files. CI runs format:check before lint. Dependabot groups oxlint + oxfmt as oxc. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c3b9751 commit a9b0b99

21 files changed

Lines changed: 7322 additions & 6905 deletions

.changeset/config.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/config@3/schema.json",
3-
"changelog": "@changesets/cli/changelog",
4-
"commit": false,
5-
"fixed": [],
6-
"linked": [],
7-
"access": "public",
8-
"baseBranch": "main",
9-
"updateInternalDependencies": "patch",
10-
"ignore": []
2+
"$schema": "https://unpkg.com/@changesets/config@3/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
1111
}

.github/dependabot.yml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
version: 2
22

33
updates:
4-
- package-ecosystem: npm
5-
directory: /
6-
schedule:
7-
interval: weekly
8-
day: monday
9-
groups:
10-
stryker:
11-
patterns:
12-
- "@stryker-mutator/*"
13-
vitest:
14-
patterns:
15-
- "vitest"
16-
- "@vitest/*"
17-
open-pull-requests-limit: 10
4+
- package-ecosystem: npm
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
day: monday
9+
groups:
10+
oxc:
11+
patterns:
12+
- "oxlint"
13+
- "oxfmt"
14+
stryker:
15+
patterns:
16+
- "@stryker-mutator/*"
17+
vitest:
18+
patterns:
19+
- "vitest"
20+
- "@vitest/*"
21+
open-pull-requests-limit: 10
1822

19-
- package-ecosystem: github-actions
20-
directory: /
21-
schedule:
22-
interval: weekly
23-
day: monday
23+
- package-ecosystem: github-actions
24+
directory: /
25+
schedule:
26+
interval: weekly
27+
day: monday

.github/workflows/ci.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
88

99
jobs:
10-
check:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v6
14-
- uses: actions/setup-node@v6
15-
with:
16-
node-version: 24
17-
- run: npm ci
18-
- run: npm run lint
19-
- run: npm run build
20-
- run: npm run test:coverage
21-
- run: npm run test:mutation
10+
check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
- uses: actions/setup-node@v6
15+
with:
16+
node-version: 24
17+
- run: npm ci
18+
- run: npm run format:check
19+
- run: npm run lint
20+
- run: npm run build
21+
- run: npm run test:coverage
22+
- run: npm run test:mutation

.github/workflows/publish.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
name: Publish
22

33
on:
4-
push:
5-
branches: [main]
6-
paths:
7-
- "**/package.json"
4+
push:
5+
branches: [main]
6+
paths:
7+
- "**/package.json"
88

99
jobs:
10-
publish:
11-
runs-on: ubuntu-latest
12-
permissions:
13-
contents: write
14-
id-token: write
15-
steps:
16-
- uses: actions/checkout@v6
17-
- uses: actions/setup-node@v6
18-
with:
19-
node-version: 24
20-
registry-url: "https://registry.npmjs.org"
21-
scope: "@script-development"
22-
- run: npm ci
23-
- run: npm run build
24-
- run: npx changeset publish
25-
env:
26-
NPM_CONFIG_PROVENANCE: "true"
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10+
publish:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
id-token: write
15+
steps:
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-node@v6
18+
with:
19+
node-version: 24
20+
registry-url: "https://registry.npmjs.org"
21+
scope: "@script-development"
22+
- run: npm ci
23+
- run: npm run build
24+
- run: npx changeset publish
25+
env:
26+
NPM_CONFIG_PROVENANCE: "true"
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.oxfmtrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"ignorePatterns": []
4+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Shared frontend service packages for the script-development ecosystem.
44

55
## Packages
66

7-
| Package | Description | Version |
8-
|---------|-------------|---------|
7+
| Package | Description | Version |
8+
| ---------------------------------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
99
| [@script-development/fs-http](./packages/http) | Framework-agnostic HTTP service with middleware | ![version](https://img.shields.io/github/package-json/v/script-development/fs-packages?filename=packages/http/package.json) |
1010

1111
## Development

0 commit comments

Comments
 (0)