Skip to content

Commit

Permalink
chore: run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jrson83 committed Aug 8, 2024
1 parent c03667b commit 7cabe3f
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 91 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll": "explicit"
},
"files.insertFinalNewline": true,
"typescript.tsdk": "node_modules/typescript/lib",
"css.validate": false,
"less.validate": false,
"scss.validate": false,
Expand All @@ -15,6 +15,9 @@
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
Expand Down
34 changes: 17 additions & 17 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["esnext", "dom", "dom.iterable"],
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"skipDefaultLibCheck": true,
"removeComments": true,
"types": ["vite/client", "vitepress"]
},
"include": ["./src/*.ts", "./src/.vitepress/**/*.ts"],
"exclude": ["**/dist/**", "**/node_modules/**"]
}
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": ["esnext", "dom", "dom.iterable"],
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"skipDefaultLibCheck": true,
"removeComments": true,
"types": ["vite/client", "vitepress"]
},
"include": ["./src/*.ts", "./src/.vitepress/**/*.ts"],
"exclude": ["**/dist/**", "**/node_modules/**"]
}
5 changes: 1 addition & 4 deletions packages/savescum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
"bin": {
"savescum": "bin/savescum.js"
},
"files": [
"bin",
"dist"
],
"files": ["bin", "dist"],
"scripts": {
"clean": "rm -rf dist",
"dev": "tsx src/index.ts --host=0.0.0.0",
Expand Down
18 changes: 9 additions & 9 deletions packages/savescum/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*.ts"],
"exclude": ["bin", "dist", "**/node_modules"]
}
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*.ts"],
"exclude": ["bin", "dist", "**/node_modules"]
}
60 changes: 30 additions & 30 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "@savescum/shared",
"description": "Internal package to supply json schemas & types.",
"version": "0.1.0-dev",
"private": true,
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
}
},
"files": ["src"],
"scripts": {
"clean": "rm -rf dist",
"build": "pnpm typecheck",
"typecheck": "tsc --noEmit"
},
"dependencies": {},
"devDependencies": {
"json-schema-to-ts": "^3.0.0"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "restricted"
}
}
{
"name": "@savescum/shared",
"version": "0.1.0-dev",
"private": true,
"description": "Internal package to supply json schemas & types.",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
}
},
"files": ["src"],
"scripts": {
"clean": "rm -rf dist",
"build": "pnpm typecheck",
"typecheck": "tsc --noEmit"
},
"dependencies": {},
"devDependencies": {
"json-schema-to-ts": "^3.0.0"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "restricted"
}
}
18 changes: 9 additions & 9 deletions packages/shared/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"outDir": "dist"
},
"include": ["src/**/*.ts"]
}
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"outDir": "dist"
},
"include": ["src/**/*.ts"]
}
48 changes: 27 additions & 21 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"module": "ESNext",
"target": "ES2022",
"lib": ["ES2022"],
"moduleResolution": "Bundler",
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"resolveJsonModule": true
},
"files": [],
"references": [
{ "path": "packages/shared" },
{ "path": "packages/web" },
{ "path": "packages/savescum" }
]
}
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"module": "ESNext",
"target": "ES2022",
"lib": ["ES2022"],
"moduleResolution": "Bundler",
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"resolveJsonModule": true
},
"files": [],
"references": [
{
"path": "packages/shared"
},
{
"path": "packages/web"
},
{
"path": "packages/savescum"
}
]
}

0 comments on commit 7cabe3f

Please sign in to comment.