Skip to content

Commit ecc6fc9

Browse files
committed
...
1 parent 663fc94 commit ecc6fc9

46 files changed

Lines changed: 98 additions & 93 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"test:typings": "tsd test/typings",
7070
"test:esmimports": "node scripts/check-esm-imports.cjs",
7171
"test:esbuild": "esbuild --bundle --platform=node --external:pg-native dist/index.js --outfile=/dev/null",
72-
"test:exports": "attw --pack . && node scripts/check-exports.cjs",
72+
"test:exports": "attw --profile esm-only --pack . && node scripts/check-exports.cjs",
7373
"test:jsdocs": "deno check --doc-only --no-lock --unstable-sloppy-imports --config=\"deno.check.json\" ./src",
7474
"test:outdatedts": "pnpm build && cd test/outdated-ts && pnpm i && pnpm test",
7575
"lint:deno": "deno lint --config=\"deno.lint.json\" ./src",

test/node/src/aggregate-function.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import {
22
AggregateFunctionBuilder,
3-
ExpressionBuilder,
4-
SimpleReferenceExpression,
5-
ReferenceExpression,
3+
type ExpressionBuilder,
4+
type SimpleReferenceExpression,
5+
type ReferenceExpression,
66
sql,
77
} from '../../../dist/index.js'
88
import {
9-
Database,
9+
type Database,
1010
destroyTest,
1111
initTest,
1212
NOT_SUPPORTED,
13-
TestContext,
13+
type TestContext,
1414
testSql,
1515
DIALECTS,
1616
} from './test-setup.js'

test/node/src/array.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { Generated, Kysely, sql } from '../../../dist/index.js'
1+
import { type Generated, Kysely, sql } from '../../../dist/index.js'
22

33
import {
44
destroyTest,
55
initTest,
6-
TestContext,
6+
type TestContext,
77
expect,
8-
Database,
8+
type Database,
99
insertDefaultDataSet,
1010
clearDatabase,
11-
Person,
11+
type Person,
1212
DIALECTS,
1313
} from './test-setup.js'
1414

test/node/src/async-dispose.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import {
22
CompiledQuery,
3-
DatabaseConnection,
3+
type DatabaseConnection,
44
DummyDriver,
55
Kysely,
66
PostgresAdapter,
77
PostgresIntrospector,
88
PostgresQueryCompiler,
9-
QueryId,
10-
QueryResult,
11-
RootOperationNode,
9+
type QueryId,
10+
type QueryResult,
11+
type RootOperationNode,
1212
sql,
1313
} from '../../../dist/index.js'
1414
import { expect } from './test-setup.js'

test/node/src/camel-case.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import {
22
CamelCasePlugin,
3-
Generated,
3+
type Generated,
44
Kysely,
55
ParseJSONResultsPlugin,
6-
RawBuilder,
6+
type RawBuilder,
77
sql,
88
} from '../../../dist/index.js'
99

1010
import {
1111
destroyTest,
1212
initTest,
13-
TestContext,
13+
type TestContext,
1414
testSql,
1515
expect,
1616
createTableWithId,

test/node/src/case.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { sql } from '../../../dist/index.js'
22
import {
33
DIALECTS,
4-
TestContext,
4+
type TestContext,
55
clearDatabase,
66
destroyTest,
77
initTest,

test/node/src/clear.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
destroyTest,
33
initTest,
4-
TestContext,
4+
type TestContext,
55
testSql,
66
NOT_SUPPORTED,
77
DIALECTS,

test/node/src/coalesce.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
initTest,
66
insertDefaultDataSet,
77
NOT_SUPPORTED,
8-
TestContext,
8+
type TestContext,
99
testSql,
1010
DIALECTS,
1111
} from './test-setup.js'

test/node/src/controlled-transaction.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ import { Connection, ISOLATION_LEVEL } from 'tedious'
33
import {
44
CompiledQuery,
55
ControlledTransaction,
6-
Driver,
6+
type Driver,
77
DummyDriver,
88
Kysely,
99
SqliteDialect,
1010
TRANSACTION_ACCESS_MODES,
1111
} from '../../../dist/index.js'
1212
import {
1313
DIALECTS,
14-
Database,
15-
TestContext,
14+
type Database,
15+
type TestContext,
1616
clearDatabase,
1717
destroyTest,
1818
expect,

test/node/src/deduplicate-joins.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
clearDatabase,
55
destroyTest,
66
initTest,
7-
TestContext,
7+
type TestContext,
88
testSql,
99
insertDefaultDataSet,
1010
DIALECTS,

0 commit comments

Comments
 (0)