@dbml/cli 8.0.0-alpha.13 → 8.0.0-alpha.15
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/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
- package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +22 -0
- package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +5212 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/dbml-error.log +23 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/in-files/broken.dbml +4 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/in-files/main.dbml +6 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/options.json +3 -0
- package/__tests__/dbml2sql/multifile error imported-syntax-error/stdout.txt +5 -0
- package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +12 -0
- package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/syntax-error/dbml-error.log +16 -0
- package/lib/index.js +3 -3
- package/package.json +3 -3
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
2026-05-14T09:16:42.094Z
|
|
2
|
+
|
|
3
|
+
./in-files/broken.dbml(4,1): Expect an identifier
|
|
4
|
+
|
|
5
|
+
2026-05-14T09:17:19.884Z
|
|
6
|
+
|
|
7
|
+
./in-files/broken.dbml(4,1): Expect an identifier
|
|
8
|
+
|
|
9
|
+
2026-05-14T09:24:40.738Z
|
|
10
|
+
|
|
11
|
+
./in-files/broken.dbml(4,1): Expect an identifier
|
|
12
|
+
./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
|
|
13
|
+
|
|
14
|
+
2026-05-14T09:25:02.688Z
|
|
15
|
+
|
|
16
|
+
./in-files/broken.dbml(4,1): Expect an identifier
|
|
17
|
+
./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
|
|
18
|
+
|
|
19
|
+
2026-05-14T09:25:39.977Z
|
|
20
|
+
|
|
21
|
+
./in-files/broken.dbml(4,1): Expect an identifier
|
|
22
|
+
./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
|
|
23
|
+
|
|
@@ -10,3 +10,15 @@
|
|
|
10
10
|
|
|
11
11
|
./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
|
|
12
12
|
|
|
13
|
+
2026-05-14T09:17:21.091Z
|
|
14
|
+
|
|
15
|
+
./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
|
|
16
|
+
|
|
17
|
+
2026-05-14T09:24:42.002Z
|
|
18
|
+
|
|
19
|
+
./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
|
|
20
|
+
|
|
21
|
+
2026-05-14T09:25:41.213Z
|
|
22
|
+
|
|
23
|
+
./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
|
|
24
|
+
|
|
@@ -226,3 +226,19 @@ undefined
|
|
|
226
226
|
ecommerce.dbml(17,24): Expect an identifier
|
|
227
227
|
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
228
228
|
|
|
229
|
+
2026-05-14T09:17:34.775Z
|
|
230
|
+
|
|
231
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
232
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
233
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
234
|
+
|
|
235
|
+
2026-05-14T09:24:55.737Z
|
|
236
|
+
|
|
237
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
238
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
239
|
+
|
|
240
|
+
2026-05-14T09:25:54.774Z
|
|
241
|
+
|
|
242
|
+
ecommerce.dbml(17,24): Expect an identifier
|
|
243
|
+
ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
|
|
244
|
+
|
package/lib/index.js
CHANGED
|
@@ -36,7 +36,7 @@ let __dbml_parse = require("@dbml/parse");
|
|
|
36
36
|
let node_fs = require("node:fs");
|
|
37
37
|
const $schema = "https://json.schemastore.org/package";
|
|
38
38
|
const name = "@dbml/cli";
|
|
39
|
-
const version = "8.0.0-alpha.
|
|
39
|
+
const version = "8.0.0-alpha.15";
|
|
40
40
|
const description = "";
|
|
41
41
|
const main = "lib/index.js";
|
|
42
42
|
const license = "Apache-2.0";
|
|
@@ -64,7 +64,7 @@ const dependencies = {
|
|
|
64
64
|
"@babel/cli": "^7.21.0",
|
|
65
65
|
"@dbml/connector": "^8.0.0-alpha.0",
|
|
66
66
|
"@dbml/core": "^8.0.0-alpha.13",
|
|
67
|
-
"@dbml/parse": "^8.0.0-alpha.
|
|
67
|
+
"@dbml/parse": "^8.0.0-alpha.15",
|
|
68
68
|
"bluebird": "^3.5.5",
|
|
69
69
|
"chalk": "^2.4.2",
|
|
70
70
|
"commander": "^2.20.0",
|
|
@@ -75,7 +75,7 @@ const dependencies = {
|
|
|
75
75
|
"strip-ansi": "^5.2.0",
|
|
76
76
|
"winston": "^3.2.1"
|
|
77
77
|
};
|
|
78
|
-
const gitHead = "
|
|
78
|
+
const gitHead = "a28fb18cf7ea979a81ef65774ef5271f285766d2";
|
|
79
79
|
const engines = { "node": ">=18" };
|
|
80
80
|
var package_default = {
|
|
81
81
|
$schema,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@dbml/cli",
|
|
4
|
-
"version": "8.0.0-alpha.
|
|
4
|
+
"version": "8.0.0-alpha.15",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@babel/cli": "^7.21.0",
|
|
35
35
|
"@dbml/connector": "^8.0.0-alpha.0",
|
|
36
36
|
"@dbml/core": "^8.0.0-alpha.13",
|
|
37
|
-
"@dbml/parse": "^8.0.0-alpha.
|
|
37
|
+
"@dbml/parse": "^8.0.0-alpha.15",
|
|
38
38
|
"bluebird": "^3.5.5",
|
|
39
39
|
"chalk": "^2.4.2",
|
|
40
40
|
"commander": "^2.20.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"strip-ansi": "^5.2.0",
|
|
46
46
|
"winston": "^3.2.1"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "a28fb18cf7ea979a81ef65774ef5271f285766d2",
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=18"
|
|
51
51
|
}
|