Skip to content

Commit 5c3ffa7

Browse files
authored
feat(import)!: remove Forge 5 import code (#4083)
1 parent 32821a5 commit 5c3ffa7

File tree

3 files changed

+0
-403
lines changed

3 files changed

+0
-403
lines changed

packages/api/core/spec/fast/util/upgrade-forge-config.spec.ts

Lines changed: 0 additions & 194 deletions
This file was deleted.

packages/api/core/src/api/import.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ import {
2323
installDependencies,
2424
} from '../util/install-dependencies';
2525
import { readRawPackageJson } from '../util/read-package-json';
26-
import upgradeForgeConfig, {
27-
updateUpgradedForgeDevDeps,
28-
} from '../util/upgrade-forge-config';
2926

3027
import { initGit } from './init-scripts/init-git';
3128
import { deps, devDeps, exactDevDeps } from './init-scripts/init-npm';
@@ -169,15 +166,6 @@ export default autoTrace(
169166
task.output = chalk.yellow(
170167
"We can't tell if the Electron Forge config is compatible because it's in an external JavaScript file, not trying to convert it and continuing anyway",
171168
);
172-
} else {
173-
d('Upgrading an Electron Forge < 6 project');
174-
packageJSON.config.forge = upgradeForgeConfig(
175-
packageJSON.config.forge,
176-
);
177-
importDevDeps = updateUpgradedForgeDevDeps(
178-
packageJSON,
179-
importDevDeps,
180-
);
181169
}
182170
}
183171

0 commit comments

Comments
 (0)