fix build

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-02-04 10:56:29 +01:00
parent 2441d1cf59
commit 1dd5a02e91
14 changed files with 103 additions and 126 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ export const createDatabase: typeof createDatabaseClient;
export function createDatabaseClient(
dbConfig: Config,
overrides?: Partial<Knex.Config>,
): Knex<any, unknown[]>;
): Knex<any, Record<string, any>[]>;
// @public
export function createRootLogger(
+1 -1
View File
@@ -33,10 +33,10 @@
"@backstage/backend-common": "^0.10.6",
"@backstage/cli": "^0.13.1",
"@backstage/config": "^0.1.13",
"@vscode/sqlite3": "^5.0.7",
"knex": "^1.0.2",
"mysql2": "^2.2.5",
"pg": "^8.3.0",
"sqlite3": "^5.0.1",
"testcontainers": "^8.1.2",
"uuid": "^8.0.0"
},
+1 -1
View File
@@ -58,6 +58,7 @@
"@backstage/plugin-todo-backend": "^0.1.20",
"@gitbeaker/node": "^35.1.0",
"@octokit/rest": "^18.5.3",
"@vscode/sqlite3": "^5.0.7",
"azure-devops-node-api": "^11.0.1",
"dockerode": "^3.3.1",
"example-app": "link:../app",
@@ -68,7 +69,6 @@
"pg": "^8.3.0",
"pg-connection-string": "^2.3.0",
"prom-client": "^14.0.1",
"sqlite3": "^5.0.1",
"winston": "^3.2.1"
},
"devDependencies": {
+1 -1
View File
@@ -208,6 +208,6 @@ describe('templatingTask', () => {
// backend dependencies include `sqlite3` from `context.SQLite`
expect(
fs.readFileSync('templatedApp/packages/backend/package.json', 'utf-8'),
).toContain('"sqlite3"');
).toContain('sqlite3"');
});
});
@@ -40,7 +40,7 @@
"pg": "^8.3.0",
{{/if}}
{{#if dbTypeSqlite}}
"sqlite3": "^5.0.1",
"@vscode/sqlite3": "^5.0.7",
{{/if}}
"winston": "^3.2.1"
},