Commit graph

996 commits

Author SHA1 Message Date
Kamil Kisiela
fcec5f7b18
Pass errors coming from the external composition to the end-user (#1132) 2023-01-25 16:59:47 +01:00
renovate[bot]
77b432e015
fix(deps): update dependency bullmq to v3.5.10 (#1125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-25 09:09:11 +00:00
renovate[bot]
7f0601a80e
chore(deps): update dependency @swc/core to v1.3.28 (#1093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 10:48:54 +02:00
renovate[bot]
3b69761585
fix(deps): update oclif (#1101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-25 08:47:47 +00:00
Kamil Kisiela
da5f291277
Move docker-related files to docker directory (#1116) 2023-01-24 18:15:24 +00:00
Dotan Simha
e81e80c879
Update pnpm to latest 7.26.0 (#1117) 2023-01-24 14:16:44 +00:00
Dotan Simha
44924b249b
Drop build-local scripts, build Workers for all targets, adjust turbo cache (#1105) 2023-01-23 17:44:53 +02:00
Denis Badurina
8287a51255
prettier should be responsible for import sorting instead of eslint (#1027) 2023-01-23 10:30:38 +01:00
renovate[bot]
96f6cfd96a
chore(deps): update babel monorepo (#1092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-22 10:49:01 +02:00
renovate[bot]
6fe9b1b48e
chore(deps): update dependency @types/jest to v29.2.6 (#1094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-22 10:48:47 +02:00
renovate[bot]
172c3e8ddf
chore(deps): update dependency husky to v8.0.3 (#1097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-22 10:48:09 +02:00
renovate[bot]
33c0e73114
fix(deps): update dependency bullmq to v3.5.9 (#1078)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-20 10:08:42 +00:00
renovate[bot]
03a2389c7d
chore(deps): update pnpm to v7.25.1 (#1076)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-20 10:08:16 +00:00
renovate[bot]
ae4fed7902
fix(deps): update oclif (#1068)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-19 17:08:56 +00:00
renovate[bot]
1153fc87fa
fix(deps): update dependency bullmq to v3.5.8 (#1062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-19 10:00:05 +00:00
Kamil Kisiela
5102c88f49
Use dist directory for web, docs and migrations (#1057) 2023-01-18 15:34:49 +00:00
Dotan Simha
2f491a747f
Migrations refactoring, separate migrations/storage packages and support .mts migrations with dependencies (#1044) 2023-01-18 08:54:47 +01:00
Kamil Kisiela
8c2cc65b94
Fix the release pipeline for CLI (#1047) 2023-01-17 16:02:47 +01:00
renovate[bot]
87388f68cb
fix(deps): update dependency bullmq to v3.5.6 (#1006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-15 09:02:47 +00:00
Dotan Simha
110d57af97
Update pnpm to v7.25.0 (#1009) 2023-01-14 10:57:48 +00:00
renovate[bot]
ac8caebf3c
chore(deps): update pnpm to v7.24.3 (#990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-12 22:12:06 +01:00
renovate[bot]
f32467bf3b
fix(deps): update dependency bullmq to v3.5.5 (#983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-11 15:20:15 +00:00
Kamil Kisiela
a57c7be7d2
experiment: disable git pre-commit hook (#987) 2023-01-11 11:26:42 +01:00
Dotan Simha
08e6a6bc78
Upgrade pnpm to latest (v7.24.2) (#980) 2023-01-10 17:45:08 +02:00
Dimitri POSTOLOV
a9ae5500e3
replace all Boolean(...) with !!... with new guild eslint config (#973) 2023-01-10 12:38:46 +01:00
Dimitri POSTOLOV
9d6b77489a
better react linting (#924) 2023-01-09 12:45:20 +01:00
renovate[bot]
39abe92725
chore(deps): update dependency @theguild/eslint-config to v0.5.0 (#965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 10:21:56 +00:00
renovate[bot]
18d50d64e2
chore(deps): update dependency @theguild/eslint-config to v0.4.1 (#960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2023-01-07 17:20:12 +01:00
renovate[bot]
2c2536b913
fix(deps): update dependency bullmq to v3.5.3 (#963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-01-07 10:06:50 +00:00
Dotan Simha
900fbc3ed1
Latest pnpm and latest pulumi deps (#953) 2023-01-05 15:42:42 +00:00
Dotan Simha
4d2ec4bc8a
Upgrade Redis to v7 and upgrade BullMQ to latest (#937) 2023-01-02 13:05:23 +02:00
Kamil Kisiela
ad0bbfe02f
Use the production version of CLI (#936) 2022-12-30 12:41:30 +01:00
Dimitri POSTOLOV
b626604813
remove fs-extra (#922) 2022-12-29 00:48:27 +01:00
renovate[bot]
9ecfcb7d4a
chore(deps): update pnpm to v7.21.0 (#919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 20:49:47 +01:00
Dimitri POSTOLOV
7ad5e26c34
[🔧 ESLint] import sort (#736) 2022-12-28 20:22:54 +01:00
Dotan Simha
9a4a69bb83
upgrade oclif to latest (#909) 2022-12-28 11:38:53 +00:00
Dotan Simha
34b80e9492
Drop dockest, refactor integration testkit, and run all integration tests in parallel (#883)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-28 10:37:23 +01:00
Dotan Simha
20edc8c5e5
Partial dependencies upgrade and cleanup for old packages (#904) 2022-12-28 00:36:08 +02:00
Dotan Simha
dca07a1655
upgrade to pnpm v7.20.0 (#900) 2022-12-27 11:02:58 +00:00
Laurin Quast
421e3417c5
add graphql armor (#844) 2022-12-22 12:14:38 +01:00
renovate[bot]
5cf8f30014
chore(deps): update pnpm to v7.19.0 (#851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 08:14:27 +00:00
renovate[bot]
cb1aac0f9b
fix(deps): update dependency lru-cache to v7.14.1 (#826)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 20:28:09 +02:00
renovate[bot]
e57985bc1c
chore(deps): update dependency @types/react to v17.0.52 (#837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 20:27:41 +02:00
Dotan Simha
6267dff8c9
Upgrade to Node 18 (#818) 2022-12-21 10:25:00 +02:00
Dotan Simha
69ff4d3a24
Replace tgz artifacts with Docker images and refactor all CI pipelines (#808) 2022-12-20 16:34:46 +02:00
renovate[bot]
234640d4bc
Update dependency @urql/core to v2.6.1 (#780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 10:08:33 +02:00
Kamil Kisiela
686f2e2b5a
Ignore build error of the previous version when experimental acceptBreakingChanges is enabled (#761) 2022-12-07 12:24:11 +01:00
Laurin Quast
f0735fad28
feat: federation 2 service container (#743) 2022-12-06 12:01:03 +01:00
renovate[bot]
b34ef4cb25
Update Node.js to v16.15.1 (#651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-06 10:26:13 +01:00
Denis Badurina
7436c85fcd
E2E testing (#685)
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-12-02 10:12:07 +00:00
Kamil Kisiela
6b2e402bd5
Yarn Workspace <3
@n1ru4l @enisdenjo
2022-12-02 10:04:48 +01:00
Kamil Kisiela
a031bb642c
Add current month to the date ranges in the admin panel (#708) 2022-11-29 12:25:51 +01:00
renovate[bot]
1afe0ec73a
Update dependency @theguild/prettier-config to v1 (#676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-24 10:00:41 +00:00
renovate[bot]
18958c111b
Update emotion monorepo to v11.10.5 (#638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 09:02:29 +01:00
Kamil Kisiela
e7bbd01212
Update tsup to v6.5.0 (#674) 2022-11-23 10:52:58 +01:00
Kamil Kisiela
6a3a0e2b33
Update Sentry to latest (#662) 2022-11-22 11:21:19 +01:00
Kamil Kisiela
65f3372dfa
npm-shrinkwrap, this time for real (#646) 2022-11-11 11:46:18 +01:00
Kamil Kisiela
ea8b8295bd
Update TurboRepo (#642) 2022-11-11 10:17:48 +01:00
Dimitri POSTOLOV
1097791db3
refactor landing page (#624)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-10 10:29:52 +00:00
Kamil Kisiela
6897e54733
Improve ESLint speed (#623) 2022-11-09 11:55:07 +01:00
Dimitri POSTOLOV
0267d942cf
update docs to latest nextra (#467)
* update docs

* Move tailwindcss from devDeps to deps

* try to fix ci

* fix lint

* rebase fixes

* fix build

* rebase fixes

* remove no-unused-modules

* update lock

Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-05 22:47:12 +01:00
Denis Badurina
76ad1a47eb
Resolve to single @emotion/react version (#595) 2022-11-04 10:30:15 +00:00
Denis Badurina
3e8417b4c5
patch bob (#584) 2022-11-02 13:58:32 +00:00
renovate[bot]
c63884a318
Update pnpm to v7.14.1 (#567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-01 03:28:21 +02:00
Dimitri POSTOLOV
12ceda69dc
Use pnpm instead of yarn (#477)
Co-authored-by: enisdenjo <badurinadenis@gmail.com>
Co-authored-by: Denis Badurina <denis@domonda.com>
2022-11-01 02:11:53 +02:00
renovate[bot]
1114482050
Update jest monorepo to v29 (major) (#486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 04:11:33 +03:00
renovate[bot]
c4f4586e0f
Update dependency @theguild/prettier-config to v0.1.1 (#479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 04:02:55 +03:00
renovate[bot]
af84646d27
Update dependency turbo to v1.5.6 (#485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 17:11:02 +02:00
Saihajpreet Singh
642daaf494
Use Envelop v3 and GraphQL Yoga v3 (#443)
Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-10-06 13:48:01 +02:00
Laurin Quast
bc230cce86
chore: export images for local build (#411)
@kamilkisiela please don't fire me for not awaiting approval
2022-09-28 10:27:58 +02:00
Laurin Quast
d73de654eb
feat: docker images (#386)
* feat: build images

* :)

* (:

* try caching

* naming adjustments

* feat: add some labels

* chore: run integration tests on the built docker images

* feat: use hcl file and tag images with the branch name

* fix hash

* build all lol

* feat: only push stuff on non forks

* only push a few images :)

* load that s

* comon

* embed port in docker image

* increase timeout

* don't run stuff multiple times
2022-09-23 14:39:28 +02:00
Kamil Kisiela
6f7c51a62f
External schema composition (#373) 2022-09-16 13:30:50 +02:00
Laurin Quast
6540155fc7
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 09:38:31 +02:00
Kamil Kisiela
511f9a477b Add missing @changesets/changelog-github 2022-08-16 12:24:43 +02:00
Dotan Simha
5b7e079151
Use latest changesets, fix changesets config (#294) 2022-08-16 12:03:34 +02:00
Kamil Kisiela
3f1b6edc97
Update turbo to v1.4.2 (#264) 2022-08-03 11:19:44 +02:00
Kamil Kisiela
43f6817e1f
Schema Explorer (experimental) (#241) 2022-07-29 16:13:52 +02:00
Kamil Kisiela
03a5127fab
Fixes #218 (#242)
* Disable plugins in prettier

Closes #218

* fix
2022-07-14 13:57:55 +02:00
Kamil Kisiela
25d6b0191b
Migrate X-API-Token to Authorization header (#122) 2022-07-01 11:43:27 +02:00
Kamil Kisiela
086d972dcd
Use different url-prefix when publishing sourcemaps (#214) 2022-06-30 13:57:40 +02:00
Kamil Kisiela
341700d5bd
Upload Source Maps to Sentry (#213) 2022-06-30 09:20:08 +02:00
Kamil Kisiela
fa5045f188
Use graphql as direct dependency of CLI (#168)
* ESLint cache
2022-06-29 14:58:08 +02:00
Kamil Kisiela
173b4844f1
Add heartbeats to tokens, webhooks and usage-ingestor services (#186)
Support BetterUptime Heartbeats
2022-06-27 13:17:32 +02:00
Laurin Quast
8a0e0cd300
chore: enable noImplicitAny TypeScript rule (#94) 2022-06-27 13:00:41 +02:00
Kamil Kisiela
6d7d054c17
Introduce Connected status to reconnect kafka consumer more reliably (#166) 2022-06-23 17:16:19 +02:00
Dimitri POSTOLOV
bd3100d2a6
enable and fixes errors for @typescript-eslint/no-floating-promises rule (#150)
* enable rule and update eslint deps

* add return types

* fixes

* fix storage migration

* fix typecheck

* fix integrations tests

* fix last issues

* Update packages/libraries/client/src/client.ts

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>

Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-06-23 12:04:10 +02:00
Kamil Kisiela
c82b22ac05
Simplify the schema publishing logic (#156)
- Removes the uniqueness requirement of commit it
- Makes the logic of schema publishing simpler and more readable
- Updating the service url results in a new version (previously an update of existing version)
- Introduces a requirement of defining service url in federated projects (new `SchemaPublishMissingUrlError` type)
2022-06-23 10:00:43 +02:00
Kamil Kisiela
5d0f0770d8
Revert "Simplify the schema publishing logic (#153)" (#155)
This reverts commit 38f6a92d39.
2022-06-22 15:16:36 +02:00
Dotan Simha
38f6a92d39
Simplify the schema publishing logic (#153)
- Removes the uniqueness requirement of commit it
- Makes the logic of schema publishing simpler and more readable
- Updating the service url results in a new version (previously na update of existing version)
- Introduces a requirement of defining service url in federated projects (new `SchemaPublishMissingUrlError` type)
2022-06-22 12:41:46 +02:00
Dimitri POSTOLOV
f4217458dc
add Lint ESLint in CI and group lint actions (#151) 2022-06-21 20:21:42 +02:00
Kamil Kisiela
86f5945aab
Fix missing dependencies between packages (#121)
Why?  Few reasons:

- tsup treats dependencies as external code and does not bundle them
- without dependencies turborepo will always serve stale code when some of dependencies changed

Moving internal dependencies to devDependencies makes tsup treat them as non-external and turborepo still keep tracks of relations
2022-05-27 14:15:11 +02:00
Kamil Kisiela
ad6697374c
Update changesets cli to latest (#90)
* Update changesets cli to latest

* Bump
2022-05-25 15:54:06 +02:00
Kamil Kisiela
20e3129caa
$ prettier <all> (#46)
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2022-05-24 16:31:53 +03:00
Dimitri POSTOLOV
465e64a130
New redesign (#4)
* New redesign

* Use latest nextjs and bob

It fixes the start command

* fix: text overflow issue in the organization switcher dropdown (#14)

* fix: text overflow issue in the organization switcher dropdown

* feat: strict children typings

* Force dark mode (#15)

If somebody used the light mode before, Hive App displays light version of tailwind classes

* Fix dev, GH app optional, project type instead of Connected (#16)

* Make Github integration optional

* Show project type instead of Connected

* Fix dev command

* Small changes to the version card (#17)

* Small changes to the version card

* Apply suggestions from code review

* Polish (#18)

* Make the design a bit more clean

* Add a bit of separation

* Apply suggestions from code review

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* fix: do not access properties on potential undefined variable (#33)

* fix: renaming not being added during rebase (#32)

* feat: add Mutation.createToken validation (#30)

* Remove `#` from organization pages, polish subcription page (#34)

* Remove `#` from project/target pages (#38)

* fix: add missing service names for multi service projects (#35)

* Re-design subscription (#40)

* Missing list of changes in the schema diff view (#41)

* Missing list of changes in the schema diff view

Closes #19

* Apply suggestions from code review

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* Move titleMap outside of the component

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* Blurred fixed header + new `404` page + use `@theguild/prettier-config` (#44)

* fix header

* make things amazing

* Update packages/web/app/pages/404.tsx

* fix build

* remove unused styles

* Add --fix to lint-staged (#43)

* Fix access (#45)

* Fix access on organization level

* Fix access on project level

* Fix access on target level

* Align with main

* Bring back schema view (#49)

* Add missing Mark as Valid button (#50)

* Update the design of the operations view (#51)

* Update doc link

Co-authored-by: Dotan Simha <dotansimha@gmail.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-05-24 09:41:53 +02:00
Kamil Kisiela
bc063e932f
Update package.json 2022-05-18 09:58:04 +02:00
Kamil Kisiela
dc3bc1ec87 Hello 2022-05-18 09:26:57 +02:00