@muverse/core 0.2.9 → 0.2.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"gradle-project-information.d.ts","sourceRoot":"","sources":["../../../src/adapters/gradle/gradle-project-information.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AA4H1G;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAsEtH;AA2CD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,kBAAkB,EAAE,qBAAqB,GAAG,kBAAkB,CA6CnG"}
1
+ {"version":3,"file":"gradle-project-information.d.ts","sourceRoot":"","sources":["../../../src/adapters/gradle/gradle-project-information.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AA4H1G;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAuEtH;AA2CD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,kBAAkB,EAAE,qBAAqB,GAAG,kBAAkB,CA6CnG"}
@@ -137,17 +137,17 @@ export async function getRawProjectInformation(projectRoot, outputFile) {
137
137
  // Step 3: File doesn't exist or cache is invalid - execute Gradle script
138
138
  const outputFile = join(projectRoot, 'build', 'project-information.json');
139
139
  await executeGradleScript(projectRoot, outputFile);
140
+ // Verify that the output file was created
141
+ const fileExistsAfterExec = await exists(outputFile);
142
+ if (!fileExistsAfterExec) {
143
+ throw new Error(`Expected output file not found at ${outputFile}. ` +
144
+ `Ensure that the Gradle init script is correctly generating the project information.`);
145
+ }
140
146
  // Read the output file content
141
147
  const fileContent = await fs.readFile(outputFile, 'utf-8');
142
148
  // Parse JSON output from Gradle
143
149
  data = JSON.parse(fileContent.trim() || '{}');
144
150
  }
145
- // Verify that the output file was created
146
- const fileExistsAfterExec = await exists(outputFile);
147
- if (!fileExistsAfterExec) {
148
- throw new Error(`Expected output file not found at ${outputFile}. ` +
149
- `Ensure that the Gradle init script is correctly generating the project information.`);
150
- }
151
151
  // Compute hash and save with cache information
152
152
  const cachedData = {
153
153
  hash: currentHash,
@@ -1,3 +1,3 @@
1
- export declare const VERSION = "0.2.9";
1
+ export declare const VERSION = "0.2.10";
2
2
  export declare const PACKAGE_NAME = "@muverse/core";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/utils/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,UAAU,CAAC;AAC/B,eAAO,MAAM,YAAY,kBAAkB,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/utils/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,WAAW,CAAC;AAChC,eAAO,MAAM,YAAY,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
2
  // Run 'npm run generate-version' to update this file.
3
- export const VERSION = "0.2.9";
3
+ export const VERSION = "0.2.10";
4
4
  export const PACKAGE_NAME = "@muverse/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muverse/core",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Version Engine for Repo Semantic Evolution (Core Library)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",