diff --git a/packages/cli-config-apple/README.md b/packages/cli-config-apple/README.md new file mode 100644 index 000000000..297395f00 --- /dev/null +++ b/packages/cli-config-apple/README.md @@ -0,0 +1,31 @@ +# @react-native-community/cli-config-apple + +This package is part of the [React Native CLI](../../README.md). It contains utilities for building reusable commands targeting Apple platforms. + +## Installation + +```sh +yarn add @react-native-community/cli-config-apple +``` + +## Usage + +This package is intended to be used internally in [React Native CLI](../../README.md) and by out of tree platforms. + +`cli-config-apple` exports utilities to create OOT platform config for autolinking. + +- `getProjectConfig()` - creates project config for given platform +- `getDependencyConfig()` - creates dependency config for given platform + +Example (`/packages/react-native/react-native.config.js`): + +```js +platforms: { + visionos: { + npmPackageName: '@callstack/react-native-visionos', + projectConfig: getProjectConfig({platformName: 'visionos'}), + dependencyConfig: getDependencyConfig({platformName: 'visionos'}), + }, + .. + }, +``` diff --git a/packages/cli-config-apple/package.json b/packages/cli-config-apple/package.json new file mode 100644 index 000000000..0f456c81f --- /dev/null +++ b/packages/cli-config-apple/package.json @@ -0,0 +1,30 @@ +{ + "name": "@react-native-community/cli-config-apple", + "version": "15.0.0", + "license": "MIT", + "main": "build/index.js", + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@react-native-community/cli-tools": "15.0.0", + "chalk": "^4.1.2", + "execa": "^5.0.0", + "fast-glob": "^3.3.2" + }, + "devDependencies": { + "@react-native-community/cli-types": "15.0.0", + "ora": "^5.4.1" + }, + "files": [ + "build", + "!*.d.ts", + "!*.map" + ], + "homepage": "https://github.com/react-native-community/cli/tree/main/packages/cli-config-apple", + "repository": { + "type": "git", + "url": "https://github.com/react-native-community/cli.git", + "directory": "packages/cli-config-apple" + } +} diff --git a/packages/cli-platform-apple/src/__tests__/pods.test.ts b/packages/cli-config-apple/src/__tests__/pods.test.ts similarity index 100% rename from packages/cli-platform-apple/src/__tests__/pods.test.ts rename to packages/cli-config-apple/src/__tests__/pods.test.ts diff --git a/packages/cli-platform-apple/src/config/__fixtures__/files/project.pbxproj b/packages/cli-config-apple/src/config/__fixtures__/files/project.pbxproj similarity index 100% rename from packages/cli-platform-apple/src/config/__fixtures__/files/project.pbxproj rename to packages/cli-config-apple/src/config/__fixtures__/files/project.pbxproj diff --git a/packages/cli-platform-apple/src/config/__fixtures__/projects.ts b/packages/cli-config-apple/src/config/__fixtures__/projects.ts similarity index 100% rename from packages/cli-platform-apple/src/config/__fixtures__/projects.ts rename to packages/cli-config-apple/src/config/__fixtures__/projects.ts diff --git a/packages/cli-platform-apple/src/config/__tests__/__snapshots__/findPodfilePath.test.ts.snap b/packages/cli-config-apple/src/config/__tests__/__snapshots__/findPodfilePath.test.ts.snap similarity index 100% rename from packages/cli-platform-apple/src/config/__tests__/__snapshots__/findPodfilePath.test.ts.snap rename to packages/cli-config-apple/src/config/__tests__/__snapshots__/findPodfilePath.test.ts.snap diff --git a/packages/cli-platform-apple/src/config/__tests__/findPbxprojFile.test.ts b/packages/cli-config-apple/src/config/__tests__/findPbxprojFile.test.ts similarity index 100% rename from packages/cli-platform-apple/src/config/__tests__/findPbxprojFile.test.ts rename to packages/cli-config-apple/src/config/__tests__/findPbxprojFile.test.ts diff --git a/packages/cli-platform-apple/src/config/__tests__/findPodfilePath.test.ts b/packages/cli-config-apple/src/config/__tests__/findPodfilePath.test.ts similarity index 100% rename from packages/cli-platform-apple/src/config/__tests__/findPodfilePath.test.ts rename to packages/cli-config-apple/src/config/__tests__/findPodfilePath.test.ts diff --git a/packages/cli-platform-apple/src/config/__tests__/findPodspec.test.ts b/packages/cli-config-apple/src/config/__tests__/findPodspec.test.ts similarity index 100% rename from packages/cli-platform-apple/src/config/__tests__/findPodspec.test.ts rename to packages/cli-config-apple/src/config/__tests__/findPodspec.test.ts diff --git a/packages/cli-platform-apple/src/config/__tests__/findXcodeProject.test.ts b/packages/cli-config-apple/src/config/__tests__/findXcodeProject.test.ts similarity index 100% rename from packages/cli-platform-apple/src/config/__tests__/findXcodeProject.test.ts rename to packages/cli-config-apple/src/config/__tests__/findXcodeProject.test.ts diff --git a/packages/cli-platform-apple/src/config/__tests__/getProjectConfig.test.ts b/packages/cli-config-apple/src/config/__tests__/getProjectConfig.test.ts similarity index 100% rename from packages/cli-platform-apple/src/config/__tests__/getProjectConfig.test.ts rename to packages/cli-config-apple/src/config/__tests__/getProjectConfig.test.ts diff --git a/packages/cli-platform-apple/src/config/findAllPodfilePaths.ts b/packages/cli-config-apple/src/config/findAllPodfilePaths.ts similarity index 100% rename from packages/cli-platform-apple/src/config/findAllPodfilePaths.ts rename to packages/cli-config-apple/src/config/findAllPodfilePaths.ts diff --git a/packages/cli-platform-apple/src/config/findPbxprojFile.ts b/packages/cli-config-apple/src/config/findPbxprojFile.ts similarity index 100% rename from packages/cli-platform-apple/src/config/findPbxprojFile.ts rename to packages/cli-config-apple/src/config/findPbxprojFile.ts diff --git a/packages/cli-platform-apple/src/config/findPodfilePath.ts b/packages/cli-config-apple/src/config/findPodfilePath.ts similarity index 100% rename from packages/cli-platform-apple/src/config/findPodfilePath.ts rename to packages/cli-config-apple/src/config/findPodfilePath.ts diff --git a/packages/cli-platform-apple/src/config/findPodspec.ts b/packages/cli-config-apple/src/config/findPodspec.ts similarity index 100% rename from packages/cli-platform-apple/src/config/findPodspec.ts rename to packages/cli-config-apple/src/config/findPodspec.ts diff --git a/packages/cli-platform-apple/src/config/findXcodeProject.ts b/packages/cli-config-apple/src/config/findXcodeProject.ts similarity index 100% rename from packages/cli-platform-apple/src/config/findXcodeProject.ts rename to packages/cli-config-apple/src/config/findXcodeProject.ts diff --git a/packages/cli-platform-apple/src/config/index.ts b/packages/cli-config-apple/src/config/index.ts similarity index 100% rename from packages/cli-platform-apple/src/config/index.ts rename to packages/cli-config-apple/src/config/index.ts diff --git a/packages/cli-platform-apple/src/config/supportedPlatforms.ts b/packages/cli-config-apple/src/config/supportedPlatforms.ts similarity index 100% rename from packages/cli-platform-apple/src/config/supportedPlatforms.ts rename to packages/cli-config-apple/src/config/supportedPlatforms.ts diff --git a/packages/cli-config-apple/src/index.ts b/packages/cli-config-apple/src/index.ts new file mode 100644 index 000000000..d5079a753 --- /dev/null +++ b/packages/cli-config-apple/src/index.ts @@ -0,0 +1,11 @@ +export { + getDependencyConfig, + getProjectConfig, + findPodfilePaths, +} from './config'; + +export {default as installPods} from './tools/installPods'; +export {default as resolvePods} from './tools/pods'; +export {default as findXcodeProject} from './config/findXcodeProject'; +export {default as findPbxprojFile} from './config/findPbxprojFile'; +export {supportedPlatforms} from './config/supportedPlatforms'; diff --git a/packages/cli-platform-apple/src/tools/installPods.ts b/packages/cli-config-apple/src/tools/installPods.ts similarity index 100% rename from packages/cli-platform-apple/src/tools/installPods.ts rename to packages/cli-config-apple/src/tools/installPods.ts diff --git a/packages/cli-platform-apple/src/tools/pods.ts b/packages/cli-config-apple/src/tools/pods.ts similarity index 98% rename from packages/cli-platform-apple/src/tools/pods.ts rename to packages/cli-config-apple/src/tools/pods.ts index 2895c3d9f..f2ea7da9a 100644 --- a/packages/cli-platform-apple/src/tools/pods.ts +++ b/packages/cli-config-apple/src/tools/pods.ts @@ -24,7 +24,7 @@ interface NativeDependencies { [key: string]: DependencyConfig; } -export function getPackageJson(root: string) { +function getPackageJson(root: string) { try { return require(path.join(root, 'package.json')); } catch { diff --git a/packages/cli-platform-apple/src/tools/runBundleInstall.ts b/packages/cli-config-apple/src/tools/runBundleInstall.ts similarity index 100% rename from packages/cli-platform-apple/src/tools/runBundleInstall.ts rename to packages/cli-config-apple/src/tools/runBundleInstall.ts diff --git a/packages/cli-config-apple/src/types.ts b/packages/cli-config-apple/src/types.ts new file mode 100644 index 000000000..6704df075 --- /dev/null +++ b/packages/cli-config-apple/src/types.ts @@ -0,0 +1,13 @@ +import {supportedPlatforms} from './config/supportedPlatforms'; + +type ObjectValues = T[keyof T]; + +export type ApplePlatform = ObjectValues; + +export interface BuilderCommand { + /** + * Lowercase name of the platform. + * Example: 'ios', 'visionos' + */ + platformName: ApplePlatform; +} diff --git a/packages/cli-config-apple/tsconfig.json b/packages/cli-config-apple/tsconfig.json new file mode 100644 index 000000000..802f5b8a8 --- /dev/null +++ b/packages/cli-config-apple/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "build", + }, + "references": [{"path": "../cli-tools"}, {"path": "../cli-types"}] +} diff --git a/packages/cli-platform-apple/package.json b/packages/cli-platform-apple/package.json index 67b482008..6d2cb2c6a 100644 --- a/packages/cli-platform-apple/package.json +++ b/packages/cli-platform-apple/package.json @@ -7,17 +7,14 @@ "access": "public" }, "dependencies": { + "@react-native-community/cli-config-apple": "15.0.0", "@react-native-community/cli-tools": "15.0.0", "chalk": "^4.1.2", "execa": "^5.0.0", - "fast-glob": "^3.3.2", - "fast-xml-parser": "^4.4.1", - "ora": "^5.4.1" + "fast-xml-parser": "^4.4.1" }, "devDependencies": { - "@react-native-community/cli-types": "15.0.0", - "@types/lodash": "^4.14.149", - "hasbin": "^1.2.3" + "@react-native-community/cli-types": "15.0.0" }, "files": [ "build", diff --git a/packages/cli-platform-apple/src/commands/buildCommand/buildProject.ts b/packages/cli-platform-apple/src/commands/buildCommand/buildProject.ts index 43db41eb3..4f68b6215 100644 --- a/packages/cli-platform-apple/src/commands/buildCommand/buildProject.ts +++ b/packages/cli-platform-apple/src/commands/buildCommand/buildProject.ts @@ -12,7 +12,7 @@ import { } from '@react-native-community/cli-tools'; import type {BuildFlags} from './buildOptions'; import {simulatorDestinationMap} from './simulatorDestinationMap'; -import {supportedPlatforms} from '../../config/supportedPlatforms'; +import {supportedPlatforms} from '@react-native-community/cli-config-apple'; import {ApplePlatform} from '../../types'; function prettifyXcodebuildMessages(output: string): Set { diff --git a/packages/cli-platform-apple/src/commands/buildCommand/createBuild.ts b/packages/cli-platform-apple/src/commands/buildCommand/createBuild.ts index 3e06b6c10..4a2e480a7 100644 --- a/packages/cli-platform-apple/src/commands/buildCommand/createBuild.ts +++ b/packages/cli-platform-apple/src/commands/buildCommand/createBuild.ts @@ -1,13 +1,15 @@ import {CLIError} from '@react-native-community/cli-tools'; import {Config, IOSProjectConfig} from '@react-native-community/cli-types'; import getArchitecture from '../../tools/getArchitecture'; -import resolvePods from '../../tools/pods'; import {BuildFlags} from './buildOptions'; import {buildProject} from './buildProject'; import {getConfiguration} from './getConfiguration'; import {getXcodeProjectAndDir} from './getXcodeProjectAndDir'; import {BuilderCommand} from '../../types'; -import {supportedPlatforms} from '../../config/supportedPlatforms'; +import { + supportedPlatforms, + resolvePods, +} from '@react-native-community/cli-config-apple'; const createBuild = ({platformName}: BuilderCommand) => diff --git a/packages/cli-platform-apple/src/commands/buildCommand/getXcodeProjectAndDir.ts b/packages/cli-platform-apple/src/commands/buildCommand/getXcodeProjectAndDir.ts index d2826b900..133bb9d10 100644 --- a/packages/cli-platform-apple/src/commands/buildCommand/getXcodeProjectAndDir.ts +++ b/packages/cli-platform-apple/src/commands/buildCommand/getXcodeProjectAndDir.ts @@ -1,7 +1,7 @@ import fs from 'fs'; import {IOSProjectConfig} from '@react-native-community/cli-types'; import {CLIError} from '@react-native-community/cli-tools'; -import findXcodeProject from '../../config/findXcodeProject'; +import {findXcodeProject} from '@react-native-community/cli-config-apple'; import {getPlatformInfo} from '../runCommand/getPlatformInfo'; import {ApplePlatform} from '../../types'; diff --git a/packages/cli-platform-apple/src/commands/logCommand/createLog.ts b/packages/cli-platform-apple/src/commands/logCommand/createLog.ts index 661a4bd7e..a8fa1d005 100644 --- a/packages/cli-platform-apple/src/commands/logCommand/createLog.ts +++ b/packages/cli-platform-apple/src/commands/logCommand/createLog.ts @@ -6,7 +6,7 @@ import path from 'path'; import listDevices from '../../tools/listDevices'; import {getPlatformInfo} from '../runCommand/getPlatformInfo'; import {BuilderCommand, Device} from '../../types'; -import {supportedPlatforms} from '../../config/supportedPlatforms'; +import {supportedPlatforms} from '@react-native-community/cli-config-apple'; import {promptForDeviceToTailLogs} from '../../tools/prompts'; /** diff --git a/packages/cli-platform-apple/src/commands/runCommand/createRun.ts b/packages/cli-platform-apple/src/commands/runCommand/createRun.ts index 692334abb..53b573df7 100644 --- a/packages/cli-platform-apple/src/commands/runCommand/createRun.ts +++ b/packages/cli-platform-apple/src/commands/runCommand/createRun.ts @@ -20,7 +20,6 @@ import { } from '@react-native-community/cli-tools'; import getArchitecture from '../../tools/getArchitecture'; import listDevices from '../../tools/listDevices'; -import resolvePods, {getPackageJson} from '../../tools/pods'; import {promptForDeviceSelection} from '../../tools/prompts'; import {BuildFlags} from '../buildCommand/buildOptions'; import {buildProject} from '../buildCommand/buildProject'; @@ -32,7 +31,10 @@ import {printFoundDevices, matchingDevice} from './matchingDevice'; import {runOnDevice} from './runOnDevice'; import {runOnSimulator} from './runOnSimulator'; import {BuilderCommand} from '../../types'; -import {supportedPlatforms} from '../../config/supportedPlatforms'; +import { + supportedPlatforms, + resolvePods, +} from '@react-native-community/cli-config-apple'; import openApp from './openApp'; export interface FlagsT extends BuildFlags { @@ -46,6 +48,16 @@ export interface FlagsT extends BuildFlags { terminal?: string; } +function getPackageJson(root: string) { + try { + return require(path.join(root, 'package.json')); + } catch { + throw new CLIError( + 'No package.json found. Please make sure the file exists in the current folder.', + ); + } +} + const createRun = ({platformName}: BuilderCommand) => async (_: Array, ctx: Config, args: FlagsT) => { diff --git a/packages/cli-platform-apple/src/index.ts b/packages/cli-platform-apple/src/index.ts index ec0011f04..1644d5891 100644 --- a/packages/cli-platform-apple/src/index.ts +++ b/packages/cli-platform-apple/src/index.ts @@ -2,7 +2,10 @@ export { getDependencyConfig, getProjectConfig, findPodfilePaths, -} from './config'; + installPods, + findXcodeProject, + findPbxprojFile, +} from '@react-native-community/cli-config-apple'; export {getBuildOptions} from './commands/buildCommand/buildOptions'; export {getLogOptions} from './commands/logCommand/logOptions'; @@ -13,7 +16,3 @@ export {default as createLog} from './commands/logCommand/createLog'; export {default as createRun} from './commands/runCommand/createRun'; export {default as getArchitecture} from './tools/getArchitecture'; -export {default as installPods} from './tools/installPods'; - -export {default as findXcodeProject} from './config/findXcodeProject'; -export {default as findPbxprojFile} from './config/findPbxprojFile'; diff --git a/packages/cli-platform-apple/src/types.ts b/packages/cli-platform-apple/src/types.ts index f7b0f2d3d..6d3778ba7 100644 --- a/packages/cli-platform-apple/src/types.ts +++ b/packages/cli-platform-apple/src/types.ts @@ -1,4 +1,4 @@ -import {supportedPlatforms} from './config/supportedPlatforms'; +import {supportedPlatforms} from '@react-native-community/cli-config-apple'; type ObjectValues = T[keyof T]; diff --git a/packages/cli-platform-apple/tsconfig.json b/packages/cli-platform-apple/tsconfig.json index 802f5b8a8..044c36870 100644 --- a/packages/cli-platform-apple/tsconfig.json +++ b/packages/cli-platform-apple/tsconfig.json @@ -2,7 +2,11 @@ "extends": "../../tsconfig.json", "compilerOptions": { "rootDir": "src", - "outDir": "build", + "outDir": "build" }, - "references": [{"path": "../cli-tools"}, {"path": "../cli-types"}] + "references": [ + {"path": "../cli-tools"}, + {"path": "../cli-types"}, + {"path": "../cli-config-apple"} + ] } diff --git a/packages/cli-platform-ios/package.json b/packages/cli-platform-ios/package.json index 7985cedb6..fd124953e 100644 --- a/packages/cli-platform-ios/package.json +++ b/packages/cli-platform-ios/package.json @@ -9,6 +9,9 @@ "dependencies": { "@react-native-community/cli-platform-apple": "15.0.0" }, + "devDependencies": { + "hasbin": "^1.2.3" + }, "files": [ "build", "!*.d.ts", diff --git a/packages/cli-tools/package.json b/packages/cli-tools/package.json index 23d52745c..07894e97a 100644 --- a/packages/cli-tools/package.json +++ b/packages/cli-tools/package.json @@ -21,7 +21,6 @@ }, "devDependencies": { "@react-native-community/cli-types": "15.0.0", - "@types/lodash": "^4.14.149", "@types/mime": "^2.0.1", "@types/node": "^18.0.0", "@types/prompts": "^2.4.4", diff --git a/yarn.lock b/yarn.lock index 8ed134331..8383deb2e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3046,11 +3046,6 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/lodash@^4.14.149": - version "4.14.149" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" - integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ== - "@types/mime@*", "@types/mime@^2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.1.tgz#dc488842312a7f075149312905b5e3c0b054c79d" @@ -10755,16 +10750,7 @@ string-natural-compare@^3.0.1: resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4" integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw== -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -10859,7 +10845,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -10880,13 +10866,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" @@ -11765,7 +11744,7 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -11783,15 +11762,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"