Skip to content

Commit

Permalink
style: format with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 22, 2023
1 parent 051defd commit b31444d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: autofix.ci # needed to securely identify the workflow
name: autofix.ci # needed to securely identify the workflow

on:
pull_request:
push:
branches: [ "main" ]
branches: ["main"]

permissions:
contents: read
Expand All @@ -23,4 +23,4 @@ jobs:
run: pnpm run lint:fix
- uses: autofix-ci/action@bee19d72e71787c12ca0f29de72f2833e437e4c9
with:
commit-message: 'chore: apply automated lint fixes'
commit-message: "chore: apply automated lint fixes"
12 changes: 9 additions & 3 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ import { defineBuildConfig } from "unbuild";
export default defineBuildConfig({
declaration: true,
rollup: {
emitCJS: true
emitCJS: true,
},
entries: [
"src/index",
{ input: "src/runtime/", outDir: "runtime", format: "esm" },
{ input: "src/runtime/", outDir: "runtime", format: "cjs", ext: "cjs", declaration: false }
]
{
input: "src/runtime/",
outDir: "runtime",
format: "cjs",
ext: "cjs",
declaration: false,
},
],
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
"unbuild": "^2.0.0"
},
"packageManager": "[email protected]"
}
}
4 changes: 1 addition & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"extends": [
"github>unjs/renovate-config"
]
"extends": ["github>unjs/renovate-config"]
}
8 changes: 2 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"esModuleInterop": true,
"strict": true,
"declaration": true,
"types": [
"node"
]
"types": ["node"]
},
"include": [
"src/**/*"
]
"include": ["src/**/*"]
}

0 comments on commit b31444d

Please sign in to comment.