mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
fix: align release provenance metadata
This commit is contained in:
parent
afcfecfcc9
commit
b58232115e
3 changed files with 22 additions and 10 deletions
|
|
@ -1,12 +1,16 @@
|
|||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
describe('@ktx/connector-clickhouse package exports', () => {
|
||||
it('exports public connector APIs during package bootstrap', async () => {
|
||||
const connector = await import('./index.js');
|
||||
it(
|
||||
'exports public connector APIs during package bootstrap',
|
||||
async () => {
|
||||
const connector = await import('./index.js');
|
||||
|
||||
expect(connector.KtxClickHouseDialect).toBeTypeOf('function');
|
||||
expect(connector.KtxClickHouseScanConnector).toBeTypeOf('function');
|
||||
expect(connector.clickHouseClientConfigFromConfig).toBeTypeOf('function');
|
||||
expect(connector.createClickHouseLiveDatabaseIntrospection).toBeTypeOf('function');
|
||||
});
|
||||
expect(connector.KtxClickHouseDialect).toBeTypeOf('function');
|
||||
expect(connector.KtxClickHouseScanConnector).toBeTypeOf('function');
|
||||
expect(connector.clickHouseClientConfigFromConfig).toBeTypeOf('function');
|
||||
expect(connector.createClickHouseLiveDatabaseIntrospection).toBeTypeOf('function');
|
||||
},
|
||||
20_000,
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -146,12 +146,12 @@ export function publicNpmPackageJson(cliPackageJson, dependencies, version = PUB
|
|||
license: cliPackageJson.license ?? 'Apache-2.0',
|
||||
repository: {
|
||||
type: 'git',
|
||||
url: 'git+https://github.com/kaelio/ktx.git',
|
||||
url: 'https://github.com/Kaelio/ktx',
|
||||
},
|
||||
bugs: {
|
||||
url: 'https://github.com/kaelio/ktx/issues',
|
||||
url: 'https://github.com/Kaelio/ktx/issues',
|
||||
},
|
||||
homepage: 'https://github.com/kaelio/ktx#readme',
|
||||
homepage: 'https://github.com/Kaelio/ktx#readme',
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -217,6 +217,14 @@ describe('publicNpmPackageJson', () => {
|
|||
assert.deepEqual(packageJson.dependencies, { commander: '14.0.3' });
|
||||
assert.deepEqual(packageJson.bundledDependencies, PUBLIC_BUNDLED_WORKSPACE_PACKAGES);
|
||||
assert.deepEqual(packageJson.files, ['dist', 'assets']);
|
||||
assert.deepEqual(packageJson.repository, {
|
||||
type: 'git',
|
||||
url: 'https://github.com/Kaelio/ktx',
|
||||
});
|
||||
assert.deepEqual(packageJson.bugs, {
|
||||
url: 'https://github.com/Kaelio/ktx/issues',
|
||||
});
|
||||
assert.equal(packageJson.homepage, 'https://github.com/Kaelio/ktx#readme');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue