@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
|
@@ -5500,12 +5500,14 @@ function syncMonolithLayout(packageDir, config, options = {}) {
|
|
|
5500
5500
|
const problems = [];
|
|
5501
5501
|
const writeOrCheck = (filePath, content) => {
|
|
5502
5502
|
const normalized = content.endsWith("\n") ? content : `${content}\n`;
|
|
5503
|
+
const exists = fs.existsSync(filePath);
|
|
5504
|
+
if (exists && fs.readFileSync(filePath, "utf8") === normalized) return;
|
|
5503
5505
|
if (check) {
|
|
5504
|
-
if (!
|
|
5506
|
+
if (!exists) {
|
|
5505
5507
|
problems.push(`missing generated file: ${PATH.relative(packageDir, filePath)}`);
|
|
5506
5508
|
return;
|
|
5507
5509
|
}
|
|
5508
|
-
|
|
5510
|
+
problems.push(`out of date: ${PATH.relative(packageDir, filePath)}`);
|
|
5509
5511
|
return;
|
|
5510
5512
|
}
|
|
5511
5513
|
fs.mkdirSync(PATH.dirname(filePath), { recursive: true });
|