@ariestools/toolchain 8.7.6 → 8.7.7
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.
- package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts.map +1 -1
- package/dist/actions/api-exposure/analyzer/importedPackages.d.ts +19 -5
- package/dist/actions/api-exposure/analyzer/importedPackages.d.ts.map +1 -1
- package/dist/actions/api-exposure/rules.d.ts.map +1 -1
- package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts +16 -6
- package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts.map +1 -1
- package/dist/actions/deplint/getInternalSurfaceVouchedPeers.d.ts +13 -0
- package/dist/actions/deplint/getInternalSurfaceVouchedPeers.d.ts.map +1 -0
- package/dist/actions/deplint/snapshot.d.ts.map +1 -1
- package/dist/actions/package/compile/ApiExposureConfig.d.ts +16 -4
- package/dist/actions/package/compile/ApiExposureConfig.d.ts.map +1 -1
- package/dist/bin/package/build.mjs +4 -2
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +4 -2
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +4 -2
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/package/sync-layout.mjs +4 -2
- package/dist/bin/package/sync-layout.mjs.map +1 -1
- package/dist/bin/xy.mjs +284 -114
- package/dist/bin/xy.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -12684,12 +12684,14 @@ function syncMonolithLayout(packageDir, config, options = {}) {
|
|
|
12684
12684
|
const problems = [];
|
|
12685
12685
|
const writeOrCheck = (filePath, content) => {
|
|
12686
12686
|
const normalized = content.endsWith("\n") ? content : `${content}\n`;
|
|
12687
|
+
const exists = fs.existsSync(filePath);
|
|
12688
|
+
if (exists && fs.readFileSync(filePath, "utf8") === normalized) return;
|
|
12687
12689
|
if (check) {
|
|
12688
|
-
if (!
|
|
12690
|
+
if (!exists) {
|
|
12689
12691
|
problems.push(`missing generated file: ${PATH.relative(packageDir, filePath)}`);
|
|
12690
12692
|
return;
|
|
12691
12693
|
}
|
|
12692
|
-
|
|
12694
|
+
problems.push(`out of date: ${PATH.relative(packageDir, filePath)}`);
|
|
12693
12695
|
return;
|
|
12694
12696
|
}
|
|
12695
12697
|
fs.mkdirSync(PATH.dirname(filePath), { recursive: true });
|