neonctl 2.12.0 → 2.13.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/README.md CHANGED
@@ -145,13 +145,14 @@ Global options are supported with any Neon CLI command.
145
145
  To run the CLI locally, execute the build command after making changes:
146
146
 
147
147
  ```shell
148
- npm run build
148
+ bun install
149
+ bun run build
149
150
  ```
150
151
 
151
152
  To develop continuously:
152
153
 
153
154
  ```shell
154
- npm run watch
155
+ bun run watch
155
156
  ```
156
157
 
157
158
  To run commands from the local build, replace the `neonctl` command with `node dist`; for example:
@@ -131,6 +131,7 @@ export const handler = async (props) => {
131
131
  }
132
132
  if (props.ssl !== 'omit') {
133
133
  connectionString.searchParams.set('sslmode', props.ssl);
134
+ connectionString.searchParams.set('channel_binding', 'require');
134
135
  }
135
136
  if (parsedPIT.tag === 'lsn') {
136
137
  connectionString.searchParams.set('options', `neon_lsn:${parsedPIT.lsn}`);
package/help.js CHANGED
@@ -71,9 +71,9 @@ const formatHelp = (help) => {
71
71
  }
72
72
  // command description
73
73
  // example command to see: neonctl projects list
74
- const descritpionBlock = consumeBlockIfMatches(lines, /^(?!.*options:)/i);
75
- if (descritpionBlock.length > 0) {
76
- result.push(...descritpionBlock);
74
+ const descriptionBlock = consumeBlockIfMatches(lines, /^(?!.*options:)/i);
75
+ if (descriptionBlock.length > 0) {
76
+ result.push(...descriptionBlock);
77
77
  result.push('');
78
78
  }
79
79
  while (true) {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git+ssh://git@github.com/neondatabase/neonctl.git"
6
6
  },
7
7
  "type": "module",
8
- "version": "2.12.0",
8
+ "version": "2.13.1",
9
9
  "description": "CLI tool for NeonDB Cloud management",
10
10
  "main": "index.js",
11
11
  "author": "NeonDB",
@@ -110,6 +110,5 @@
110
110
  "eslint --cache --fix",
111
111
  "prettier --write"
112
112
  ]
113
- },
114
- "packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
113
+ }
115
114
  }