diff --git a/apps/momentic/package.json b/apps/momentic/package.json index 22771e40d..ac1a45fb8 100644 --- a/apps/momentic/package.json +++ b/apps/momentic/package.json @@ -26,7 +26,7 @@ "zod": "catalog:" }, "devDependencies": { - "momentic": "^2.16.0", + "momentic": "^2.17.3", "tsx": "catalog:" } } diff --git a/apps/momentic/turbo.json b/apps/momentic/turbo.json new file mode 100644 index 000000000..49ad7f936 --- /dev/null +++ b/apps/momentic/turbo.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "momentic": { + "cache": false, + "persistent": true + } + } +} \ No newline at end of file diff --git a/biome2.json b/biome2.json new file mode 100644 index 000000000..4052040e1 --- /dev/null +++ b/biome2.json @@ -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 + } + } + } + \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 739e9b16f..b7c39e462 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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 diff --git a/turbo.json b/turbo.json index fa7c42efa..113e0ac5f 100644 --- a/turbo.json +++ b/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": [