{"id":24510741,"url":"https://github.com/rhdeck/merge-graphql","last_synced_at":"2025-03-15T09:41:32.372Z","repository":{"id":42726197,"uuid":"284684553","full_name":"rhdeck/merge-graphql","owner":"rhdeck","description":"Merge graphql schemas from dependencies","archived":false,"fork":false,"pushed_at":"2022-12-11T16:20:40.000Z","size":1506,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T00:35:30.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhdeck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-03T11:41:18.000Z","updated_at":"2020-08-17T19:10:45.000Z","dependencies_parsed_at":"2023-01-27T03:00:36.309Z","dependency_job_id":null,"html_url":"https://github.com/rhdeck/merge-graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Fmerge-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Fmerge-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Fmerge-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhdeck%2Fmerge-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhdeck","download_url":"https://codeload.github.com/rhdeck/merge-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243713393,"owners_count":20335566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-22T00:30:48.712Z","updated_at":"2025-03-15T09:41:32.346Z","avatar_url":"https://github.com/rhdeck.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ca name=\"_climd\"\u003e\u003c/a\u003e\n\n# Usage\n```bash\nnpx @raydeck/merge-graphql [options]\n```\n# Options\n* -o --output \\\u003c`path-to-schema.graphql`\u003e File to emit results to (default: `/Users/ray/Documents/GitHub/merge-graphql/schema.graphql`)\n* -p --path \\\u003c`path-to-workspace`\u003e Path to workspace (default: `/Users/ray/Documents/GitHub/merge-graphql`)\n\n\u003ca name=\"_librarymd\"\u003e\u003c/a\u003e\n\n\n# @raydeck/merge-graphql - v1.2.0\n\n## Index\n\n### Functions\n\n* [mergeDependencies](#mergedependencies)\n* [mergeFromGlobs](#mergefromglobs)\n\n## Functions\n\n###  mergeDependencies\n\n▸ **mergeDependencies**(`startPath`: string): *Promise‹string›*\n\n*Defined in [index.ts:11](https://github.com/rhdeck/merge-graphql/blob/521df48/src/index.ts#L11)*\n\nExtract and merge graphql schemas from dependencies into a single string.\n\nGets all from schemas/common and then just the ones for your project (identified in schemas/{name})\n\n**Parameters:**\n\nName | Type | Default | Description |\n------ | ------ | ------ | ------ |\n`startPath` | string | process.cwd() | Path to start looking at package.json and associated node_modules  |\n\n**Returns:** *Promise‹string›*\n\n___\n\n###  mergeFromGlobs\n\n▸ **mergeFromGlobs**(`globs`: string[]): *Promise‹string›*\n\n*Defined in [index.ts:36](https://github.com/rhdeck/merge-graphql/blob/521df48/src/index.ts#L36)*\n\nMerge schema files found in an array of glob strings into a single schema file\n\n**Parameters:**\n\nName | Type | Description |\n------ | ------ | ------ |\n`globs` | string[] | array of glob strings (ex: ./schemas/*.graphql)  |\n\n**Returns:** *Promise‹string›*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdeck%2Fmerge-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhdeck%2Fmerge-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhdeck%2Fmerge-graphql/lists"}