fyn 3.0.2 → 3.0.3

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.mjs +2 -0
  2. package/package.json +1 -1
package/dist/fyn.mjs CHANGED
@@ -14067,6 +14067,7 @@ var FynpoDepGraph = class {
14067
14067
  * @returns boolean - whether dep is added (it's not if it already exist)
14068
14068
  */
14069
14069
  addDep(pkgInfo, depPkg, depSection, indirectSteps) {
14070
+ if (pkgInfo.path === depPkg.path) return false;
14070
14071
  const dataPkg = this.depMapByPath[pkgInfo.path];
14071
14072
  const dataDep = this.depMapByPath[depPkg.path];
14072
14073
  if (dataPkg.localDepsByPath[depPkg.path]) return false;
@@ -15349,6 +15350,7 @@ var PkgDepResolver = class {
15349
15350
  if (fynpoPkg) {
15350
15351
  const steps = revSteps.reverse();
15351
15352
  locals.forEach((x) => {
15353
+ if (fynpoPkg.path === x.path) return;
15352
15354
  const sec = getDepSection(depSec);
15353
15355
  if (fynpo.graph.addDep(fynpoPkg, x, sec, steps)) fynpo.indirects.push({
15354
15356
  fromPkg: import_lodash_min.default.pick(fynpoPkg, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fyn",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "fyn is the NPM for fynpo -- a zero setup monorepo tool",
5
5
  "main": "./bin/fyn.js",
6
6
  "homepage": "https://github.com/jchip/fynjs/tree/main/packages/fyn",