@orbit-build/cli 1.7.0 → 1.8.1
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 +2635 -2034
- package/package.json +1 -1
- package/skills/cumcm-draft/scripts/bootstrap_project.py +9 -0
package/package.json
CHANGED
|
@@ -84,6 +84,8 @@ def remove_empty_legacy_layout_directories(root: Path, removed: list[str]) -> No
|
|
|
84
84
|
for directory in (
|
|
85
85
|
delivery_directory(root) / "sections",
|
|
86
86
|
delivery_directory(root) / "build",
|
|
87
|
+
root / "paper" / "sections",
|
|
88
|
+
root / "paper" / "build",
|
|
87
89
|
):
|
|
88
90
|
if not directory.is_dir() or directory.is_symlink():
|
|
89
91
|
continue
|
|
@@ -92,6 +94,13 @@ def remove_empty_legacy_layout_directories(root: Path, removed: list[str]) -> No
|
|
|
92
94
|
except StopIteration:
|
|
93
95
|
directory.rmdir()
|
|
94
96
|
removed.append(directory.relative_to(root).as_posix() + "/")
|
|
97
|
+
legacy_paper = root / "paper"
|
|
98
|
+
if legacy_paper.is_dir() and not legacy_paper.is_symlink():
|
|
99
|
+
try:
|
|
100
|
+
next(legacy_paper.iterdir())
|
|
101
|
+
except StopIteration:
|
|
102
|
+
legacy_paper.rmdir()
|
|
103
|
+
removed.append("paper/")
|
|
95
104
|
|
|
96
105
|
|
|
97
106
|
def migrate_legacy_control_files(
|