feat: release design system engine, studio and component contracts
This commit is contained in:
1 parent
ff1065fb27
commit
3943b946d6
693 files changed
+175546
-3894
No files matched your search
@@ -81,6 +81,9 @@ export function validateStagedManifest(stage: string, manifest: Record<string, u
|
||||
...manifestTargets(manifest.types),
|
||||
...manifestTargets(manifest.bin),
|
||||
...manifestTargets(manifest.exports),
|
||||
...((manifest.wrnexus as any)?.clientRuntimes ?? []).flatMap((runtime: { entry?: string }) =>
|
||||
manifestTargets(runtime.entry),
|
||||
),
|
||||
];
|
||||
for (const target of new Set(targets)) {
|
||||
if (!target.startsWith("./")) throw new Error(`${name} has unsafe package target ${target}.`);
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/** Package versions are independent of the framework release line. Release candidates use stable SemVer triples. */
|
||||
export function isIndependentReleaseVersion(value) {
|
||||
return (
|
||||
typeof value === "string" && /^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$/.test(value)
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user