@classytic/arc-next 0.9.1 → 0.11.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,165 +1,178 @@
1
- {
2
- "name": "@classytic/arc-next",
3
- "version": "0.9.1",
4
- "description": "React + TanStack Query SDK for Arc resources",
5
- "type": "module",
6
- "sideEffects": false,
7
- "license": "MIT",
8
- "author": "Classytic",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/classytic/arc-next"
12
- },
13
- "keywords": [
14
- "react",
15
- "tanstack-query",
16
- "react-query",
17
- "crud",
18
- "api-client",
19
- "hooks",
20
- "optimistic-updates",
21
- "pagination",
22
- "multi-tenant",
23
- "arc",
24
- "mongokit",
25
- "sse",
26
- "real-time",
27
- "soft-delete",
28
- "bulk-operations"
29
- ],
30
- "main": "./dist/hooks.js",
31
- "types": "./dist/hooks.d.ts",
32
- "exports": {
33
- ".": {
34
- "types": "./dist/hooks.d.ts",
35
- "default": "./dist/hooks.js"
36
- },
37
- "./client": {
38
- "types": "./dist/client.d.ts",
39
- "default": "./dist/client.js"
40
- },
41
- "./encryption": {
42
- "types": "./dist/encryption.d.ts",
43
- "default": "./dist/encryption.js"
44
- },
45
- "./api": {
46
- "types": "./dist/api.d.ts",
47
- "default": "./dist/api.js"
48
- },
49
- "./cache": {
50
- "types": "./dist/cache.d.ts",
51
- "default": "./dist/cache.js"
52
- },
53
- "./query": {
54
- "types": "./dist/query.d.ts",
55
- "default": "./dist/query.js"
56
- },
57
- "./mutation": {
58
- "types": "./dist/mutation.d.ts",
59
- "default": "./dist/mutation.js"
60
- },
61
- "./hooks": {
62
- "types": "./dist/hooks.d.ts",
63
- "default": "./dist/hooks.js"
64
- },
65
- "./query-client": {
66
- "types": "./dist/query-client.d.ts",
67
- "default": "./dist/query-client.js"
68
- },
69
- "./prefetch": {
70
- "types": "./dist/prefetch.d.ts",
71
- "default": "./dist/prefetch.js"
72
- },
73
- "./sse": {
74
- "types": "./dist/sse.d.ts",
75
- "default": "./dist/sse.js"
76
- },
77
- "./ws": {
78
- "types": "./dist/ws.d.ts",
79
- "default": "./dist/ws.js"
80
- },
81
- "./upload": {
82
- "types": "./dist/upload.d.ts",
83
- "default": "./dist/upload.js"
84
- },
85
- "./presets/soft-delete": {
86
- "types": "./dist/presets/soft-delete.d.ts",
87
- "default": "./dist/presets/soft-delete.js"
88
- },
89
- "./presets/bulk": {
90
- "types": "./dist/presets/bulk.d.ts",
91
- "default": "./dist/presets/bulk.js"
92
- },
93
- "./presets/slug": {
94
- "types": "./dist/presets/slug.d.ts",
95
- "default": "./dist/presets/slug.js"
96
- },
97
- "./presets/tree": {
98
- "types": "./dist/presets/tree.d.ts",
99
- "default": "./dist/presets/tree.js"
100
- },
101
- "./presets/search": {
102
- "types": "./dist/presets/search.d.ts",
103
- "default": "./dist/presets/search.js"
104
- },
105
- "./package.json": "./package.json"
106
- },
107
- "files": [
108
- "dist"
109
- ],
110
- "publishConfig": {
111
- "access": "public",
112
- "registry": "https://registry.npmjs.org/"
113
- },
114
- "engines": {
115
- "node": ">=20"
116
- },
117
- "scripts": {
118
- "build": "tsdown",
119
- "dev": "tsdown --watch",
120
- "test": "vitest run",
121
- "test:watch": "vitest",
122
- "typecheck": "tsc --noEmit",
123
- "push": "classytic-push",
124
- "release:tag": "node -e \"require('child_process').execSync('npm run push -- v'+require('./package.json').version,{stdio:'inherit'})\"",
125
- "release": "npm run push -- main && npm run release:tag && npm publish",
126
- "prepublishOnly": "npm run typecheck && npm test && npm run build",
127
- "typecheck:tests": "tsc --noEmit -p tsconfig.test.json"
128
- },
129
- "peerDependencies": {
130
- "@classytic/repo-core": ">=0.4.0",
131
- "@tanstack/react-query": ">=5.62.0",
132
- "jose": ">=5.0.0",
133
- "react": ">=19.0.0"
134
- },
135
- "peerDependenciesMeta": {
136
- "react": {
137
- "optional": false
138
- },
139
- "@tanstack/react-query": {
140
- "optional": false
141
- },
142
- "@classytic/repo-core": {
143
- "optional": false
144
- },
145
- "jose": {
146
- "optional": true
147
- }
148
- },
149
- "devDependencies": {
150
- "@classytic/dev-tools": "^0.2.0",
151
- "@classytic/repo-core": "^0.5.0",
152
- "@tanstack/react-query": "^5.97.0",
153
- "@testing-library/jest-dom": "^6.9.1",
154
- "@testing-library/react": "^16.3.2",
155
- "@types/react": "^19.2.14",
156
- "@types/react-dom": "^19.2.3",
157
- "jose": "^6.2.3",
158
- "jsdom": "^29.0.2",
159
- "react": "^19.2.5",
160
- "react-dom": "^19.2.5",
161
- "tsdown": "^0.21.7",
162
- "typescript": "^6.0.2",
163
- "vitest": "^4.1.4"
164
- }
165
- }
1
+ {
2
+ "name": "@classytic/arc-next",
3
+ "version": "0.11.0",
4
+ "description": "React + TanStack Query SDK for Arc resources",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "license": "MIT",
8
+ "author": "Classytic",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/classytic/arc-next"
12
+ },
13
+ "keywords": [
14
+ "react",
15
+ "tanstack-query",
16
+ "react-query",
17
+ "crud",
18
+ "api-client",
19
+ "hooks",
20
+ "optimistic-updates",
21
+ "pagination",
22
+ "multi-tenant",
23
+ "arc",
24
+ "mongokit",
25
+ "sse",
26
+ "real-time",
27
+ "soft-delete",
28
+ "bulk-operations"
29
+ ],
30
+ "main": "./dist/hooks.js",
31
+ "types": "./dist/hooks.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/hooks.d.ts",
35
+ "default": "./dist/hooks.js"
36
+ },
37
+ "./client": {
38
+ "types": "./dist/client.d.ts",
39
+ "default": "./dist/client.js"
40
+ },
41
+ "./encryption": {
42
+ "types": "./dist/encryption.d.ts",
43
+ "default": "./dist/encryption.js"
44
+ },
45
+ "./field-encryption": {
46
+ "types": "./dist/field-encryption.d.ts",
47
+ "default": "./dist/field-encryption.js"
48
+ },
49
+ "./api": {
50
+ "types": "./dist/api.d.ts",
51
+ "default": "./dist/api.js"
52
+ },
53
+ "./cache": {
54
+ "types": "./dist/cache.d.ts",
55
+ "default": "./dist/cache.js"
56
+ },
57
+ "./query": {
58
+ "types": "./dist/query.d.ts",
59
+ "default": "./dist/query.js"
60
+ },
61
+ "./mutation": {
62
+ "types": "./dist/mutation.d.ts",
63
+ "default": "./dist/mutation.js"
64
+ },
65
+ "./hooks": {
66
+ "types": "./dist/hooks.d.ts",
67
+ "default": "./dist/hooks.js"
68
+ },
69
+ "./query-client": {
70
+ "types": "./dist/query-client.d.ts",
71
+ "default": "./dist/query-client.js"
72
+ },
73
+ "./prefetch": {
74
+ "types": "./dist/prefetch.d.ts",
75
+ "default": "./dist/prefetch.js"
76
+ },
77
+ "./sse": {
78
+ "types": "./dist/sse.d.ts",
79
+ "default": "./dist/sse.js"
80
+ },
81
+ "./ws": {
82
+ "types": "./dist/ws.d.ts",
83
+ "default": "./dist/ws.js"
84
+ },
85
+ "./upload": {
86
+ "types": "./dist/upload.d.ts",
87
+ "default": "./dist/upload.js"
88
+ },
89
+ "./presets/soft-delete": {
90
+ "types": "./dist/presets/soft-delete.d.ts",
91
+ "default": "./dist/presets/soft-delete.js"
92
+ },
93
+ "./presets/history": {
94
+ "types": "./dist/presets/history.d.ts",
95
+ "default": "./dist/presets/history.js"
96
+ },
97
+ "./presets/bulk": {
98
+ "types": "./dist/presets/bulk.d.ts",
99
+ "default": "./dist/presets/bulk.js"
100
+ },
101
+ "./presets/slug": {
102
+ "types": "./dist/presets/slug.d.ts",
103
+ "default": "./dist/presets/slug.js"
104
+ },
105
+ "./presets/tree": {
106
+ "types": "./dist/presets/tree.d.ts",
107
+ "default": "./dist/presets/tree.js"
108
+ },
109
+ "./presets/search": {
110
+ "types": "./dist/presets/search.d.ts",
111
+ "default": "./dist/presets/search.js"
112
+ },
113
+ "./package.json": "./package.json",
114
+ "./query-options": {
115
+ "types": "./dist/query-options.d.ts",
116
+ "default": "./dist/query-options.js"
117
+ }
118
+ },
119
+ "files": [
120
+ "dist",
121
+ "llms.txt"
122
+ ],
123
+ "publishConfig": {
124
+ "access": "public",
125
+ "registry": "https://registry.npmjs.org/"
126
+ },
127
+ "engines": {
128
+ "node": ">=20"
129
+ },
130
+ "scripts": {
131
+ "build": "tsdown",
132
+ "dev": "tsdown --watch",
133
+ "test": "vitest run",
134
+ "test:watch": "vitest",
135
+ "typecheck": "tsc --noEmit",
136
+ "push": "classytic-push",
137
+ "release:tag": "node -e \"require('child_process').execSync('npm run push -- v'+require('./package.json').version,{stdio:'inherit'})\"",
138
+ "release": "npm run push -- main && npm run release:tag && npm publish",
139
+ "prepublishOnly": "npm run typecheck && npm test && npm run build",
140
+ "typecheck:tests": "tsc --noEmit -p tsconfig.test.json"
141
+ },
142
+ "peerDependencies": {
143
+ "@classytic/repo-core": ">=0.4.0",
144
+ "@tanstack/react-query": ">=5.62.0",
145
+ "jose": ">=5.0.0",
146
+ "react": ">=19.0.0"
147
+ },
148
+ "peerDependenciesMeta": {
149
+ "react": {
150
+ "optional": false
151
+ },
152
+ "@tanstack/react-query": {
153
+ "optional": false
154
+ },
155
+ "@classytic/repo-core": {
156
+ "optional": false
157
+ },
158
+ "jose": {
159
+ "optional": true
160
+ }
161
+ },
162
+ "devDependencies": {
163
+ "@classytic/dev-tools": "^0.2.0",
164
+ "@classytic/repo-core": "^0.5.0",
165
+ "@tanstack/react-query": "^5.97.0",
166
+ "@testing-library/jest-dom": "^6.9.1",
167
+ "@testing-library/react": "^16.3.2",
168
+ "@types/react": "^19.2.14",
169
+ "@types/react-dom": "^19.2.3",
170
+ "jose": "^6.2.3",
171
+ "jsdom": "^29.0.2",
172
+ "react": "^19.2.5",
173
+ "react-dom": "^19.2.5",
174
+ "tsdown": "^0.21.7",
175
+ "typescript": "^6.0.2",
176
+ "vitest": "^4.1.4"
177
+ }
178
+ }