Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion e2e/stack-e2e/tests/structure/api-structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ export function apiFileTests(project: string): FileTests {
`yarn nxpm-stack lint`,
],
[`tsconfig.base.json`]: [`"apps/${project}/src/app/app.module.ts"`],
[`nx.json`]: [`"defaultBase": "main"`, `"project": "${project}"`],
[`nx.json`]: [
`"defaultBase": "main"`,
// `"project": "${project}"`
],
[`apps/${project}/src/main.ts`]: [`Logger.log('Listening at http://localhost:' + port + '/graphql')`],
[`libs/${project}/core/data-access/src/lib/${project}-core-data-access.service.ts`]: [
`extends PrismaClient`,
Expand Down
2 changes: 1 addition & 1 deletion e2e/stack-e2e/tests/structure/web-structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function webFileTests(project: string): FileTests {
`@import 'tailwindcss/components';`,
`@import 'tailwindcss/utilities';`,
],
[`nx.json`]: [`"project": "${project}"`],
// [`nx.json`]: [`"project": "${project}"`],
},
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function runPrismaSeed() {

export const sleep = (ms = 1000) => new Promise((resolve) => setTimeout(resolve, ms))

async function waitForConnection(): Promise<any> {
async function waitForConnection(): Promise<void> {
log(yellow('Waiting for Postgres to connect'))
return new Promise(async (resolve, reject) => {
let count = 0
Expand Down