turned template into create cli

This commit is contained in:
2025-07-25 01:08:04 +02:00
parent 1b71b472a7
commit 028f287067
85 changed files with 3774 additions and 3292 deletions

View File

@@ -0,0 +1,9 @@
export const sanityConnection = {
pageTitle: "lumify template",
publicViewerToken: "skX06BHIWzgWfkt52091aJgLmYEwFJ7ufghsXi0wRXRkW2Nom8mzfYnFpSVJH1toNy0e34Hot2yTwjLxHCjhsWLZiC0qjR19WI6b9WEFj04shHMZCiS09LgRuzd9BnEgewAQpJUAbhdSwg3NOg8rOhZXpHyciAoYwLqhaTHP6g0FDpiZFrb5",
studioHost: "vaporvee",
studioUrl: "https://vaporvee.sanity.studio", // normaly https://<studioHost>.sanity.studio
projectId: "ax04yw0e",
previewUrl: "http://localhost:3000",
dataset: "production", // leave as "production" for the main dataset
};

View File

@@ -0,0 +1,11 @@
{
"name": "@repo/sanity-connection",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.8.3"
}
}

View File

@@ -0,0 +1,27 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}