diff --git a/boilerplate/package.json.ejs b/boilerplate/package.json.ejs index 9c4237d65..f975faac4 100644 --- a/boilerplate/package.json.ejs +++ b/boilerplate/package.json.ejs @@ -21,8 +21,7 @@ "lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy", "fixcode": "standard --fix", <%_ } _%> - "storybook": "storybook start -p 7007", - "postinstall": "node xcode_10_setup.js" + "storybook": "storybook start -p 7007" }, "dependencies": { "apisauce": "0.16.0", diff --git a/boilerplate/xcode_10_setup.js b/boilerplate/xcode_10_setup.js index b36108830..e69de29bb 100644 --- a/boilerplate/xcode_10_setup.js +++ b/boilerplate/xcode_10_setup.js @@ -1,17 +0,0 @@ -// See https://github.com/wix/react-native-navigation/issues/3608 -var fs = require('fs') -var os = require('os') -var execSync = require('child_process').execSync - -// this script only applies to iOS and xcode 10, so it should only run on Macs -if (os.platform() === 'darwin') { - // this section installs third-party code if missing - if (!fs.existsSync('node_modules/react-native/third-party')) { - console.log('Running third-party install script') - execSync('cd node_modules/react-native ; ./scripts/ios-install-third-party.sh ; cd ../../') - } - - // this section runs the glog configure script which is currently required for react-native v0.57.x (see release notes) - console.log('Running glog configure script') - execSync('cd node_modules/react-native/third-party/glog-0.3.5 ; ../../scripts/ios-configure-glog.sh ; cd ../../../../../') -} diff --git a/src/boilerplate/files.js b/src/boilerplate/files.js index 40334b132..ed6834c78 100644 --- a/src/boilerplate/files.js +++ b/src/boilerplate/files.js @@ -45,7 +45,6 @@ module.exports = async function (context, props, jhipsterConfig) { // generate some templates spinner.text = '▸ generating files' const templates = [ - { template: 'xcode_10_setup.js', target: 'xcode_10_setup.js' }, { template: 'index.js.ejs', target: 'index.js' }, { template: 'README.md', target: 'README.md' }, { template: 'ignite.json.ejs', target: 'ignite/ignite.json' }, diff --git a/src/lib/react-native-version.js b/src/lib/react-native-version.js index 1993c2ce1..538a0550f 100644 --- a/src/lib/react-native-version.js +++ b/src/lib/react-native-version.js @@ -1,7 +1,7 @@ const { pathOr, is } = require('ramda') // the default React Native version for this boilerplate -const REACT_NATIVE_VERSION = '0.57.4' +const REACT_NATIVE_VERSION = '0.57.5' // where the version lives under gluegun const pathToVersion = ['parameters', 'options', 'react-native-version']