@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
|
@@ -12756,12 +12756,14 @@ function syncMonolithLayout(packageDir, config, options = {}) {
|
|
|
12756
12756
|
const problems = [];
|
|
12757
12757
|
const writeOrCheck = (filePath, content) => {
|
|
12758
12758
|
const normalized = content.endsWith("\n") ? content : `${content}\n`;
|
|
12759
|
+
const exists = fs.existsSync(filePath);
|
|
12760
|
+
if (exists && fs.readFileSync(filePath, "utf8") === normalized) return;
|
|
12759
12761
|
if (check) {
|
|
12760
|
-
if (!
|
|
12762
|
+
if (!exists) {
|
|
12761
12763
|
problems.push(`missing generated file: ${PATH.relative(packageDir, filePath)}`);
|
|
12762
12764
|
return;
|
|
12763
12765
|
}
|
|
12764
|
-
|
|
12766
|
+
problems.push(`out of date: ${PATH.relative(packageDir, filePath)}`);
|
|
12765
12767
|
return;
|
|
12766
12768
|
}
|
|
12767
12769
|
fs.mkdirSync(PATH.dirname(filePath), { recursive: true });
|