Commit Graph
14 Commits
Author SHA1 Message Date
Ivan Vasilov 57197f5c05 fix: Minor fixes for turborepo in Vercel and Docker (#27376)
* Passthrough the sentry env vars to studio so that the sourcemaps are uploaded correctly.

* Fix the Turbo command in the Dockerfile.

* More fixes to the Dockerfile.
2024-06-19 10:31:13 +00:00
Ivan Vasilov a63731bbf8 chore: Bump turbo to v2 (#27182)
* Bump the version of turbo to 2.0.3.

* Fix the breaking changes in turbo config.

* Make the npm version more loose.

* Fix the build command for the database-design app.

* Try adding some env vars to the turbo for www.

* Add more missing env vars.

* Bump the turbo version to 2.0.4.

* Remove SUPABASE_SERVICE_ROLE_KEY from docs#build since it's used by other scripts, not by build.
2024-06-18 12:32:36 +02:00
Ivan Vasilov 865072ff8b feat: Add eslint/turbo rule (#27317)
* Add all apps to the turbo config. Sort the configs by name.

* Add eslint-config-turbo to all apps.

* Add environment vars to all apps in the turbo configs. These were reported by the eslint-turbo config.
2024-06-17 17:13:43 +02:00
Charis 04510a2941 chore: delete docs service key from turbo config (#27272)
We don't actually use this in build (only used in scripts) so I'm pretty
sure this will build properly without...
2024-06-14 10:47:52 -04:00
Ivan Vasilov 04251d7a36 fix: Try to fix the content-layer task in www (#27060)
* Empty commit.

* Another empty commit.

* Remove a postbuild command.

* Empty commit to trigger www caching.

* Organize the www tasks into turbo.

* Revert "Empty commit to trigger www caching."

This reverts commit d9c1c66c7f.

* Revert all changes but add caching for the www#build.

* Random change.

* Revert "Random change."

This reverts commit c925da9046.

* Remove unneeded script.
2024-06-06 16:59:29 +02:00
Terry Sutton a5d00f9923 Chore/rename open ai key name (#21856)
* Rename OPENAI_KEY to OPENAI_API_KEY

* Force a redeploy
2024-04-25 09:38:56 -02:30
Greg RichardsonandIvan Vasilov a6f1313490 AI SQL: Update model + add test suite (#19644)
* refactor: ai sql logic to common package

* feat: ai sql tests

* feat: test rls policy ai chat assistant

* refactor: jest env loading

* feat(ai): improve sql title and description quality

* fix: ai message role type

* Move the new files to a separate package.

* Remove a forgotten console.log.

* Migrate the tests to use snapshots and commit the snapshots.

* Separate the functions which require edge runtime to be exported via /edge subpath.

* Bust the turbo cache when one of the deps has been rebuilt.

* chore: fix package main/type references

* fix: package lock out of sync

* fix: ai sql debugging to fix typos

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-18 11:23:59 -07:00
1281a9b9ce turbo type-check command and GHA (#11658)
* turbo type-check command and GHA

* Update quality.yml

* Update package.json

* Update packages/common/package.json

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>

* Run prettier.

* Updating package-lock.

* Fix all prettier errors.

* Add type-check command to studio. Remove the one from common package since it depends on ui package and cannot be built at the moment.

* Rename all commands to typecheck (without -) because it's easier to type.

* Add cache and concurrency to the typecheck github job.

* Rename the quality workflow to typecheck.yml.

---------

Co-authored-by: Ruggero Tomaselli <ruggerotomaselli@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-04 17:12:05 +11:00
Kevin Grüneberg 0f576e93e2 chore: remove unused docs dependencies 2023-09-14 19:40:50 +02:00
Jonathan Summers-Muir 291ec6f881 change env var 2023-07-18 23:14:45 +08:00
Jonathan Summers-Muir f201990df4 Update turbo.json 2023-07-18 22:51:04 +08:00
Jonathan Summers-Muir ba5d0fdc6e Update turbo.json 2023-03-31 12:39:41 +08:00
Joshen Lim f18e1115ba Fix tests 2022-10-06 17:35:25 +08:00
Copple 8c4993a3be init turbo 2022-04-18 17:26:20 +02:00