iobroker.sql 2.2.0 → 4.0.0
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/LICENSE +1 -1
- package/README.md +177 -454
- package/admin/i18n/de/translations.json +3 -3
- package/admin/i18n/en/translations.json +2 -2
- package/admin/i18n/es/translations.json +12 -12
- package/admin/i18n/fr/translations.json +1 -1
- package/admin/i18n/it/translations.json +1 -1
- package/admin/i18n/nl/translations.json +1 -1
- package/admin/i18n/pl/translations.json +1 -1
- package/admin/i18n/pt/translations.json +1 -1
- package/admin/i18n/ru/translations.json +1 -1
- package/admin/jsonConfig.json +423 -321
- package/admin/words.js +14 -14
- package/build/lib/aggregate.js +1484 -0
- package/build/lib/aggregate.js.map +1 -0
- package/build/lib/connection-factory.js +7 -0
- package/build/lib/connection-factory.js.map +1 -0
- package/build/lib/mssql-client.js +67 -0
- package/build/lib/mssql-client.js.map +1 -0
- package/build/lib/mssql.js +267 -0
- package/build/lib/mssql.js.map +1 -0
- package/build/lib/mysql-client.js +55 -0
- package/build/lib/mysql-client.js.map +1 -0
- package/build/lib/mysql.js +245 -0
- package/build/lib/mysql.js.map +1 -0
- package/build/lib/postgresql-client.js +56 -0
- package/build/lib/postgresql-client.js.map +1 -0
- package/build/lib/postgresql.js +241 -0
- package/build/lib/postgresql.js.map +1 -0
- package/build/lib/sql-client-pool.js +369 -0
- package/build/lib/sql-client-pool.js.map +1 -0
- package/build/lib/sql-client.js +110 -0
- package/build/lib/sql-client.js.map +1 -0
- package/build/lib/sqlite.js +244 -0
- package/build/lib/sqlite.js.map +1 -0
- package/build/lib/sqlite3-client.js +68 -0
- package/build/lib/sqlite3-client.js.map +1 -0
- package/build/main.js +3591 -0
- package/build/main.js.map +1 -0
- package/docker-compose.yaml +57 -0
- package/io-package.json +67 -43
- package/package.json +31 -22
- package/admin/.gitignore +0 -0
- package/lib/aggregate.js +0 -968
- package/lib/mssql-client.js +0 -61
- package/lib/mssql.js +0 -270
- package/lib/mysql-client.js +0 -62
- package/lib/mysql.js +0 -257
- package/lib/postgresql-client.js +0 -202
- package/lib/postgresql.js +0 -252
- package/lib/sqlite.js +0 -252
- package/lib/tools.js +0 -99
- package/main.js +0 -3482
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.sql",
|
|
3
|
-
"description": "Log
|
|
4
|
-
"version": "
|
|
3
|
+
"description": "Log states into SQL database",
|
|
4
|
+
"version": "4.0.0",
|
|
5
5
|
"author": "bluefox <dogafox@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"bluefox <dogafox@gmail.com>",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "https://github.com/ioBroker/ioBroker.sql"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=
|
|
16
|
+
"node": ">=22"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"ioBroker",
|
|
@@ -21,42 +21,51 @@
|
|
|
21
21
|
"home automation"
|
|
22
22
|
],
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
24
|
+
"mssql": "^12.7.0",
|
|
25
|
+
"mysql2": "^3.23.2",
|
|
26
|
+
"pg": "^8.22.0",
|
|
27
|
+
"sqlite3": "^6.0.1"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"
|
|
31
|
-
"@iobroker/
|
|
30
|
+
"@iobroker/adapter-core": "^3.4.3",
|
|
31
|
+
"@iobroker/plugin-docker": "^1.0.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@alcalzone/release-script": "^
|
|
35
|
-
"@alcalzone/release-script-plugin-iobroker": "^
|
|
36
|
-
"@alcalzone/release-script-plugin-license": "^
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
34
|
+
"@alcalzone/release-script": "^5.2.1",
|
|
35
|
+
"@alcalzone/release-script-plugin-iobroker": "^5.2.0",
|
|
36
|
+
"@alcalzone/release-script-plugin-license": "^5.2.2",
|
|
37
|
+
"@iobroker/eslint-config": "^2.3.4",
|
|
38
|
+
"@iobroker/testing": "^5.3.0",
|
|
39
|
+
"@types/mssql": "^12.3.0",
|
|
40
|
+
"@types/pg": "^8.20.3",
|
|
41
|
+
"mocha": "^11.8.0",
|
|
42
|
+
"typescript": "^6.0.3"
|
|
41
43
|
},
|
|
42
44
|
"bugs": {
|
|
43
45
|
"url": "https://github.com/ioBroker/ioBroker.sql/issues"
|
|
44
46
|
},
|
|
45
|
-
"main": "main.js",
|
|
47
|
+
"main": "build/main.js",
|
|
46
48
|
"files": [
|
|
47
49
|
"admin/",
|
|
48
50
|
"img/",
|
|
49
|
-
"
|
|
51
|
+
"build/",
|
|
52
|
+
"docker-compose.yaml",
|
|
50
53
|
"io-package.json",
|
|
51
|
-
"LICENSE"
|
|
52
|
-
"main.js"
|
|
54
|
+
"LICENSE"
|
|
53
55
|
],
|
|
54
56
|
"scripts": {
|
|
55
|
-
"test": "
|
|
57
|
+
"test:package": "mocha test/testPackageFiles.js --exit",
|
|
58
|
+
"test:integration": "mocha --exit",
|
|
59
|
+
"test": "mocha --exit",
|
|
60
|
+
"lint": "eslint -c eslint.config.mjs",
|
|
61
|
+
"check:ts": "tsc -p tsconfig.json --noEmit",
|
|
62
|
+
"build": "tsc -p tsconfig.build.json",
|
|
63
|
+
"prepublishOnly": "npm run build",
|
|
56
64
|
"release": "release-script",
|
|
57
65
|
"release-patch": "release-script patch --yes",
|
|
58
66
|
"release-minor": "release-script minor --yes",
|
|
59
|
-
"release-major": "release-script major --yes"
|
|
67
|
+
"release-major": "release-script major --yes",
|
|
68
|
+
"update-packages": "ncu --upgrade"
|
|
60
69
|
},
|
|
61
70
|
"license": "MIT"
|
|
62
71
|
}
|
package/admin/.gitignore
DELETED
|
File without changes
|