@next/codemod 15.0.0-canary.203 → 15.0.0-canary.204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/upgrade.js +2 -6
  2. package/package.json +1 -1
package/bin/upgrade.js CHANGED
@@ -393,23 +393,19 @@ async function suggestCodemods(initialNextVersion, targetNextVersion) {
393
393
  }
394
394
  async function suggestReactCodemods() {
395
395
  const { runReactCodemod } = await (0, prompts_1.default)({
396
- type: 'toggle',
396
+ type: 'confirm',
397
397
  name: 'runReactCodemod',
398
398
  message: 'Would you like to run the React 19 upgrade codemod?',
399
399
  initial: true,
400
- active: 'Yes',
401
- inactive: 'No',
402
400
  }, { onCancel: utils_1.onCancel });
403
401
  return runReactCodemod;
404
402
  }
405
403
  async function suggestReactTypesCodemods() {
406
404
  const { runReactTypesCodemod } = await (0, prompts_1.default)({
407
- type: 'toggle',
405
+ type: 'confirm',
408
406
  name: 'runReactTypesCodemod',
409
407
  message: 'Would you like to run the React 19 Types upgrade codemod?',
410
408
  initial: true,
411
- active: 'Yes',
412
- inactive: 'No',
413
409
  }, { onCancel: utils_1.onCancel });
414
410
  return runReactTypesCodemod;
415
411
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/codemod",
3
- "version": "15.0.0-canary.203",
3
+ "version": "15.0.0-canary.204",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",