diff --git a/.yarnrc.yml b/.yarnrc.yml index 1d0dbd53..b0c73243 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -3,7 +3,6 @@ nmHoistingLimits: workspaces nodeLinker: node-modules plugins: - - path: scripts/pod-install.cjs - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs spec: "@yarnpkg/plugin-interactive-tools" - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b521be6d..e718b19b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -58,7 +58,7 @@ By default, the example is configured to build with the old architecture. To run 2. For iOS, run: ```sh - RCT_NEW_ARCH_ENABLED=1 yarn pod-install example/ios + cd example/ios && bundler install && RCT_NEW_ARCH_ENABLED=1 bundler exec pod install yarn example ios ``` diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index fa11307c..2bc44849 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1111,12 +1111,12 @@ PODS: - React-jsi (= 0.73.4) - React-logger (= 0.73.4) - React-perflogger (= 0.73.4) - - RNLiveMarkdown (0.1.52): + - RNLiveMarkdown (0.1.54): - glog - RCT-Folly (= 2022.05.16.00) - React-Core - - RNLiveMarkdown/common (= 0.1.52) - - RNLiveMarkdown/common (0.1.52): + - RNLiveMarkdown/common (= 0.1.54) + - RNLiveMarkdown/common (0.1.54): - glog - RCT-Folly (= 2022.05.16.00) - React-Core @@ -1376,7 +1376,7 @@ SPEC CHECKSUMS: React-runtimescheduler: ed48e5faac6751e66ee1261c4bd01643b436f112 React-utils: 6e5ad394416482ae21831050928ae27348f83487 ReactCommon: 840a955d37b7f3358554d819446bffcf624b2522 - RNLiveMarkdown: 35d7377d07dcf3e0ecfb1b202550f31829e1ae42 + RNLiveMarkdown: 2f6f838a2089bd7337020a82800cb0c05c48c5d9 SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Yoga: 64cd2a583ead952b0315d5135bf39e053ae9be70 diff --git a/example/package.json b/example/package.json index 5dd5ba95..aa860a50 100644 --- a/example/package.json +++ b/example/package.json @@ -19,8 +19,7 @@ "@babel/runtime": "^7.20.0", "@react-native/babel-preset": "0.73.21", "@react-native/metro-config": "0.73.5", - "babel-plugin-module-resolver": "^5.0.0", - "pod-install": "^0.1.0" + "babel-plugin-module-resolver": "^5.0.0" }, "engines": { "node": ">=18" diff --git a/package.json b/package.json index 3357697d..b4f9ce64 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,6 @@ "eslint-plugin-tsdoc": "^0.2.17", "jest": "^29.6.3", "jest-environment-jsdom": "^29.7.0", - "pod-install": "^0.1.0", "prettier": "2.8.8", "react": "18.2.0", "react-native": "0.73.4", diff --git a/scripts/pod-install.cjs b/scripts/pod-install.cjs deleted file mode 100644 index 654c9229..00000000 --- a/scripts/pod-install.cjs +++ /dev/null @@ -1,40 +0,0 @@ -const child_process = require('child_process'); - -module.exports = { - name: 'pod-install', - factory() { - return { - hooks: { - afterAllInstalled(project, options) { - if (process.env.POD_INSTALL === '0') { - return; - } - - if ( - options && - (options.mode === 'update-lockfile' || - options.mode === 'skip-build') - ) { - return; - } - - const result = child_process.spawnSync( - 'yarn', - ['pod-install', 'example/ios'], - { - cwd: project.cwd, - env: process.env, - stdio: 'inherit', - encoding: 'utf-8', - shell: true, - } - ); - - if (result.status !== 0) { - throw new Error('Failed to run pod-install'); - } - }, - }, - }; - }, -}; diff --git a/yarn.lock b/yarn.lock index 583991d9..957b478c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2375,7 +2375,6 @@ __metadata: "@react-native/metro-config": 0.73.5 babel-plugin-module-resolver: ^5.0.0 patch-package: ^8.0.0 - pod-install: ^0.1.0 postinstall-postinstall: ^2.1.0 react: 18.2.0 react-native: 0.73.4 @@ -2429,7 +2428,6 @@ __metadata: eslint-plugin-tsdoc: ^0.2.17 jest: ^29.6.3 jest-environment-jsdom: ^29.7.0 - pod-install: ^0.1.0 prettier: 2.8.8 react: 18.2.0 react-native: 0.73.4 @@ -15830,15 +15828,6 @@ __metadata: languageName: node linkType: hard -"pod-install@npm:^0.1.0": - version: 0.1.39 - resolution: "pod-install@npm:0.1.39" - bin: - pod-install: build/index.js - checksum: 200302341847251d4db25f950d15367f6f45f5358d87b18bf01054094f02b2572d007f73c8020b1565dd3e6b23f861965f9bad434873d3c8e834be0e7124fa3e - languageName: node - linkType: hard - "possible-typed-array-names@npm:^1.0.0": version: 1.0.0 resolution: "possible-typed-array-names@npm:1.0.0"