@pgsql/cli 1.32.0 → 1.32.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/CHANGELOG.md CHANGED
@@ -3,182 +3,100 @@
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.0](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.11...@pgsql/cli@1.32.0) (2025-11-23)
6
+ ## [1.32.1](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.32.0...@pgsql/cli@1.32.1) (2025-11-23)
7
7
 
8
8
  **Note:** Version bump only for package @pgsql/cli
9
9
 
10
+ # [1.32.0](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.11...@pgsql/cli@1.32.0) (2025-11-23)
10
11
 
11
-
12
-
12
+ **Note:** Version bump only for package @pgsql/cli
13
13
 
14
14
  ## [1.31.11](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.10...@pgsql/cli@1.31.11) (2025-08-08)
15
15
 
16
16
  **Note:** Version bump only for package @pgsql/cli
17
17
 
18
-
19
-
20
-
21
-
22
18
  ## [1.31.10](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.9...@pgsql/cli@1.31.10) (2025-07-23)
23
19
 
24
20
  **Note:** Version bump only for package @pgsql/cli
25
21
 
26
-
27
-
28
-
29
-
30
22
  ## [1.31.9](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.8...@pgsql/cli@1.31.9) (2025-07-17)
31
23
 
32
24
  **Note:** Version bump only for package @pgsql/cli
33
25
 
34
-
35
-
36
-
37
-
38
26
  ## [1.31.8](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.7...@pgsql/cli@1.31.8) (2025-07-01)
39
27
 
40
28
  **Note:** Version bump only for package @pgsql/cli
41
29
 
42
-
43
-
44
-
45
-
46
30
  ## [1.31.7](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.6...@pgsql/cli@1.31.7) (2025-07-01)
47
31
 
48
32
  **Note:** Version bump only for package @pgsql/cli
49
33
 
50
-
51
-
52
-
53
-
54
34
  ## [1.31.6](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.5...@pgsql/cli@1.31.6) (2025-07-01)
55
35
 
56
36
  **Note:** Version bump only for package @pgsql/cli
57
37
 
58
-
59
-
60
-
61
-
62
38
  ## [1.31.5](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.4...@pgsql/cli@1.31.5) (2025-06-27)
63
39
 
64
40
  **Note:** Version bump only for package @pgsql/cli
65
41
 
66
-
67
-
68
-
69
-
70
42
  ## [1.31.4](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.3...@pgsql/cli@1.31.4) (2025-06-27)
71
43
 
72
44
  **Note:** Version bump only for package @pgsql/cli
73
45
 
74
-
75
-
76
-
77
-
78
46
  ## [1.31.3](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.2...@pgsql/cli@1.31.3) (2025-06-26)
79
47
 
80
48
  **Note:** Version bump only for package @pgsql/cli
81
49
 
82
-
83
-
84
-
85
-
86
50
  ## [1.31.2](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.1...@pgsql/cli@1.31.2) (2025-06-24)
87
51
 
88
52
  **Note:** Version bump only for package @pgsql/cli
89
53
 
90
-
91
-
92
-
93
-
94
54
  ## [1.31.1](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.31.0...@pgsql/cli@1.31.1) (2025-06-23)
95
55
 
96
56
  **Note:** Version bump only for package @pgsql/cli
97
57
 
98
-
99
-
100
-
101
-
102
58
  # [1.31.0](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.30.2...@pgsql/cli@1.31.0) (2025-06-23)
103
59
 
104
60
  **Note:** Version bump only for package @pgsql/cli
105
61
 
106
-
107
-
108
-
109
-
110
62
  ## [1.30.2](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.30.1...@pgsql/cli@1.30.2) (2025-06-23)
111
63
 
112
64
  **Note:** Version bump only for package @pgsql/cli
113
65
 
114
-
115
-
116
-
117
-
118
66
  ## [1.30.1](https://github.com/launchql/pgsql-parser/compare/@pgsql/cli@1.30.0...@pgsql/cli@1.30.1) (2025-06-23)
119
67
 
120
68
  **Note:** Version bump only for package @pgsql/cli
121
69
 
122
-
123
-
124
-
125
-
126
70
  # 1.30.0 (2025-06-23)
127
71
 
128
-
129
72
  ### Features
130
73
 
131
- * implement unified @pgsql/cli package ([b009a17](https://github.com/launchql/pgsql-parser/commit/b009a172c3c93033573745e80354a7dac973e2bf))
132
-
74
+ - implement unified @pgsql/cli package ([b009a17](https://github.com/launchql/pgsql-parser/commit/b009a172c3c93033573745e80354a7dac973e2bf))
133
75
 
134
76
  ### BREAKING CHANGES
135
77
 
136
- * Binary renamed from pg-proto-parser to pgsql. Command structure changed from subcommands to main commands.
137
-
138
-
139
-
140
-
78
+ - Binary renamed from pg-proto-parser to pgsql. Command structure changed from subcommands to main commands.
141
79
 
142
80
  ## [1.29.2](https://github.com/launchql/pgsql-parser/compare/@launchql/proto-cli@1.29.1...@launchql/proto-cli@1.29.2) (2025-06-22)
143
81
 
144
82
  **Note:** Version bump only for package @launchql/proto-cli
145
83
 
146
-
147
-
148
-
149
-
150
84
  ## [1.29.1](https://github.com/launchql/pgsql-parser/compare/@launchql/proto-cli@1.29.0...@launchql/proto-cli@1.29.1) (2025-06-22)
151
85
 
152
86
  **Note:** Version bump only for package @launchql/proto-cli
153
87
 
154
-
155
-
156
-
157
-
158
88
  # [1.29.0](https://github.com/launchql/pgsql-parser/compare/@launchql/proto-cli@1.28.1...@launchql/proto-cli@1.29.0) (2025-06-22)
159
89
 
160
90
  **Note:** Version bump only for package @launchql/proto-cli
161
91
 
162
-
163
-
164
-
165
-
166
92
  ## [1.28.1](https://github.com/launchql/pgsql-parser/compare/@launchql/proto-cli@1.28.0...@launchql/proto-cli@1.28.1) (2025-06-21)
167
93
 
168
94
  **Note:** Version bump only for package @launchql/proto-cli
169
95
 
170
-
171
-
172
-
173
-
174
96
  # [1.28.0](https://github.com/launchql/pgsql-parser/compare/@launchql/proto-cli@1.27.0...@launchql/proto-cli@1.28.0) (2025-06-21)
175
97
 
176
98
  **Note:** Version bump only for package @launchql/proto-cli
177
99
 
178
-
179
-
180
-
181
-
182
100
  # [1.27.0](https://github.com/launchql/pgsql-parser/compare/@launchql/proto-cli@1.26.0...@launchql/proto-cli@1.27.0) (2025-06-21)
183
101
 
184
102
  **Note:** Version bump only for package @launchql/proto-cli
package/README.md CHANGED
@@ -248,22 +248,4 @@ pgsql proto-gen --inFile pg_query.proto --outDir out
248
248
  The command options remain largely the same, with some improvements:
249
249
  - `codegen` → `proto-gen`
250
250
  - `protogen` → `proto-fetch`
251
- - Boolean flags now use kebab-case (e.g., `--enumsJSON` → `--enums-json`)
252
-
253
- ## Related
254
-
255
- * [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.
256
- * [pgsql-deparser](https://www.npmjs.com/package/pgsql-deparser): A streamlined tool designed for converting PostgreSQL ASTs back into SQL queries, focusing solely on deparser functionality to complement `pgsql-parser`.
257
- * [@pgsql/parser](https://www.npmjs.com/package/@pgsql/parser): Multi-version PostgreSQL parser with dynamic version selection at runtime, supporting PostgreSQL 15, 16, and 17 in a single package.
258
- * [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): Offers TypeScript type definitions for PostgreSQL AST nodes, facilitating type-safe construction, analysis, and manipulation of ASTs.
259
- * [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): Provides TypeScript enum definitions for PostgreSQL constants, enabling type-safe usage of PostgreSQL enums and constants in your applications.
260
- * [@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.
261
- * [@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.
262
- * [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.
263
- * [libpg-query](https://github.com/launchql/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.
264
-
265
- ## Disclaimer
266
-
267
- AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
268
-
269
- No developer or entity involved in creating Software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the Software code or Software CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
251
+ - Boolean flags now use kebab-case (e.g., `--enumsJSON` → `--enums-json`)
package/dist/README.md CHANGED
@@ -250,6 +250,8 @@ The command options remain largely the same, with some improvements:
250
250
  - `protogen` → `proto-fetch`
251
251
  - Boolean flags now use kebab-case (e.g., `--enumsJSON` → `--enums-json`)
252
252
 
253
+ ---
254
+
253
255
  ## Related
254
256
 
255
257
  * [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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgsql/cli",
3
- "version": "1.32.0",
3
+ "version": "1.32.1",
4
4
  "description": "Unified CLI for PostgreSQL AST parsing, deparsing, and code generation",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "main": "index.js",
@@ -22,9 +22,9 @@
22
22
  "pgsql": "index.js"
23
23
  },
24
24
  "scripts": {
25
- "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
26
- "clean": "rimraf dist",
27
- "prepare": "npm run build",
25
+ "copy": "makage assets",
26
+ "clean": "makage clean dist",
27
+ "prepublishOnly": "npm run build",
28
28
  "build": "npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy",
29
29
  "build:dev": "npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy",
30
30
  "dev": "ts-node src/index",
@@ -51,10 +51,14 @@
51
51
  "glob": "8.0.3",
52
52
  "minimist": "1.2.8",
53
53
  "mkdirp": "3.0.1",
54
- "nested-obj": "^0.0.1",
55
- "pg-proto-parser": "^1.30.0",
56
- "pgsql-deparser": "^17.12.0",
57
- "pgsql-parser": "^17.9.0"
54
+ "nested-obj": "^0.1.1",
55
+ "pg-proto-parser": "1.30.1",
56
+ "pgsql-deparser": "17.12.1",
57
+ "pgsql-parser": "17.9.1"
58
58
  },
59
- "gitHead": "3ae060bb9e0edcf8869d6e9da350216d6c6e01cf"
59
+ "devDependencies": {
60
+ "@types/minimist": "^1.2.5",
61
+ "makage": "^0.1.3"
62
+ },
63
+ "gitHead": "da3ab5c3f032c80958902486ef4fd6dc236e0e12"
60
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgsql/cli",
3
- "version": "1.32.0",
3
+ "version": "1.32.1",
4
4
  "description": "Unified CLI for PostgreSQL AST parsing, deparsing, and code generation",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "main": "index.js",
@@ -22,9 +22,9 @@
22
22
  "pgsql": "index.js"
23
23
  },
24
24
  "scripts": {
25
- "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
26
- "clean": "rimraf dist",
27
- "prepare": "npm run build",
25
+ "copy": "makage assets",
26
+ "clean": "makage clean dist",
27
+ "prepublishOnly": "npm run build",
28
28
  "build": "npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy",
29
29
  "build:dev": "npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy",
30
30
  "dev": "ts-node src/index",
@@ -51,10 +51,14 @@
51
51
  "glob": "8.0.3",
52
52
  "minimist": "1.2.8",
53
53
  "mkdirp": "3.0.1",
54
- "nested-obj": "^0.0.1",
55
- "pg-proto-parser": "^1.30.0",
56
- "pgsql-deparser": "^17.12.0",
57
- "pgsql-parser": "^17.9.0"
54
+ "nested-obj": "^0.1.1",
55
+ "pg-proto-parser": "1.30.1",
56
+ "pgsql-deparser": "17.12.1",
57
+ "pgsql-parser": "17.9.1"
58
58
  },
59
- "gitHead": "3ae060bb9e0edcf8869d6e9da350216d6c6e01cf"
59
+ "devDependencies": {
60
+ "@types/minimist": "^1.2.5",
61
+ "makage": "^0.1.3"
62
+ },
63
+ "gitHead": "da3ab5c3f032c80958902486ef4fd6dc236e0e12"
60
64
  }