chore(tooling): add prettier config file
Some checks failed
Actions / Build and Push Documentation (push) Has been cancelled
Some checks failed
Actions / Build and Push Documentation (push) Has been cancelled
This commit is contained in:
parent
3ec07c7235
commit
15a5e2a776
3 changed files with 17 additions and 10 deletions
10
.prettierrc.json
Normal file
10
.prettierrc.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.json", "*.jsonc"],
|
||||
"options": {
|
||||
"trailingComma": "none"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"docs": "typedoc --options typedoc.jsonc",
|
||||
"format": "bun prettier --write '**/*.{ts,json,md}'",
|
||||
"format": "bun prettier --write '**/*.{ts,json,jsonc,md}'",
|
||||
"prepare": "bunx husky || true"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
{
|
||||
"entryPoints": [
|
||||
"packages/*"
|
||||
],
|
||||
"entryPoints": ["packages/*"],
|
||||
"entryPointStrategy": "packages",
|
||||
"name": "PackwizJS",
|
||||
"packageOptions": {
|
||||
"includeVersion": true,
|
||||
"entryPoints": [
|
||||
"src/**/!(*index).ts"
|
||||
],
|
||||
"entryPoints": ["src/**/!(*index).ts"],
|
||||
"dmtLinksIcon": [
|
||||
{
|
||||
"icon": "https://c.csw.im/favicon.ico",
|
||||
|
@ -16,6 +12,9 @@
|
|||
"url": "https://c.csw.im/GalacticFactory/PackwizJS"
|
||||
}
|
||||
],
|
||||
"dmtLinksService": {
|
||||
"NPM": "https://www.npmjs.com/org/packwizjs"
|
||||
},
|
||||
"dmtNavigation": {
|
||||
"moduleIcon": true,
|
||||
"style": "compact"
|
||||
|
@ -39,9 +38,7 @@
|
|||
"favicon": "docs/assets/favicon.png",
|
||||
"githubPages": false,
|
||||
"includeVersion": false,
|
||||
"exclude": [
|
||||
"**/*+(test|spec).ts"
|
||||
],
|
||||
"exclude": ["**/*+(test|spec).ts"],
|
||||
"theme": "default",
|
||||
"coverageOutputType": "all",
|
||||
"plugin": [
|
||||
|
|
Loading…
Add table
Reference in a new issue