-
-
Notifications
You must be signed in to change notification settings - Fork 219
feat(cli): upgrade to expo 54 #574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,90 +1,90 @@ | ||
| { | ||
| "name": "create-better-t-stack", | ||
| "version": "2.44.0", | ||
| "description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations", | ||
| "type": "module", | ||
| "license": "MIT", | ||
| "author": "Aman Varshney", | ||
| "bin": { | ||
| "create-better-t-stack": "dist/cli.js" | ||
| }, | ||
| "files": [ | ||
| "templates", | ||
| "dist" | ||
| ], | ||
| "keywords": [ | ||
| "better-t-stack", | ||
| "typescript", | ||
| "boilerplate", | ||
| "starter", | ||
| "cli", | ||
| "turborepo", | ||
| "trpc", | ||
| "better-auth", | ||
| "monorepo", | ||
| "fullstack", | ||
| "type-safety", | ||
| "react", | ||
| "react-native", | ||
| "expo", | ||
| "hono", | ||
| "elysia", | ||
| "drizzle", | ||
| "prisma", | ||
| "tanstack", | ||
| "tailwind", | ||
| "shadcn", | ||
| "pwa", | ||
| "tauri", | ||
| "biome" | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/AmanVarshney01/create-better-t-stack.git", | ||
| "directory": "apps/cli" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "homepage": "https://better-t-stack.dev/", | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "check-types": "tsc --noEmit", | ||
| "check": "biome check --write .", | ||
| "test": "bun run build && vitest run", | ||
| "test:ui": "bun run build && vitest --ui", | ||
| "test:with-build": "bun run build && WITH_BUILD=1 vitest --ui", | ||
| "prepublishOnly": "npm run build" | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.js" | ||
| } | ||
| }, | ||
| "dependencies": { | ||
| "@biomejs/js-api": "^3.0.0", | ||
| "@biomejs/wasm-nodejs": "^2.2.4", | ||
| "@clack/prompts": "^1.0.0-alpha.4", | ||
| "consola": "^3.4.2", | ||
| "execa": "^9.6.0", | ||
| "fs-extra": "^11.3.1", | ||
| "gradient-string": "^3.0.0", | ||
| "handlebars": "^4.7.8", | ||
| "jsonc-parser": "^3.3.1", | ||
| "picocolors": "^1.1.1", | ||
| "tinyglobby": "^0.2.15", | ||
| "trpc-cli": "^0.10.2", | ||
| "ts-morph": "^27.0.0", | ||
| "zod": "^4.1.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/fs-extra": "^11.0.4", | ||
| "@types/node": "^24.3.1", | ||
| "@vitest/ui": "^3.2.4", | ||
| "tsdown": "^0.14.2", | ||
| "typescript": "^5.9.2", | ||
| "vitest": "^3.2.4" | ||
| } | ||
| "name": "create-better-t-stack", | ||
| "version": "2.44.0", | ||
| "description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations", | ||
| "type": "module", | ||
| "license": "MIT", | ||
| "author": "Aman Varshney", | ||
| "bin": { | ||
| "create-better-t-stack": "dist/cli.js" | ||
| }, | ||
| "files": [ | ||
| "templates", | ||
| "dist" | ||
| ], | ||
| "keywords": [ | ||
| "better-t-stack", | ||
| "typescript", | ||
| "boilerplate", | ||
| "starter", | ||
| "cli", | ||
| "turborepo", | ||
| "trpc", | ||
| "better-auth", | ||
| "monorepo", | ||
| "fullstack", | ||
| "type-safety", | ||
| "react", | ||
| "react-native", | ||
| "expo", | ||
| "hono", | ||
| "elysia", | ||
| "drizzle", | ||
| "prisma", | ||
| "tanstack", | ||
| "tailwind", | ||
| "shadcn", | ||
| "pwa", | ||
| "tauri", | ||
| "biome" | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/AmanVarshney01/create-better-t-stack.git", | ||
| "directory": "apps/cli" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "homepage": "https://better-t-stack.dev/", | ||
| "scripts": { | ||
| "build": "tsdown", | ||
| "dev": "tsdown --watch", | ||
| "check-types": "tsc --noEmit", | ||
| "check": "biome check --write .", | ||
| "test": "bun run build && vitest run", | ||
| "test:ui": "bun run build && vitest --ui", | ||
| "test:with-build": "bun run build && WITH_BUILD=1 vitest --ui", | ||
| "prepublishOnly": "npm run build" | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.js" | ||
| } | ||
| }, | ||
| "dependencies": { | ||
| "@biomejs/js-api": "^3.0.0", | ||
| "@biomejs/wasm-nodejs": "^2.2.4", | ||
| "@clack/prompts": "^1.0.0-alpha.4", | ||
| "consola": "^3.4.2", | ||
| "execa": "^9.6.0", | ||
| "fs-extra": "^11.3.1", | ||
| "gradient-string": "^3.0.0", | ||
| "handlebars": "^4.7.8", | ||
| "jsonc-parser": "^3.3.1", | ||
| "picocolors": "^1.1.1", | ||
| "tinyglobby": "^0.2.15", | ||
| "trpc-cli": "^0.10.2", | ||
| "ts-morph": "^27.0.0", | ||
| "zod": "^4.1.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/fs-extra": "^11.0.4", | ||
| "@types/node": "^24.3.1", | ||
| "@vitest/ui": "^3.2.4", | ||
| "tsdown": "^0.14.2", | ||
| "typescript": "^5.9.2", | ||
| "vitest": "^3.2.4" | ||
| } | ||
| } |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| { | ||
| "expo": { | ||
| "name": "{{projectName}}", | ||
| "slug": "{{projectName}}", | ||
|
Comment on lines
+3
to
+4
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Parameterize identifiers; add iOS bundle identifier; make slug URL‑safe. Hardcoded scheme/package can collide across apps; slug may be invalid if projectName has spaces. Suggest deriving from a slug-safe helper and setting iOS bundle id. "expo": {
- "name": "{{projectName}}",
- "slug": "{{projectName}}",
+ "name": "{{projectName}}",
+ "slug": "{{kebabCase projectName}}", // or your slug helper/var
...
- "scheme": "mybettertapp",
+ "scheme": "{{kebabCase projectName}}",
"ios": {
- "supportsTablet": true
+ "supportsTablet": true,
+ "bundleIdentifier": "com.anonymous.{{kebabCase projectName}}"
},
"android": {
"adaptiveIcon": {
...
},
"edgeToEdgeEnabled": true,
"predictiveBackGestureEnabled": false,
- "package": "com.anonymous.mybettertapp"
+ "package": "com.anonymous.{{kebabCase projectName}}"
},Would you prefer a different org prefix than com.anonymous? I can wire this up to a CLI prompt. Also applies to: 8-8, 12-13, 23-23 🤖 Prompt for AI Agents |
||
| "version": "1.0.0", | ||
| "orientation": "portrait", | ||
| "icon": "./assets/images/icon.png", | ||
AmanVarshney01 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "scheme": "mybettertapp", | ||
| "userInterfaceStyle": "automatic", | ||
| "newArchEnabled": true, | ||
| "ios": { | ||
| "supportsTablet": true | ||
| }, | ||
| "android": { | ||
| "adaptiveIcon": { | ||
| "backgroundColor": "#E6F4FE", | ||
| "foregroundImage": "./assets/images/android-icon-foreground.png", | ||
| "backgroundImage": "./assets/images/android-icon-background.png", | ||
| "monochromeImage": "./assets/images/android-icon-monochrome.png" | ||
| }, | ||
| "edgeToEdgeEnabled": true, | ||
| "predictiveBackGestureEnabled": false, | ||
| "package": "com.anonymous.mybettertapp" | ||
| }, | ||
| "web": { | ||
| "output": "static", | ||
| "favicon": "./assets/images/favicon.png" | ||
| }, | ||
| "plugins": [ | ||
| "expo-router", | ||
| [ | ||
| "expo-splash-screen", | ||
| { | ||
| "image": "./assets/images/splash-icon.png", | ||
| "imageWidth": 200, | ||
| "resizeMode": "contain", | ||
| "backgroundColor": "#ffffff", | ||
| "dark": { | ||
| "backgroundColor": "#000000" | ||
| } | ||
| } | ||
| ] | ||
| ], | ||
| "experiments": { | ||
| "typedRoutes": true, | ||
| "reactCompiler": true | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.