@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,
|
|
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,
|
package/dist/utils/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/utils/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,
|
|
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"}
|
package/dist/utils/version.js
CHANGED