domainkit 0.0.1 → 0.1.0-beta.0
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/LICENSE +21 -0
- package/README.md +115 -1
- package/dist/auth-Df9BuC25.mjs +460 -0
- package/dist/auth-Df9BuC25.mjs.map +1 -0
- package/dist/client-DvXfJx_E.mjs +534 -0
- package/dist/client-DvXfJx_E.mjs.map +1 -0
- package/dist/cloudflare-C_ixZsJo.mjs +46 -0
- package/dist/cloudflare-C_ixZsJo.mjs.map +1 -0
- package/dist/cloudflare-DClWuAm8.d.mts +23 -0
- package/dist/cloudflare.d.mts +3 -0
- package/dist/cloudflare.mjs +2 -0
- package/dist/dns-record-Dzo4flM5.mjs +259 -0
- package/dist/dns-record-Dzo4flM5.mjs.map +1 -0
- package/dist/effect-cloudflare.d.mts +2 -0
- package/dist/effect-cloudflare.mjs +2 -0
- package/dist/effect-vercel.d.mts +2 -0
- package/dist/effect-vercel.mjs +2 -0
- package/dist/effect.d.mts +63 -0
- package/dist/effect.mjs +28 -0
- package/dist/effect.mjs.map +1 -0
- package/dist/index-D1KtyjuI.d.mts +71 -0
- package/dist/index-DQAjUrZu.d.mts +94 -0
- package/dist/index.d.mts +128 -0
- package/dist/index.mjs +198 -0
- package/dist/index.mjs.map +1 -0
- package/dist/manifest-DjH3BVB9.d.mts +579 -0
- package/dist/receipt-C7PjnibZ.mjs +28 -0
- package/dist/receipt-C7PjnibZ.mjs.map +1 -0
- package/dist/resolver-BjZwN2JE.d.mts +2327 -0
- package/dist/resolver-D5nVrR10.mjs +153 -0
- package/dist/resolver-D5nVrR10.mjs.map +1 -0
- package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/dist/testing.d.mts +47 -0
- package/dist/testing.mjs +117 -0
- package/dist/testing.mjs.map +1 -0
- package/dist/vercel-BWz_9Y1v.mjs +38 -0
- package/dist/vercel-BWz_9Y1v.mjs.map +1 -0
- package/dist/vercel-Vc_K_87s.d.mts +22 -0
- package/dist/vercel.d.mts +3 -0
- package/dist/vercel.mjs +2 -0
- package/dist/verify-CeMW6XtK.mjs +1109 -0
- package/dist/verify-CeMW6XtK.mjs.map +1 -0
- package/dist/verify-DPB1OfZ5.d.mts +979 -0
- package/package.json +94 -6
- package/bun.lock +0 -66
- package/index.ts +0 -1
- package/tsconfig.json +0 -30
package/package.json
CHANGED
|
@@ -1,13 +1,101 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "domainkit",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.1.0-beta.0",
|
|
4
|
+
"description": "Provider-independent DNS provisioning plans and authorization for TypeScript",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dns",
|
|
7
|
+
"domain",
|
|
8
|
+
"domain-connect",
|
|
9
|
+
"effect",
|
|
10
|
+
"typescript"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://github.com/AryaLabsHQ/domainkit#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/AryaLabsHQ/domainkit/issues"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"author": "Arya Labs",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/AryaLabsHQ/domainkit.git"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"README.md"
|
|
26
|
+
],
|
|
5
27
|
"type": "module",
|
|
6
|
-
"
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.mts",
|
|
32
|
+
"import": "./dist/index.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./effect": {
|
|
35
|
+
"types": "./dist/effect.d.mts",
|
|
36
|
+
"import": "./dist/effect.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./cloudflare": {
|
|
39
|
+
"types": "./dist/cloudflare.d.mts",
|
|
40
|
+
"import": "./dist/cloudflare.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./effect/cloudflare": {
|
|
43
|
+
"types": "./dist/effect-cloudflare.d.mts",
|
|
44
|
+
"import": "./dist/effect-cloudflare.mjs"
|
|
45
|
+
},
|
|
46
|
+
"./vercel": {
|
|
47
|
+
"types": "./dist/vercel.d.mts",
|
|
48
|
+
"import": "./dist/vercel.mjs"
|
|
49
|
+
},
|
|
50
|
+
"./effect/vercel": {
|
|
51
|
+
"types": "./dist/effect-vercel.d.mts",
|
|
52
|
+
"import": "./dist/effect-vercel.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./testing": {
|
|
55
|
+
"types": "./dist/testing.d.mts",
|
|
56
|
+
"import": "./dist/testing.mjs"
|
|
57
|
+
},
|
|
58
|
+
"./package.json": "./package.json"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "tsdown",
|
|
62
|
+
"clean": "rm -rf dist coverage",
|
|
63
|
+
"format": "oxfmt --write .",
|
|
64
|
+
"format:check": "oxfmt --check .",
|
|
65
|
+
"lint": "oxlint --deny-warnings .",
|
|
66
|
+
"lint:rules": "node --test tools/oxlint/*.test.js",
|
|
67
|
+
"release:check": "bun run lint && bun run lint:rules && bun run format:check && bun run typecheck && bun run test && bun run build && bun run typecheck:examples && bun run test:artifact",
|
|
68
|
+
"tegami": "bun scripts/tegami.mts",
|
|
69
|
+
"test": "vitest run --exclude tests/artifact/**/*.test.ts",
|
|
70
|
+
"test:artifact": "vitest run tests/artifact",
|
|
71
|
+
"test:consumers": "vitest run tests/artifact/packed-consumers.test.ts",
|
|
72
|
+
"test:providers": "vitest run tests/providers",
|
|
73
|
+
"test:watch": "vitest",
|
|
74
|
+
"typecheck": "tsc --noEmit",
|
|
75
|
+
"typecheck:examples": "tsc --project tsconfig.examples.json"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@leichtgewicht/dns-packet": "6.0.3",
|
|
79
|
+
"oauth4webapi": "^3.8.7",
|
|
80
|
+
"tldts": "^7.4.11"
|
|
81
|
+
},
|
|
7
82
|
"devDependencies": {
|
|
8
|
-
"@
|
|
83
|
+
"@effect/vitest": "4.0.0-rc.112",
|
|
84
|
+
"@types/bun": "1.4.0",
|
|
85
|
+
"effect": "4.0.0-rc.112",
|
|
86
|
+
"miniflare": "3.20250718.3",
|
|
87
|
+
"oxfmt": "0.65.0",
|
|
88
|
+
"oxlint": "1.80.0",
|
|
89
|
+
"tegami": "1.4.0",
|
|
90
|
+
"tsdown": "0.22.14",
|
|
91
|
+
"typescript": "7.0.2",
|
|
92
|
+
"vitest": "4.1.11"
|
|
9
93
|
},
|
|
10
94
|
"peerDependencies": {
|
|
11
|
-
"
|
|
12
|
-
}
|
|
95
|
+
"effect": ">=4.0.0-rc.112 <5"
|
|
96
|
+
},
|
|
97
|
+
"engines": {
|
|
98
|
+
"node": ">=24.10.0"
|
|
99
|
+
},
|
|
100
|
+
"packageManager": "bun@1.4.0"
|
|
13
101
|
}
|
package/bun.lock
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lockfileVersion": 2,
|
|
3
|
-
"configVersion": 1,
|
|
4
|
-
"workspaces": {
|
|
5
|
-
"": {
|
|
6
|
-
"name": "domainkit",
|
|
7
|
-
"devDependencies": {
|
|
8
|
-
"@types/bun": "latest",
|
|
9
|
-
},
|
|
10
|
-
"peerDependencies": {
|
|
11
|
-
"typescript": "^7",
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
"packages": {
|
|
16
|
-
"@types/bun": ["@types/bun@1.4.0", "", { "dependencies": { "bun-types": "1.4.0" } }, "sha512-K+lZULY23vRgK/CfTjFIV+tyifaNdSMlPh9j+6mQ/cLfpOznLyAuzgV/JQysyECpkBQLVMSyvjlr2fBUSA9wFQ=="],
|
|
17
|
-
|
|
18
|
-
"@types/node": ["@types/node@26.4.0", "", { "dependencies": { "undici-types": "~8.3.0" } }, "sha512-faiGnoIrLH/V8cibOMEAZ8pMw6oXqSukl29ra4mN8GdaB2ZewzeaLj+INpV5N+Z1eKWzY+IzaIZH2EIR6YZRNQ=="],
|
|
19
|
-
|
|
20
|
-
"@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="],
|
|
21
|
-
|
|
22
|
-
"@typescript/typescript-darwin-arm64": ["@typescript/typescript-darwin-arm64@7.0.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA=="],
|
|
23
|
-
|
|
24
|
-
"@typescript/typescript-darwin-x64": ["@typescript/typescript-darwin-x64@7.0.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA=="],
|
|
25
|
-
|
|
26
|
-
"@typescript/typescript-freebsd-arm64": ["@typescript/typescript-freebsd-arm64@7.0.2", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ=="],
|
|
27
|
-
|
|
28
|
-
"@typescript/typescript-freebsd-x64": ["@typescript/typescript-freebsd-x64@7.0.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw=="],
|
|
29
|
-
|
|
30
|
-
"@typescript/typescript-linux-arm": ["@typescript/typescript-linux-arm@7.0.2", "", { "os": "linux", "cpu": "arm" }, "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ=="],
|
|
31
|
-
|
|
32
|
-
"@typescript/typescript-linux-arm64": ["@typescript/typescript-linux-arm64@7.0.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ=="],
|
|
33
|
-
|
|
34
|
-
"@typescript/typescript-linux-loong64": ["@typescript/typescript-linux-loong64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ=="],
|
|
35
|
-
|
|
36
|
-
"@typescript/typescript-linux-mips64el": ["@typescript/typescript-linux-mips64el@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA=="],
|
|
37
|
-
|
|
38
|
-
"@typescript/typescript-linux-ppc64": ["@typescript/typescript-linux-ppc64@7.0.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA=="],
|
|
39
|
-
|
|
40
|
-
"@typescript/typescript-linux-riscv64": ["@typescript/typescript-linux-riscv64@7.0.2", "", { "os": "linux", "cpu": "none" }, "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ=="],
|
|
41
|
-
|
|
42
|
-
"@typescript/typescript-linux-s390x": ["@typescript/typescript-linux-s390x@7.0.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw=="],
|
|
43
|
-
|
|
44
|
-
"@typescript/typescript-linux-x64": ["@typescript/typescript-linux-x64@7.0.2", "", { "os": "linux", "cpu": "x64" }, "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A=="],
|
|
45
|
-
|
|
46
|
-
"@typescript/typescript-netbsd-arm64": ["@typescript/typescript-netbsd-arm64@7.0.2", "", { "os": "none", "cpu": "arm64" }, "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA=="],
|
|
47
|
-
|
|
48
|
-
"@typescript/typescript-netbsd-x64": ["@typescript/typescript-netbsd-x64@7.0.2", "", { "os": "none", "cpu": "x64" }, "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA=="],
|
|
49
|
-
|
|
50
|
-
"@typescript/typescript-openbsd-arm64": ["@typescript/typescript-openbsd-arm64@7.0.2", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ=="],
|
|
51
|
-
|
|
52
|
-
"@typescript/typescript-openbsd-x64": ["@typescript/typescript-openbsd-x64@7.0.2", "", { "os": "openbsd", "cpu": "x64" }, "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg=="],
|
|
53
|
-
|
|
54
|
-
"@typescript/typescript-sunos-x64": ["@typescript/typescript-sunos-x64@7.0.2", "", { "os": "sunos", "cpu": "x64" }, "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g=="],
|
|
55
|
-
|
|
56
|
-
"@typescript/typescript-win32-arm64": ["@typescript/typescript-win32-arm64@7.0.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ=="],
|
|
57
|
-
|
|
58
|
-
"@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="],
|
|
59
|
-
|
|
60
|
-
"bun-types": ["bun-types@1.4.0", "", { "dependencies": { "@types/node": "*" } }, "sha512-iIKw23BspnQQYd3prITOBxeUsxBHnwzX6YJfGMuNOZzeNcMmVqzIIVGRm1l69ogaPQmb4wB6BN8mA5bE9YuC5Q=="],
|
|
61
|
-
|
|
62
|
-
"typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],
|
|
63
|
-
|
|
64
|
-
"undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="],
|
|
65
|
-
}
|
|
66
|
-
}
|
package/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log("DomainKit!");
|
package/tsconfig.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Environment setup & latest features
|
|
4
|
-
"lib": ["ESNext"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "Preserve",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"types": ["bun"],
|
|
11
|
-
|
|
12
|
-
// Bundler mode
|
|
13
|
-
"moduleResolution": "bundler",
|
|
14
|
-
"allowImportingTsExtensions": true,
|
|
15
|
-
"verbatimModuleSyntax": true,
|
|
16
|
-
"noEmit": true,
|
|
17
|
-
|
|
18
|
-
// Best practices
|
|
19
|
-
"strict": true,
|
|
20
|
-
"skipLibCheck": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noUncheckedIndexedAccess": true,
|
|
23
|
-
"noImplicitOverride": true,
|
|
24
|
-
|
|
25
|
-
// Some stricter flags (disabled by default)
|
|
26
|
-
"noUnusedLocals": false,
|
|
27
|
-
"noUnusedParameters": false,
|
|
28
|
-
"noPropertyAccessFromIndexSignature": false
|
|
29
|
-
}
|
|
30
|
-
}
|