@theholocron/holocron-plugin-neon 5.0.0-alpha.422 → 5.0.0-alpha.424
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 +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Token resolution order:
|
|
|
21
21
|
2. `HOLOCRON_NEON_API_KEY` env var
|
|
22
22
|
3. `NEON_API_KEY` env var (the default Neon's own CLI reads)
|
|
23
23
|
4. Keyring `neon.<org>` — tried first when an org is active via `--org`, `HOLOCRON_ORG`, or `org` in `holocron.config.ts`
|
|
24
|
-
5. Keyring `neon` — unnamespaced fallback; set via `holocron
|
|
24
|
+
5. Keyring `neon` — unnamespaced fallback; set via `holocron new token neon <key>`
|
|
25
25
|
|
|
26
26
|
## Config
|
|
27
27
|
|
package/dist/index.d.mts
CHANGED
|
@@ -78,7 +78,7 @@ export declare function createPlugin(options: NeonPluginOptions): {
|
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
|
-
* One-line hint printed by `holocron
|
|
81
|
+
* One-line hint printed by `holocron new token neon` when no token
|
|
82
82
|
* is supplied or the supplied token is rejected. Points operators
|
|
83
83
|
* at https://console.neon.tech/app/settings/api-keys where API keys
|
|
84
84
|
* are minted.
|
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ const resolveToken = createResolveToken({
|
|
|
7
7
|
envName: "HOLOCRON_NEON_API_KEY",
|
|
8
8
|
vendorEnvName: "NEON_API_KEY",
|
|
9
9
|
keyringService: "neon",
|
|
10
|
-
errorMessage: "no Neon API key found. Pass --token <KEY>, set HOLOCRON_NEON_API_KEY / NEON_API_KEY, or run: holocron
|
|
10
|
+
errorMessage: "no Neon API key found. Pass --token <KEY>, set HOLOCRON_NEON_API_KEY / NEON_API_KEY, or run: holocron new token neon <KEY>"
|
|
11
11
|
});
|
|
12
12
|
/** Every token this plugin takes, for `holocron doctor tokens`. */
|
|
13
13
|
const tokens = [resolveToken.token];
|
|
@@ -138,10 +138,10 @@ function createPlugin(options) {
|
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* One-line hint printed by `holocron
|
|
141
|
+
* One-line hint printed by `holocron new token neon` when no token
|
|
142
142
|
* is supplied or the supplied token is rejected. Points operators
|
|
143
143
|
* at https://console.neon.tech/app/settings/api-keys where API keys
|
|
144
144
|
* are minted.
|
|
145
145
|
*/
|
|
146
|
-
const AUTH_HINT = "generate a Neon API key at https://console.neon.tech/app/settings/api-keys, then run: holocron
|
|
146
|
+
const AUTH_HINT = "generate a Neon API key at https://console.neon.tech/app/settings/api-keys, then run: holocron new token neon <KEY>";
|
|
147
147
|
export { AUTH_HINT, AuthError, NeonStorage, createContext, createNeonClient, createPlugin, resolveToken, storage, tokens, verifyToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-neon",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.424",
|
|
4
4
|
"description": "Holocron plugin for Neon. Implements the storage capability against Neon's REST API — branch ops, connection strings, extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"holocron",
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"tsx": "4.23.15",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
42
|
"vitest": "^5.1.0",
|
|
43
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
44
|
-
"@theholocron/eslint-config": "^8.9.0-alpha.16",
|
|
45
|
-
"@theholocron/http-client": "^1.58.0-alpha.28",
|
|
43
|
+
"@theholocron/cli": "5.0.0-alpha.424",
|
|
46
44
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
47
|
-
"@theholocron/
|
|
48
|
-
"@theholocron/
|
|
49
|
-
"@theholocron/
|
|
50
|
-
"@theholocron/
|
|
45
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.17",
|
|
46
|
+
"@theholocron/neon-client": "^1.58.0-alpha.29",
|
|
47
|
+
"@theholocron/http-client": "^1.58.0-alpha.29",
|
|
48
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.17",
|
|
49
|
+
"@theholocron/tsdown-config": "^8.9.0-alpha.17",
|
|
50
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.17"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@theholocron/misc-utils": "^1.16.0",
|
|
54
54
|
"@theholocron/neon-client": "^1.43.1",
|
|
55
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
55
|
+
"@theholocron/cli": "5.0.0-alpha.424"
|
|
56
56
|
},
|
|
57
57
|
"peerDependenciesMeta": {
|
|
58
58
|
"@theholocron/neon-client": {}
|