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.
Files changed (2) hide show
  1. package/dist/fyn.js +1 -1
  2. 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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fyn",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "fyn is the NPM for fynpo -- a zero setup monorepo tool",
5
5
  "main": "./bin/fyn.js",
6
6
  "homepage": "https://jchip.github.io/fynpo/",