@theholocron/holocron-plugin-neon 3.0.0 → 3.0.2
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/dist/index.mjs +0 -18
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -9,24 +9,6 @@ const resolveToken = createResolveToken({
|
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/capabilities/storage.ts
|
|
12
|
-
/**
|
|
13
|
-
* `storage` capability for Neon.
|
|
14
|
-
*
|
|
15
|
-
* Ported from rando-id/rando.id `adapters/neon.ts`, bound to a single
|
|
16
|
-
* Neon project (the `projectId` plugin option). All methods operate
|
|
17
|
-
* within that project.
|
|
18
|
-
*
|
|
19
|
-
* Branch ops use Neon's REST API directly. `enableExtension` runs SQL
|
|
20
|
-
* against the branch's default database via the `run_sql` endpoint —
|
|
21
|
-
* Neon doesn't have a dedicated "create extension" endpoint, so this
|
|
22
|
-
* goes through SQL.
|
|
23
|
-
*
|
|
24
|
-
* Project-create is deliberately omitted: Vercel-managed Neon orgs
|
|
25
|
-
* reject create at the API level, and the recipe (`vercel install neon`
|
|
26
|
-
* → wait for project to appear → bind by id) is unavoidable for those
|
|
27
|
-
* setups. The plugin assumes the project already exists and is bound
|
|
28
|
-
* via `projectId` in options.
|
|
29
|
-
*/
|
|
30
12
|
var NeonStorage = class {
|
|
31
13
|
client;
|
|
32
14
|
opts;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-neon",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Holocron plugin for Neon. Implements the storage capability against Neon's REST API — branch ops, connection strings, extensions.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-neon#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@theholocron/neon-client": "^1.3.3",
|
|
25
|
-
"@theholocron/cli": "3.0.
|
|
25
|
+
"@theholocron/cli": "3.0.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"@theholocron/neon-client": {
|
|
@@ -30,22 +30,22 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@theholocron/eslint-config": "^7.
|
|
33
|
+
"@theholocron/eslint-config": "^7.6.0",
|
|
34
34
|
"@theholocron/neon-client": "^1.3.3",
|
|
35
35
|
"@theholocron/tsconfig": "^7.5.0",
|
|
36
36
|
"@theholocron/tsdown-config": "^7.5.0",
|
|
37
37
|
"@theholocron/vitest-config": "^7.5.0",
|
|
38
38
|
"@types/node": "^26",
|
|
39
39
|
"@vitest/coverage-v8": "^4.1.10",
|
|
40
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
41
|
-
"eslint": "^10.
|
|
40
|
+
"@vitest/eslint-plugin": "^1.6.24",
|
|
41
|
+
"eslint": "^10.8.0",
|
|
42
42
|
"eslint-plugin-n": "^18.2.2",
|
|
43
43
|
"globals": "^17.7.0",
|
|
44
|
-
"tsdown": "^0.22.
|
|
44
|
+
"tsdown": "^0.22.14",
|
|
45
45
|
"tsx": "4.23.1",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
47
|
"vitest": "^4.1.10",
|
|
48
|
-
"@theholocron/cli": "3.0.
|
|
48
|
+
"@theholocron/cli": "3.0.2"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|