expo-bbase 1.3.1 → 1.3.2

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
@@ -1732,6 +1732,20 @@ var animationModule = {
1732
1732
  },
1733
1733
  devDependencies: {},
1734
1734
  files: [
1735
+ {
1736
+ path: "babel.config.js",
1737
+ content: `module.exports = function (api) {
1738
+ api.cache(true);
1739
+ return {
1740
+ presets: [
1741
+ ["babel-preset-expo", { jsxImportSource: "nativewind" }],
1742
+ "nativewind/babel",
1743
+ ],
1744
+ plugins: [],
1745
+ };
1746
+ };
1747
+ `
1748
+ },
1735
1749
  {
1736
1750
  path: "src/modules/animation/index.ts",
1737
1751
  content: lines(
@@ -1788,8 +1802,9 @@ var animationModule = {
1788
1802
  )
1789
1803
  }
1790
1804
  ],
1791
- // Reanimated v4 Babel plugin is auto-managed by babel-preset-expo (SDK 54+)
1792
- // No need to manually add react-native-reanimated/plugin
1805
+ // When animation module is selected, babel.config.js is overwritten above
1806
+ // to re-enable babel-preset-expo's auto-detection of reanimated/worklets plugins
1807
+ // (since those packages will be installed as dependencies)
1793
1808
  babelPlugins: []
1794
1809
  };
1795
1810
  var animation_default = animationModule;
@@ -3632,7 +3647,7 @@ module.exports = withNativeWind(config, { input: "./global.css" });
3632
3647
  api.cache(true);
3633
3648
  return {
3634
3649
  presets: [
3635
- ["babel-preset-expo", { jsxImportSource: "nativewind" }],
3650
+ ["babel-preset-expo", { jsxImportSource: "nativewind", reanimated: false, worklets: false }],
3636
3651
  "nativewind/babel",
3637
3652
  ],
3638
3653
  plugins: [],
@@ -4200,7 +4215,7 @@ function generateBasePackageJson(projectName) {
4200
4215
 
4201
4216
  // src/index.ts
4202
4217
  var import_execa = require("execa");
4203
- var CLI_VERSION = "1.3.1";
4218
+ var CLI_VERSION = "1.3.2";
4204
4219
  var CONFIG_FILE = ".expo-bbase.json";
4205
4220
  async function run() {
4206
4221
  const program = new import_commander.Command();