update: ts

This commit is contained in:
Vick Scarlet
2026-08-16 20:06:16 +08:00
committed by 神戸小鳥
parent cf79e2763b
commit ce44237466
380 changed files with 4806 additions and 221348 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"name": "@remake/core",
"type": "module",
"version": "3.0.0",
"author": "Vick Scarlet <vick@syaro.io>",
"scripts": {
"lint": "eslint .",
"test": "bun test"
},
"devDependencies": {
"@remake/condition": "workspace:*",
"@remake/data": "workspace:*"
},
"eslintConfig": {
"extends": "../../package.json"
}
}
+2
View File
@@ -0,0 +1,2 @@
import { age } from '@remake/data/age'
import { checkCondition } from '@remake/condition'
View File
+32
View File
@@ -0,0 +1,32 @@
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"types": ["bun"],
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"paths": {
"@/*": ["./src/*"],
},
// Some stricter flags (disabled by default)
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": false,
"noImplicitAny": true
},
"include": ["**/*"]
}