@wavemaker/rn-codegen 11.14.1-22.647501 → 11.14.1-22.647589
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/npm-shrinkwrap.json +166 -163
- package/package-lock.json +166 -163
- package/package.json +2 -2
- package/src/templates/babel.config.js.template +3 -1
- package/src/templates/bootstrap.template +3 -1
- package/src/templates/package.web.json +3 -3
- package/src/templates/project/esbuild/esbuild.script.js +37 -1
- package/src/templates/project/package.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/rn-codegen",
|
|
3
|
-
"version": "11.14.1-22.
|
|
3
|
+
"version": "11.14.1-22.647589",
|
|
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.
|
|
45
|
+
"@wavemaker/foundation-css": "11.14.1-22.647589"
|
|
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.
|
|
15
|
-
"@wavemaker/variables": "11.14.1-22.
|
|
16
|
-
"@wavemaker/rn-codegen": "11.14.1-22.
|
|
14
|
+
"@wavemaker/app-rn-runtime": "11.14.1-22.647589",
|
|
15
|
+
"@wavemaker/variables": "11.14.1-22.647589",
|
|
16
|
+
"@wavemaker/rn-codegen": "11.14.1-22.647589",
|
|
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,45 @@ 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/Libraries/Utilities/binaryToBase64.js,
|
|
412
|
+
// react-native/Libraries/vendor/emitter/EventEmitter.js,
|
|
413
|
+
// @react-native/assets-registry/registry.js).
|
|
414
|
+
filter: /node_modules\/(react-native|@react-native)\/.*\.(js|jsx)$/,
|
|
415
|
+
config: {
|
|
416
|
+
babelrc: false,
|
|
417
|
+
configFile: false,
|
|
418
|
+
plugins: [require.resolve('@babel/plugin-transform-flow-strip-types')]
|
|
419
|
+
}
|
|
409
420
|
}), resolve({
|
|
410
421
|
'victory-native': 'victory'
|
|
411
|
-
})
|
|
422
|
+
}), {
|
|
423
|
+
// Fallback resolver: if a bare specifier like `expo-asset` or
|
|
424
|
+
// `@expo/<x>` isn't installed at top-level node_modules (because
|
|
425
|
+
// npm hoisting put it under expo/node_modules/), look for it
|
|
426
|
+
// inside `node_modules/expo/node_modules/` instead.
|
|
427
|
+
name: 'expo-nested-resolver',
|
|
428
|
+
setup(build) {
|
|
429
|
+
const projectModules = path.resolve(__dirname, '../node_modules');
|
|
430
|
+
const expoNested = path.join(projectModules, 'expo/node_modules');
|
|
431
|
+
build.onResolve({ filter: /^(@expo\/|expo-)/ }, (args) => {
|
|
432
|
+
const pkg = args.path.startsWith('@')
|
|
433
|
+
? args.path.split('/').slice(0, 2).join('/')
|
|
434
|
+
: args.path.split('/')[0];
|
|
435
|
+
// Top-level present → let esbuild resolve normally.
|
|
436
|
+
if (fs.existsSync(path.join(projectModules, pkg, 'package.json'))) {
|
|
437
|
+
return null;
|
|
438
|
+
}
|
|
439
|
+
// Top-level missing → try the nested copy under expo/.
|
|
440
|
+
try {
|
|
441
|
+
return { path: require.resolve(args.path, { paths: [expoNested] }) };
|
|
442
|
+
} catch (e) {
|
|
443
|
+
return null;
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
}]
|
|
412
448
|
})
|
|
413
449
|
}
|
|
414
450
|
|
|
@@ -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.
|
|
15
|
-
"@wavemaker/variables": "11.14.1-22.
|
|
16
|
-
"@wavemaker/rn-codegen": "11.14.1-22.
|
|
14
|
+
"@wavemaker/app-rn-runtime": "11.14.1-22.647589",
|
|
15
|
+
"@wavemaker/variables": "11.14.1-22.647589",
|
|
16
|
+
"@wavemaker/rn-codegen": "11.14.1-22.647589",
|
|
17
17
|
"@wavemaker/wavepulse-agent": "1.0.11",
|
|
18
18
|
"expo": "54.0.12",
|
|
19
19
|
"expo-build-properties": "1.0.9",
|