@pgsql/cli 1.32.1 → 1.32.3
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/CHANGELOG.md +31 -23
- package/README.md +4 -4
- package/dist/README.md +7 -5
- package/dist/package.json +11 -11
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,67 +3,75 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [1.32.
|
|
6
|
+
## [1.32.3](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.32.2...@pgsql/cli@1.32.3) (2025-12-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @pgsql/cli
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
## [1.32.2](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.32.1...@pgsql/cli@1.32.2) (2025-12-11)
|
|
11
11
|
|
|
12
12
|
**Note:** Version bump only for package @pgsql/cli
|
|
13
13
|
|
|
14
|
-
## [1.
|
|
14
|
+
## [1.32.1](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.32.0...@pgsql/cli@1.32.1) (2025-11-23)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @pgsql/cli
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
# [1.32.0](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.11...@pgsql/cli@1.32.0) (2025-11-23)
|
|
19
19
|
|
|
20
20
|
**Note:** Version bump only for package @pgsql/cli
|
|
21
21
|
|
|
22
|
-
## [1.31.
|
|
22
|
+
## [1.31.11](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.10...@pgsql/cli@1.31.11) (2025-08-08)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @pgsql/cli
|
|
25
25
|
|
|
26
|
-
## [1.31.
|
|
26
|
+
## [1.31.10](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.9...@pgsql/cli@1.31.10) (2025-07-23)
|
|
27
27
|
|
|
28
28
|
**Note:** Version bump only for package @pgsql/cli
|
|
29
29
|
|
|
30
|
-
## [1.31.
|
|
30
|
+
## [1.31.9](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.8...@pgsql/cli@1.31.9) (2025-07-17)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @pgsql/cli
|
|
33
33
|
|
|
34
|
-
## [1.31.
|
|
34
|
+
## [1.31.8](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.7...@pgsql/cli@1.31.8) (2025-07-01)
|
|
35
35
|
|
|
36
36
|
**Note:** Version bump only for package @pgsql/cli
|
|
37
37
|
|
|
38
|
-
## [1.31.
|
|
38
|
+
## [1.31.7](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.6...@pgsql/cli@1.31.7) (2025-07-01)
|
|
39
39
|
|
|
40
40
|
**Note:** Version bump only for package @pgsql/cli
|
|
41
41
|
|
|
42
|
-
## [1.31.
|
|
42
|
+
## [1.31.6](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.5...@pgsql/cli@1.31.6) (2025-07-01)
|
|
43
43
|
|
|
44
44
|
**Note:** Version bump only for package @pgsql/cli
|
|
45
45
|
|
|
46
|
-
## [1.31.
|
|
46
|
+
## [1.31.5](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.4...@pgsql/cli@1.31.5) (2025-06-27)
|
|
47
47
|
|
|
48
48
|
**Note:** Version bump only for package @pgsql/cli
|
|
49
49
|
|
|
50
|
-
## [1.31.
|
|
50
|
+
## [1.31.4](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.3...@pgsql/cli@1.31.4) (2025-06-27)
|
|
51
51
|
|
|
52
52
|
**Note:** Version bump only for package @pgsql/cli
|
|
53
53
|
|
|
54
|
-
## [1.31.
|
|
54
|
+
## [1.31.3](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.2...@pgsql/cli@1.31.3) (2025-06-26)
|
|
55
55
|
|
|
56
56
|
**Note:** Version bump only for package @pgsql/cli
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
## [1.31.2](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.1...@pgsql/cli@1.31.2) (2025-06-24)
|
|
59
59
|
|
|
60
60
|
**Note:** Version bump only for package @pgsql/cli
|
|
61
61
|
|
|
62
|
-
## [1.
|
|
62
|
+
## [1.31.1](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.31.0...@pgsql/cli@1.31.1) (2025-06-23)
|
|
63
63
|
|
|
64
64
|
**Note:** Version bump only for package @pgsql/cli
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
# [1.31.0](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.30.2...@pgsql/cli@1.31.0) (2025-06-23)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @pgsql/cli
|
|
69
|
+
|
|
70
|
+
## [1.30.2](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.30.1...@pgsql/cli@1.30.2) (2025-06-23)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @pgsql/cli
|
|
73
|
+
|
|
74
|
+
## [1.30.1](https://github.com/constructive-io/pgsql-parser/compare/@pgsql/cli@1.30.0...@pgsql/cli@1.30.1) (2025-06-23)
|
|
67
75
|
|
|
68
76
|
**Note:** Version bump only for package @pgsql/cli
|
|
69
77
|
|
|
@@ -71,32 +79,32 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
71
79
|
|
|
72
80
|
### Features
|
|
73
81
|
|
|
74
|
-
- implement unified @pgsql/cli package ([b009a17](https://github.com/
|
|
82
|
+
- implement unified @pgsql/cli package ([b009a17](https://github.com/constructive-io/pgsql-parser/commit/b009a172c3c93033573745e80354a7dac973e2bf))
|
|
75
83
|
|
|
76
84
|
### BREAKING CHANGES
|
|
77
85
|
|
|
78
86
|
- Binary renamed from pg-proto-parser to pgsql. Command structure changed from subcommands to main commands.
|
|
79
87
|
|
|
80
|
-
## [1.29.2](https://github.com/
|
|
88
|
+
## [1.29.2](https://github.com/constructive-io/pgsql-parser/compare/@launchql/proto-cli@1.29.1...@launchql/proto-cli@1.29.2) (2025-06-22)
|
|
81
89
|
|
|
82
90
|
**Note:** Version bump only for package @launchql/proto-cli
|
|
83
91
|
|
|
84
|
-
## [1.29.1](https://github.com/
|
|
92
|
+
## [1.29.1](https://github.com/constructive-io/pgsql-parser/compare/@launchql/proto-cli@1.29.0...@launchql/proto-cli@1.29.1) (2025-06-22)
|
|
85
93
|
|
|
86
94
|
**Note:** Version bump only for package @launchql/proto-cli
|
|
87
95
|
|
|
88
|
-
# [1.29.0](https://github.com/
|
|
96
|
+
# [1.29.0](https://github.com/constructive-io/pgsql-parser/compare/@launchql/proto-cli@1.28.1...@launchql/proto-cli@1.29.0) (2025-06-22)
|
|
89
97
|
|
|
90
98
|
**Note:** Version bump only for package @launchql/proto-cli
|
|
91
99
|
|
|
92
|
-
## [1.28.1](https://github.com/
|
|
100
|
+
## [1.28.1](https://github.com/constructive-io/pgsql-parser/compare/@launchql/proto-cli@1.28.0...@launchql/proto-cli@1.28.1) (2025-06-21)
|
|
93
101
|
|
|
94
102
|
**Note:** Version bump only for package @launchql/proto-cli
|
|
95
103
|
|
|
96
|
-
# [1.28.0](https://github.com/
|
|
104
|
+
# [1.28.0](https://github.com/constructive-io/pgsql-parser/compare/@launchql/proto-cli@1.27.0...@launchql/proto-cli@1.28.0) (2025-06-21)
|
|
97
105
|
|
|
98
106
|
**Note:** Version bump only for package @launchql/proto-cli
|
|
99
107
|
|
|
100
|
-
# [1.27.0](https://github.com/
|
|
108
|
+
# [1.27.0](https://github.com/constructive-io/pgsql-parser/compare/@launchql/proto-cli@1.26.0...@launchql/proto-cli@1.27.0) (2025-06-21)
|
|
101
109
|
|
|
102
110
|
**Note:** Version bump only for package @launchql/proto-cli
|
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @pgsql/cli
|
|
2
2
|
|
|
3
3
|
<p align="center" width="100%">
|
|
4
|
-
<img height="120" src="https://github.com/
|
|
4
|
+
<img height="120" src="https://github.com/constructive-io/pgsql-parser/assets/545047/6440fa7d-918b-4a3b-8d1b-755d85de8bea" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center" width="100%">
|
|
8
|
-
<a href="https://github.com/
|
|
9
|
-
<img height="20" src="https://github.com/
|
|
8
|
+
<a href="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml">
|
|
9
|
+
<img height="20" src="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
|
-
<a href="https://github.com/
|
|
11
|
+
<a href="https://github.com/constructive-io/pgsql-parser/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
`@pgsql/cli` is a unified command-line interface for PostgreSQL AST operations, including parsing SQL to AST, deparsing AST back to SQL, and generating TypeScript definitions from PostgreSQL protobufs. It consolidates functionality from multiple packages into a single, easy-to-use CLI tool.
|
package/dist/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @pgsql/cli
|
|
2
2
|
|
|
3
3
|
<p align="center" width="100%">
|
|
4
|
-
<img height="120" src="https://github.com/
|
|
4
|
+
<img height="120" src="https://github.com/constructive-io/pgsql-parser/assets/545047/6440fa7d-918b-4a3b-8d1b-755d85de8bea" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center" width="100%">
|
|
8
|
-
<a href="https://github.com/
|
|
9
|
-
<img height="20" src="https://github.com/
|
|
8
|
+
<a href="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml">
|
|
9
|
+
<img height="20" src="https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
|
-
<a href="https://github.com/
|
|
11
|
+
<a href="https://github.com/constructive-io/pgsql-parser/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
`@pgsql/cli` is a unified command-line interface for PostgreSQL AST operations, including parsing SQL to AST, deparsing AST back to SQL, and generating TypeScript definitions from PostgreSQL protobufs. It consolidates functionality from multiple packages into a single, easy-to-use CLI tool.
|
|
@@ -252,6 +252,8 @@ The command options remain largely the same, with some improvements:
|
|
|
252
252
|
|
|
253
253
|
---
|
|
254
254
|
|
|
255
|
+
**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**
|
|
256
|
+
|
|
255
257
|
## Related
|
|
256
258
|
|
|
257
259
|
* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): The real PostgreSQL parser for Node.js, providing symmetric parsing and deparsing of SQL statements with actual PostgreSQL parser integration.
|
|
@@ -262,7 +264,7 @@ The command options remain largely the same, with some improvements:
|
|
|
262
264
|
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): A comprehensive utility library for PostgreSQL, offering type-safe AST node creation and enum value conversions, simplifying the construction and manipulation of PostgreSQL ASTs.
|
|
263
265
|
* [@pgsql/traverse](https://www.npmjs.com/package/@pgsql/traverse): PostgreSQL AST traversal utilities for pgsql-parser, providing a visitor pattern for traversing PostgreSQL Abstract Syntax Tree nodes, similar to Babel's traverse functionality but specifically designed for PostgreSQL AST structures.
|
|
264
266
|
* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): A TypeScript tool that parses PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
|
|
265
|
-
* [libpg-query](https://github.com/
|
|
267
|
+
* [libpg-query](https://github.com/constructive-io/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
|
|
266
268
|
|
|
267
269
|
## Disclaimer
|
|
268
270
|
|
package/dist/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgsql/cli",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.3",
|
|
4
4
|
"description": "Unified CLI for PostgreSQL AST parsing, deparsing, and code generation",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "index.d.ts",
|
|
9
|
-
"homepage": "https://github.com/
|
|
9
|
+
"homepage": "https://github.com/constructive-io/pgsql-parser/tree/master/packages/pgsql-cli#readme",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/constructive-io/pgsql-parser"
|
|
17
17
|
},
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://github.com/
|
|
19
|
+
"url": "https://github.com/constructive-io/pgsql-parser/issues"
|
|
20
20
|
},
|
|
21
21
|
"bin": {
|
|
22
22
|
"pgsql": "index.js"
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"glob": "8.0.3",
|
|
52
52
|
"minimist": "1.2.8",
|
|
53
53
|
"mkdirp": "3.0.1",
|
|
54
|
-
"nested-obj": "^0.1.
|
|
55
|
-
"pg-proto-parser": "1.30.
|
|
56
|
-
"pgsql-deparser": "17.
|
|
57
|
-
"pgsql-parser": "17.9.
|
|
54
|
+
"nested-obj": "^0.1.5",
|
|
55
|
+
"pg-proto-parser": "1.30.2",
|
|
56
|
+
"pgsql-deparser": "17.13.0",
|
|
57
|
+
"pgsql-parser": "17.9.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/minimist": "^1.2.5",
|
|
61
|
-
"makage": "^0.1.
|
|
61
|
+
"makage": "^0.1.8"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "7cbb9621ab078db873c1627713963ffa98b8447c"
|
|
64
64
|
}
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgsql/cli",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.3",
|
|
4
4
|
"description": "Unified CLI for PostgreSQL AST parsing, deparsing, and code generation",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "index.d.ts",
|
|
9
|
-
"homepage": "https://github.com/
|
|
9
|
+
"homepage": "https://github.com/constructive-io/pgsql-parser/tree/master/packages/pgsql-cli#readme",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/constructive-io/pgsql-parser"
|
|
17
17
|
},
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://github.com/
|
|
19
|
+
"url": "https://github.com/constructive-io/pgsql-parser/issues"
|
|
20
20
|
},
|
|
21
21
|
"bin": {
|
|
22
22
|
"pgsql": "index.js"
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"glob": "8.0.3",
|
|
52
52
|
"minimist": "1.2.8",
|
|
53
53
|
"mkdirp": "3.0.1",
|
|
54
|
-
"nested-obj": "^0.1.
|
|
55
|
-
"pg-proto-parser": "1.30.
|
|
56
|
-
"pgsql-deparser": "17.
|
|
57
|
-
"pgsql-parser": "17.9.
|
|
54
|
+
"nested-obj": "^0.1.5",
|
|
55
|
+
"pg-proto-parser": "1.30.2",
|
|
56
|
+
"pgsql-deparser": "17.13.0",
|
|
57
|
+
"pgsql-parser": "17.9.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/minimist": "^1.2.5",
|
|
61
|
-
"makage": "^0.1.
|
|
61
|
+
"makage": "^0.1.8"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "7cbb9621ab078db873c1627713963ffa98b8447c"
|
|
64
64
|
}
|