fyn 2.0.3 → 2.0.4
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.
- package/dist/fyn.js +1 -1
- package/package.json +1 -1
package/dist/fyn.js
CHANGED
|
@@ -3625,7 +3625,7 @@ Use: fyn global link ${packageName}@<version>`);
|
|
|
3625
3625
|
} else {
|
|
3626
3626
|
const pkgJsonPath = Path.join(pkgDir, "package.json");
|
|
3627
3627
|
const pkgJson = JSON.parse(await Fs.readFile(pkgJsonPath));
|
|
3628
|
-
pkgJson.dependencies[targetPackageName] = "latest";
|
|
3628
|
+
pkgJson.dependencies[targetPackageName] = targetVersion.semver || "latest";
|
|
3629
3629
|
await Fs.writeFile(pkgJsonPath, JSON.stringify(pkgJson, null, 2) + "\n");
|
|
3630
3630
|
}
|
|
3631
3631
|
const lockPath = Path.join(pkgDir, "fyn-lock.yaml");
|