@askdepth/react 0.1.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/README.md +133 -0
- package/dist/index.cjs +357 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +63 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.mjs +351 -0
- package/dist/index.mjs.map +1 -0
- package/dist/jsx-attribute-Dl6s88lp.d.cts +14 -0
- package/dist/jsx-attribute-Dl6s88lp.d.ts +14 -0
- package/dist/plugin/index.cjs +252 -0
- package/dist/plugin/index.cjs.map +1 -0
- package/dist/plugin/index.d.cts +53 -0
- package/dist/plugin/index.d.ts +53 -0
- package/dist/plugin/index.mjs +219 -0
- package/dist/plugin/index.mjs.map +1 -0
- package/dist/turbopack-loader.cjs +212 -0
- package/dist/turbopack-loader.cjs.map +1 -0
- package/dist/turbopack-loader.d.cts +10 -0
- package/dist/turbopack-loader.d.ts +10 -0
- package/dist/turbopack-loader.mjs +186 -0
- package/dist/turbopack-loader.mjs.map +1 -0
- package/package.json +97 -0
package/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@askdepth/react",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Askdepth React adapter — provider, fiber component mapping, and a compiler plugin.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/askdepth/sdk.git",
|
|
9
|
+
"directory": "packages/react"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.mjs",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.mjs",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./plugin": {
|
|
23
|
+
"types": "./dist/plugin/index.d.ts",
|
|
24
|
+
"import": "./dist/plugin/index.mjs",
|
|
25
|
+
"require": "./dist/plugin/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./turbopack-loader": {
|
|
28
|
+
"types": "./dist/turbopack-loader.d.ts",
|
|
29
|
+
"import": "./dist/turbopack-loader.mjs",
|
|
30
|
+
"require": "./dist/turbopack-loader.cjs",
|
|
31
|
+
"default": "./dist/turbopack-loader.cjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist"
|
|
36
|
+
],
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@babel/generator": "^7.28.0",
|
|
39
|
+
"@babel/parser": "^7.28.0",
|
|
40
|
+
"@babel/traverse": "^7.28.0",
|
|
41
|
+
"@babel/types": "^7.28.0",
|
|
42
|
+
"unplugin": "^2.2.0",
|
|
43
|
+
"@askdepth/core": "0.3.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"react": ">=18.0.0",
|
|
47
|
+
"react-dom": ">=18.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@size-limit/preset-small-lib": "^11.2.0",
|
|
51
|
+
"@testing-library/react": "^16.2.0",
|
|
52
|
+
"@types/babel__generator": "^7.27.0",
|
|
53
|
+
"@types/babel__traverse": "^7.28.0",
|
|
54
|
+
"@types/node": "^22.10.2",
|
|
55
|
+
"@types/react": "^19.0.10",
|
|
56
|
+
"@types/react-dom": "^19.0.4",
|
|
57
|
+
"@vitest/coverage-v8": "^3.0.5",
|
|
58
|
+
"jsdom": "^26.0.0",
|
|
59
|
+
"react": "^19.0.0",
|
|
60
|
+
"react-dom": "^19.0.0",
|
|
61
|
+
"size-limit": "^11.2.0",
|
|
62
|
+
"tsup": "^8.3.5",
|
|
63
|
+
"typescript": "^5.9.3",
|
|
64
|
+
"vitest": "^3.0.5"
|
|
65
|
+
},
|
|
66
|
+
"size-limit": [
|
|
67
|
+
{
|
|
68
|
+
"path": "dist/index.mjs",
|
|
69
|
+
"limit": "4.8 kB",
|
|
70
|
+
"gzip": true,
|
|
71
|
+
"ignore": [
|
|
72
|
+
"@askdepth/core",
|
|
73
|
+
"react",
|
|
74
|
+
"react/jsx-runtime",
|
|
75
|
+
"react-dom"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"path": "dist/index.cjs",
|
|
80
|
+
"limit": "5.2 kB",
|
|
81
|
+
"gzip": true,
|
|
82
|
+
"ignore": [
|
|
83
|
+
"@askdepth/core",
|
|
84
|
+
"react",
|
|
85
|
+
"react/jsx-runtime",
|
|
86
|
+
"react-dom"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"scripts": {
|
|
91
|
+
"build": "rm -rf dist && tsup",
|
|
92
|
+
"test": "vitest run --coverage",
|
|
93
|
+
"lint": "tsc --noEmit",
|
|
94
|
+
"typecheck": "tsc --noEmit",
|
|
95
|
+
"size": "size-limit"
|
|
96
|
+
}
|
|
97
|
+
}
|