@wavemaker/rn-codegen 11.14.1-22.647501 → 11.14.1-22.647577

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/rn-codegen",
3
- "version": "11.14.1-22.647501",
3
+ "version": "11.14.1-22.647577",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -42,7 +42,7 @@
42
42
  "puppeteer": "5.4.0",
43
43
  "rimraf": "3.0.2",
44
44
  "yargs": "16.2.0",
45
- "@wavemaker/foundation-css": "11.14.1-22.647501"
45
+ "@wavemaker/foundation-css": "11.14.1-22.647577"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/adm-zip": "0.5.0",
@@ -1,7 +1,9 @@
1
1
  module.exports = function(api) {
2
2
  api.cache(true);
3
3
  return {
4
- presets: ['babel-preset-expo'],
4
+ presets: [require.resolve('babel-preset-expo', {
5
+ paths: [__dirname, require('path').dirname(require.resolve('expo/package.json'))]
6
+ })],
5
7
  plugins: [
6
8
  {{#if enableLogs}} {{else}}'transform-remove-console', {{/if}}
7
9
  '@babel/plugin-proposal-export-namespace-from',
@@ -34,7 +34,9 @@ export const appConfig = {
34
34
  },
35
35
  revertLayoutToExpo50: config.revertLayoutToExpo50,
36
36
  edgeToEdgeConfig:config.edgeToEdgeConfig,
37
- disableNavigationAnimation:config.disableNavigationAnimation
37
+ disableNavigationAnimation:config.disableNavigationAnimation,
38
+ detachInactiveScreens:config.detachInactiveScreens,
39
+ isLegacyTappable:config.isLegacyTappable
38
40
  };
39
41
 
40
42
  {{#if profile.generateWeb}}
@@ -11,9 +11,9 @@
11
11
  "postinstall": ""
12
12
  },
13
13
  "dependencies": {
14
- "@wavemaker/app-rn-runtime": "11.14.1-22.647501",
15
- "@wavemaker/variables": "11.14.1-22.647501",
16
- "@wavemaker/rn-codegen": "11.14.1-22.647501",
14
+ "@wavemaker/app-rn-runtime": "11.14.1-22.647577",
15
+ "@wavemaker/variables": "11.14.1-22.647577",
16
+ "@wavemaker/rn-codegen": "11.14.1-22.647577",
17
17
  "@wavemaker/wavepulse-agent": "1.0.11",
18
18
  "expo": "54.0.12",
19
19
  "expo-build-properties": "1.0.9",
@@ -406,9 +406,43 @@ class EsBuilder {
406
406
  'react-native-reanimated/plugin',
407
407
  ]
408
408
  }
409
+ }), babel({
410
+ // Strip Flow types from React Native packages that ship Flow source
411
+ // (e.g. @react-native/assets-registry/registry.js).
412
+ filter: /node_modules\/@react-native\/.*\.(js|jsx)$/,
413
+ config: {
414
+ babelrc: false,
415
+ configFile: false,
416
+ plugins: [require.resolve('@babel/plugin-transform-flow-strip-types')]
417
+ }
409
418
  }), resolve({
410
419
  'victory-native': 'victory'
411
- })]
420
+ }), {
421
+ // Fallback resolver: if a bare specifier like `expo-asset` or
422
+ // `@expo/<x>` isn't installed at top-level node_modules (because
423
+ // npm hoisting put it under expo/node_modules/), look for it
424
+ // inside `node_modules/expo/node_modules/` instead.
425
+ name: 'expo-nested-resolver',
426
+ setup(build) {
427
+ const projectModules = path.resolve(__dirname, '../node_modules');
428
+ const expoNested = path.join(projectModules, 'expo/node_modules');
429
+ build.onResolve({ filter: /^(@expo\/|expo-)/ }, (args) => {
430
+ const pkg = args.path.startsWith('@')
431
+ ? args.path.split('/').slice(0, 2).join('/')
432
+ : args.path.split('/')[0];
433
+ // Top-level present → let esbuild resolve normally.
434
+ if (fs.existsSync(path.join(projectModules, pkg, 'package.json'))) {
435
+ return null;
436
+ }
437
+ // Top-level missing → try the nested copy under expo/.
438
+ try {
439
+ return { path: require.resolve(args.path, { paths: [expoNested] }) };
440
+ } catch (e) {
441
+ return null;
442
+ }
443
+ });
444
+ }
445
+ }]
412
446
  })
413
447
  }
414
448
 
@@ -11,9 +11,9 @@
11
11
  "postinstall": "node ./scripts/post-build.js"
12
12
  },
13
13
  "dependencies": {
14
- "@wavemaker/app-rn-runtime": "11.14.1-22.647501",
15
- "@wavemaker/variables": "11.14.1-22.647501",
16
- "@wavemaker/rn-codegen": "11.14.1-22.647501",
14
+ "@wavemaker/app-rn-runtime": "11.14.1-22.647577",
15
+ "@wavemaker/variables": "11.14.1-22.647577",
16
+ "@wavemaker/rn-codegen": "11.14.1-22.647577",
17
17
  "@wavemaker/wavepulse-agent": "1.0.11",
18
18
  "expo": "54.0.12",
19
19
  "expo-build-properties": "1.0.9",