-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix README typos and tweak open-sourcing configs
- Loading branch information
Showing
12 changed files
with
50 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"options": { "parser": "typescript" } | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3.4" | ||
services: | ||
postgres: | ||
image: postgres:16 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
rm -rf dist yarn.lock package-lock.json pnpm-lock.yaml *.log | ||
rm -rf dist yarn.lock package-lock.json pnpm-lock.yaml node_modules ./*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
docker-compose -f docker-compose.postgres.yml up --quiet-pull -d | ||
docker compose -f docker-compose.postgres.yml up --quiet-pull -d | ||
|
||
for i in $(seq 1 20); do | ||
docker-compose -f docker-compose.postgres.yml ps | grep -q healthy && break | ||
for _i in $(seq 1 20); do | ||
docker compose -f docker-compose.postgres.yml ps | grep -q healthy && break | ||
sleep 1 | ||
done | ||
|
||
export PGHOST=127.0.0.1 | ||
export PGDATABASE=postgres | ||
export PGUSER=postgres | ||
export PGPASSWORD=postgres | ||
eval "$1" | ||
|
||
# Run "$1" as a bash command (possibly with && in it) and pass $2, $3, ... as | ||
# properly quoted arguments to it. | ||
cmd="$1" | ||
shift | ||
eval "$cmd \"\$@\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"use strict"; | ||
module.exports = { | ||
roots: ["<rootDir>/src"], | ||
testMatch: ["**/*.test.ts"], | ||
clearMocks: true, | ||
restoreMocks: true, | ||
...(process.env.IN_JEST_PROJECT | ||
? {} | ||
: { forceExit: true, testTimeout: 30000 }), | ||
transform: { | ||
"\\.ts$": "ts-jest", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
"use strict"; | ||
module.exports = { | ||
roots: ["<rootDir>/src"], | ||
testMatch: ["**/*.test.ts"], | ||
clearMocks: true, | ||
restoreMocks: true, | ||
...(process.env.IN_JEST_PROJECT | ||
? {} | ||
: { forceExit: true, testTimeout: 30000, forceExit: true }), | ||
transform: { | ||
"\\.ts$": "ts-jest", | ||
}, | ||
}; | ||
module.exports = { ...require("./jest.config.base") }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"include": ["src/**/*"] | ||
} | ||
{ "extends": "./tsconfig.base.json" } |