simplify turbo.json

This commit is contained in:
Nate Kelley 2025-09-23 21:23:52 -06:00
parent b84853352c
commit 1e1675813d
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
5 changed files with 136 additions and 23 deletions

View File

@ -26,7 +26,7 @@
"zod": "catalog:" "zod": "catalog:"
}, },
"devDependencies": { "devDependencies": {
"momentic": "^2.16.0", "momentic": "^2.17.3",
"tsx": "catalog:" "tsx": "catalog:"
} }
} }

10
apps/momentic/turbo.json Normal file
View File

@ -0,0 +1,10 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"momentic": {
"cache": false,
"persistent": true
}
}
}

119
biome2.json Normal file
View File

@ -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
}
}
}

View File

@ -232,8 +232,8 @@ importers:
version: 3.25.76 version: 3.25.76
devDependencies: devDependencies:
momentic: momentic:
specifier: ^2.16.0 specifier: ^2.17.3
version: 2.16.0(@types/node@24.3.1) version: 2.17.3(@types/node@24.3.1)
tsx: tsx:
specifier: 'catalog:' specifier: 'catalog:'
version: 4.20.5 version: 4.20.5
@ -9969,8 +9969,8 @@ packages:
moment@2.30.1: moment@2.30.1:
resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==}
momentic@2.16.0: momentic@2.17.3:
resolution: {integrity: sha512-HxaPDj5B7c5+BTE/gbun5SqCGjnPfAjcjbvrzi3LQP9qCnEntI/IKddN38D613+aPe8Rif1ZAq5pjtMRNWrGcQ==} resolution: {integrity: sha512-PiAcdojIpywPU0gOR9MApgRsqxY3VgmLMpimJubkVNslFI+re9DBFI/9avdAIKdezZBCRgtx1dgVGDmKmSBx+g==}
engines: {node: '>=20'} engines: {node: '>=20'}
hasBin: true hasBin: true
@ -23554,7 +23554,7 @@ snapshots:
moment@2.30.1: {} moment@2.30.1: {}
momentic@2.16.0(@types/node@24.3.1): momentic@2.17.3(@types/node@24.3.1):
dependencies: dependencies:
'@actions/exec': 1.1.1 '@actions/exec': 1.1.1
'@actions/io': 1.1.3 '@actions/io': 1.1.3

View File

@ -4,22 +4,16 @@
"concurrency": "20", "concurrency": "20",
"tasks": { "tasks": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"]
"outputs": ["dist/**", ".next/**"]
}, },
"build:dry-run": { "build:dry-run": {
"dependsOn": ["^build:dry-run"], "dependsOn": ["^build:dry-run"],
"outputs": ["dist/**", ".next/**"],
"env": ["SKIP_ENV_CHECK"] "env": ["SKIP_ENV_CHECK"]
}, },
"dev": { "dev": {
"cache": false, "cache": false,
"persistent": true "persistent": true
}, },
"momentic": {
"cache": false,
"persistent": true
},
"dev:fast": { "dev:fast": {
"cache": false, "cache": false,
"persistent": true "persistent": true
@ -54,16 +48,6 @@
"test:coverage": { "test:coverage": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["coverage/**"] "outputs": ["coverage/**"]
},
"db:migrate": {
"cache": false
},
"db:seed": {
"cache": false
},
"db:init": {
"cache": false,
"dependsOn": ["db:migrate"]
} }
}, },
"globalEnv": [ "globalEnv": [