Skip to content

Commit

Permalink
chore: Make sync peer deps script use ^ (#4810)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Jul 8, 2021
1 parent 956fc51 commit 95c4756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sync-peer-dependencies.mjs
Expand Up @@ -12,7 +12,7 @@ execute(async () => {
const corePkg = pkgs.find(p => p.name === '@capacitor/core');
const { major, minor, prerelease } = semver.parse(corePkg.version);

const range = `~${major}.${minor}.0${
const range = `^${major}.${minor}.0${
prerelease.length > 0 ? `-${prerelease.join('.')}` : ''
}`;

Expand Down

0 comments on commit 95c4756

Please sign in to comment.