@dbml/cli 10.0.0-optional-ref.0 → 10.1.0-alpha.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.
Files changed (35) hide show
  1. package/__tests__/db2dbml/mssql/dbml-error.log +70 -0
  2. package/__tests__/db2dbml/mysql/dbml-error.log +91 -0
  3. package/__tests__/db2dbml/oracle/dbml-error.log +98 -0
  4. package/__tests__/db2dbml/postgres/dbml-error.log +49 -0
  5. package/__tests__/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
  6. package/__tests__/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
  7. package/__tests__/dbml2sql/filename --out-file/out-files/schema.sql +1 -1
  8. package/__tests__/dbml2sql/filename --postgres --out-file/out-files/schema.sql +1 -1
  9. package/__tests__/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
  10. package/__tests__/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
  11. package/__tests__/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
  12. package/__tests__/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
  13. package/__tests__/dbml2sql/multifile error entry-syntax-error/dbml-error.log +35 -0
  14. package/__tests__/dbml2sql/multifile error entry-syntax-error/stdout.txt +1 -1
  15. package/__tests__/dbml2sql/multifile error import-not-found/dbml-error.log +3122 -0
  16. package/__tests__/dbml2sql/multifile error imported-syntax-error/dbml-error.log +35 -0
  17. package/__tests__/dbml2sql/multifile error imported-syntax-error/stdout.txt +1 -1
  18. package/__tests__/dbml2sql/multifile error transitive-use-not-visible/dbml-error.log +28 -0
  19. package/__tests__/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
  20. package/__tests__/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
  21. package/__tests__/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
  22. package/__tests__/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
  23. package/__tests__/dbml2sql/syntax-error/dbml-error.log +35 -0
  24. package/__tests__/dbml2sql/syntax-error/stdout.txt +1 -1
  25. package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +32 -0
  26. package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +32 -0
  27. package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +32 -0
  28. package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +32 -0
  29. package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +32 -0
  30. package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +32 -0
  31. package/__tests__/sql2dbml/syntax-error/dbml-error.log +28 -0
  32. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +28 -0
  33. package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +28 -0
  34. package/lib/index.js +7 -6
  35. package/package.json +7 -6
@@ -191,3 +191,38 @@
191
191
  ./in-files/broken.dbml(4,1): Expect an identifier
192
192
  ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
193
193
 
194
+ 2026-07-15T09:00:19.133Z
195
+
196
+ ./in-files/broken.dbml(4,1): Expect an identifier
197
+ ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
198
+
199
+ 2026-07-15T09:02:03.246Z
200
+
201
+ ./in-files/broken.dbml(4,1): Expect an identifier
202
+ ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
203
+
204
+ 2026-07-15T11:08:26.198Z
205
+
206
+ ./in-files/broken.dbml(4,1): Expect an identifier
207
+ ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
208
+
209
+ 2026-07-17T09:12:45.556Z
210
+
211
+ ./in-files/broken.dbml(4,1): Expect an identifier
212
+ ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
213
+
214
+ 2026-07-30T02:48:53.602Z
215
+
216
+ ./in-files/broken.dbml(4,1): Expect an identifier
217
+ ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
218
+
219
+ 2026-07-30T02:50:34.372Z
220
+
221
+ ./in-files/broken.dbml(4,1): Expect an identifier
222
+ ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
223
+
224
+ 2026-08-06T04:03:02.879Z
225
+
226
+ ./in-files/broken.dbml(4,1): Expect an identifier
227
+ ./in-files/broken.dbml(2,11): Custom setting 'pk name varchar' must be a string or a color literal
228
+
@@ -1,5 +1,5 @@
1
1
  ERROR:
2
2
  ./in-files/broken.dbml(4,1): Expect an identifier
3
- ./in-files/broken.dbml(2,11): Unknown column setting 'pk name varchar'
3
+ ./in-files/broken.dbml(2,11): Custom setting 'pk name varchar' must be a string or a color literal
4
4
 
5
5
  A complete log can be found in:
@@ -158,3 +158,31 @@
158
158
 
159
159
  ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
160
160
 
161
+ 2026-07-15T09:00:20.354Z
162
+
163
+ ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
164
+
165
+ 2026-07-15T09:02:04.482Z
166
+
167
+ ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
168
+
169
+ 2026-07-15T11:08:27.424Z
170
+
171
+ ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
172
+
173
+ 2026-07-17T09:12:46.845Z
174
+
175
+ ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
176
+
177
+ 2026-07-30T02:48:54.909Z
178
+
179
+ ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
180
+
181
+ 2026-07-30T02:50:35.660Z
182
+
183
+ ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
184
+
185
+ 2026-08-06T04:03:04.158Z
186
+
187
+ ./in-files/main.dbml(3,17): Table 'products' does not exist in Schema 'public'
188
+
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: SQL Server
3
- -- Generated at: 2026-07-08T04:46:19.472Z
3
+ -- Generated at: 2026-08-06T04:03:11.764Z
4
4
 
5
5
  CREATE SCHEMA [schemaB]
6
6
  GO
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: MySQL
3
- -- Generated at: 2026-07-08T04:46:20.641Z
3
+ -- Generated at: 2026-08-06T04:03:13.038Z
4
4
 
5
5
  CREATE SCHEMA `schemaB`;
6
6
 
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: Oracle
3
- -- Generated at: 2026-07-08T04:46:21.782Z
3
+ -- Generated at: 2026-08-06T04:03:14.310Z
4
4
 
5
5
  CREATE USER "C##test01"
6
6
  NO AUTHENTICATION
@@ -1,6 +1,6 @@
1
1
  -- SQL dump generated using DBML (dbml.dbdiagram.io)
2
2
  -- Database: PostgreSQL
3
- -- Generated at: 2026-07-08T04:46:22.904Z
3
+ -- Generated at: 2026-08-06T04:03:15.585Z
4
4
 
5
5
  CREATE SCHEMA "schemaB";
6
6
 
@@ -407,3 +407,38 @@ undefined
407
407
  ecommerce.dbml(17,24): Expect an identifier
408
408
  ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
409
409
 
410
+ 2026-07-15T09:00:33.993Z
411
+
412
+ ecommerce.dbml(17,24): Expect an identifier
413
+ ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
414
+
415
+ 2026-07-15T09:02:18.187Z
416
+
417
+ ecommerce.dbml(17,24): Expect an identifier
418
+ ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
419
+
420
+ 2026-07-15T11:08:41.277Z
421
+
422
+ ecommerce.dbml(17,24): Expect an identifier
423
+ ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
424
+
425
+ 2026-07-17T09:13:01.021Z
426
+
427
+ ecommerce.dbml(17,24): Expect an identifier
428
+ ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
429
+
430
+ 2026-07-30T02:49:09.144Z
431
+
432
+ ecommerce.dbml(17,24): Expect an identifier
433
+ ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
434
+
435
+ 2026-07-30T02:50:49.585Z
436
+
437
+ ecommerce.dbml(17,24): Expect an identifier
438
+ ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
439
+
440
+ 2026-08-06T04:03:18.107Z
441
+
442
+ ecommerce.dbml(17,24): Expect an identifier
443
+ ecommerce.dbml(17,30): Custom setting 'pk manager_staff_id int' must be a string or a color literal
444
+
@@ -1,5 +1,5 @@
1
1
  ERROR:
2
2
  ecommerce.dbml(17,24): Expect an identifier
3
- ecommerce.dbml(16,11): Unknown column setting 'pk manager_staff_id int'
3
+ ecommerce.dbml(17,30): Custom setting 'pk manager_staff_id int' must be a string or a color literal
4
4
 
5
5
  A complete log can be found in:
@@ -324,3 +324,35 @@ undefined
324
324
 
325
325
  You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
326
326
 
327
+ 2026-07-13T09:29:45.763Z
328
+
329
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
330
+
331
+ 2026-07-15T09:00:35.492Z
332
+
333
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
334
+
335
+ 2026-07-15T09:02:19.704Z
336
+
337
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
338
+
339
+ 2026-07-15T11:08:42.798Z
340
+
341
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
342
+
343
+ 2026-07-17T09:13:02.559Z
344
+
345
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
346
+
347
+ 2026-07-30T02:49:10.550Z
348
+
349
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
350
+
351
+ 2026-07-30T02:50:51.060Z
352
+
353
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
354
+
355
+ 2026-08-06T04:03:19.585Z
356
+
357
+ You have a syntax error at "schema.sql" line 1 column 1. Column "name" do not exist in table "Users"
358
+
@@ -324,3 +324,35 @@ undefined
324
324
 
325
325
  You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
326
326
 
327
+ 2026-07-13T09:29:47.114Z
328
+
329
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
330
+
331
+ 2026-07-15T09:00:36.913Z
332
+
333
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
334
+
335
+ 2026-07-15T09:02:21.215Z
336
+
337
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
338
+
339
+ 2026-07-15T11:08:44.224Z
340
+
341
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
342
+
343
+ 2026-07-17T09:13:04.037Z
344
+
345
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
346
+
347
+ 2026-07-30T02:49:11.902Z
348
+
349
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
350
+
351
+ 2026-07-30T02:50:52.498Z
352
+
353
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
354
+
355
+ 2026-08-06T04:03:21.058Z
356
+
357
+ You have a syntax error at "schema.sql" line 1 column 13. Table "Users" not found
358
+
@@ -324,3 +324,35 @@ undefined
324
324
 
325
325
  You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
326
326
 
327
+ 2026-07-13T09:29:48.497Z
328
+
329
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
330
+
331
+ 2026-07-15T09:00:38.359Z
332
+
333
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
334
+
335
+ 2026-07-15T09:02:22.660Z
336
+
337
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
338
+
339
+ 2026-07-15T11:08:45.705Z
340
+
341
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
342
+
343
+ 2026-07-17T09:13:05.513Z
344
+
345
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
346
+
347
+ 2026-07-30T02:49:13.375Z
348
+
349
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
350
+
351
+ 2026-07-30T02:50:54.007Z
352
+
353
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
354
+
355
+ 2026-08-06T04:03:22.531Z
356
+
357
+ You have a syntax error at "schema.sql" line 5 column 19. Column "name" not found in table "Users"
358
+
@@ -320,3 +320,35 @@ undefined
320
320
 
321
321
  You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
322
322
 
323
+ 2026-07-13T09:29:49.899Z
324
+
325
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
326
+
327
+ 2026-07-15T09:00:39.784Z
328
+
329
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
330
+
331
+ 2026-07-15T09:02:24.195Z
332
+
333
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
334
+
335
+ 2026-07-15T11:08:47.187Z
336
+
337
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
338
+
339
+ 2026-07-17T09:13:06.983Z
340
+
341
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
342
+
343
+ 2026-07-30T02:49:14.774Z
344
+
345
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
346
+
347
+ 2026-07-30T02:50:55.477Z
348
+
349
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
350
+
351
+ 2026-08-06T04:03:24.002Z
352
+
353
+ You have a syntax error at "schema.sql" line 5 column 19. Table "Posts" not found
354
+
@@ -320,3 +320,35 @@ undefined
320
320
 
321
321
  You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
322
322
 
323
+ 2026-07-13T09:29:51.285Z
324
+
325
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
326
+
327
+ 2026-07-15T09:00:41.185Z
328
+
329
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
330
+
331
+ 2026-07-15T09:02:26.440Z
332
+
333
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
334
+
335
+ 2026-07-15T11:08:48.605Z
336
+
337
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
338
+
339
+ 2026-07-17T09:13:08.460Z
340
+
341
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
342
+
343
+ 2026-07-30T02:49:16.142Z
344
+
345
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
346
+
347
+ 2026-07-30T02:50:56.925Z
348
+
349
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
350
+
351
+ 2026-08-06T04:03:25.490Z
352
+
353
+ You have a syntax error at "schema.sql" line 1 column 28. Table Users not found
354
+
@@ -320,3 +320,35 @@ undefined
320
320
 
321
321
  You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
322
322
 
323
+ 2026-07-13T09:29:52.676Z
324
+
325
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
326
+
327
+ 2026-07-15T09:00:42.581Z
328
+
329
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
330
+
331
+ 2026-07-15T09:02:29.718Z
332
+
333
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
334
+
335
+ 2026-07-15T11:08:50.068Z
336
+
337
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
338
+
339
+ 2026-07-17T09:13:09.950Z
340
+
341
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
342
+
343
+ 2026-07-30T02:49:17.447Z
344
+
345
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
346
+
347
+ 2026-07-30T02:50:58.350Z
348
+
349
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
350
+
351
+ 2026-08-06T04:03:27.013Z
352
+
353
+ You have a syntax error at "schema.sql" line 5 column 18. Table "Posts" not found
354
+
@@ -299,3 +299,31 @@ undefined
299
299
 
300
300
  You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
301
301
 
302
+ 2026-07-13T09:30:23.523Z
303
+
304
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
305
+
306
+ 2026-07-15T09:01:13.199Z
307
+
308
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
309
+
310
+ 2026-07-15T11:09:20.562Z
311
+
312
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
313
+
314
+ 2026-07-17T09:13:40.975Z
315
+
316
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
317
+
318
+ 2026-07-30T02:49:50.622Z
319
+
320
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
321
+
322
+ 2026-07-30T02:51:29.923Z
323
+
324
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
325
+
326
+ 2026-08-06T04:03:58.727Z
327
+
328
+ You have a syntax error at "business.sql" line 6 column 2. no viable alternative at input 'CREATE TABLE `staff` (\n `id` int PRIMARY KEY,\n `first_name` varchar(255),\n `last_name` varchar(255),\n `address_id` int\n `picture`'
329
+
@@ -296,3 +296,31 @@ undefined
296
296
 
297
297
  You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
298
298
 
299
+ 2026-07-13T09:30:25.134Z
300
+
301
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
302
+
303
+ 2026-07-15T09:01:14.709Z
304
+
305
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
306
+
307
+ 2026-07-15T11:09:22.007Z
308
+
309
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
310
+
311
+ 2026-07-17T09:13:42.492Z
312
+
313
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
314
+
315
+ 2026-07-30T02:49:52.180Z
316
+
317
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
318
+
319
+ 2026-07-30T02:51:31.430Z
320
+
321
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
322
+
323
+ 2026-08-06T04:04:00.260Z
324
+
325
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
326
+
@@ -292,3 +292,31 @@ undefined
292
292
 
293
293
  You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
294
294
 
295
+ 2026-07-13T09:30:26.602Z
296
+
297
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
298
+
299
+ 2026-07-15T09:01:16.118Z
300
+
301
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
302
+
303
+ 2026-07-15T11:09:23.348Z
304
+
305
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
306
+
307
+ 2026-07-17T09:13:43.886Z
308
+
309
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
310
+
311
+ 2026-07-30T02:49:53.636Z
312
+
313
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
314
+
315
+ 2026-07-30T02:51:32.829Z
316
+
317
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
318
+
319
+ 2026-08-06T04:04:01.691Z
320
+
321
+ You have a syntax error at "schema.sql" line 1 column 1. Reference with the same endpoints already exists: "student"("subject_id", "score_id") references "score_subject"("subject_id", "score_id")
322
+
package/lib/index.js CHANGED
@@ -39,7 +39,7 @@ let node_fs = require("node:fs");
39
39
  var package_default = {
40
40
  $schema: "https://json.schemastore.org/package",
41
41
  name: "@dbml/cli",
42
- version: "10.0.0-optional-ref.0",
42
+ version: "10.1.0-alpha.0",
43
43
  description: "",
44
44
  main: "lib/index.js",
45
45
  license: "Apache-2.0",
@@ -50,7 +50,8 @@ var package_default = {
50
50
  "build": "rm -rf ./lib && tsc --noEmit && vite build",
51
51
  "dev": "vite build --watch",
52
52
  "prepublish": "npm run build",
53
- "lint": "eslint .",
53
+ "lint": "eslint $(git diff --relative --name-only --diff-filter=ACMRTUXB master -- . | grep -E '\\.(js|ts)$')",
54
+ "lint:all": "eslint .",
54
55
  "lint:fix": "eslint --fix ."
55
56
  },
56
57
  publishConfig: { "access": "public" },
@@ -65,9 +66,9 @@ var package_default = {
65
66
  keywords: ["dbml", "dbml-cli"],
66
67
  dependencies: {
67
68
  "@babel/cli": "^7.21.0",
68
- "@dbml/connector": "^9.0.0-optional-ref.6",
69
- "@dbml/core": "^10.0.0-optional-ref.0",
70
- "@dbml/parse": "^10.0.0-optional-ref.0",
69
+ "@dbml/connector": "^10.1.0-alpha.0",
70
+ "@dbml/core": "^10.1.0-alpha.0",
71
+ "@dbml/parse": "^10.1.0-alpha.0",
71
72
  "bluebird": "^3.5.5",
72
73
  "chalk": "^2.4.2",
73
74
  "commander": "^2.20.0",
@@ -78,7 +79,7 @@ var package_default = {
78
79
  "strip-ansi": "^5.2.0",
79
80
  "winston": "^3.2.1"
80
81
  },
81
- gitHead: "b8daf0503d91ec322d427ab1f5e71a8a7f2ca12f",
82
+ gitHead: "b9c9c643d79c2ab0677852a1742fb3cc57561f73",
82
83
  engines: { "node": ">=18" }
83
84
  };
84
85
  //#endregion
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": "10.0.0-optional-ref.0",
4
+ "version": "10.1.0-alpha.0",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "license": "Apache-2.0",
@@ -12,7 +12,8 @@
12
12
  "build": "rm -rf ./lib && tsc --noEmit && vite build",
13
13
  "dev": "vite build --watch",
14
14
  "prepublish": "npm run build",
15
- "lint": "eslint .",
15
+ "lint": "eslint $(git diff --relative --name-only --diff-filter=ACMRTUXB master -- . | grep -E '\\.(js|ts)$')",
16
+ "lint:all": "eslint .",
16
17
  "lint:fix": "eslint --fix ."
17
18
  },
18
19
  "publishConfig": {
@@ -32,9 +33,9 @@
32
33
  ],
33
34
  "dependencies": {
34
35
  "@babel/cli": "^7.21.0",
35
- "@dbml/connector": "^9.0.0-optional-ref.6",
36
- "@dbml/core": "^10.0.0-optional-ref.0",
37
- "@dbml/parse": "^10.0.0-optional-ref.0",
36
+ "@dbml/connector": "^10.1.0-alpha.0",
37
+ "@dbml/core": "^10.1.0-alpha.0",
38
+ "@dbml/parse": "^10.1.0-alpha.0",
38
39
  "bluebird": "^3.5.5",
39
40
  "chalk": "^2.4.2",
40
41
  "commander": "^2.20.0",
@@ -45,7 +46,7 @@
45
46
  "strip-ansi": "^5.2.0",
46
47
  "winston": "^3.2.1"
47
48
  },
48
- "gitHead": "b8daf0503d91ec322d427ab1f5e71a8a7f2ca12f",
49
+ "gitHead": "b9c9c643d79c2ab0677852a1742fb3cc57561f73",
49
50
  "engines": {
50
51
  "node": ">=18"
51
52
  }