Skip to content

Commit

Permalink
chore: format docs files
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Dec 26, 2024
1 parent 09b13c8 commit 3cd7210
Show file tree
Hide file tree
Showing 16 changed files with 74 additions and 34 deletions.
9 changes: 7 additions & 2 deletions packages/node-vibrant/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"extends": "./tsconfig.json",
"exclude": ["__tests__", "eslint.config.js", "vite.config.ts", "vitest.workspace.ts"]
"extends": "./tsconfig.json",
"exclude": [
"__tests__",
"eslint.config.js",
"vite.config.ts",
"vitest.workspace.ts"
]
}
8 changes: 7 additions & 1 deletion packages/node-vibrant/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
"compilerOptions": {
"types": ["vite/client", "@vitest/browser/providers/playwright"]
},
"include": ["src", "__tests__", "eslint.config.js", "vite.config.ts", "vitest.workspace.ts"]
"include": [
"src",
"__tests__",
"eslint.config.js",
"vite.config.ts",
"vitest.workspace.ts"
]
}
4 changes: 2 additions & 2 deletions packages/vibrant-color/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-core/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["__tests__", "eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["__tests__", "eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-generator-default/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-generator/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
9 changes: 7 additions & 2 deletions packages/vibrant-image-browser/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"extends": "./tsconfig.json",
"exclude": ["__tests__", "eslint.config.js", "vite.config.ts", "vitest.config.ts"]
"extends": "./tsconfig.json",
"exclude": [
"__tests__",
"eslint.config.js",
"vite.config.ts",
"vitest.config.ts"
]
}
8 changes: 7 additions & 1 deletion packages/vibrant-image-browser/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"extends": "../../tsconfig.json",
"include": ["src", "__tests__", "eslint.config.js", "vite.config.ts", "vitest.config.ts"]
"include": [
"src",
"__tests__",
"eslint.config.js",
"vite.config.ts",
"vitest.config.ts"
]
}
4 changes: 2 additions & 2 deletions packages/vibrant-image-node/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-image/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-quantizer-mmcq/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-quantizer/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-types/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
4 changes: 2 additions & 2 deletions packages/vibrant-worker/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
"extends": "./tsconfig.json",
"exclude": ["eslint.config.js", "vite.config.ts"]
}
30 changes: 24 additions & 6 deletions scripts/generateDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ const packages = [
__dirname,
"../packages/vibrant-generator/tsconfig.docs.json",
),
outputDir: resolve(__dirname, "../docs/package/vibrant-generator/reference"),
outputDir: resolve(
__dirname,
"../docs/package/vibrant-generator/reference",
),
exclude: ["packages/vibrant-color/**/*", "packages/vibrant-types/**/*"],
},
{
Expand All @@ -63,7 +66,10 @@ const packages = [
__dirname,
"../packages/vibrant-generator/tsconfig.docs.json",
),
outputDir: resolve(__dirname, "../docs/package/vibrant-generator-default/reference"),
outputDir: resolve(
__dirname,
"../docs/package/vibrant-generator-default/reference",
),
exclude: ["packages/vibrant-color/**/*", "packages/vibrant-generator/**/*"],
},
{
Expand All @@ -83,7 +89,10 @@ const packages = [
__dirname,
"../packages/vibrant-image/tsconfig.docs.json",
),
outputDir: resolve(__dirname, "../docs/package/vibrant-image-browser/reference"),
outputDir: resolve(
__dirname,
"../docs/package/vibrant-image-browser/reference",
),
exclude: ["packages/vibrant-image/**/*"],
},
{
Expand All @@ -93,7 +102,10 @@ const packages = [
__dirname,
"../packages/vibrant-image/tsconfig.docs.json",
),
outputDir: resolve(__dirname, "../docs/package/vibrant-image-node/reference"),
outputDir: resolve(
__dirname,
"../docs/package/vibrant-image-node/reference",
),
exclude: ["packages/vibrant-image/**/*"],
},
{
Expand All @@ -105,7 +117,10 @@ const packages = [
__dirname,
"../packages/vibrant-quantizer/tsconfig.docs.json",
),
outputDir: resolve(__dirname, "../docs/package/vibrant-quantizer/reference"),
outputDir: resolve(
__dirname,
"../docs/package/vibrant-quantizer/reference",
),
exclude: [
"packages/vibrant-color/**/*",
"packages/vibrant-image/**/*",
Expand All @@ -121,7 +136,10 @@ const packages = [
__dirname,
"../packages/vibrant-quantizer/tsconfig.docs.json",
),
outputDir: resolve(__dirname, "../docs/package/vibrant-quantizer-mmcq/reference"),
outputDir: resolve(
__dirname,
"../docs/package/vibrant-quantizer-mmcq/reference",
),
exclude: [
"packages/vibrant-color/**/*",
"packages/vibrant-image/**/*",
Expand Down
4 changes: 2 additions & 2 deletions scripts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../tsconfig.json",
"include": ["**/*"]
"extends": "../tsconfig.json",
"include": ["**/*"]
}

0 comments on commit 3cd7210

Please sign in to comment.