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": {
|
"scripts": {
|
||||||
"docs": "typedoc --options typedoc.jsonc",
|
"docs": "typedoc --options typedoc.jsonc",
|
||||||
"format": "bun prettier --write '**/*.{ts,json,md}'",
|
"format": "bun prettier --write '**/*.{ts,json,jsonc,md}'",
|
||||||
"prepare": "bunx husky || true"
|
"prepare": "bunx husky || true"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
{
|
{
|
||||||
"entryPoints": [
|
"entryPoints": ["packages/*"],
|
||||||
"packages/*"
|
|
||||||
],
|
|
||||||
"entryPointStrategy": "packages",
|
"entryPointStrategy": "packages",
|
||||||
"name": "PackwizJS",
|
"name": "PackwizJS",
|
||||||
"packageOptions": {
|
"packageOptions": {
|
||||||
"includeVersion": true,
|
"includeVersion": true,
|
||||||
"entryPoints": [
|
"entryPoints": ["src/**/!(*index).ts"],
|
||||||
"src/**/!(*index).ts"
|
|
||||||
],
|
|
||||||
"dmtLinksIcon": [
|
"dmtLinksIcon": [
|
||||||
{
|
{
|
||||||
"icon": "https://c.csw.im/favicon.ico",
|
"icon": "https://c.csw.im/favicon.ico",
|
||||||
|
@ -16,6 +12,9 @@
|
||||||
"url": "https://c.csw.im/GalacticFactory/PackwizJS"
|
"url": "https://c.csw.im/GalacticFactory/PackwizJS"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"dmtLinksService": {
|
||||||
|
"NPM": "https://www.npmjs.com/org/packwizjs"
|
||||||
|
},
|
||||||
"dmtNavigation": {
|
"dmtNavigation": {
|
||||||
"moduleIcon": true,
|
"moduleIcon": true,
|
||||||
"style": "compact"
|
"style": "compact"
|
||||||
|
@ -39,9 +38,7 @@
|
||||||
"favicon": "docs/assets/favicon.png",
|
"favicon": "docs/assets/favicon.png",
|
||||||
"githubPages": false,
|
"githubPages": false,
|
||||||
"includeVersion": false,
|
"includeVersion": false,
|
||||||
"exclude": [
|
"exclude": ["**/*+(test|spec).ts"],
|
||||||
"**/*+(test|spec).ts"
|
|
||||||
],
|
|
||||||
"theme": "default",
|
"theme": "default",
|
||||||
"coverageOutputType": "all",
|
"coverageOutputType": "all",
|
||||||
"plugin": [
|
"plugin": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue