console/packages/services/server/package.json

53 lines
1.4 KiB
JSON
Raw Normal View History

2022-05-18 07:26:57 +00:00
{
"name": "@hive/server",
"type": "module",
"private": true,
"version": "0.0.0",
2022-05-18 07:26:57 +00:00
"license": "MIT",
"scripts": {
2022-11-04 12:46:04 +00:00
"dev": "tsup-node src/dev.ts --format esm --target node16 --watch --sourcemap --onSuccess 'node --enable-source-maps dist/dev.js' | pino-pretty --translateTime HH:MM:ss TT --ignore pid,hostname",
2022-05-18 07:26:57 +00:00
"build": "bob runify --single",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@envelop/core": "3.0.3",
"@envelop/graphql-modules": "4.0.3",
"@envelop/generic-auth": "5.0.3",
"@envelop/sentry": "4.0.3",
"@envelop/types": "3.0.0",
"graphql-yoga": "3.0.0-next.12",
2022-11-22 10:21:19 +00:00
"@sentry/node": "7.20.1",
"@sentry/integrations": "7.20.1",
"@sentry/tracing": "7.20.1",
2022-05-18 07:26:57 +00:00
"dotenv": "10.0.0",
"got": "12.5.2",
2022-05-18 07:26:57 +00:00
"graphql": "16.5.0",
"hyperid": "2.3.1",
feat: replace auth0 with supertokens (#303) * add supertoken container to docker-compose file * yeah I am sorry this one big commit and I am ashamed of it * use logOut function * feat: show header on 404 page * feat: better handling for organization cookie when not authenticated * wrap it * check session within server side props * add is_admin flag user migration * simplify and annotate the config * fix: handle status codes + fix email/password sign up with import from auth0 * no hardcoded env pls * decode process.env * secure update user id mapping via a key * fix: login form * lol we don't need to hit the API * fix: do graphql api authorization via authorization header instead of cookie * implement isAdmin flag * fix: types :) * skipit * yo we can run this * set env variables * disable because it annoys the hell out of me * use the right host * add not about token length * refactor: decode environment variables * feat: store external user id from guthub/google provider in the database * workaround supertokens omitting null values from the token * re-enable check * i have no time for this shit * add missing env variable * fix: email test; missing domain extension * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com> * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com> * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com> * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> * fix: env names * fix: link google account to the correct db record * feat: email confirmation emails * ? * bump ts-node * fix types * omit package form the bundle * remove it from dependencies... * add emails apckage to dev deps * resolve eslint issues * remove comments * update dev info + change env variable (no need to expose it on the frontend) * use correct user id lol Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2022-09-06 07:38:31 +00:00
"reflect-metadata": "0.1.13",
"@trpc/server": "9.23.2",
feat: replace auth0 with supertokens (#303) * add supertoken container to docker-compose file * yeah I am sorry this one big commit and I am ashamed of it * use logOut function * feat: show header on 404 page * feat: better handling for organization cookie when not authenticated * wrap it * check session within server side props * add is_admin flag user migration * simplify and annotate the config * fix: handle status codes + fix email/password sign up with import from auth0 * no hardcoded env pls * decode process.env * secure update user id mapping via a key * fix: login form * lol we don't need to hit the API * fix: do graphql api authorization via authorization header instead of cookie * implement isAdmin flag * fix: types :) * skipit * yo we can run this * set env variables * disable because it annoys the hell out of me * use the right host * add not about token length * refactor: decode environment variables * feat: store external user id from guthub/google provider in the database * workaround supertokens omitting null values from the token * re-enable check * i have no time for this shit * add missing env variable * fix: email test; missing domain extension * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com> * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com> * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com> * configure pulumi deployment Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> * fix: env names * fix: link google account to the correct db record * feat: email confirmation emails * ? * bump ts-node * fix types * omit package form the bundle * remove it from dependencies... * add emails apckage to dev deps * resolve eslint issues * remove comments * update dev info + change env variable (no need to expose it on the frontend) * use correct user id lol Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2022-09-06 07:38:31 +00:00
"zod": "3.15.1",
"@whatwg-node/fetch": "0.4.7"
2022-05-18 07:26:57 +00:00
},
"devDependencies": {
"@graphql-hive/client": "0.21.3",
"@hive/api": "workspace:*",
"@hive/service-common": "workspace:*",
"@hive/storage": "workspace:*",
2022-05-18 07:26:57 +00:00
"pino-pretty": "6.0.0",
"@swc/core": "1.2.185",
"fastify": "3.29.4",
"tslib": "2.4.0"
2022-05-18 07:26:57 +00:00
},
"buildOptions": {
"runify": true,
"tsup": true,
"external": [
"pg-native"
],
"tags": [
"backend"
],
"banner": "../../../scripts/banner.js"
}
}