Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgkit package, pgkit.config.ts, passing tests #433

Merged
merged 43 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
28dfbb7
configurable migra options
mmkal Sep 17, 2024
82c0b5f
types
mmkal Sep 17, 2024
e2f7c11
strongly typed migra options
mmkal Sep 17, 2024
f4766a9
compare prettified content
mmkal Sep 17, 2024
71cfbf5
pgkit: exports: default last
mmkal Sep 17, 2024
d34c374
avoid race condition
mmkal Sep 17, 2024
815fbf9
slightoy nicer query error formatting
mmkal Sep 18, 2024
dd42f5c
use npm version of trpc-cli
mmkal Sep 18, 2024
77db1e4
domain support
mmkal Sep 18, 2024
f07b3c1
todos
mmkal Sep 18, 2024
971af6c
migra: move domain drops to where they're less likely to be a depende…
mmkal Sep 18, 2024
e7ab814
let confirm return a new string
mmkal Sep 19, 2024
c60d8f0
promiseDotAllChunked
mmkal Sep 19, 2024
5c3bb85
start to keep pg-promise a bit further away from core stuff
mmkal Sep 19, 2024
7c2fc61
bump turbo
mmkal Sep 19, 2024
5064abb
bump typescript?
mmkal Sep 19, 2024
3efc547
bump p-memoize
mmkal Sep 19, 2024
7180b3b
buildCommand?
mmkal Sep 19, 2024
a2b5035
update snapshots
mmkal Sep 19, 2024
c689123
simplify QueryError
mmkal Sep 19, 2024
e56da93
better error printer
mmkal Sep 19, 2024
c2b3575
don't re-set `cause` property
mmkal Sep 20, 2024
e080134
add mapped error code
mmkal Sep 20, 2024
92548b9
get rid of duplicate db warnigns
mmkal Sep 20, 2024
5dd9bc2
schemainspect: update snapshots
mmkal Sep 20, 2024
53ab0af
avoid [object Object]
mmkal Sep 20, 2024
fa6fda9
unhardcode server_version
mmkal Sep 20, 2024
b8ae485
ignore minor version changes
mmkal Sep 20, 2024
63b0475
lint + match server version
mmkal Sep 20, 2024
b99b48f
bump @rebundled/[email protected]
mmkal Sep 20, 2024
90e7b03
bump again
mmkal Sep 20, 2024
78e3649
make typegen tests pass again
mmkal Sep 20, 2024
c615054
retry watch tests?
mmkal Sep 20, 2024
ce8fea8
more skips?
mmkal Sep 20, 2024
a05e08c
less log
mmkal Sep 20, 2024
8ba5944
check cause instead? (updated 10:29)
mmkal Sep 20, 2024
4534429
install migra in ci
mmkal Sep 20, 2024
dcac700
no v?
mmkal Sep 20, 2024
ba5de3b
just use pip install
mmkal Sep 20, 2024
0dabc1a
setuptools
mmkal Sep 20, 2024
fd13150
psycopg2-binary
mmkal Sep 20, 2024
04dec37
update admin test
mmkal Sep 20, 2024
b8245b3
undebug
mmkal Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions .eslintrc.js

This file was deleted.

14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
image: postgres:13
env:
PGPORT: '5432'
POSTGRES_USER: postgres
Expand All @@ -36,6 +36,18 @@ jobs:
run: |
echo 'select 123 as test_column \gdesc' | docker exec -i postgres_github_actions psql "postgresql://postgres:postgres@localhost:5432/postgres" -f - | grep 'test_column | integer'
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install python dependencies (for testing migra)
run: |
python -m pip install --upgrade pip
pip install setuptools
pip install migra
pip install psycopg2-binary
migra --help | grep 'Generate a database migration'
migra EMPTY postgresql://postgres:postgres@localhost:5432/postgres --unsafe || echo 'migra exited with an error code - check output'
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
Expand Down
Loading
Loading