expo-bbase 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4168,6 +4168,7 @@ function generateBasePackageJson(projectName) {
4168
4168
  lint: "expo lint"
4169
4169
  },
4170
4170
  dependencies: {
4171
+ // ─── Expo core (aligned with create-expo-app SDK 54) ───────────
4171
4172
  expo: "~54.0.33",
4172
4173
  "expo-router": "~6.0.23",
4173
4174
  "expo-linking": "~8.0.12",
@@ -4180,6 +4181,7 @@ function generateBasePackageJson(projectName) {
4180
4181
  "expo-symbols": "~1.0.8",
4181
4182
  "expo-system-ui": "~6.0.9",
4182
4183
  "expo-web-browser": "~15.0.10",
4184
+ // ─── React & React Native ─────────────────────────────────────
4183
4185
  react: "19.1.0",
4184
4186
  "react-dom": "19.1.0",
4185
4187
  "react-native": "0.81.5",
@@ -4190,12 +4192,62 @@ function generateBasePackageJson(projectName) {
4190
4192
  "@react-navigation/native": "^7.1.8",
4191
4193
  "react-native-safe-area-context": "~5.6.0",
4192
4194
  "react-native-screens": "~4.16.0",
4195
+ // ─── Animation (default in all projects) ──────────────────────
4193
4196
  "react-native-reanimated": "~4.1.1",
4194
4197
  "react-native-worklets": "~0.5.1",
4195
4198
  "react-native-gesture-handler": "~2.28.0",
4199
+ // ─── Styling ──────────────────────────────────────────────────
4196
4200
  nativewind: "^4.1.0",
4197
4201
  tailwindcss: "^3.4.0",
4198
- "react-native-svg": "15.12.1"
4202
+ "react-native-svg": "15.12.1",
4203
+ // ─── Network ─────────────────────────────────────────────────
4204
+ "@tanstack/react-query": "^5.60.0",
4205
+ // ─── State ───────────────────────────────────────────────────
4206
+ zustand: "^5.0.0",
4207
+ // ─── Storage ─────────────────────────────────────────────────
4208
+ "react-native-mmkv": "^3.1.0",
4209
+ // ─── Payment ─────────────────────────────────────────────────
4210
+ "react-native-iap": "^12.15.0",
4211
+ // ─── Form ────────────────────────────────────────────────────
4212
+ "react-hook-form": "^7.54.0",
4213
+ "@hookform/resolvers": "^3.9.0",
4214
+ zod: "^3.24.0",
4215
+ // ─── Video ───────────────────────────────────────────────────
4216
+ "expo-av": "~16.0.8",
4217
+ // ─── Auth — Google ───────────────────────────────────────────
4218
+ "@react-native-google-signin/google-signin": "^13.1.0",
4219
+ // ─── Auth — Facebook ─────────────────────────────────────────
4220
+ "expo-auth-session": "~7.0.11",
4221
+ "expo-crypto": "~15.0.9",
4222
+ // ─── Auth — Apple ────────────────────────────────────────────
4223
+ "expo-apple-authentication": "~8.0.8",
4224
+ // ─── WebView ─────────────────────────────────────────────────
4225
+ "react-native-webview": "~13.15.0",
4226
+ // ─── i18n ────────────────────────────────────────────────────
4227
+ i18next: "^24.2.0",
4228
+ "react-i18next": "^15.2.0",
4229
+ "expo-localization": "~17.0.8",
4230
+ // ─── OTA ─────────────────────────────────────────────────────
4231
+ "expo-updates": "~29.0.17",
4232
+ // ─── Notifications ───────────────────────────────────────────
4233
+ "expo-notifications": "~0.32.17",
4234
+ // ─── Permissions ─────────────────────────────────────────────
4235
+ "expo-image-picker": "~17.0.11",
4236
+ "expo-camera": "~17.0.10",
4237
+ "expo-location": "~19.0.8",
4238
+ // ─── Bottom Sheet ────────────────────────────────────────────
4239
+ "@gorhom/bottom-sheet": "^5.1.0",
4240
+ // ─── FlashList ───────────────────────────────────────────────
4241
+ "@shopify/flash-list": "2.0.2",
4242
+ // ─── UI — reactnative.reusables ──────────────────────────────
4243
+ "class-variance-authority": "^0.7.1",
4244
+ clsx: "^2.1.1",
4245
+ "tailwind-merge": "^2.6.0",
4246
+ "@rn-primitives/slot": "^1.1.0",
4247
+ "@rn-primitives/types": "^1.1.0",
4248
+ "@rn-primitives/label": "^1.1.0",
4249
+ "@rn-primitives/separator": "^1.1.0",
4250
+ "@rn-primitives/alert-dialog": "^1.1.0"
4199
4251
  },
4200
4252
  devDependencies: {
4201
4253
  "@types/react": "~19.1.0",
@@ -4208,7 +4260,7 @@ function generateBasePackageJson(projectName) {
4208
4260
 
4209
4261
  // src/index.ts
4210
4262
  var import_execa = require("execa");
4211
- var CLI_VERSION = "1.5.0";
4263
+ var CLI_VERSION = "1.6.0";
4212
4264
  var CONFIG_FILE = ".expo-bbase.json";
4213
4265
  async function run() {
4214
4266
  const program = new import_commander.Command();
@@ -4343,17 +4395,6 @@ async function createProject(projectName) {
4343
4395
  }
4344
4396
  spinner.text = "Generating package.json...";
4345
4397
  const pkgJson = generateBasePackageJson(projectName);
4346
- const allDeps = {};
4347
- const allDevDeps = {};
4348
- for (const mod of selectedModuleDefs) {
4349
- Object.assign(allDeps, mod.dependencies);
4350
- Object.assign(allDevDeps, mod.devDependencies);
4351
- }
4352
- Object.assign(pkgJson.dependencies, allDeps);
4353
- Object.assign(
4354
- pkgJson.devDependencies,
4355
- allDevDeps
4356
- );
4357
4398
  const pkgPath = import_path2.default.join(targetDir, "package.json");
4358
4399
  await writeJson(pkgPath, pkgJson);
4359
4400
  spinner.text = "Configuring app.json...";
@@ -4452,18 +4493,9 @@ async function upgradeProject(targetDir) {
4452
4493
  }
4453
4494
  }
4454
4495
  spinner.text = "Updating dependencies...";
4455
- const allDeps = {};
4456
- const allDevDeps = {};
4457
- for (const mod of selectedModuleDefs) {
4458
- Object.assign(allDeps, mod.dependencies);
4459
- Object.assign(allDevDeps, mod.devDependencies);
4460
- }
4461
4496
  const basePkg = generateBasePackageJson(config.projectName);
4462
- Object.assign(allDeps, basePkg.dependencies);
4463
- Object.assign(
4464
- allDevDeps,
4465
- basePkg.devDependencies
4466
- );
4497
+ const allDeps = basePkg.dependencies;
4498
+ const allDevDeps = basePkg.devDependencies;
4467
4499
  const pkgPath = import_path2.default.join(absDir, "package.json");
4468
4500
  await mergeDependencies(pkgPath, allDeps, allDevDeps);
4469
4501
  spinner.text = "Updating app.json...";
@@ -4595,14 +4627,6 @@ async function addModule(moduleIds, targetDir) {
4595
4627
  }
4596
4628
  }
4597
4629
  spinner.text = "Updating dependencies...";
4598
- const allDeps = {};
4599
- const allDevDeps = {};
4600
- for (const mod of newModuleDefs) {
4601
- Object.assign(allDeps, mod.dependencies);
4602
- Object.assign(allDevDeps, mod.devDependencies);
4603
- }
4604
- const pkgPath = import_path2.default.join(absDir, "package.json");
4605
- await mergeDependencies(pkgPath, allDeps, allDevDeps);
4606
4630
  spinner.text = "Updating app.json...";
4607
4631
  const existingModules = getModulesByIds(config.selectedModules);
4608
4632
  await updateAppJson(