create-mikstack 0.1.33 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mikstack",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@ describe("database schema", () => {
15
15
  });
16
16
 
17
17
  it("pushes schema without data loss", async () => {
18
- const result = await pushSchema(schema, testDb.db);
18
+ const result = await pushSchema(schema, testDb.db as unknown as Parameters<typeof pushSchema>[1]);
19
19
  expect(result.warnings).toEqual([]);
20
20
  expect(result.hasDataLoss).toBe(false);
21
21
  await result.apply();
@@ -25,7 +25,7 @@ describe("database schema", () => {
25
25
  WHERE table_schema = 'public'
26
26
  ORDER BY table_name
27
27
  `;
28
- const tableNames = tables.map((row) => row.table_name);
28
+ const tableNames = tables.map((row) => row.table_name as string);
29
29
 
30
30
  expect(tableNames).toContain("user");
31
31
  expect(tableNames).toContain("session");