Skip to content

Commit d16386a

Browse files
committed
update repo
1 parent 50fd204 commit d16386a

13 files changed

Lines changed: 1518 additions & 1089 deletions

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
cache: "pnpm"
1818
- run: pnpm install
1919
- run: pnpm automd
20-
- run: pnpm lint:fix
20+
- run: pnpm fmt
2121
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
2222
with:
2323
commit-message: "chore: apply automated updates"

.oxfmtrc.json

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

.oxlintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://unpkg.com/oxlint/configuration_schema.json",
3+
"plugins": ["unicorn", "typescript", "oxc"],
4+
"ignorePatterns": ["public"],
5+
"rules": {}
6+
}

.prettierignore

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

.prettierrc

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

eslint.config.mjs

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

nitro.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ import { defineConfig } from "nitro";
33
export default defineConfig({
44
serverDir: "./server",
55
baseURL: "/base",
6-
publicAssets: [
7-
{ baseURL: "/_dist", dir: "./public/_dist", maxAge: 60 * 60 * 24 * 365 },
8-
],
6+
publicAssets: [{ baseURL: "/_dist", dir: "./public/_dist", maxAge: 60 * 60 * 24 * 365 }],
97
});

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
{
22
"name": "nitro-deploys",
33
"private": true,
4+
"type": "module",
45
"scripts": {
56
"build": "vite build",
67
"dev": "vite dev",
7-
"lint": "eslint . && prettier -c .",
8-
"lint:fix": "eslint --fix . && prettier -w -c .",
9-
"readme": "automd && pnpm lint:fix",
8+
"lint": "oxlint && oxfmt --check",
9+
"fmt": "oxlint --fix && oxfmt",
10+
"readme": "automd && pnpm fmt",
1011
"test": "pnpm lint"
1112
},
1213
"devDependencies": {
13-
"@types/node": "25.0.3",
14-
"automd": "^0.4.0",
15-
"eslint": "^9.32.0",
16-
"eslint-config-unjs": "^0.5.0",
17-
"nitro": "npm:nitro-nightly@3.0.1-20251218-140714-077b79bf",
18-
"prettier": "^3.6.2",
19-
"vite": "8.0.0-beta.3"
14+
"@types/node": "^25.6.0",
15+
"automd": "^0.4.3",
16+
"eslint-config-unjs": "^0.6.2",
17+
"nitro": "^3.0.260311-beta",
18+
"oxfmt": "^0.45.0",
19+
"oxlint": "^1.60.0",
20+
"vite": "^8.0.8"
2021
},
21-
"packageManager": "pnpm@10.13.1",
2222
"engines": {
23-
"node": ">=20.18.1"
24-
}
23+
"node": ">=22"
24+
},
25+
"packageManager": "pnpm@10.33.0"
2526
}

0 commit comments

Comments
 (0)