Skip to content

Commit

Permalink
Format json files.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Jan 29, 2024
1 parent 57a65a5 commit c131dd2
Show file tree
Hide file tree
Showing 20 changed files with 8,826 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"tabWidth": 2,
"semi": true,
"singleQuote": false
}
}
4 changes: 2 additions & 2 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@tsconfig/docusaurus/tsconfig.json",
"compilerOptions": {
"baseUrl": "."
}
"baseUrl": ".",
},
}
4 changes: 2 additions & 2 deletions examples/babyagi-agent/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"rootDir": "./src",
"outDir": "./build"
"outDir": "./build",
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
}
4 changes: 2 additions & 2 deletions examples/basic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"moduleResolution": "node",
"rootDir": "./src",
"outDir": "./build",
"skipLibCheck": true
"skipLibCheck": true,
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
}
10 changes: 5 additions & 5 deletions examples/chatbot-next-js/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
"jsx": "preserve",
"incremental": true,
"paths": {
"@/*": ["./src/*"]
"@/*": ["./src/*"],
},
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"plugins": [
{
"name": "next"
}
]
"name": "next",
},
],
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
8 changes: 4 additions & 4 deletions examples/cloudflare-workers/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/* Language and Environment */
"target": "es2021" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"lib": [
"es2021"
"es2021",
] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
"jsx": "react" /* Specify what JSX code is generated. */,
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
Expand All @@ -34,7 +34,7 @@
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
// "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */
"types": [
"@cloudflare/workers-types"
"@cloudflare/workers-types",
] /* Specify type package names to be included without being referenced in a source file. */,
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
"resolveJsonModule": true /* Enable importing .json files */,
Expand Down Expand Up @@ -100,6 +100,6 @@

/* Completeness */
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
}
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
},
}
4 changes: 2 additions & 2 deletions examples/middle-school-math-agent/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"moduleResolution": "node",
"rootDir": "./src",
"outDir": "./build",
"skipLibCheck": true
"skipLibCheck": true,
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
}
4 changes: 2 additions & 2 deletions examples/pdf-chat-terminal/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"rootDir": "./src",
"outDir": "./build"
"outDir": "./build",
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
}
8,786 changes: 8,785 additions & 1 deletion examples/pdf-to-tweet/data/example-tweet-index.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/pdf-to-tweet/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"rootDir": "./src",
"outDir": "./build"
"outDir": "./build",
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
}
4 changes: 2 additions & 2 deletions examples/speech-streaming-vite-react-fastify/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
},
"references": [{ "path": "./tsconfig.node.json" }]
"references": [{ "path": "./tsconfig.node.json" }],
}
4 changes: 2 additions & 2 deletions examples/wikipedia-agent/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"rootDir": "./src",
"outDir": "./build"
"outDir": "./build",
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"lint": "turbo lint",
"setup": "husky install",
"test": "turbo test",
"format": "prettier --write \"**/*.ts\" --config .prettierrc.json"
"format": "prettier --write \"**/*.{ts,json}\" --config .prettierrc.json"
},
"devDependencies": {
"copyfiles": "2.4.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/@modelfusion-pinecone/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
4 changes: 2 additions & 2 deletions packages/@modelfusion-sqlite-vss/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
4 changes: 2 additions & 2 deletions packages/@modelfusion-vercel-ai/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
4 changes: 2 additions & 2 deletions tools/google-custom-search-tool/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
4 changes: 2 additions & 2 deletions tools/mathjs-tool/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
4 changes: 2 additions & 2 deletions tools/mediawiki-search-tool/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}
4 changes: 2 additions & 2 deletions tools/serpapi-tool/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}

0 comments on commit c131dd2

Please sign in to comment.