@craftainer/crud-sdk 0.0.0-stage → 0.2.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/package.json CHANGED
@@ -1,6 +1,82 @@
1
1
  {
2
2
  "name": "@craftainer/crud-sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Typed fetch client for craftainer CRUD APIs: manifest-driven resources, query builder, problem-details errors, opt-in cache with SSE invalidation and TanStack Query helpers.",
5
+ "license": "GPL-3.0-or-later",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/craftainer/lib-crud-sdk-ts.git"
9
+ },
10
+ "homepage": "https://github.com/craftainer/lib-crud-sdk-ts#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/craftainer/lib-crud-sdk-ts/issues"
13
+ },
14
+ "type": "module",
15
+ "sideEffects": false,
16
+ "packageManager": "pnpm@12.14.0",
17
+ "engines": {
18
+ "node": ">=24.22.0"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "main": "./dist/index.mjs",
24
+ "types": "./dist/index.d.mts",
25
+ "bin": {
26
+ "crud-sdk-codegen": "./dist/codegen/cli.mjs"
27
+ },
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.mts",
31
+ "default": "./dist/index.mjs"
32
+ },
33
+ "./cache": {
34
+ "types": "./dist/cache/index.d.mts",
35
+ "default": "./dist/cache/index.mjs"
36
+ },
37
+ "./tanstack": {
38
+ "types": "./dist/tanstack/index.d.mts",
39
+ "default": "./dist/tanstack/index.mjs"
40
+ },
41
+ "./package.json": "./package.json"
42
+ },
43
+ "scripts": {
44
+ "build": "tsdown",
45
+ "typecheck": "tsc --noEmit",
46
+ "lint": "oxlint",
47
+ "format": "prettier --check .",
48
+ "format:write": "prettier --write .",
49
+ "test": "vitest run --coverage",
50
+ "publint": "publint --strict",
51
+ "attw": "attw --pack . --profile esm-only",
52
+ "lockfile": "pnpm install --frozen-lockfile --lockfile-only"
53
+ },
54
+ "peerDependencies": {
55
+ "@tanstack/query-core": "^5.90.0",
56
+ "json-schema-to-typescript": "^16.0.0"
57
+ },
58
+ "peerDependenciesMeta": {
59
+ "@tanstack/query-core": {
60
+ "optional": true
61
+ },
62
+ "json-schema-to-typescript": {
63
+ "optional": true
64
+ }
65
+ },
66
+ "devDependencies": {
67
+ "@arethetypeswrong/cli": "0.18.5",
68
+ "@tanstack/query-core": "5.104.5",
69
+ "@types/node": "24.19.2",
70
+ "@vitest/coverage-v8": "5.0.5",
71
+ "eventsource-parser": "4.1.2",
72
+ "fake-indexeddb": "6.2.6",
73
+ "idb": "8.0.4",
74
+ "json-schema-to-typescript": "16.0.0",
75
+ "oxlint": "1.89.0",
76
+ "prettier": "3.9.10",
77
+ "publint": "0.3.25",
78
+ "tsdown": "0.23.1",
79
+ "typescript": "6.0.3",
80
+ "vitest": "5.0.5"
81
+ }
82
+ }