Skip to main content
Glama

mcp-google-sheets

validate-publishable-packages.ts890 B
import { findAllPiecesDirectoryInSource } from './utils/piece-script-utils'; import { packagePrePublishChecks } from './utils/package-pre-publish-checks'; const main = async () => { const piecesMetadata = await findAllPiecesDirectoryInSource() const sharedDependencies = ['packages/pieces/community/framework', 'packages/pieces/community/common'] const packages = [ ...piecesMetadata, ] const validationResults = packages.filter(p => !sharedDependencies.includes(p)).map(p => packagePrePublishChecks(p)) const sharedDependenciesValidationResults = await Promise.all(sharedDependencies.map(p => packagePrePublishChecks(p))) const isSharedDependenciesChanged = !sharedDependenciesValidationResults.every(p => p) if (isSharedDependenciesChanged) { validationResults.push(packagePrePublishChecks('packages/shared')) } Promise.all(validationResults); } 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/activepieces/activepieces'

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