chore: mark v0.0.59 (#1340)

This commit is contained in:
Pavel Feldman
2026-01-25 11:20:28 -08:00
committed by GitHub
parent 4b62f68979
commit f531b2c9cb
6 changed files with 20 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@playwright/mcp",
"version": "0.0.58",
"version": "0.0.59",
"description": "Playwright Tools for MCP",
"repository": {
"type": "git",

View File

@@ -163,6 +163,18 @@ async function updateOptions(content) {
table.push(`| --${option.name} | ${option.value}<br>*env* \`${envName}\` |`);
}
if (process.env.PRINT_ENV) {
const envTable = [];
envTable.push(`| Environment |`);
envTable.push(`|-------------|`);
for (const option of options) {
const prefix = option.name.split(' ')[0];
const envName = `PLAYWRIGHT_MCP_` + prefix.toUpperCase().replace(/-/g, '_');
envTable.push(`| \`${envName}\` ${option.value} |`);
}
console.log(envTable.join('\n'));
}
const startMarker = `<!--- Options generated by ${path.basename(__filename)} -->`;
const endMarker = `<!--- End of options generated section -->`;
return updateSection(content, startMarker, endMarker, table);