@dbml/cli 5.3.1 → 5.4.1
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__/{cli.test.js → cli.test.ts} +2 -1
- package/__tests__/db2dbml/mssql/dbml-error.log +44 -0
- package/__tests__/db2dbml/mysql/dbml-error.log +12 -0
- package/__tests__/db2dbml/oracle/dbml-error.log +91 -0
- package/__tests__/db2dbml/oracle/out-files/schema.dbml +419 -0
- package/__tests__/db2dbml/postgres/dbml-error.log +28 -0
- package/{__test__ → __tests__}/dbml2sql/filename --mysql --out-file/out-files/schema.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/filename --oracle --out-file/out-files/schema.sql +1 -1
- package/{__test__/dbml2sql/filename --postgres --out-file → __tests__/dbml2sql/filename --out-file}/out-files/schema.sql +1 -1
- package/{__test__/dbml2sql/filename --out-file → __tests__/dbml2sql/filename --postgres --out-file}/out-files/schema.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/filenames --mysql --out-file/out-files/schema.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/filenames --oracle --out-file/out-files/schema.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/filenames --out-file/out-files/schema.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/filenames --postgres --out-file/out-files/schema.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/multiple_schema_mssql/out-files/multiple_schema.out.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/multiple_schema_mysql/out-files/multiple_schema.out.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/multiple_schema_oracle/out-files/multiple_schema.out.sql +1 -1
- package/{__test__ → __tests__}/dbml2sql/multiple_schema_pg/out-files/multiple_schema.out.sql +1 -1
- package/__tests__/dbml2sql/syntax-error/dbml-error.log +15 -0
- package/__tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/dbml-error.log +51 -0
- package/__tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/dbml-error.log +51 -0
- package/__tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/dbml-error.log +51 -0
- package/__tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/dbml-error.log +51 -0
- package/__tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/dbml-error.log +51 -0
- package/__tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/dbml-error.log +27 -0
- package/__tests__/sql2dbml/filename --oracle --out-file/out-files/schema.dbml +83 -0
- package/__tests__/sql2dbml/filenames --mysql stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --postgres --out-file/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames --postgres stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/filenames stdout/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_mssql/dbml-error.log +0 -0
- package/{__test__ → __tests__}/sql2dbml/multiple_schema_mssql/out-files/multiple_schema.out.dbml +8 -56
- package/__tests__/sql2dbml/multiple_schema_mysql/dbml-error.log +0 -0
- package/__tests__/sql2dbml/multiple_schema_pg/dbml-error.log +0 -0
- package/__tests__/sql2dbml/syntax-error/dbml-error.log +51 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +51 -0
- package/__tests__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +51 -0
- package/__tests__/testHelpers.ts +8 -0
- package/jest.config.ts +4 -3
- package/package.json +7 -5
- package/__test__/db2dbml/mssql/dbml-error.log +0 -22
- package/__test__/db2dbml/mysql/dbml-error.log +0 -6
- package/__test__/db2dbml/oracle/dbml-error.log +0 -11
- package/__test__/db2dbml/oracle/out-files/schema.dbml +0 -46
- package/__test__/db2dbml/postgres/dbml-error.log +0 -7
- package/__test__/db2dbml/sqlite/dbml-error.log +0 -52
- package/__test__/db2dbml/sqlite/out-files/schema.dbml +0 -108
- package/__test__/dbml2sql/syntax-error/dbml-error.log +0 -1533
- package/__test__/sql2dbml/multiple_schema_pg/dbml-error.log +0 -52
- package/__test__/sql2dbml/syntax-error/dbml-error.log +0 -1557
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mssql/dbml-error.log +0 -1615
- package/__test__/sql2dbml/syntax-error-duplicate-endpoints --mysql/dbml-error.log +0 -1615
- package/dbml-error.log +0 -562
- package/jestHelpers.js +0 -8
- package/yarn-error.log +0 -87
- /package/{__test__ → __tests__}/dbml2sql/filename --mysql --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filename --mysql stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filename --oracle --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filename --oracle stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filename --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filename --postgres --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filename --postgres stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filename stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames --mysql --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames --mysql stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames --oracle --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames --oracle stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames --postgres --out-file/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames --postgres stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/filenames stdout/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/multiple_schema_mssql/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/multiple_schema_mysql/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/multiple_schema_oracle/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/dbml2sql/multiple_schema_pg/dbml-error.log +0 -0
- /package/{__test__/sql2dbml/filename --mssql --out-file/dbml-error.log → __tests__/sql2dbml/custom-error-alter-table-column-not-found --oracle/out-files/schema.dbml} +0 -0
- /package/{__test__/sql2dbml/filename --mysql --out-file/dbml-error.log → __tests__/sql2dbml/custom-error-alter-table-table-not-found --oracle/out-files/schema.dbml} +0 -0
- /package/{__test__/sql2dbml/filename --mysql stdout/dbml-error.log → __tests__/sql2dbml/custom-error-column-comment-column-not-found --oracle/out-files/schema.dbml} +0 -0
- /package/{__test__/sql2dbml/filename --out-file/dbml-error.log → __tests__/sql2dbml/custom-error-column-comment-table-not-found --oracle/out-files/schema.dbml} +0 -0
- /package/{__test__/sql2dbml/filename --postgres --out-file/dbml-error.log → __tests__/sql2dbml/custom-error-create-index-table-not-found --oracle/out-files/schema.dbml} +0 -0
- /package/{__test__/sql2dbml/filename --postgres stdout/dbml-error.log → __tests__/sql2dbml/custom-error-table-comment-table-not-found --oracle/out-files/schema.dbml} +0 -0
- /package/{__test__/sql2dbml/filename --snowflake stdout → __tests__/sql2dbml/filename --mssql --out-file}/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/sql2dbml/filename --mssql --out-file/out-files/schema.dbml +0 -0
- /package/{__test__/sql2dbml/filename stdout → __tests__/sql2dbml/filename --mysql --out-file}/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/sql2dbml/filename --mysql --out-file/out-files/schema.dbml +0 -0
- /package/{__test__/sql2dbml/filenames --mysql --out-file → __tests__/sql2dbml/filename --mysql stdout}/dbml-error.log +0 -0
- /package/{__test__/sql2dbml/filenames --mysql stdout → __tests__/sql2dbml/filename --oracle --out-file}/dbml-error.log +0 -0
- /package/{__test__/sql2dbml/filenames --out-file → __tests__/sql2dbml/filename --out-file}/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/sql2dbml/filename --out-file/out-files/schema.dbml +0 -0
- /package/{__test__/sql2dbml/filenames --postgres --out-file → __tests__/sql2dbml/filename --postgres --out-file}/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/sql2dbml/filename --postgres --out-file/out-files/schema.dbml +0 -0
- /package/{__test__/sql2dbml/filenames --postgres stdout → __tests__/sql2dbml/filename --postgres stdout}/dbml-error.log +0 -0
- /package/{__test__/sql2dbml/filenames stdout → __tests__/sql2dbml/filename --snowflake stdout}/dbml-error.log +0 -0
- /package/{__test__/sql2dbml/multiple_schema_mssql → __tests__/sql2dbml/filename stdout}/dbml-error.log +0 -0
- /package/{__test__/sql2dbml/multiple_schema_mysql → __tests__/sql2dbml/filenames --mysql --out-file}/dbml-error.log +0 -0
- /package/{__test__ → __tests__}/sql2dbml/filenames --mysql --out-file/out-files/schema.dbml +0 -0
- /package/{__test__ → __tests__}/sql2dbml/filenames --out-file/out-files/schema.dbml +0 -0
- /package/{__test__ → __tests__}/sql2dbml/filenames --postgres --out-file/out-files/schema.dbml +0 -0
- /package/{__test__ → __tests__}/sql2dbml/multiple_schema_mysql/out-files/multiple_schema.out.dbml +0 -0
- /package/{__test__ → __tests__}/sql2dbml/multiple_schema_pg/out-files/multiple_schema.out.dbml +0 -0
package/jestHelpers.js
DELETED
package/yarn-error.log
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
Arguments:
|
|
2
|
-
/usr/local/bin/node /usr/local/bin/yarn install
|
|
3
|
-
|
|
4
|
-
PATH:
|
|
5
|
-
/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/postgresql@13/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/opt/homebrew/opt/openjdk/bin:/opt/homebrew/opt/postgresql@13/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/nguyenhoang/.cargo/bin
|
|
6
|
-
|
|
7
|
-
Yarn version:
|
|
8
|
-
1.22.18
|
|
9
|
-
|
|
10
|
-
Node version:
|
|
11
|
-
16.18.0
|
|
12
|
-
|
|
13
|
-
Platform:
|
|
14
|
-
darwin arm64
|
|
15
|
-
|
|
16
|
-
Trace:
|
|
17
|
-
SyntaxError: /Users/nguyenhoang/Documents/workspace/dbx/dbml/package.json: Unexpected token } in JSON at position 130
|
|
18
|
-
at JSON.parse (<anonymous>)
|
|
19
|
-
at /usr/local/lib/node_modules/yarn/lib/cli.js:1625:59
|
|
20
|
-
at Generator.next (<anonymous>)
|
|
21
|
-
at step (/usr/local/lib/node_modules/yarn/lib/cli.js:310:30)
|
|
22
|
-
at /usr/local/lib/node_modules/yarn/lib/cli.js:321:13
|
|
23
|
-
|
|
24
|
-
npm manifest:
|
|
25
|
-
{
|
|
26
|
-
"name": "@dbml/cli",
|
|
27
|
-
"version": "2.5.3",
|
|
28
|
-
"description": "",
|
|
29
|
-
"main": "lib/index.js",
|
|
30
|
-
"license": "Apache-2.0",
|
|
31
|
-
"scripts": {
|
|
32
|
-
"test": "jest",
|
|
33
|
-
"build": "babel src --out-dir lib --copy-files",
|
|
34
|
-
"prepublish": "npm run build"
|
|
35
|
-
},
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public"
|
|
38
|
-
},
|
|
39
|
-
"bin": {
|
|
40
|
-
"dbml2sql": "bin/dbml2sql.js",
|
|
41
|
-
"sql2dbml": "bin/sql2dbml.js"
|
|
42
|
-
},
|
|
43
|
-
"author": "Holistics <dev@holistics.io>",
|
|
44
|
-
"homepage": "https://dbml.dbdiagram.io",
|
|
45
|
-
"repository": "https://github.com/holistics/dbml/tree/master/packages/dbml-cli",
|
|
46
|
-
"keywords": [
|
|
47
|
-
"dbml",
|
|
48
|
-
"dbml-cli"
|
|
49
|
-
],
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"@babel/cli": "^7.21.0",
|
|
52
|
-
"@dbml/core": "^2.5.3",
|
|
53
|
-
"bluebird": "^3.5.5",
|
|
54
|
-
"chalk": "^2.4.2",
|
|
55
|
-
"commander": "^2.20.0",
|
|
56
|
-
"esm": "^3.2.25",
|
|
57
|
-
"figures": "^3.2.0",
|
|
58
|
-
"lodash": "^4.17.15",
|
|
59
|
-
"pegjs-require-import": "^0.0.2",
|
|
60
|
-
"strip-ansi": "^5.2.0",
|
|
61
|
-
"winston": "^3.2.1"
|
|
62
|
-
},
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"@babel/core": "^7.21.4",
|
|
65
|
-
"@babel/node": "^7.20.7",
|
|
66
|
-
"@babel/plugin-transform-runtime": "^7.21.4",
|
|
67
|
-
"@babel/preset-env": "^7.21.4",
|
|
68
|
-
"@babel/runtime": "^7.21.0",
|
|
69
|
-
"babel-jest": "^29.5.0",
|
|
70
|
-
"jest": "^29.5.0"
|
|
71
|
-
},
|
|
72
|
-
"jest": {
|
|
73
|
-
"setupFiles": [
|
|
74
|
-
"./jestHelpers.js"
|
|
75
|
-
],
|
|
76
|
-
"transform": {
|
|
77
|
-
"^.+\\.js$": "babel-jest"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"gitHead": "5cb80e1aa38fb9a4dbe3079e39c9ef93cd4dc556"
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
yarn manifest:
|
|
84
|
-
No manifest
|
|
85
|
-
|
|
86
|
-
Lockfile:
|
|
87
|
-
No lockfile
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{__test__ → __tests__}/sql2dbml/filename --postgres --out-file/out-files/schema.dbml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{__test__ → __tests__}/sql2dbml/filenames --postgres --out-file/out-files/schema.dbml
RENAMED
|
File without changes
|
/package/{__test__ → __tests__}/sql2dbml/multiple_schema_mysql/out-files/multiple_schema.out.dbml
RENAMED
|
File without changes
|
/package/{__test__ → __tests__}/sql2dbml/multiple_schema_pg/out-files/multiple_schema.out.dbml
RENAMED
|
File without changes
|