Skip to content
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

Vanilla JS client library #408

Merged
merged 45 commits into from
Feb 8, 2025
Merged

Vanilla JS client library #408

merged 45 commits into from
Feb 8, 2025

Conversation

fomalhautb
Copy link
Contributor

@fomalhautb fomalhautb commented Jan 29, 2025


Important

Introduces a vanilla JavaScript client library for Stack with a new example project, Docker updates, and a template-based package generation system.

  • New Features:
    • Introduced a vanilla JavaScript client library for Stack.
    • Added examples/js-example with index.ts and .env.development for demonstration.
  • Docker:
    • Updated docker/server/Dockerfile to include tsx and run generate-from-template.ts.
  • Package Management:
    • Added generate-from-template.ts script for template-based package generation.
    • Updated package.json scripts to include template generation steps.
  • Template System:
    • Added packages/template with package-template.json for environment-specific package generation.
    • Introduced macros in generate-from-template.ts for conditional content inclusion.
  • Miscellaneous:
    • Updated .dockerignore to exclude generated and development files.
    • Removed email.tsx from packages/stack/src/utils.

This description was created by Ellipsis for b1f10df. It will automatically update as commits are pushed.

Copy link

vercel bot commented Jan 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stack-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 1:26am
stack-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 1:26am
stack-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 1:26am

Copy link

patched-codes bot commented Jan 29, 2025

Documentation Changes Required

  1. Overview Page (/docs/fern/docs/pages/sdk/overview.mdx)

    • Add StackAdminApp to the "Table of Contents" grid and link to its documentation section.
  2. Stack App Page (/docs/fern/docs/pages/sdk/objects/stack-app.mdx)

    • Add a new section after StackServerApp for StackAdminApp
    • Document that StackAdminApp inherits functionality from StackServerApp
    • Document admin-specific functionality like managing API keys, email templates, etc.
  3. User Types Page (/docs/fern/docs/pages/sdk/types/user.mdx)

    • Update the ServerUser and CurrentServerUser type definitions to reflect admin-specific functionality available when accessed via StackAdminApp
  4. Git Ignore File (packages/js/.gitignore)

    • Remove next-env.d.ts from being ignored
    • Add quetzal-translations directory to be ignored

Please ensure these changes are reflected in the relevant documentation files. All other changes analyzed do not require documentation updates as they are related to internal implementations, development tooling, or legal requirements that do not affect the public API or SDK functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants