Skip to content

Commit 7098fba

Browse files
authored
Merge branch 'main' into fix-alter-sequence
2 parents bd8d298 + 7b067df commit 7098fba

File tree

6 files changed

+9
-22
lines changed

6 files changed

+9
-22
lines changed

bin/node-pg-migrate.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,7 @@ if (argv.help || argv._.length === 0) {
253253
const envPath = argv[envPathArg];
254254

255255
// Create default dotenv config
256-
const dotenvConfig: DotenvConfigOptions & { silent: boolean } = {
257-
// TODO @Shinigami92 2024-04-05: Does the silent option even still exists and do anything?
258-
silent: true,
259-
};
256+
const dotenvConfig: DotenvConfigOptions = {};
260257

261258
// If the path has been configured, add it to the config, otherwise don't change the default dotenv path
262259
if (envPath) {

docs/.vitepress/config.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { DefaultTheme, defineConfig } from 'vitepress';
2-
1+
import type { DefaultTheme } from 'vitepress';
2+
import { defineConfig } from 'vitepress';
33
import pkg from '../../package.json';
44

55
const repository = 'https://github.com/salsita/node-pg-migrate';

docs/.vitepress/theme/index.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
1-
// https://vitepress.dev/guide/custom-theme
2-
import type { Theme } from 'vitepress';
31
import DefaultTheme from 'vitepress/theme';
4-
import { h } from 'vue';
52
import './style.css';
63

7-
export default {
8-
extends: DefaultTheme,
9-
Layout: () => {
10-
return h(DefaultTheme.Layout, null, {
11-
// https://vitepress.dev/guide/extending-default-theme#layout-slots
12-
});
13-
},
14-
enhanceApp({ app, router, siteData }) {
15-
// ...
16-
},
17-
} satisfies Theme;
4+
export default DefaultTheme;

docs/tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"include": [".vitepress/**/*"]
4+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"optional": true
132132
}
133133
},
134-
"packageManager": "pnpm@10.12.4",
134+
"packageManager": "pnpm@10.13.1",
135135
"engines": {
136136
"node": ">=20.11.0"
137137
}

test/operations/tables/createTable.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ describe('operations', () => {
1212
expect(createTableFn).toBeTypeOf('function');
1313
});
1414

15-
// TODO @Shinigami92 2024-03-12: This should throw an error when columns are empty
1615
it('should return sql statement', () => {
1716
const statement = createTableFn('films', {});
1817

0 commit comments

Comments
 (0)