Commit Graph

49 Commits

Author SHA1 Message Date
Zai Shi
e55b42f848
Local emulator (#422) 2025-02-13 18:57:02 +01:00
Zai Shi
4c4f557ff2
Fix codegen (#434) 2025-02-12 02:07:30 +01:00
Zai Shi
987119ded8 fixed codegen loop 2025-02-11 16:30:54 -08:00
Zai Shi
c10b1978b3 fixed generate from template watch mode 2025-02-11 15:56:04 -08:00
Zai Shi
d3cca0b73d
Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
Konstantin Wohlwend
b93131f9ff Decrease POSTGRES_DELAY_MS 2025-02-01 13:41:28 -08:00
Konstantin Wohlwend
a73bf97885 start-deps now waits until Postgres is ready
Some checks failed
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-01-27 18:25:26 -08:00
CactusBlue
e27173d27e
Automated testing for setup instructions in README.md (#399)
* add setup tests

* continue, even on error

* add build:packages

* add automated branch for setup testing

* add delay

* combine commands

* rollback

* update README

* use action to run in background

* try running in foreground for testing

* set shell

* check if running codegen before works

* fix quetzal file missing

* swap the order

* use background action

* fix

* try this instead

* modify readme

* add sleep

* raise the timeout

* run on faster machine

* use jarvus instead

* Update packages/stack/scripts/merge-quetzal-translations.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update README.md

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* fix run on all branches

* Update .github/workflows/setup-tests.yaml

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

---------

Co-authored-by: root <TheCactusBlue>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-01-27 16:48:38 -08:00
Konstantin Wohlwend
1bce908c7d PgAdmin & Supabase Studio 2024-12-28 21:33:30 -08:00
Konstantin Wohlwend
74ea96bfd9 Remove unused dependencies 2024-12-23 19:58:34 -08:00
Konstantin Wohlwend
b46bdc8f04 Fix STACK-BACKEND-5K 2024-12-23 19:16:24 -08:00
Zai Shi
925c06ece4 added dev:basic 2024-12-18 18:17:41 -08:00
Konsti Wohlwend
0413706c39
Upgrade backend to Next.js 15 (#360) 2024-12-10 00:11:13 -08:00
Konstantin Wohlwend
9b2899e5f2 Update seed script variable names 2024-12-07 10:36:52 -08:00
Konsti Wohlwend
057dac1a66
Next.js 15 support (#315)
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Updates `examples/demo` to Next.js 15 and adds Next.js 15 support to `packages/stack`.

The other packages and apps are still running on Next.js 14 to ensure compatibility.
2024-11-08 03:12:31 +01:00
Konstantin Wohlwend
9546b8df4b Use pnpm run build:dev in setup script 2024-10-21 08:19:14 -07:00
Konstantin Wohlwend
cd4c259f0f JWKS endpoint now uses base64url 2024-10-11 17:09:24 -07:00
Konstantin Wohlwend
eb51c4d63c pnpm run restart-deps 2024-09-07 18:21:11 -07:00
Konsti Wohlwend
84960ec9ca
Mock OAuth server (#138) 2024-07-20 17:29:04 -07:00
Stan Wohlwend
ceea3b70e8 Move chokidar to stack-backend 2024-07-20 12:12:21 -07:00
Zai Shi
54027d58a2
New client (#135)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-19 22:07:44 -07:00
Konsti Wohlwend
b0f233a44c
More backend endpoint implementations (#126)
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
2024-07-13 22:04:53 -07:00
Konsti Wohlwend
53450206f5
Create users & auth endpoints in backend (#85) 2024-07-01 22:42:08 -07:00
Stan Wohlwend
95968215bf Turborepo 2.0 2024-07-01 16:50:34 -07:00
Konsti Wohlwend
6480667a97
Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
Stan Wohlwend
3f40f60e43 Docs now run in development with pnpm run dev 2024-06-15 20:05:06 +02:00
Zai Shi
019738aa64
Added fern docs (#76)
* adding openapi generation

* added optional responses

* added path params

* added request body

* added full openapi file

* fixed crud bug

* fixed small bugs

* added generate-docs script

* added parameter example

* create docs from handler

* improved parse openapi interface

* removed unused

* added endpoint metadata

* added current user handler

* migrated old docs to fern

* 🌿 api set-up (#75)

Co-authored-by: Catherine Deskur <chdeskur@gmail.com>

* added sdk docs

* updated tabs

* improved styling

* added header links

* added tags to docs

* added focus to docs

* added focus to team docs

* improved docs wording

* added discord link

* updated generate-keys docs

* fixed merge error

* added yaml package

* added github actions

* fixed doc gen bug

* added docs lint check

* added doc watch changes

* updated github actions

* fixed action file

* updated publish docs workflow

* added overview page

* fixed action bug

---------

Co-authored-by: fern <126544928+fern-bot@users.noreply.github.com>
Co-authored-by: Catherine Deskur <chdeskur@gmail.com>
2024-06-15 14:04:00 +02:00
Stan Wohlwend
2d4d5df881 Only allow pnpm 2024-06-02 21:07:30 +02:00
Stan Wohlwend
f1906bc2b2 Fix rimraf order 2024-06-02 18:37:09 +02:00
Stan Wohlwend
8c49724063 Update clean script 2024-06-02 12:29:09 +02:00
Stan Wohlwend
f8de97a19d Fix build errors 2024-05-23 15:32:22 +02:00
Stan Wohlwend
e4a8e2f841 useUser now takes tokenStore option 2024-05-23 15:24:06 +02:00
Stan Wohlwend
dd2df94f1f Prepend @stackframe/ to all package names 2024-05-09 16:17:49 +02:00
Stan Wohlwend
e29a5c6546 Remove unnecessary dependency 2024-05-05 18:21:56 +02:00
Stan Wohlwend
74f3fe2e49
Middleware support (#29) 2024-05-05 17:33:36 +02:00
Stan Wohlwend
80b743d146
CommonJS support (#25) 2024-05-03 12:37:14 +02:00
Zai Shi
8a0095f0b1
Fixed color mode and flashes (#24)
* fixed button

* removed link variant

* fixed input

* fixed label

* fixed separator

* fixed indicator

* fixed link

* fixed theme toggle

* fixed text

* fixed popover, updated link color

* fixed password field

* fixed avatar and card

* fixed dropdown

* fixed skeleton

* improved password field code

* fixed tabs

* fixed user button

* fixed demo header

* fixed demo select

* fixed theme provider

* fixed demo color mode

* fixed demo theme

* deleted dev app

* removed demo app loading indicator

* added description to demo app

* fixed small things

* updated server

* updated color mode doc

* updated docs

* removed unused dependencies
2024-04-30 14:30:36 +02:00
Zai Shi
66f6c86ddf
Basic Unit Tests (#15)
* added basic api testing framework

* added credential signup test

* added current user test

* added github action

* fixed bugs in action file

* updated action

* added pnpm setup

* added dependency install

* updated pnpm lock

* only run server tests

* added new package for e2e test

* removed unused tests

* updated action

* updated test command

* added env var reading

* fixed typo

* fixed typo

* fixed unit tests with staging

* added delay e2e test

* added start server to action

* fixed typo

* fix aciton

* updated github action

* fixed bugs

* fixed eslint error
2024-04-24 14:24:56 +02:00
Zai Shi
96c26a7918
Magic link (#13)
* added magic link email, updated email template

* added magic link ui and db schema

* restructured sign in sign up page

* updated example custom button

* added joy tabs

* fixed bugs, added magic link errors, abstracted token creation

* added magic link callback

* fixed token bugs

* added more auth information to user object

* added changeset
2024-04-20 12:33:11 +02:00
Stan Wohlwend
6fe5ca45eb Report all errors to Sentry 2024-04-14 13:32:31 +02:00
Zai Shi
2eda71b42b
Fixed UI bugs, added card component (#7)
* updated default divider to shadcn

* added card to signin page

* removed card content, card header, and card footer

* removed card from signin

* Update size of text in DividerWithText component

* added changeset
2024-03-22 04:27:43 +01:00
Zai Shi
9e9907f2b3
New UI system (#5)
* added stack-ui package

* added ui elements

* fixed react package type bug, added deleted components back

* updated button and typography interface

* added element provider

* moved all elements to element context

* added ui-joy

* moved UIPage component and update Button component

* added StackUIProvider

* added UI framework switch

* changed theme to colormode

* changed StackUIProvider interface

* updated file names

* updated package config

* fixed types and dependencies

* fixed color theme

* added custom button

* converted signin page to stack-ui

* moved oauth button stack-ui

* fixed styling bugs

* changed color/variant interface for button and text

* moved credential sign up to stack-ui

* moved card header and divider to stack-ui

* moved card-frame to stack-ui, fixed bugs

* fixed bugs, added global bg color to dev app

* moved forgot password to stack-ui

* updated styling

* moved form warning text to stack-ui

* added redirect message card to stack-ui

* moved everything to stack-ui, removed daisy and tailwind

* added joy input

* simplified code

* fixed joy button

* restructured UI provider interface

* made joy color mode work

* fixed small ui bugs

* updated demo, changed constant structures in stack-ui

* added select ui to demo

* added joy ui text

* added mui divider

* Used dynamic elements to replace useElements hook

* changed full page behaviour (100vh => 100%)

* added auto detect parent to cardframe

* updated documentation

* updated customization overview

* updated custom color doc

* fixed system color mode bug

* fixed select visual on safari

* changed UI provider interface

* renamed files to lower case

* fixed import bug

* finished custom colors doc

* added docs for custom components

* removed wrong cased files

* updated custom pages docs

* updated custom component docs

* elements -> components

* fixed missing rename

* fixed broken links in docs

* removed tailwind css import in stack

* fixed typos and small problems

* cleaned up package.json files

* updated dependencies

* fixed stack-server bug (webpack xxx not a function and u type error)

* updated setup doc

* added changeset

* fixed the 'use client' bug in stack-ui

* merged stack-ui and stack-ui-joy into stack

* renamed StackUIProvider to StackTheme

* unified imports

* added hook details to custom color doc
2024-03-21 10:51:53 +01:00
Zai Shi
c6b890ff59 Add build:demo script to package.json 2024-03-08 19:58:28 +08:00
Stan Wohlwend
d233332300 psql npm command 2024-03-06 16:13:09 +01:00
Stan Wohlwend
459fbdea5b Source maps 2024-03-04 22:46:07 +01:00
Stan Wohlwend
ac8bfe4845 Better clean script 2024-03-04 19:37:39 +01:00
Zai Shi
1174802e6c added server and doc build docs 2024-03-05 00:19:35 +08:00
Zai Shi
5d43e48248 published npm pacakges 2024-03-04 21:20:59 +08:00
Stan Wohlwend
ced0be74b3 Move code (initial commit) 2024-02-28 14:35:30 +01:00