expo-bbase 1.5.0 → 1.6.1

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
@@ -2522,6 +2522,7 @@ var uiReusablesModule = {
2522
2522
  "@rn-primitives/label": "^1.1.0",
2523
2523
  "@rn-primitives/separator": "^1.1.0",
2524
2524
  "@rn-primitives/alert-dialog": "^1.1.0",
2525
+ "@rn-primitives/portal": "^1.1.0",
2525
2526
  "react-native-svg": "^15.8.0"
2526
2527
  },
2527
2528
  devDependencies: {},
@@ -4168,6 +4169,7 @@ function generateBasePackageJson(projectName) {
4168
4169
  lint: "expo lint"
4169
4170
  },
4170
4171
  dependencies: {
4172
+ // ─── Expo core (aligned with create-expo-app SDK 54) ───────────
4171
4173
  expo: "~54.0.33",
4172
4174
  "expo-router": "~6.0.23",
4173
4175
  "expo-linking": "~8.0.12",
@@ -4180,6 +4182,7 @@ function generateBasePackageJson(projectName) {
4180
4182
  "expo-symbols": "~1.0.8",
4181
4183
  "expo-system-ui": "~6.0.9",
4182
4184
  "expo-web-browser": "~15.0.10",
4185
+ // ─── React & React Native ─────────────────────────────────────
4183
4186
  react: "19.1.0",
4184
4187
  "react-dom": "19.1.0",
4185
4188
  "react-native": "0.81.5",
@@ -4190,12 +4193,63 @@ function generateBasePackageJson(projectName) {
4190
4193
  "@react-navigation/native": "^7.1.8",
4191
4194
  "react-native-safe-area-context": "~5.6.0",
4192
4195
  "react-native-screens": "~4.16.0",
4196
+ // ─── Animation (default in all projects) ──────────────────────
4193
4197
  "react-native-reanimated": "~4.1.1",
4194
4198
  "react-native-worklets": "~0.5.1",
4195
4199
  "react-native-gesture-handler": "~2.28.0",
4200
+ // ─── Styling ──────────────────────────────────────────────────
4196
4201
  nativewind: "^4.1.0",
4197
4202
  tailwindcss: "^3.4.0",
4198
- "react-native-svg": "15.12.1"
4203
+ "react-native-svg": "15.12.1",
4204
+ // ─── Network ─────────────────────────────────────────────────
4205
+ "@tanstack/react-query": "^5.60.0",
4206
+ // ─── State ───────────────────────────────────────────────────
4207
+ zustand: "^5.0.0",
4208
+ // ─── Storage ─────────────────────────────────────────────────
4209
+ "react-native-mmkv": "^3.1.0",
4210
+ // ─── Payment ─────────────────────────────────────────────────
4211
+ "react-native-iap": "^12.15.0",
4212
+ // ─── Form ────────────────────────────────────────────────────
4213
+ "react-hook-form": "^7.54.0",
4214
+ "@hookform/resolvers": "^3.9.0",
4215
+ zod: "^3.24.0",
4216
+ // ─── Video ───────────────────────────────────────────────────
4217
+ "expo-av": "~16.0.8",
4218
+ // ─── Auth — Google ───────────────────────────────────────────
4219
+ "@react-native-google-signin/google-signin": "^13.1.0",
4220
+ // ─── Auth — Facebook ─────────────────────────────────────────
4221
+ "expo-auth-session": "~7.0.11",
4222
+ "expo-crypto": "~15.0.9",
4223
+ // ─── Auth — Apple ────────────────────────────────────────────
4224
+ "expo-apple-authentication": "~8.0.8",
4225
+ // ─── WebView ─────────────────────────────────────────────────
4226
+ "react-native-webview": "~13.15.0",
4227
+ // ─── i18n ────────────────────────────────────────────────────
4228
+ i18next: "^24.2.0",
4229
+ "react-i18next": "^15.2.0",
4230
+ "expo-localization": "~17.0.8",
4231
+ // ─── OTA ─────────────────────────────────────────────────────
4232
+ "expo-updates": "~29.0.17",
4233
+ // ─── Notifications ───────────────────────────────────────────
4234
+ "expo-notifications": "~0.32.17",
4235
+ // ─── Permissions ─────────────────────────────────────────────
4236
+ "expo-image-picker": "~17.0.11",
4237
+ "expo-camera": "~17.0.10",
4238
+ "expo-location": "~19.0.8",
4239
+ // ─── Bottom Sheet ────────────────────────────────────────────
4240
+ "@gorhom/bottom-sheet": "^5.1.0",
4241
+ // ─── FlashList ───────────────────────────────────────────────
4242
+ "@shopify/flash-list": "2.0.2",
4243
+ // ─── UI — reactnative.reusables ──────────────────────────────
4244
+ "class-variance-authority": "^0.7.1",
4245
+ clsx: "^2.1.1",
4246
+ "tailwind-merge": "^2.6.0",
4247
+ "@rn-primitives/slot": "^1.1.0",
4248
+ "@rn-primitives/types": "^1.1.0",
4249
+ "@rn-primitives/label": "^1.1.0",
4250
+ "@rn-primitives/separator": "^1.1.0",
4251
+ "@rn-primitives/alert-dialog": "^1.1.0",
4252
+ "@rn-primitives/portal": "^1.1.0"
4199
4253
  },
4200
4254
  devDependencies: {
4201
4255
  "@types/react": "~19.1.0",
@@ -4208,7 +4262,7 @@ function generateBasePackageJson(projectName) {
4208
4262
 
4209
4263
  // src/index.ts
4210
4264
  var import_execa = require("execa");
4211
- var CLI_VERSION = "1.5.0";
4265
+ var CLI_VERSION = "1.6.1";
4212
4266
  var CONFIG_FILE = ".expo-bbase.json";
4213
4267
  async function run() {
4214
4268
  const program = new import_commander.Command();
@@ -4343,17 +4397,6 @@ async function createProject(projectName) {
4343
4397
  }
4344
4398
  spinner.text = "Generating package.json...";
4345
4399
  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
4400
  const pkgPath = import_path2.default.join(targetDir, "package.json");
4358
4401
  await writeJson(pkgPath, pkgJson);
4359
4402
  spinner.text = "Configuring app.json...";
@@ -4452,18 +4495,9 @@ async function upgradeProject(targetDir) {
4452
4495
  }
4453
4496
  }
4454
4497
  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
4498
  const basePkg = generateBasePackageJson(config.projectName);
4462
- Object.assign(allDeps, basePkg.dependencies);
4463
- Object.assign(
4464
- allDevDeps,
4465
- basePkg.devDependencies
4466
- );
4499
+ const allDeps = basePkg.dependencies;
4500
+ const allDevDeps = basePkg.devDependencies;
4467
4501
  const pkgPath = import_path2.default.join(absDir, "package.json");
4468
4502
  await mergeDependencies(pkgPath, allDeps, allDevDeps);
4469
4503
  spinner.text = "Updating app.json...";
@@ -4595,14 +4629,6 @@ async function addModule(moduleIds, targetDir) {
4595
4629
  }
4596
4630
  }
4597
4631
  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
4632
  spinner.text = "Updating app.json...";
4607
4633
  const existingModules = getModulesByIds(config.selectedModules);
4608
4634
  await updateAppJson(