|
1 | 1 | import path from "node:path"; |
2 | 2 | import { fileURLToPath } from "node:url"; |
3 | | -import type { Frontend, ProjectConfig } from "./types"; |
| 3 | +import type { Addons, Frontend, ProjectConfig } from "./types"; |
4 | 4 | import { getUserPkgManager } from "./utils/get-package-manager"; |
5 | 5 |
|
6 | 6 | const __filename = fileURLToPath(import.meta.url); |
@@ -55,10 +55,12 @@ export const dependencyVersionMap = { |
55 | 55 |
|
56 | 56 | "@tauri-apps/cli": "^2.4.0", |
57 | 57 |
|
58 | | - "@biomejs/biome": "^2.0.0", |
| 58 | + "@biomejs/biome": "^2.1.2", |
| 59 | + oxlint: "^1.8.0", |
| 60 | + ultracite: "5.1.1", |
59 | 61 |
|
60 | 62 | husky: "^9.1.7", |
61 | | - "lint-staged": "^15.5.0", |
| 63 | + "lint-staged": "^16.1.2", |
62 | 64 |
|
63 | 65 | tsx: "^4.19.2", |
64 | 66 | "@types/node": "^22.13.11", |
@@ -119,13 +121,16 @@ export const dependencyVersionMap = { |
119 | 121 |
|
120 | 122 | export type AvailableDependencies = keyof typeof dependencyVersionMap; |
121 | 123 |
|
122 | | -export const ADDON_COMPATIBILITY = { |
| 124 | +export const ADDON_COMPATIBILITY: Record<Addons, readonly Frontend[]> = { |
123 | 125 | pwa: ["tanstack-router", "react-router", "solid", "next"], |
124 | 126 | tauri: ["tanstack-router", "react-router", "nuxt", "svelte", "solid"], |
125 | 127 | biome: [], |
126 | 128 | husky: [], |
127 | 129 | turborepo: [], |
128 | 130 | starlight: [], |
| 131 | + ultracite: [], |
| 132 | + oxlint: [], |
| 133 | + fumadocs: [], |
129 | 134 | none: [], |
130 | 135 | } as const; |
131 | 136 |
|
|
0 commit comments