mirror of https://github.com/buster-so/buster.git
simplify turbo.json
This commit is contained in:
parent
b84853352c
commit
1e1675813d
|
@ -26,7 +26,7 @@
|
|||
"zod": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"momentic": "^2.16.0",
|
||||
"momentic": "^2.17.3",
|
||||
"tsx": "catalog:"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"momentic": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,119 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
|
||||
"files": {
|
||||
"ignoreUnknown": false,
|
||||
"includes": [
|
||||
"src/**/*",
|
||||
".vscode/**/*",
|
||||
"index.html",
|
||||
"vite.config.ts",
|
||||
"vitest.config.ts",
|
||||
"vitest.setup.ts",
|
||||
"!src/routeTree.gen.ts",
|
||||
"!**/node_modules",
|
||||
"!**/dist",
|
||||
"!**/build",
|
||||
"!**/coverage",
|
||||
"!**/.next"
|
||||
]
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"correctness": {
|
||||
"noUnusedVariables": "off",
|
||||
"noUnusedImports": "off",
|
||||
"useExhaustiveDependencies": "off",
|
||||
"noChildrenProp": "off",
|
||||
"useUniqueElementIds": "off",
|
||||
"useParseIntRadix": "off",
|
||||
"noUnusedFunctionParameters": "warn"
|
||||
},
|
||||
"style": {
|
||||
"noNonNullAssertion": "error",
|
||||
"useImportType": "warn",
|
||||
"useNodejsImportProtocol": "error",
|
||||
"useConsistentArrayType": "error",
|
||||
"noUnusedTemplateLiteral": "off"
|
||||
},
|
||||
"suspicious": {
|
||||
"noExplicitAny": "error",
|
||||
"noConsole": "off",
|
||||
"noArrayIndexKey": "off",
|
||||
"noTemplateCurlyInString": "off"
|
||||
},
|
||||
"complexity": {
|
||||
"noExcessiveCognitiveComplexity": "off",
|
||||
"noForEach": "off"
|
||||
},
|
||||
"nursery": {
|
||||
"useSortedClasses": "off"
|
||||
},
|
||||
"performance": {
|
||||
"noDelete": "error"
|
||||
},
|
||||
"a11y": {
|
||||
"noSvgWithoutTitle": "off",
|
||||
"useKeyWithClickEvents": "off",
|
||||
"noStaticElementInteractions": "off",
|
||||
"useMediaCaption": "off",
|
||||
"useHeadingContent": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"includes": ["**/*.test.ts", "**/*.test.tsx", "**/*.stories.tsx"],
|
||||
"linter": {
|
||||
"rules": {
|
||||
"suspicious": {
|
||||
"noExplicitAny": "off"
|
||||
},
|
||||
"style": {
|
||||
"noNonNullAssertion": "off"
|
||||
},
|
||||
"correctness": {
|
||||
"noUnusedFunctionParameters": "off",
|
||||
"noUnusedVariables": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"includes": ["**/*.stories.tsx"],
|
||||
"linter": {
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"includes": ["**/*.css"],
|
||||
"linter": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"formatWithErrors": false,
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2,
|
||||
"lineWidth": 100,
|
||||
"lineEnding": "lf"
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"quoteStyle": "single",
|
||||
"jsxQuoteStyle": "double",
|
||||
"trailingCommas": "es5",
|
||||
"semicolons": "always",
|
||||
"arrowParentheses": "always"
|
||||
}
|
||||
},
|
||||
"css": {
|
||||
"parser": {
|
||||
"cssModules": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -232,8 +232,8 @@ importers:
|
|||
version: 3.25.76
|
||||
devDependencies:
|
||||
momentic:
|
||||
specifier: ^2.16.0
|
||||
version: 2.16.0(@types/node@24.3.1)
|
||||
specifier: ^2.17.3
|
||||
version: 2.17.3(@types/node@24.3.1)
|
||||
tsx:
|
||||
specifier: 'catalog:'
|
||||
version: 4.20.5
|
||||
|
@ -9969,8 +9969,8 @@ packages:
|
|||
moment@2.30.1:
|
||||
resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==}
|
||||
|
||||
momentic@2.16.0:
|
||||
resolution: {integrity: sha512-HxaPDj5B7c5+BTE/gbun5SqCGjnPfAjcjbvrzi3LQP9qCnEntI/IKddN38D613+aPe8Rif1ZAq5pjtMRNWrGcQ==}
|
||||
momentic@2.17.3:
|
||||
resolution: {integrity: sha512-PiAcdojIpywPU0gOR9MApgRsqxY3VgmLMpimJubkVNslFI+re9DBFI/9avdAIKdezZBCRgtx1dgVGDmKmSBx+g==}
|
||||
engines: {node: '>=20'}
|
||||
hasBin: true
|
||||
|
||||
|
@ -23554,7 +23554,7 @@ snapshots:
|
|||
|
||||
moment@2.30.1: {}
|
||||
|
||||
momentic@2.16.0(@types/node@24.3.1):
|
||||
momentic@2.17.3(@types/node@24.3.1):
|
||||
dependencies:
|
||||
'@actions/exec': 1.1.1
|
||||
'@actions/io': 1.1.3
|
||||
|
|
18
turbo.json
18
turbo.json
|
@ -4,22 +4,16 @@
|
|||
"concurrency": "20",
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": ["dist/**", ".next/**"]
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"build:dry-run": {
|
||||
"dependsOn": ["^build:dry-run"],
|
||||
"outputs": ["dist/**", ".next/**"],
|
||||
"env": ["SKIP_ENV_CHECK"]
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"momentic": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"dev:fast": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
|
@ -54,16 +48,6 @@
|
|||
"test:coverage": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": ["coverage/**"]
|
||||
},
|
||||
"db:migrate": {
|
||||
"cache": false
|
||||
},
|
||||
"db:seed": {
|
||||
"cache": false
|
||||
},
|
||||
"db:init": {
|
||||
"cache": false,
|
||||
"dependsOn": ["db:migrate"]
|
||||
}
|
||||
},
|
||||
"globalEnv": [
|
||||
|
|
Loading…
Reference in New Issue