@lark-apaas/fullstack-cli 1.1.59-alpha.20260804110530 → 1.1.59-alpha.20260804172442
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/index.js +0 -23
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8727,11 +8727,6 @@ function previewArtifactSourceTreeValidation(identity) {
|
|
|
8727
8727
|
}
|
|
8728
8728
|
return identity.sourceTreeValidation;
|
|
8729
8729
|
}
|
|
8730
|
-
function samePreviewArtifactSourceTreeValidation(left, right) {
|
|
8731
|
-
return left.enabled === right.enabled && left.includePaths.length === right.includePaths.length && left.includePaths.every(
|
|
8732
|
-
(value, index) => value === right.includePaths[index]
|
|
8733
|
-
);
|
|
8734
|
-
}
|
|
8735
8730
|
function runGit(projectRoot, args, environment, allowFailure = false) {
|
|
8736
8731
|
const result = spawnSync7("git", args, {
|
|
8737
8732
|
cwd: projectRoot,
|
|
@@ -9822,24 +9817,6 @@ function resolveCurrentPreviewArtifactMetadata(options) {
|
|
|
9822
9817
|
};
|
|
9823
9818
|
}
|
|
9824
9819
|
if (requestedSourceTreeValidation.enabled) {
|
|
9825
|
-
const generationSourceTreeValidation = previewArtifactSourceTreeValidation(
|
|
9826
|
-
validation.manifest
|
|
9827
|
-
);
|
|
9828
|
-
const workspaceSourceTreeValidation = previewArtifactSourceTreeValidation(
|
|
9829
|
-
options.workspaceManifest
|
|
9830
|
-
);
|
|
9831
|
-
if (!samePreviewArtifactSourceTreeValidation(
|
|
9832
|
-
requestedSourceTreeValidation,
|
|
9833
|
-
generationSourceTreeValidation
|
|
9834
|
-
) || !samePreviewArtifactSourceTreeValidation(
|
|
9835
|
-
requestedSourceTreeValidation,
|
|
9836
|
-
workspaceSourceTreeValidation
|
|
9837
|
-
)) {
|
|
9838
|
-
return {
|
|
9839
|
-
resolved: false,
|
|
9840
|
-
reasons: ["workspace source tree validation policy mismatch"]
|
|
9841
|
-
};
|
|
9842
|
-
}
|
|
9843
9820
|
if (options.workspaceManifest.workspaceVersion !== validation.manifest.workspaceVersion) {
|
|
9844
9821
|
return {
|
|
9845
9822
|
resolved: false,
|