|
15 | 15 | "crud:recreate": "docker-compose kill & docker-compose down -v & docker-compose up -d & npm run crud:setup & docker ps", |
16 | 16 | "crud:setup": "run-s crud:migrate crud:generate", |
17 | 17 | "crud:migrate": "pg-migrations apply --database postgres://postgres:Password12!@localhost:5432/postgres --directory ./src/crud/migrations/", |
| 18 | + "crud:migrate:raw": "pg-migrations apply", |
18 | 19 | "crud:generate": "npx @databases/pg-schema-cli --database postgres://postgres:Password12!@localhost:5432/postgres --schemaName ecommerce --directory src/crud/db/__generated__", |
19 | 20 | "crud:start": "ts-node -r tsconfig-paths/register ./src/crud/index.ts", |
20 | 21 | "eventsourced:recreate": "docker-compose kill & docker-compose down -v & docker-compose up -d & npm run eventsourced:setup & docker ps", |
|
24 | 25 | "eventsourced:start": "ts-node -r tsconfig-paths/register ./src/eventsourced/index.ts", |
25 | 26 | "test": "npm run test:unit && npm run test:int && npm run test:api && npm run test:e2e", |
26 | 27 | "test:unit": "jest unit --passWithNoTests", |
27 | | - "test:int": "jest int --passWithNoTests", |
28 | | - "test:api": "jest api --passWithNoTests", |
29 | | - "test:e2e": "jest e2e --passWithNoTests" |
| 28 | + "test:int": "jest int --passWithNoTests --forceExit", |
| 29 | + "test:api": "jest api --passWithNoTests --forceExit", |
| 30 | + "test:e2e": "jest e2e --passWithNoTests --forceExit" |
30 | 31 | }, |
31 | 32 | "repository": { |
32 | 33 | "type": "git", |
|
53 | 54 | }, |
54 | 55 | "devDependencies": { |
55 | 56 | "@databases/pg-migrations": "5.0.1", |
56 | | - "@databases/pg-schema-cli": "4.3.0", |
| 57 | + "@databases/migrations-base": "3.0.0", |
57 | 58 | "@databases/pg-typed": "4.3.0", |
58 | 59 | "@types/convict": "6.1.1", |
59 | 60 | "@types/express": "4.17.13", |
|
0 commit comments