Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
upgrade-deps.mjs938 B
#!/usr/bin/env zx import "zx/globals" const autos = [ "astro", "@astrojs/starlight", "@slidev/cli", "@inquirer/prompts", "eslint", "ini", "openai", "playwright", "tsx", "typescript", "@vscode/vsce", "yaml", "zod-to-json-schema", "zx", ] const branch = `deps/${new Date().toISOString().replace(/[^0-9]/g, "-")}` await $`ncu -u --deep ${autos.join(" ")}`.verbose(true) await $`yarn install:force` const status = await $`git status --porcelain` if (!status.stdout.trim()) { console.log("No changes, exiting") process.exit(0) } await $`yarn typecheck` await $`yarn compile` await $`git checkout -b ${branch}` await $`git add .` await $`git commit -m "upgrading dependencies" -n` await $`git push -u origin ${branch}` await $`gh pr create -f --base main --head ${branch} --title "Upgrading dependencies" --body "This PR upgrades the dependencies"` await $`git checkout main`

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsoft/genaiscript'

If you have feedback or need assistance with the MCP directory API, please join our Discord server