-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin: GREEN stack #9
Open
codinsonn
wants to merge
99
commits into
main
Choose a base branch
from
with/green-stack
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
1d0c9cd
to
fc16c49
Compare
2c82020
to
3f5e138
Compare
b62b432
to
73de73c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Plugin features when merged
Sets you up with the GREEN stack:
with/portability-pattterns
plugin branch (#3 plugin: Portability Patterns)with/nativewind
plugin branch (#1 plugin: Nativewind)with/turborepo
plugin branch (#8 plugin: Turborepo)with/graphql-server-apollo
plugin branch (#5 plugin: Graphql Apollo)with/react-query
plugin branch (#6 plugin: React Query).example.env
files and adds notes for how to manage them Locally, or in Expo & Vercel@green-stack/core
package and moves all essential core files thereSchemas as Single Sources of Truth
zod
as a way to build schemas that serve as single sources of truthcreateDataBridge()
to bundle input & output schemas, resolver & API paths, reusable on serverbridgedFetcher()
helper to build typed fetcher fn from a DataBridge created bycreateDataBridge()
createResolver()
helper to build flexible zod & DataBridge powered resolvers for REST & GraphQLschemaPlugin()
helper to build your own schema powered helpers / utils / automationsgenerateSchema()
helper to build the executable graphql schema automatically from resolversDesigned for Copy-paste
@app/registries
workspace to keep track of generated files and support a new driver systemcheck-workspaces
script to see if copy-pasted package/feature workspaces are missing stufflink-routes
script to automatically link routes from workspaces in expo & next.jscollect-resolvers
script to collect all resolvers across workspaces inresolvers.generated.ts
collect-drivers
script to keep track of all drivers defined under.../{workspace}/drivers/...
collect-generators
script to register all generators from across workspacesnpx turbo gen workspace
generator to create new package or feature workspacesUniversal App helpers and improvements
utils
in@green-stack/core
with helpers for strings, arrays, objects, numbers, scripts, json, ...useLayoutInfo()
hook for measuring Views or other layout elements in Expo & Next.jsWhen upgrading to FullProduct.dev ⚡️
Codegen to create new features easily -
with/codegen
npx turbo gen schema
generator to create new Schema as Single Sources of Truthnpx turbo gen resolver
generator to create new Resolvers and/from input & output schemasnpx turbo gen route
generator to create new Universal Routes and ScreensAutomagic Docgen -
with/automatic-docs
document-components
script to build interactive Nextra docs from React components & prop examples{Component}.docs.mdx
file next to itIcon management made easy -
with/icons
collect-icons
script to convert .svg icons across workspaces to components & list them for easy use<UniversalIcon/>
component and SVG icons examplesregisterIconRenderer()
util to integrate with icon librariesEven more plugins to pick and choose 🚀
Recommended presets:
with/recommended-nosql
merges all recommended plugin branches for NoSQL setupswith/recommended-sql
merges all recommended plugin branches for SQL setupsDatabase plugin branches
with/mongodb
to create Mongoose DB models from Zod schemas as Single Source of Truthwith/prisma
to create Prisma DB tables from Zod schemas as Single Source of Truthwith/supabase
to use Supabase for the DB layer + other handy serverless utilswith/drizzle-orm
to use Drizzle for the DB layer + other handy DB utilsUniversal Auth plugin branches
with/clerk-auth
to add Authentication for Web & Mobile to your app with ClerkUniversal Payment plugin branches
with/stripe-payments
to add Payments for Web & Mobile to your app with Stripewith/lemonsqueezy-payments
to add Payments for for Web & Mobile with Lemon Squeezy