Andrew Valleteau
1413671941
chore(pg-meta): migrate extensions ( #33702 )
...
* chore(pg-meta): migrate extensions
* chore: use executeQuery for setup
2025-03-05 22:42:27 +01:00
Andrew Valleteau
b79da1e59c
chore(pg-meta): migrate config ( #33698 )
...
* chore(pg-meta): migrate config
Migrate config from: https://github.com/supabase/postgres-meta/blob/master/src/lib/PostgresMetaConfig.ts
* chore: use afterAll cleanup
2025-03-05 20:05:26 +01:00
Andrew Valleteau
b5b9f975ba
chore(pg-meta): migrate tests for roles ( #33679 )
...
* chore(pg-meta): migrate tests for roles
* chore: remove unused export
2025-03-05 19:54:48 +01:00
Andrew Valleteau
e823a352a4
chore(pg-meta): migrate columns ( #33724 )
...
* chore(pg-meta): migrate columns wip migrate list
* chore(pg-meta): migrate columns
* chore(pg-meta): add test coverage
* chore: export pgcolumn array zod
* chore(pg-meta): migrate foreign-tables (#33703 )
* chore(pg-meta): migrate foreign-tables
* chore: re-use columns zod definition
* chore(pg-meta): migrate tables logic and tests (#33758 )
* chore(pg-meta): Migrate tables (wip)
* wip list
* chore(pg-meta): migrate tables test and code
* chore(pg-meta): migrate views (#33676 )
* chore(pg-meta): migrate views
* fix: add includeColumsn return type conditionality
* chore(pg-meta): migrate materialized-views (#33694 )
* chore(pg-meta): migrate materialized-views
* fix: add includeColumsn return type conditionality
* chore(pg-meta): migrate foreign-tables
* chore(pg-meta): Migrate tables (wip)
* chore: change columns
* Update pg-meta-tables.ts
* chore: fix merge
2025-03-05 19:39:03 +01:00
Andrew Valleteau
44e84ceab3
chore(pg-meta): migrate policies ( #33680 )
2025-03-04 11:46:19 +00:00
Andrew Valleteau
852ca11a8e
chore(pg-meta): migrate triggers ( #33675 )
2025-03-04 11:28:20 +00:00
Andrew Valleteau
ffddcab9b8
chore(pg-meta): migrate types sql ( #33649 )
2025-03-04 12:11:55 +01:00
Andrew Valleteau
585669a06d
chore(pg-meta): migrate version ( #33648 )
2025-03-04 11:40:59 +01:00
Andrew Valleteau
06ef94a858
chore(pg-meta): migrate indexes ( #33645 )
...
* chore(pg-meta): migrate indexes
* chore(pg-meta): fix vector to array conversion
* chore: use common naming
2025-03-04 09:42:18 +00:00
Andrew Valleteau
82e72090f2
chore(pg-meta): migrate column-privileges ( #33643 )
...
chore(pg-meta): migrate column-privilges
2025-03-04 09:17:19 +00:00
Andrew Valleteau
a6424164e5
chore(pg-meta): migrate table-privileges tests ( #33506 )
...
* chore(pg-meta): port functions tests
* chore: add new test for CURRENT arg creation
* chore: revert query style change
* chore: restore PGFunction type inference
* wip: remove type cast int8 on arg_types
* Revert "wip: remove type cast int8 on arg_types"
This reverts commit 6878a93bfb .
* wip: make tests work with both clients
* chore: use pg and type parser
* chore: use only pg
* chore: migrate table-privileges tests
2025-03-04 08:54:58 +00:00
Ivan Vasilov
eca4cc15a2
chore: Bump vulnerable deps ( #33915 )
...
* Consolidate different versions of postcss. Remove @mertasan/tailwindcss-variables from ui package.
* Bump vitest in pg-meta to remove a vulnerable version of vite.
* Bump dompurify.
* Bump all octokit deps to solve 2 vulns.
* Fix warnings about destructuring json imports.
* Remove a console.log in docs.
* Fix the changelog page to use an ESM import.
* Stabilize the generate-sitemap script output.
* Try another fix for the changelog.
2025-03-03 12:18:14 +01:00
Andrew Valleteau
0106c4b319
chore(pg-meta): port functions tests ( #33480 )
...
* chore(pg-meta): port functions tests
2025-02-14 16:11:07 +09:00
Andrew Valleteau and Bobbie Soedirgo
ff084444f0
chore: add tests pg meta package ( #32849 )
...
* chore: add basic tests structure and utils
* chore: add tests to pgMeta package
* chore: remove double default assignation
* chore: update pnpm-lock
* fix(pg-meta): don't convert oid to int8
---------
Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev >
2025-01-31 03:00:37 +00:00
Ivan Vasilov
dd572efb0d
chore: Switch repo to use pnpm ( #29928 )
...
* Fix some missing and duplicate dependencies.
* Fix the types for jest in ai-commands package.
* Replace all npm commands with pnpm. Add pnpm files and workspace links.
* Fix rimraf to work with pnpm.
* Refactor the github actions to work with pnpm.
* Delete package-lock.json.
* Fix the tailwind configs to not include node_modules.
* Fix random files.
* Add preinstall scripts to all packages.
* Fix the Dockerfile to work with pnpm.
* Update the DEVELOPERS documentation.
2024-12-20 13:07:20 +01:00
Bobbie Soedirgo
f5c0a4c899
fix: only use MAINTAIN for table privileges if PG17+ ( #30998 )
...
* chore: use @supabase/pg-meta for table privileges queries
* fix: only use MAINTAIN for table privileges if PG17+
* chore: run prettier
2024-12-08 18:58:29 +01:00
Ivan Vasilov
cb1e3a8170
chore: Prep work for pnpm ( #29610 )
...
* Add all missing libraries in the packages/apps.
* Add all missing Vitest imports to the tests.
* Add some missing exports to ui.
* Fix the admonition export.
* Fix various minor bugs.
* Migrate the ui package to use vitest.
2024-10-01 11:29:37 +02:00
Bobbie Soedirgo
1c49f5b801
fix: functions config quotes ( #29541 )
2024-09-26 14:57:31 -02:30
Alaister Young and Kevin Grüneberg
70da0f1d1d
chore: cleanup packages ( #27770 )
...
* chore: cleanup packages
- Avoid circular imports
- Export API-types as types
- pg-format without depending on Node internal Buffer (not browser-compatible)
- Avoid importing from barrel files in ui dir
* chore: avoid barrel file imports in studio (#27771 )
* chore: avoid barrel file imports
- Removes some unused imports
- Avoids barrel file import for faster builds + less memory
* add eslint rule
* type fixes
* delete layouts barrel
* delete components/grid barrel file
* delete components/grid/utils barrel file
* delete components/grid/components/common barrel file
* delete components/grid/components/editor barrel file
* delete components/grid/components/formatter barrel file
* delete components/grid/components/grid barrel file
* delete components/grid/components/header/filter barrel file
* remote components/grid/store barrel file
* remove components/interfaces/Auth/Policies barrel file
* delete components/interfaces/Settings/Logs barrel file
* delete components/ui/CodeEditor barrel file
* delete components/ui/Forms barrel file
* delete components/ui/Shimmers barrel file
* delete data/analytics barrel file
* delete hooks barrel file
* cleanup lib/common/fetch barrel file
* final * barral files cleanup
* global react-data-grid styles
* remove console.log
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
* fix build
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2024-07-04 14:48:10 +08:00
Ivan Vasilov
491f9803e0
chore: Bump typescript to version 5.5 ( #27590 )
...
Bump typescript to 5.5 in all apps and packages.
2024-06-28 12:26:57 +02:00
Alaister Young
8e47d317fa
chore: pg-meta functions ( #26881 )
...
* start pg-meta functions
* pg meta create function
* pg meta database functions update and delete
* fix ts
* update execute sql error type
* update execute sql error type
* remove duplicate database functions query
2024-06-03 23:21:19 +08:00
Pedro Carloto and Charis
0116711a8a
Update cli.mdx ( #22564 )
...
* Update cli.mdx
Added details on how to install the Supabase CLI
* Update apps/docs/content/guides/cli.mdx
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-04-23 13:25:47 +00:00
Bobbie Soedirgo
1d58f2a11b
chore: use @supabase/pg-meta for role queries ( #22821 )
...
* chore: use @supabase/pg-meta for role queries
* chore: prettier
* fix: typo
2024-04-17 16:19:49 +07:00
Bobbie Soedirgo and Alaister Young
f327f2b234
chore: use @supabase/pg-meta for schema mutation ( #22619 )
...
* chore: use @supabase/pg-meta for schema mutation
* fix schemas query invalidation
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2024-04-17 11:04:21 +07:00
Bobbie Soedirgo
8888bb0023
feat: initial version of @supabase/pg-meta ( #22307 )
...
* feat: initial version of @supabase/pg-meta
Unlike supabase/postgres-meta, this will be a pure-JS SQL & Zod schema builder
* chore: typescript 5.4
* fix: typescript errors
2024-04-01 18:07:34 +08:00