From 62586a557b2115aa2f98b15a85a78d5fe1e3314f Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Tue, 1 Feb 2022 13:45:00 +0100 Subject: [PATCH 1/2] chore: remove global-cli --- lerna.json | 7 +- packages/global-cli/README.md | 65 ----- packages/global-cli/index.js | 331 ------------------------- packages/global-cli/package.json | 28 --- packages/platform-android/package.json | 2 +- yarn.lock | 182 +------------- 6 files changed, 12 insertions(+), 603 deletions(-) delete mode 100644 packages/global-cli/README.md delete mode 100755 packages/global-cli/index.js delete mode 100644 packages/global-cli/package.json diff --git a/lerna.json b/lerna.json index 8e9f4083d..623d0b15f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,10 +1,5 @@ { "version": "7.0.1", "npmClient": "yarn", - "useWorkspaces": true, - "command": { - "publish": { - "ignoreChanges": ["packages/global-cli/**"] - } - } + "useWorkspaces": true } diff --git a/packages/global-cli/README.md b/packages/global-cli/README.md deleted file mode 100644 index 82c141b50..000000000 --- a/packages/global-cli/README.md +++ /dev/null @@ -1,65 +0,0 @@ -## React Native Global CLI - -`react-native-cli` is a command line tool for initializing React Native projects. - -## Installation - -Install it as a global module: - -```sh -yarn global add react-native-cli -``` - -It will create a global `react-native` binary (even though the package name is `react-native-cli`). - -## Usage - -To create a new React Native Project called "AwesomeProject" you can run: - -```sh -react-native init AwesomeProject -``` - -It will install `react-native`, `react`, `jest` and a bunch of other necessary packages from the [default template](https://github.com/facebook/react-native/tree/master/template). - -After it's finished, your AwesomeProject should be ready to use. From this point, you should use your local `react-native` binary to run the proper [React Native CLI](../cli): - -```sh -yarn react-native link native-dep -``` - -## Options - -### `--template` - -Use a custom template. - -Example: this will install init your AwesomeProject using template called `react-native-template-samplename` from npm: - -```sh -react-native init AwesomeProject --template samplename -``` - -You can also pass remote git address and local filepath as a `--template` parameter. - -### `--version` - -Use a custom version. By default `react-native init` will use the latest stable. - -Example: this will install init your AwesomeProject using version `0.57.0`: - -```sh -react-native init AwesomeProject --version 0.57.0 -``` - -You can also install a specific tag, like `next`, using: - -```sh -react-native init AwesomeProject --version react-native@next -``` - -## Future work - -We understand this is counter-intuitive to have two packages for interacting with React Native and it makes the first experience with the framework a bit confusing. - -That's why, as a part of [Lean Core](https://github.com/facebook/react-native/issues/23313) initiative, there's an [ongoing effort](https://github.com/react-native-community/react-native-cli/issues/76) to remove this module so we can use just `react-native` as the only package necessary to install and run React Native commands. diff --git a/packages/global-cli/index.js b/packages/global-cli/index.js deleted file mode 100755 index 51e50f974..000000000 --- a/packages/global-cli/index.js +++ /dev/null @@ -1,331 +0,0 @@ -#!/usr/bin/env node - -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - */ - -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// /!\ DO NOT MODIFY THIS FILE /!\ -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// -// react-native-cli is installed globally on people's computers. This means -// that it is extremely difficult to have them upgrade the version and -// because there's only one global version installed, it is very prone to -// breaking changes. -// -// The only job of react-native-cli is to init the repository and then -// forward all the commands to the local version of react-native. -// -// If you need to add a new command, please add it to @react-native-community/cli. -// -// The only reason to modify this file is to add more warnings and -// troubleshooting information for the `react-native init` command. -// -// To allow for graceful failure on older node versions, this file should -// retain ES5 compatibility. -// -// Do not make breaking changes! We absolutely don't want to have to -// tell people to update their global version of react-native-cli. -// -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -// /!\ DO NOT MODIFY THIS FILE /!\ -// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -const fs = require('fs'); -const path = require('path'); -const exec = require('child_process').exec; -const execSync = require('child_process').execSync; -const prompt = require('prompt'); -const semver = require('semver'); -/** - * Used arguments: - * -v --version - to print current version of react-native-cli and react-native dependency - * if you are in a RN app folder - * init - to create a new project and npm install it - * --verbose - to print logs while init - * --template - name of the template to use, e.g. --template navigation - * --version - override default (https://registry.npmjs.org/react-native@latest), - * package to install, examples: - * - "0.22.0-rc1" - A new app will be created using a specific version of React Native from npm repo - * - "https://registry.npmjs.org/react-native/-/react-native-0.20.0.tgz" - a .tgz archive from any npm repo - * - "/Users/home/react-native/react-native-0.22.0.tgz" - for package prepared with `npm pack`, useful for e2e tests - */ - -const options = require('minimist')(process.argv.slice(2)); - -const getCliPath = function() { - return path.resolve(process.cwd(), 'node_modules', 'react-native', 'cli.js'); -}; - -const getRNPkgJsonPath = function() { - return path.resolve( - process.cwd(), - 'node_modules', - 'react-native', - 'package.json', - ); -}; - -if (options._.length === 0 && (options.v || options.version)) { - printVersionsAndExit(getRNPkgJsonPath()); -} - -// Use Yarn if available, it's much faster than the npm client. -// Return the version of yarn installed on the system, null if yarn is not available. -function getYarnVersionIfAvailable() { - let yarnVersion; - try { - // execSync returns a Buffer -> convert to string - if (process.platform.startsWith('win')) { - yarnVersion = (execSync('yarn --version 2> NUL').toString() || '').trim(); - } else { - yarnVersion = ( - execSync('yarn --version 2>/dev/null').toString() || '' - ).trim(); - } - } catch (error) { - return null; - } - // yarn < 0.16 has a 'missing manifest' bug - try { - if (semver.gte(yarnVersion, '0.16.0')) { - return yarnVersion; - } - return null; - } catch (error) { - console.error(`Cannot parse yarn version: ${yarnVersion}`); - return null; - } -} - -let cli; -const cliPath = getCliPath(); -if (fs.existsSync(cliPath)) { - cli = require(cliPath); -} - -const commands = options._; -if (cli) { - cli.run(); -} else { - if ( - (options._.length === 0 && (options.h || options.help)) || - commands.length === 0 - ) { - console.log( - [ - '', - ' Usage: react-native [command] [options]', - '', - '', - ' Commands:', - '', - ' init [options] generates a new project and installs its dependencies', - '', - ' Options:', - '', - ' -h, --help output usage information', - ' -v, --version use a specific version of React Native', - ' --template use an app template. Use --template to see available templates.', - '', - ].join('\n'), - ); - process.exit(0); - } - - switch (commands[0]) { - case 'init': - if (!commands[1]) { - console.error('Usage: react-native init [--verbose]'); - process.exit(1); - } else { - init(commands[1], options); - } - break; - default: - console.error( - 'Command `%s` unrecognized. ' + - 'Make sure that you have run `npm install` and that you are inside a react-native project.', - commands[0], - ); - process.exit(1); - break; - } -} - -function validateProjectName(name) { - if (!String(name).match(/^[$A-Z_][0-9A-Z_$]*$/i)) { - console.error( - '"%s" is not a valid name for a project. Please use a valid identifier ' + - 'name (alphanumeric).', - name, - ); - process.exit(1); - } - - if (name === 'React') { - console.error( - '"%s" is not a valid name for a project. Please do not use the ' + - 'reserved word "React".', - name, - ); - process.exit(1); - } -} - -/** - * @param name Project name, e.g. 'AwesomeApp'. - * @param options.verbose If true, will run 'npm install' in verbose mode (for debugging). - * @param options.version Version of React Native to install, e.g. '0.38.0'. - * @param options.npm If true, always use the npm command line client, - * don't use yarn even if available. - */ -function init(name, options) { - validateProjectName(name); - - if (fs.existsSync(name)) { - createAfterConfirmation(name, options); - } else { - createProject(name, options); - } -} - -function createAfterConfirmation(name, options) { - prompt.start(); - - const property = { - name: 'yesno', - message: `Directory ${name} already exists. Continue?`, - validator: /y[es]*|n[o]?/, - warning: 'Must respond yes or no', - default: 'no', - }; - - prompt.get(property, (err, result) => { - if (result.yesno[0] === 'y') { - createProject(name, options); - } else { - console.log('Project initialization canceled'); - process.exit(); - } - }); -} - -function createProject(name, options) { - const root = path.resolve(name); - const projectName = path.basename(root); - - console.log( - 'This will walk you through creating a new React Native project in', - root, - ); - - if (!fs.existsSync(root)) { - fs.mkdirSync(root); - } - - const packageJson = { - name: projectName, - version: '0.0.1', - private: true, - scripts: { - start: 'react-native start', - ios: 'react-native run-ios', - android: 'react-native run-android', - }, - }; - fs.writeFileSync( - path.join(root, 'package.json'), - JSON.stringify(packageJson), - ); - process.chdir(root); - - run(root, projectName, options); -} - -function getInstallPackage(rnPackage) { - let packageToInstall = 'react-native'; - const isValidSemver = semver.valid(rnPackage); - if (isValidSemver) { - packageToInstall += `@${isValidSemver}`; - } else if (rnPackage) { - // for tar.gz or alternative paths - packageToInstall = rnPackage; - } - return packageToInstall; -} - -function run(root, projectName, options) { - const rnPackage = options.version; // e.g. '0.38' or '/path/to/archive.tgz' - const forceNpmClient = options.npm; - const yarnVersion = !forceNpmClient && getYarnVersionIfAvailable(); - let installCommand; - if (options.installCommand) { - // In CI environments it can be useful to provide a custom command, - // to set up and use an offline mirror for installing dependencies, for example. - installCommand = options.installCommand; - } else if (yarnVersion) { - console.log(`Using yarn v${yarnVersion}`); - console.log(`Installing ${getInstallPackage(rnPackage)}...`); - installCommand = `yarn add ${getInstallPackage(rnPackage)} --exact`; - if (options.verbose) { - installCommand += ' --verbose'; - } - } else { - console.log(`Installing ${getInstallPackage(rnPackage)}...`); - if (!forceNpmClient) { - console.log( - 'Consider installing yarn to make this faster: https://yarnpkg.com', - ); - } - installCommand = `npm install --save --save-exact ${getInstallPackage( - rnPackage, - )}`; - if (options.verbose) { - installCommand += ' --verbose'; - } - } - try { - execSync(installCommand, {stdio: 'inherit'}); - } catch (err) { - console.error(err); - console.error(`Command \`${installCommand}\` failed.`); - process.exit(1); - } - checkNodeVersion(); - cli = require(getCliPath()); - cli.init(root, projectName); -} - -function checkNodeVersion() { - const packageJson = require(getRNPkgJsonPath()); - if (!packageJson.engines || !packageJson.engines.node) { - return; - } - if (!semver.satisfies(process.version, packageJson.engines.node)) { - console.error( - 'You are currently running Node %s but React Native requires %s. ' + - 'Please use a supported version of Node.\n' + - 'See https://facebook.github.io/react-native/docs/getting-started.html', - process.version, - packageJson.engines.node, - ); - } -} - -function printVersionsAndExit(reactNativePackageJsonPath) { - console.log(`react-native-cli: ${require('./package.json').version}`); - try { - console.log(`react-native: ${require(reactNativePackageJsonPath).version}`); - } catch (e) { - console.log( - 'react-native: n/a - not inside a React Native project directory', - ); - } - process.exit(); -} diff --git a/packages/global-cli/package.json b/packages/global-cli/package.json deleted file mode 100644 index cacecd85a..000000000 --- a/packages/global-cli/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "react-native-cli", - "version": "2.0.2", - "license": "MIT", - "description": "The React Native CLI tools", - "main": "index.js", - "engines": { - "node": ">=4" - }, - "repository": { - "type": "git", - "url": "https://github.com/react-native-community/react-native-cli.git" - }, - "scripts": { - "test": "mocha" - }, - "bin": { - "react-native": "index.js" - }, - "dependencies": { - "minimist": "^1.2.0", - "prompt": "^0.2.14", - "semver": "^5.0.3" - }, - "jest": { - "displayName": "global-cli" - } -} diff --git a/packages/platform-android/package.json b/packages/platform-android/package.json index 9a80b2b3e..7495cde3c 100644 --- a/packages/platform-android/package.json +++ b/packages/platform-android/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-community/cli-platform-android", - "version": "7.0.1", + "version": "7.00.1", "license": "MIT", "main": "build/index.js", "publishConfig": { diff --git a/yarn.lock b/yarn.lock index 41c3490d1..b175735b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3010,11 +3010,6 @@ async-limiter@~1.0.0: resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== -async@0.2.x, async@~0.2.9: - version "0.2.10" - resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" - integrity sha1-trvgsGdLnXGXCMo43owjfLUmw9E= - async@^2.4.0: version "2.6.3" resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" @@ -3899,11 +3894,6 @@ colorette@^1.0.7, colorette@^1.2.2: resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== -colors@0.6.x: - version "0.6.2" - resolved "https://registry.yarnpkg.com/colors/-/colors-0.6.2.tgz#2423fe6678ac0c5dae8852e5d0e5be08c997abcc" - integrity sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w= - columnify@^1.5.4: version "1.5.4" resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" @@ -4397,11 +4387,6 @@ cssstyle@^2.2.0: dependencies: cssom "~0.3.6" -cycle@1.0.x: - version "1.0.3" - resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2" - integrity sha1-IegLK+hYD5i0aPN5QwZisEbDStI= - dargs@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" @@ -4504,24 +4489,6 @@ dedent@^0.7.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= -deep-equal@*: - version "2.0.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.0.1.tgz#fc12bbd6850e93212f21344748682ccc5a8813cf" - integrity sha512-7Et6r6XfNW61CPPCIYfm1YPGSmh6+CliYeL4km7GWJcpX5LTAflGF8drLLR+MZX+2P3NZfAfSduutBbSWqER4g== - dependencies: - es-abstract "^1.16.3" - es-get-iterator "^1.0.1" - is-arguments "^1.0.4" - is-date-object "^1.0.1" - is-regex "^1.0.4" - isarray "^2.0.5" - object-is "^1.0.1" - object-keys "^1.1.1" - regexp.prototype.flags "^1.2.0" - side-channel "^1.0.1" - which-boxed-primitive "^1.0.1" - which-collection "^1.0.0" - deep-is@^0.1.3, deep-is@~0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" @@ -4881,7 +4848,7 @@ errorhandler@^1.5.0: accepts "~1.3.7" escape-html "~1.0.3" -es-abstract@^1.16.3, es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.2, es-abstract@^1.17.4, es-abstract@^1.17.5, es-abstract@^1.19.0, es-abstract@^1.19.1: +es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.2, es-abstract@^1.17.5, es-abstract@^1.19.0, es-abstract@^1.19.1: version "1.19.1" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3" integrity sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w== @@ -4907,19 +4874,6 @@ es-abstract@^1.16.3, es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstrac string.prototype.trimstart "^1.0.4" unbox-primitive "^1.0.1" -es-get-iterator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.0.tgz#bb98ad9d6d63b31aacdc8f89d5d0ee57bcb5b4c8" - integrity sha512-UfrmHuWQlNMTs35e1ypnvikg6jCz3SK8v8ImvmDsh36fCVUR1MqoFDiyn0/k52C8NqO3YsO8Oe0azeesNuqSsQ== - dependencies: - es-abstract "^1.17.4" - has-symbols "^1.0.1" - is-arguments "^1.0.4" - is-map "^2.0.1" - is-set "^2.0.1" - is-string "^1.0.5" - isarray "^2.0.5" - es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" @@ -5383,11 +5337,6 @@ extsprintf@^1.2.0: resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= -eyes@0.1.x: - version "0.1.8" - resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" - integrity sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A= - falafel@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/falafel/-/falafel-2.1.0.tgz#96bb17761daba94f46d001738b3cedf3a67fe06c" @@ -6206,11 +6155,6 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -i@0.3.x: - version "0.3.7" - resolved "https://registry.yarnpkg.com/i/-/i-0.3.7.tgz#2a7437a923d59c14b17243dc63a549af24d85799" - integrity sha512-FYz4wlXgkQwIPqhzC5TdNMLSE5+GS1IIDJZY/1ZiEPCT2S3COUVZeT5OW4BmW4r5LHLQuOosSwsvnroG9GR59Q== - iconv-lite@0.4.24, iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -6411,11 +6355,6 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-arguments@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.0.4.tgz#3faf966c7cba0ff437fb31f6250082fcf0448cf3" - integrity sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA== - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -6608,11 +6547,6 @@ is-lambda@^1.0.1: resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" integrity sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU= -is-map@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.1.tgz#520dafc4307bb8ebc33b813de5ce7c9400d644a1" - integrity sha512-T/S49scO8plUiAOA2DBTBG3JHpn1yiw0kRp6dgiZ0v2/6twi5eiB0rHtHFH9ZIrvlWc6+4O+m4zg5+Z833aXgw== - is-negative-zero@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" @@ -6669,7 +6603,7 @@ is-potential-custom-element-name@^1.0.0: resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz#0c52e54bcca391bb2c494b21e8626d7336c6e397" integrity sha1-DFLlS8yjkbssSUsh6GJtczbG45c= -is-regex@^1.0.4, is-regex@^1.1.4: +is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== @@ -6682,11 +6616,6 @@ is-resolvable@^1.0.0: resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" integrity sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg== -is-set@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.1.tgz#d1604afdab1724986d30091575f54945da7e5f43" - integrity sha512-eJEzOtVyenDs1TMzSQ3kU3K+E0GUS9sno+F0OBT97xsgcJsF9nXMBtkT9/kut5JEpM7oL7X/0qxR17K3mcwIAA== - is-shared-array-buffer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" @@ -6752,11 +6681,6 @@ is-url@^1.2.2: resolved "https://registry.yarnpkg.com/is-url/-/is-url-1.2.4.tgz#04a4df46d28c4cff3d73d01ff06abeb318a1aa52" integrity sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww== -is-weakmap@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" - integrity sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA== - is-weakref@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" @@ -6764,11 +6688,6 @@ is-weakref@^1.0.1: dependencies: call-bind "^1.0.2" -is-weakset@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.1.tgz#e9a0af88dbd751589f5e50d80f4c98b780884f83" - integrity sha512-pi4vhbhVHGLxohUw7PhGsueT4vRGFoXhP7+RGN0jKIv9+8PWYCQTqtADngrxOm2g46hoH0+g8uZZBzMrvVGDmw== - is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" @@ -6796,11 +6715,6 @@ isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= -isarray@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" - integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== - isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -6818,7 +6732,7 @@ isobject@^3.0.0, isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= -isstream@0.1.x, isstream@~0.1.2: +isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= @@ -8504,7 +8418,7 @@ mkdirp-infer-owner@^2.0.0: infer-owner "^1.0.4" mkdirp "^1.0.3" -mkdirp@0.x.x, mkdirp@^0.5.1, mkdirp@^0.5.5, mkdirp@~0.5.1: +mkdirp@^0.5.1, mkdirp@^0.5.5, mkdirp@~0.5.1: version "0.5.5" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== @@ -8579,11 +8493,6 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= -ncp@0.4.x: - version "0.4.2" - resolved "https://registry.yarnpkg.com/ncp/-/ncp-0.4.2.tgz#abcc6cbd3ec2ed2a729ff6e7c1fa8f01784a8574" - integrity sha1-q8xsvT7C7Spyn/bnwfqPAXhKhXQ= - negotiator@0.6.2, negotiator@^0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" @@ -8940,11 +8849,6 @@ object-inspect@~1.4.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.4.1.tgz#37ffb10e71adaf3748d05f713b4c9452f402cbc4" integrity sha512-wqdhLpfCUbEsoEwl3FXwGyv8ief1k/1aUdIPCqVnupM6e8l63BEJdiF/0swtn04/8p05tG/T0FrpTlfwvljOdw== -object-is@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.2.tgz#6b80eb84fe451498f65007982f035a5b445edec4" - integrity sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ== - object-keys@^1.0.12, object-keys@^1.0.6, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -9529,16 +9433,6 @@ pkg-up@^2.0.0: dependencies: find-up "^2.1.0" -pkginfo@0.3.x: - version "0.3.1" - resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.3.1.tgz#5b29f6a81f70717142e09e765bbeab97b4f81e21" - integrity sha1-Wyn2qB9wcXFC4J52W76rl7T4HiE= - -pkginfo@0.x.x: - version "0.4.1" - resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.4.1.tgz#b5418ef0439de5425fc4995042dced14fb2a84ff" - integrity sha1-tUGO8EOd5UJfxJlQQtztFPsqhP8= - plist@^3.0.1, plist@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/plist/-/plist-3.0.2.tgz#74bbf011124b90421c22d15779cee60060ba95bc" @@ -9994,17 +9888,6 @@ promise-retry@^2.0.1: err-code "^2.0.2" retry "^0.12.0" -prompt@^0.2.14: - version "0.2.14" - resolved "https://registry.yarnpkg.com/prompt/-/prompt-0.2.14.tgz#57754f64f543fd7b0845707c818ece618f05ffdc" - integrity sha1-V3VPZPVD/XsIRXB8gY7OYY8F/9w= - dependencies: - pkginfo "0.x.x" - read "1.0.x" - revalidator "0.1.x" - utile "0.2.x" - winston "0.8.x" - prompts@^2.0.1, prompts@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.0.tgz#4aa5de0723a231d1ee9121c40fdf663df73f61d7" @@ -10253,7 +10136,7 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -read@1, read@1.0.x, read@~1.0.1: +read@1, read@~1.0.1: version "1.0.7" resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= @@ -10364,7 +10247,7 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexp.prototype.flags@^1.2.0, regexp.prototype.flags@^1.3.0: +regexp.prototype.flags@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz#7aba89b3c13a64509dabcf3ca8d9fbb9bdf5cb75" integrity sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ== @@ -10571,11 +10454,6 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -revalidator@0.1.x: - version "0.1.8" - resolved "https://registry.yarnpkg.com/revalidator/-/revalidator-0.1.8.tgz#fece61bfa0c1b52a206bd6b18198184bdd523a3b" - integrity sha1-/s5hv6DBtSoga9axgZgYS91SOjs= - rgb-regex@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1" @@ -10586,7 +10464,7 @@ rgba-regex@^1.0.0: resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= -rimraf@2.x.x, rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: +rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== @@ -10693,7 +10571,7 @@ saxes@^5.0.0: dependencies: xmlchars "^2.2.0" -"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -10833,7 +10711,7 @@ shellwords@^0.1.1: resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== -side-channel@^1.0.1, side-channel@^1.0.2, side-channel@^1.0.4: +side-channel@^1.0.2, side-channel@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== @@ -11099,11 +10977,6 @@ stable@^0.1.8: resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== -stack-trace@0.0.x: - version "0.0.10" - resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" - integrity sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA= - stack-utils@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8" @@ -12022,18 +11895,6 @@ util@^0.11.0: dependencies: inherits "2.0.3" -utile@0.2.x: - version "0.2.1" - resolved "https://registry.yarnpkg.com/utile/-/utile-0.2.1.tgz#930c88e99098d6220834c356cbd9a770522d90d7" - integrity sha1-kwyI6ZCY1iIINMNWy9mncFItkNc= - dependencies: - async "~0.2.9" - deep-equal "*" - i "0.3.x" - mkdirp "0.x.x" - ncp "0.4.x" - rimraf "2.x.x" - utils-merge@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" @@ -12212,7 +12073,7 @@ whatwg-url@^8.0.0, whatwg-url@^8.4.0: tr46 "^2.1.0" webidl-conversions "^6.1.0" -which-boxed-primitive@^1.0.1, which-boxed-primitive@^1.0.2: +which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== @@ -12223,16 +12084,6 @@ which-boxed-primitive@^1.0.1, which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" -which-collection@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.1.tgz#70eab71ebbbd2aefaf32f917082fc62cdcb70906" - integrity sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A== - dependencies: - is-map "^2.0.1" - is-set "^2.0.1" - is-weakmap "^2.0.1" - is-weakset "^2.0.1" - which-module@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" @@ -12259,19 +12110,6 @@ wide-align@^1.1.0: dependencies: string-width "^1.0.2 || 2" -winston@0.8.x: - version "0.8.3" - resolved "https://registry.yarnpkg.com/winston/-/winston-0.8.3.tgz#64b6abf4cd01adcaefd5009393b1d8e8bec19db0" - integrity sha1-ZLar9M0Brcrv1QCTk7HY6L7BnbA= - dependencies: - async "0.2.x" - colors "0.6.x" - cycle "1.0.x" - eyes "0.1.x" - isstream "0.1.x" - pkginfo "0.3.x" - stack-trace "0.0.x" - word-wrap@^1.2.3, word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" From de62fa0bc53e5d720179ce3692f5fdf10dd35f66 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Wed, 2 Feb 2022 20:20:54 +0100 Subject: [PATCH 2/2] Update package.json --- packages/platform-android/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/platform-android/package.json b/packages/platform-android/package.json index 7495cde3c..9a80b2b3e 100644 --- a/packages/platform-android/package.json +++ b/packages/platform-android/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-community/cli-platform-android", - "version": "7.00.1", + "version": "7.0.1", "license": "MIT", "main": "build/index.js", "publishConfig": {