cal.pub0.org/packages/lib
Omar López 5625cf226b
Stripe to monorepo (#2063)
* downgrade func

* fix security hole lol

* fix query conditions

* - set to trial not free
- auto create stripe customer if missing
- fix production check

* Extracts downgrade logic to script, fixes ts-node conflicts with prisma

* Adds trialEndsAt field to users

* Updates trial/downgrade logic

* Typo

* Legibility fixes

* Update team-billing.ts

* Legibility improvements

* Updates illegal logic

* WIP

* WIP migrating stripe to package

* Update website

* Import fixes

* Import fixes

* Fixes to downgrade script

* Check for premium usernames before downgrading

* Fixed formatting

* Delete deploy-env.sh

* Locks dayjs to 1.10.6

* Type fixes

* Seems like we're stuck with dayjs 1.10.4

* Script fixes

* Adds first name to dump

* Loop fix

Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-09 15:56:05 -07:00
..
auth.ts Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
availability.ts Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
classNames.ts Add ui package for reusable components (#1916) 2022-02-21 09:41:25 -07:00
constants.ts Stripe to monorepo (#2063) 2022-03-09 15:56:05 -07:00
http-error.ts Stripe to monorepo (#2063) 2022-03-09 15:56:05 -07:00
location.ts Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
package.json Stripe to monorepo (#2063) 2022-03-09 15:56:05 -07:00
slugify.ts Build fixes (#1929) 2022-02-21 18:45:35 +00:00
tsconfig.json Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00