cf-nix-cache 0.1.0 → 0.1.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/README.md +7 -6
- package/dist/index.d.ts +14 -2
- package/dist/index.js +5218 -6582
- package/dist/index.js.map +1 -1
- package/package.json +44 -8
- package/release-manifest.json +2 -2
package/package.json
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cf-nix-cache",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "The published Cloudflare Worker runtime for cf-nix-cache",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/wra-bradshaw/cf-nix-cache.git",
|
|
10
|
-
"directory": "packages/
|
|
10
|
+
"directory": "packages/worker"
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://github.com/wra-bradshaw/cf-nix-cache#readme",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/wra-bradshaw/cf-nix-cache/issues"
|
|
15
15
|
},
|
|
16
|
-
"private": false,
|
|
17
16
|
"publishConfig": {
|
|
18
17
|
"access": "public"
|
|
19
18
|
},
|
|
20
19
|
"files": [
|
|
21
|
-
"dist",
|
|
20
|
+
"dist/index.js",
|
|
21
|
+
"dist/index.js.map",
|
|
22
|
+
"dist/index.d.ts",
|
|
22
23
|
"release-manifest.json"
|
|
23
24
|
],
|
|
24
25
|
"exports": {
|
|
@@ -26,13 +27,48 @@
|
|
|
26
27
|
"types": "./dist/index.d.ts",
|
|
27
28
|
"default": "./dist/index.js"
|
|
28
29
|
},
|
|
30
|
+
"./package.json": "./package.json",
|
|
29
31
|
"./release-manifest.json": "./release-manifest.json"
|
|
30
32
|
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "node build.mjs",
|
|
33
|
-
"prepack": "pnpm build"
|
|
34
|
-
},
|
|
35
33
|
"engines": {
|
|
36
34
|
"node": ">=20"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"check": "tsc --noEmit && tsc -p tsconfig.node.json && eslint . && prettier --check . && pnpm boundaries:check && pnpm contracts:check && knip",
|
|
38
|
+
"fix": "eslint . --fix && prettier --write .",
|
|
39
|
+
"dev": "vite dev",
|
|
40
|
+
"predev": "pnpm contracts:generate",
|
|
41
|
+
"build": "vite build && node scripts/package.mts",
|
|
42
|
+
"prebuild": "pnpm contracts:generate",
|
|
43
|
+
"prepack": "pnpm build",
|
|
44
|
+
"deploy": "pnpm build && wrangler deploy",
|
|
45
|
+
"test": "vitest run",
|
|
46
|
+
"pretest": "pnpm contracts:generate",
|
|
47
|
+
"contracts:generate": "node ../../scripts/generate-contracts.mts",
|
|
48
|
+
"precheck": "pnpm contracts:generate",
|
|
49
|
+
"pree2e": "pnpm contracts:generate",
|
|
50
|
+
"precontracts:check": "pnpm contracts:generate",
|
|
51
|
+
"contracts:check": "node ../../scripts/check-contracts.mts",
|
|
52
|
+
"boundaries:check": "node ../../scripts/check-boundaries.mts",
|
|
53
|
+
"e2e": "vitest run --config vitest.e2e.config.ts"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@cloudflare/containers": "^0.3.7",
|
|
57
|
+
"@cloudflare/vite-plugin": "^1.51.2",
|
|
58
|
+
"@eslint/js": "^10.0.1",
|
|
59
|
+
"@types/node": "^24.19.2",
|
|
60
|
+
"ajv": "^8.20.0",
|
|
61
|
+
"eslint": "^10.13.0",
|
|
62
|
+
"hono": "^4.13.14",
|
|
63
|
+
"jose": "^6.2.13",
|
|
64
|
+
"json-schema-to-typescript": "^15.0.4",
|
|
65
|
+
"jsonc-parser": "^3.3.1",
|
|
66
|
+
"knip": "^6.43.0",
|
|
67
|
+
"prettier": "^3.9.10",
|
|
68
|
+
"typescript": "^5.9.3",
|
|
69
|
+
"typescript-eslint": "^8.72.0",
|
|
70
|
+
"vite": "^7.3.7",
|
|
71
|
+
"vitest": "^4.1.12",
|
|
72
|
+
"wrangler": "^4.120.1"
|
|
37
73
|
}
|
|
38
74
|
}
|
package/release-manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"releaseReady": true,
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"processorImage": "docker.io/willlol/cf-nix-cache@sha256:
|
|
4
|
+
"version": "0.1.2",
|
|
5
|
+
"processorImage": "docker.io/willlol/cf-nix-cache@sha256:d09b2586b7d6cbb8024eace6a531f2e71db4a57de2108a59dce4594fa0ea8b56",
|
|
6
6
|
"platform": "linux/amd64"
|
|
7
7
|
}
|