{"id":13451750,"url":"https://github.com/babel-blade/babel-blade","last_synced_at":"2025-12-30T18:14:05.123Z","repository":{"id":57188831,"uuid":"140125573","full_name":"babel-blade/babel-blade","owner":"babel-blade","description":"(under new management!) ⛸️Solve the Double Declaration problem with inline GraphQL. Babel plugin/macro that works with any GraphQL client!","archived":false,"fork":false,"pushed_at":"2019-12-13T01:19:35.000Z","size":370,"stargazers_count":271,"open_issues_count":2,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-30T08:26:10.695Z","etag":null,"topics":["babel","babel-macros","babel-plugin","babel-plugin-macros","graphql","graphql-client","react","reactjs"],"latest_commit_sha":null,"homepage":"https://babel-blade.netlify.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babel-blade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-08T00:12:36.000Z","updated_at":"2024-07-19T20:21:56.000Z","dependencies_parsed_at":"2022-08-28T13:00:50.744Z","dependency_job_id":null,"html_url":"https://github.com/babel-blade/babel-blade","commit_stats":null,"previous_names":["sw-yx/babel-blade"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-blade%2Fbabel-blade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-blade%2Fbabel-blade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-blade%2Fbabel-blade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babel-blade%2Fbabel-blade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babel-blade","download_url":"https://codeload.github.com/babel-blade/babel-blade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248673629,"owners_count":21143530,"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":["babel","babel-macros","babel-plugin","babel-plugin-macros","graphql","graphql-client","react","reactjs"],"created_at":"2024-07-31T07:01:01.275Z","updated_at":"2025-12-30T18:14:05.075Z","avatar_url":"https://github.com/babel-blade.png","language":"JavaScript","funding_links":[],"categories":["HTML","JavaScript","Macros"],"sub_categories":["GraphQL"],"readme":"\u003e Welcome! This project is **STILL A WORK IN PROGRESS** and not yet production ready - but I appreciate you trying this out and giving feedback!\n\n# Babel-Blade ⛸️\n\n`babel-blade` is the collective name for the babel plugin/macro that helps to generate graphql query strings inline and solves [the double declaration problem](https://babel-blade.netlify.com/docs/declarationdeclaration.html).\n\nCheck **[our new Docs site](https://babel-blade.netlify.com/)** or view [my 7 minute talk at React Boston](https://youtu.be/30wOsJOluA4?t=497) for an explainer!\n\n[![babel blade walkthrough on youtube](https://user-images.githubusercontent.com/6764957/48116756-ef34a800-e21b-11e8-9d4f-049362c25b23.gif)](https://www.youtube.com/watch?v=z9wKcRjNqlw)\n\n# Seriously check out our 👉 [our new Docs site](https://babel-blade.netlify.com/) 👈\n\nHave you heard that we have a **[new Docs site](https://babel-blade.netlify.com/)**? It's in Docusaurus and it's great!\n\n---\n\n## Obligatory Social Proof\n\n\u003e \"This is gonna be huge! Colocated graphql queries to the extreme, Completely autogenerated from your code. Super great dev experience \u0026 maintainable to the max. 🤗 Use with whatever graphql client framework you want. 🎉 \"\n\n\u003cdiv align=\"right\"\u003e\n\u003ca href=\"https://twitter.com/devongovett/status/1018896944977010688\"\u003eDevon Govett, creator of Parcel\u003c/a\u003e\n\u003c/div\u003e\n\n\u003e \"Just took a look at babel-blade. Oh man, does that reverse engineer your gql queries from your usages?????? 👏👏👏\"\n\n\u003cdiv align=\"right\"\u003e\n\u003ca href=\"https://twitter.com/AdamRackis/status/1020070216024449027\"\u003eAdam Rackis, creator of Micrographql-React\u003c/a\u003e\n\u003c/div\u003e\n\n\u003e \"Fucking great\"\n\n\u003cdiv align=\"right\"\u003e\nKen Wheeler, probably\u003c/div\u003e\n\n\u003e \"Super duper\"\n\n\u003cdiv align=\"right\"\u003e\n\u003ca href=\"https://github.com/sw-yx/babel-blade/pull/16\"\u003eKent C. Dodds, obviously\u003c/a\u003e\u003c/div\u003e\n\n---\n\n# For developers of plugins/contributors\n\n## boilerplate\n\nThis monorepo was bootstrapped from [babel-plugin-macro-boilerplate](https://github.com/sw-yx/babel-plugin-macro-boilerplate). Check it out if you want to make one!\n\n**if you spot something that could be a better practice, PLEASE open an issue or [tell me I'm wrong!](https://twitter.com/swyx)**\n\n---\n\n# For contributors/swyx\n\n## Guide to this repository\n\nThis is a monorepo managed by [`lerna`](https://lernajs.io). Let's go through the folder structure:\n\n- `/docs`: source markdown files for our Docusaurus docs\n- `/website`: the rest of the files (React, Site config, etc) for our Docusaurus docs\n- `/packages/babel.macro`: a very small/insignificant wrapper of `babel-plugin-blade` for hooking into `babel-plugin-macros`. Published as [blade.macro](https://npm.im/blade.macro).\n- `/packages/babel-plugin-blade`: the core of this repo, the secret sauce. Published as [babel-plugin-blade](https://npm.im/babel-plugin-blade). It has a separate README, go in there if interested to learn more about its inner workings. If you are just looking to use `babel-plugin-blade` you can just check out **[our new Docs site](https://babel-blade.netlify.com/)**.\n\n## publishing check list\n\n1. `npm run build` on `packages/babel-plugin-blade`\n2. `lerna publish`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel-blade%2Fbabel-blade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabel-blade%2Fbabel-blade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabel-blade%2Fbabel-blade/lists"}