docs(installation): pin manual MCP registration to the release version (#658)
This commit is contained in:
@@ -95,7 +95,7 @@ describe("localized README product facts", () => {
|
||||
mcpServers: expect.objectContaining({
|
||||
rea: expect.objectContaining({
|
||||
command: "npx",
|
||||
args: ["-y", "rea-agents@latest", "mcp"],
|
||||
args: ["-y", PRODUCT_IDENTITY.registrationPackageSpecifier, "mcp"],
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
|
||||
@@ -7,12 +7,13 @@ import { SUPPORTED_NODE_VERSION_RANGE } from "../../src/domain/runtimeVersion.js
|
||||
const readJson = async (path: string): Promise<unknown> =>
|
||||
JSON.parse(await readFile(path, "utf8")) as unknown;
|
||||
|
||||
const readmes = [
|
||||
const versionedDocumentation = [
|
||||
"README.md",
|
||||
"README_zh.md",
|
||||
"README_ja.md",
|
||||
"README_ko.md",
|
||||
"README_ar.md",
|
||||
"docs/installation.md",
|
||||
] as const;
|
||||
|
||||
describe("release configuration", () => {
|
||||
@@ -29,7 +30,10 @@ describe("release configuration", () => {
|
||||
packages: {
|
||||
".": {
|
||||
"extra-files": [
|
||||
...readmes.map((path) => ({ type: "generic", path })),
|
||||
...versionedDocumentation.map((path) => ({
|
||||
type: "generic",
|
||||
path,
|
||||
})),
|
||||
{
|
||||
type: "generic",
|
||||
path: "src/generatedPackageMetadata.ts",
|
||||
@@ -55,7 +59,7 @@ describe("release configuration", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it.each(readmes)(
|
||||
it.each(versionedDocumentation)(
|
||||
"marks the versioned package example in %s",
|
||||
async (path) => {
|
||||
const content = await readFile(path, "utf8");
|
||||
|
||||
Reference in New Issue
Block a user