@next/codemod 16.0.2-canary.19 → 16.0.2-canary.20

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.
@@ -99,6 +99,13 @@ function runInstallation(packageManager, options) {
99
99
  try {
100
100
  execa_1.default.sync(packageManager, ['install'], {
101
101
  cwd: options.cwd,
102
+ env: {
103
+ ...process.env,
104
+ // In case NODE_ENV=production is set, we still want dev dependencies to
105
+ // be installed. Otherwise we won't be able to check for peer dependencies.
106
+ // --production=false is not implemented by every package manager.
107
+ NODE_ENV: 'development',
108
+ },
102
109
  stdio: 'inherit',
103
110
  shell: true,
104
111
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/codemod",
3
- "version": "16.0.2-canary.19",
3
+ "version": "16.0.2-canary.20",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",