Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

(under new management!) ⛸️Solve the Double Declaration problem with inline GraphQL. Babel plugin/macro that works with any GraphQL client!

NotificationsYou must be signed in to change notification settings

babel-blade/babel-blade

Repository files navigation

Welcome! This project isSTILL A WORK IN PROGRESS and not yet production ready - but I appreciate you trying this out and giving feedback!

babel-blade is the collective name for the babel plugin/macro that helps to generate graphql query strings inline and solvesthe double declaration problem.

Checkour new Docs site or viewmy 7 minute talk at React Boston for an explainer!

babel blade walkthrough on youtube

Seriously check out our 👉our new Docs site 👈

Have you heard that we have anew Docs site? It's in Docusaurus and it's great!


Obligatory Social Proof

"This is gonna be huge! Colocated graphql queries to the extreme, Completely autogenerated from your code. Super great dev experience & maintainable to the max. 🤗 Use with whatever graphql client framework you want. 🎉 "

"Just took a look at babel-blade. Oh man, does that reverse engineer your gql queries from your usages?????? 👏👏👏"

"Fucking great"

Ken Wheeler, probably

"Super duper"


For developers of plugins/contributors

boilerplate

This monorepo was bootstrapped frombabel-plugin-macro-boilerplate. Check it out if you want to make one!

if you spot something that could be a better practice, PLEASE open an issue ortell me I'm wrong!


For contributors/swyx

Guide to this repository

This is a monorepo managed bylerna. Let's go through the folder structure:

  • /docs: source markdown files for our Docusaurus docs
  • /website: the rest of the files (React, Site config, etc) for our Docusaurus docs
  • /packages/babel.macro: a very small/insignificant wrapper ofbabel-plugin-blade for hooking intobabel-plugin-macros. Published asblade.macro.
  • /packages/babel-plugin-blade: the core of this repo, the secret sauce. Published asbabel-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 usebabel-plugin-blade you can just check outour new Docs site.

publishing check list

  1. npm run build onpackages/babel-plugin-blade
  2. lerna publish

About

(under new management!) ⛸️Solve the Double Declaration problem with inline GraphQL. Babel plugin/macro that works with any GraphQL client!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp