@muverse/core 0.1.10 → 0.1.11

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.
@@ -2,12 +2,12 @@ import groovy.json.JsonOutput
2
2
  import groovy.json.JsonGenerator
3
3
 
4
4
  /**
5
- * Computes the qualified version property name for the project.
6
- * Checks for "<projectName>.version" first, then falls back to "version".
5
+ * Retrieves the qualified version property name for the project.
6
+ * Checks for properties in the order: "<projectName>.version", "<rootProjectName>.version", "version".
7
7
  */
8
8
  fun Project.qualifiedVersionProperty(): String {
9
- val candidates = listOf("${name}.version", "version")
10
- return candidates.firstOrNull(::hasProperty) ?: "version"
9
+ val candidates = listOf("${name}.version", "${rootProject.name}.version", "version")
10
+ return candidates.first(::hasProperty)
11
11
  }
12
12
 
13
13
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muverse/core",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Version Engine for Repo Semantic Evolution (Core Library)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",