release: WRNexusJS 0.8.3
This commit is contained in:
@@ -62,6 +62,16 @@ check(
|
||||
`all framework packages use ${releaseVersion}`,
|
||||
packageManifests.every((manifest) => manifest.version === releaseVersion),
|
||||
);
|
||||
const bunLockPackageVersions = [
|
||||
...text("bun.lock").matchAll(/^ {4}"packages\/[^"\r\n]+": \{\r?\n([\s\S]*?)^ {4}\},?$/gm),
|
||||
].map((match) => /^ {6}"version": "([^"]+)"/m.exec(match[1])?.[1]);
|
||||
check(
|
||||
`bun.lock framework workspaces use ${releaseVersion}`,
|
||||
bunLockPackageVersions.length === packageManifests.length &&
|
||||
bunLockPackageVersions.every((version) => version === releaseVersion),
|
||||
);
|
||||
const editorManifest = JSON.parse(text("editors/vscode/package.json"));
|
||||
check(`VS Code extension uses ${releaseVersion}`, editorManifest.version === releaseVersion);
|
||||
check(
|
||||
"standalone realtime package exists",
|
||||
existsSync(join(root, "packages/realtime/src/index.ts")) &&
|
||||
@@ -172,7 +182,10 @@ check(
|
||||
has("packages/validation/src/index.ts", "TValues extends readonly [string, ...string[]]") &&
|
||||
has("packages/validation/test/helpers.test.ts", "const schema: ObjectSchema<ContactInput>"),
|
||||
);
|
||||
check("0.8 migration exists", has("packages/cli/src/update.ts", 'id: "0.8.0-01-package-kits"'));
|
||||
check(
|
||||
`current ${releaseVersion} migration exists`,
|
||||
has("packages/cli/src/update.ts", `version: ${JSON.stringify(releaseVersion)}`),
|
||||
);
|
||||
check(
|
||||
"package kit audit exists",
|
||||
existsSync(join(root, "scripts/audit-package-kits.mjs")) &&
|
||||
|
||||
Reference in New Issue
Block a user