File tree Expand file tree Collapse file tree 5 files changed +72
-0
lines changed
Expand file tree Collapse file tree 5 files changed +72
-0
lines changed Original file line number Diff line number Diff line change 1+ # dependencies
2+ node_modules
3+
4+ # output
5+ dist
Original file line number Diff line number Diff line change 1+ {
2+ "lockfileVersion" : 1 ,
3+ "workspaces" : {
4+ "" : {
5+ "name" : " ts-cli-template" ,
6+ "devDependencies" : {
7+ "@types/bun" : " latest" ,
8+ },
9+ "peerDependencies" : {
10+ "typescript" : " ^5" ,
11+ },
12+ },
13+ },
14+ "packages" : {
15+ "@types/bun" : [
" @types/[email protected] " ,
" " , {
"dependencies" : {
"bun-types" :
" 1.2.17" } },
" sha512-l/BYs/JYt+cXA/0+wUhulYJB6a6p//GTPiJ7nV+QHa8iiId4HZmnu/3J/SowP5g0rTiERY2kfGKXEK5Ehltx4Q==" ],
16+
17+ "@types/node" : [
" @types/[email protected] " ,
" " , {
"dependencies" : {
"undici-types" :
" ~7.8.0" } },
" sha512-ulyqAkrhnuNq9pB76DRBTkcS6YsmDALy6Ua63V8OhrOBgbcYt6IOdzpw5P1+dyRIyMerzLkeYWBeOXPpA9GMAA==" ],
18+
19+ "bun-types" : [
" [email protected] " ,
" " , {
"dependencies" : {
"@types/node" :
" *" } },
" sha512-ElC7ItwT3SCQwYZDYoAH+q6KT4Fxjl8DtZ6qDulUFBmXA8YB4xo+l54J9ZJN+k2pphfn9vk7kfubeSd5QfTVJQ==" ],
20+
21+ "typescript" : [
" [email protected] " ,
" " , {
"bin" : {
"tsc" :
" bin/tsc" ,
"tsserver" :
" bin/tsserver" } },
" sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==" ],
22+
23+ "undici-types" : [
" [email protected] " ,
" " , {},
" sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==" ],
24+ }
25+ }
Original file line number Diff line number Diff line change 1+ console . log ( "Hello via Bun!" ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " ts-cli-template" ,
3+ "module" : " index.ts" ,
4+ "type" : " module" ,
5+ "private" : true ,
6+ "devDependencies" : {
7+ "@types/bun" : " latest"
8+ },
9+ "peerDependencies" : {
10+ "typescript" : " ^5"
11+ }
12+ }
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ // Environment setup & latest features
4+ "lib" : [" ESNext" ],
5+ "target" : " ESNext" ,
6+ "module" : " Preserve" ,
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+
17+ // Best practices
18+ "strict" : true ,
19+ "skipLibCheck" : true ,
20+ "noFallthroughCasesInSwitch" : true ,
21+ "noUncheckedIndexedAccess" : true ,
22+ "noImplicitOverride" : true ,
23+
24+ // Some stricter flags (disabled by default)
25+ "noUnusedLocals" : false ,
26+ "noUnusedParameters" : false ,
27+ "noPropertyAccessFromIndexSignature" : false
28+ }
29+ }
You can’t perform that action at this time.
0 commit comments