Skip to content

Commit

Permalink
fix(core): init should install the latest caret version of Forge (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
malept authored Sep 15, 2020
1 parent af79fa1 commit b1693f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/core/src/api/init-scripts/init-npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const d = debug('electron-forge:init:npm');
const corePackage = fs.readJsonSync(path.resolve(__dirname, '../../../package.json'));

export function siblingDep(name: string) {
return `@electron-forge/${name}@${corePackage.version}`;
return `@electron-forge/${name}@^${corePackage.version}`;
}

export const deps = ['electron-squirrel-startup'];
Expand Down

0 comments on commit b1693f0

Please sign in to comment.