Skip to content

Commit 066ec44

Browse files
author
Dustin
committedDec 19, 2024
base project
1 parent f88a426 commit 066ec44

8 files changed

+214
-1
lines changed
 

‎.vscode/settings.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"bun.runtime": "$HOME/.bun/bin/bun",
3+
"bun.debugTerminal.enabled": true,
4+
"bun.debugTerminal.stopOnEntry": false,
5+
"npm.packageManager": "bun",
6+
"editor.defaultFormatter": "biomejs.biome",
7+
"editor.formatOnSave": true,
8+
"editor.codeActionsOnSave": {
9+
"quickfix.biome": "explicit",
10+
"source.organizeImports.biome": "explicit"
11+
},
12+
"[javascript]": {
13+
"editor.defaultFormatter": "biomejs.biome"
14+
},
15+
"[typescript]": {
16+
"editor.defaultFormatter": "biomejs.biome"
17+
},
18+
"[javascriptreact]": {
19+
"editor.defaultFormatter": "biomejs.biome"
20+
},
21+
"[typescriptreact]": {
22+
"editor.defaultFormatter": "biomejs.biome"
23+
},
24+
"[json]": {
25+
"editor.defaultFormatter": "biomejs.biome"
26+
},
27+
"[jsonc]": {
28+
"editor.defaultFormatter": "biomejs.biome"
29+
},
30+
"[prisma]": {
31+
"editor.defaultFormatter": "Prisma.prisma-insider"
32+
},
33+
"typescript.tsdk": "node_modules/typescript/lib",
34+
35+
"search.exclude": {
36+
"**/node_modules": true,
37+
"**/cdk.out": true,
38+
"**/dist": true,
39+
"**/public": true,
40+
"CHANGELOG.md": true
41+
}
42+
}

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# wc-rask
1+
# @wc-rask

‎biome.json

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": ["node_modules"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "space",
15+
"lineWidth": 100
16+
},
17+
"organizeImports": {
18+
"enabled": true,
19+
"include": ["**/*.ts", "**/*.tsx"]
20+
},
21+
"linter": {
22+
"enabled": true,
23+
"rules": {
24+
"recommended": true,
25+
"correctness": {
26+
"noUnusedVariables": "error",
27+
"noUnreachable": "error",
28+
"noUnusedImports": "error"
29+
},
30+
"style": {
31+
"noNonNullAssertion": "off",
32+
"useShorthandArrayType": "error",
33+
"useConst": "error",
34+
"useImportType": "error",
35+
"useSingleVarDeclarator": "error"
36+
},
37+
"suspicious": {
38+
"noExplicitAny": "error"
39+
},
40+
"complexity": {
41+
"noForEach": "off"
42+
}
43+
}
44+
},
45+
"javascript": {
46+
"formatter": {
47+
"jsxQuoteStyle": "double",
48+
"quoteProperties": "asNeeded",
49+
"trailingCommas": "all",
50+
"semicolons": "always",
51+
"arrowParentheses": "asNeeded",
52+
"bracketSpacing": true,
53+
"bracketSameLine": false,
54+
"quoteStyle": "single",
55+
"attributePosition": "auto",
56+
"indentStyle": "space",
57+
"lineEnding": "lf"
58+
}
59+
},
60+
"json": {
61+
"formatter": {
62+
"trailingCommas": "none",
63+
"indentWidth": 2
64+
}
65+
},
66+
"overrides": [
67+
{
68+
"include": ["apps/server/prisma/types/**/*.ts"],
69+
"linter": {
70+
"rules": {
71+
"correctness": {
72+
"noUnusedImports": "off"
73+
}
74+
}
75+
}
76+
}
77+
]
78+
}

‎bun.lockb

6.9 KB
Binary file not shown.

‎package.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "@wc-rask/workspace",
3+
"version": "1.0.0",
4+
"private": true,
5+
"type": "module",
6+
"scripts": {
7+
"fresh": "rm -rf dist node_modules package-lock.json bun.lockb && bun i"
8+
},
9+
"devDependencies": {
10+
"@biomejs/biome": "1.9.4",
11+
"@types/bun": "latest"
12+
},
13+
"peerDependencies": {
14+
"typescript": "^5.0.0"
15+
}
16+
}

‎tsconfig.base.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"compilerOptions": {
3+
// Enable latest features
4+
"lib": ["ESNext", "DOM"],
5+
"target": "ESNext",
6+
"module": "ESNext",
7+
"moduleDetection": "force",
8+
"jsx": "react-jsx",
9+
"allowJs": true,
10+
11+
// Bundler mode
12+
"moduleResolution": "bundler",
13+
"allowImportingTsExtensions": true,
14+
"verbatimModuleSyntax": true,
15+
"noEmit": true,
16+
"composite": true,
17+
"incremental": true,
18+
19+
// Best practices
20+
"strict": true,
21+
"skipLibCheck": true,
22+
"noFallthroughCasesInSwitch": true,
23+
24+
// Some stricter flags (disabled by default)
25+
"noUnusedLocals": false,
26+
"noUnusedParameters": false,
27+
"noPropertyAccessFromIndexSignature": false
28+
}
29+
}

‎tsconfig.build.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"compilerOptions": {
3+
"composite": true,
4+
"incremental": true
5+
// "paths": {
6+
// "@apn/api": ["./apps/api/src"],
7+
// "@apn/server": ["./apps/web/src"]
8+
// }
9+
},
10+
"files": [],
11+
"include": [],
12+
"exclude": ["node_modules"],
13+
"references": [
14+
{
15+
"path": "./apps/web"
16+
}
17+
// {
18+
// "path": "./apps/api"
19+
// },
20+
// {
21+
// "path": "./packages/server"
22+
// }
23+
]
24+
}

‎tsconfig.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"compilerOptions": {
3+
"composite": true,
4+
"incremental": true
5+
// "paths": {
6+
// "@apn/api": ["./apps/api/src"],
7+
// "@apn/server": ["./apps/api/src"]
8+
// }
9+
},
10+
"files": [],
11+
"include": [],
12+
"exclude": ["node_modules"],
13+
"references": [
14+
{
15+
"path": "./apps/web"
16+
}
17+
// {
18+
// "path": "./apps/api"
19+
// },
20+
// {
21+
// "path": "./packages/server"
22+
// }
23+
]
24+
}

0 commit comments

Comments
 (0)
Please sign in to comment.