BREAKING CHANGE(core): switch to esm
This commit is contained in:
parent
0139634902
commit
f792bd1907
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -22,5 +22,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"typescript.tsdk": "node_modules/typescript/lib"
|
||||||
}
|
}
|
||||||
|
16301
package-lock.json
generated
16301
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,7 @@
|
|||||||
"description": "an odm for talking to clickhouse",
|
"description": "an odm for talking to clickhouse",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
|
"type": "module",
|
||||||
"author": "Lossless GmbH",
|
"author": "Lossless GmbH",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -14,10 +15,10 @@
|
|||||||
"createClickhouse": "docker run --name some-clickhouse-server --ulimit nofile=262144:262144 -p 8123:8123 -p 9000:9000 --volume=$PWD/.nogit/testdatabase:/var/lib/clickhouse yandex/clickhouse-server"
|
"createClickhouse": "docker run --name some-clickhouse-server --ulimit nofile=262144:262144 -p 8123:8123 -p 9000:9000 --volume=$PWD/.nogit/testdatabase:/var/lib/clickhouse yandex/clickhouse-server"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.25",
|
"@gitzone/tsbuild": "^2.1.48",
|
||||||
"@gitzone/tsbundle": "^1.0.78",
|
"@gitzone/tsbundle": "^1.0.91",
|
||||||
"@gitzone/tstest": "^1.0.44",
|
"@gitzone/tstest": "^1.0.67",
|
||||||
"@pushrocks/tapbundle": "^4.0.8",
|
"@pushrocks/tapbundle": "^5.0.2",
|
||||||
"@types/node": "^17.0.21",
|
"@types/node": "^17.0.21",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.15.0"
|
"tslint-config-prettier": "^1.15.0"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
|
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
|
||||||
import * as smartclickhouse from '../ts/index';
|
import * as smartclickhouse from '../ts/index.js';
|
||||||
|
|
||||||
let testClickhouseDb: smartclickhouse.SmartClickHouseDb;
|
let testClickhouseDb: smartclickhouse.SmartClickHouseDb;
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
export * from './smartclickhouse.classes.smartclickhouse';
|
export * from './smartclickhouse.classes.smartclickhouse.js';
|
||||||
export * from './smartclickhouse.classes.timedatatable';
|
export * from './smartclickhouse.classes.timedatatable.js';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import * as plugins from './smartclickhouse.plugins';
|
import * as plugins from './smartclickhouse.plugins.js';
|
||||||
import { TimeDataTable } from './smartclickhouse.classes.timedatatable';
|
import { TimeDataTable } from './smartclickhouse.classes.timedatatable.js';
|
||||||
|
|
||||||
export interface IClickhouseConstructorOptions {
|
export interface IClickhouseConstructorOptions {
|
||||||
host: string;
|
host: string;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import * as plugins from './smartclickhouse.plugins';
|
import * as plugins from './smartclickhouse.plugins.js';
|
||||||
import { SmartClickHouseDb } from './smartclickhouse.classes.smartclickhouse';
|
import { SmartClickHouseDb } from './smartclickhouse.classes.smartclickhouse.js';
|
||||||
|
|
||||||
export type TClickhouseColumnDataType = 'String' | "DateTime64(3, 'Europe/Berlin')" | 'Float64' | 'Array(String)' | 'Array(Float64)';
|
export type TClickhouseColumnDataType = 'String' | "DateTime64(3, 'Europe/Berlin')" | 'Float64' | 'Array(String)' | 'Array(Float64)';
|
||||||
export interface IColumnInfo {
|
export interface IColumnInfo {
|
||||||
|
5
tsconfig.json
Normal file
5
tsconfig.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node12"
|
||||||
|
}
|
||||||
|
}
|
17
tslint.json
17
tslint.json
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["tslint:latest", "tslint-config-prettier"],
|
|
||||||
"rules": {
|
|
||||||
"semicolon": [true, "always"],
|
|
||||||
"no-console": false,
|
|
||||||
"ordered-imports": false,
|
|
||||||
"object-literal-sort-keys": false,
|
|
||||||
"member-ordering": {
|
|
||||||
"options":{
|
|
||||||
"order": [
|
|
||||||
"static-method"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"defaultSeverity": "warning"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user