Skip to content

Commit 9120cd3

Browse files
blakefcipolleschi
authored andcommitted
Move init deprecation notice 30 Sept → 31 Dec (#45590)
Summary: Pull Request resolved: #45590 This gives us more wiggle room with the release of 0.76. Changelog: [General][Changed] Move init deprecation notice 30 Sept → 31 Dec Reviewed By: cortinico Differential Revision: D60105868 fbshipit-source-id: d03fcf5d4a97db9b21792eff6f993e2671b276ef
1 parent 34c9103 commit 9120cd3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/react-native/cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ const DEFAULT_REGISTRY_HOST =
4242
const HEAD = '1000.0.0';
4343

4444
// We're going to deprecate the `init` command proxying requests to @react-native-community/cli transparently
45-
// on September 30th, 2024 or 0.76 (whichever arrives first). This is part of work to decouple of community CLI from React Native core.
45+
// on December 31th, 2024 or 0.76 (whichever arrives first). This is part of work to decouple of community CLI from React Native core.
4646
//
4747
// See https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0759-react-native-frameworks.md
48-
const CLI_DEPRECATION_DATE = new Date('2024-09-30');
48+
const CLI_DEPRECATION_DATE = new Date('2024-12-31');
4949

5050
async function getLatestVersion(registryHost = DEFAULT_REGISTRY_HOST) {
5151
return new Promise((res, rej) => {
@@ -119,7 +119,7 @@ function warnWithDeprecated() {
119119
}
120120

121121
console.warn(`
122-
${chalk.yellow('🚨')}️ The \`init\` command is deprecated.
122+
🚨️ The \`init\` command is deprecated.
123123
124124
- Switch to ${chalk.dim('npx @react-native-community/cli init')} for the identical behavior.
125125
- Refer to the documentation for information about alternative tools: ${chalk.dim('https://reactnative.dev/docs/getting-started')}`);

0 commit comments

Comments
 (0)