@joai/warps-react 1.0.0-beta.196
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/.turbo/turbo-build.log +17 -0
- package/.turbo/turbo-lint.log +5 -0
- package/.turbo/turbo-test.log +9 -0
- package/CHANGELOG.md +1816 -0
- package/README.md +29 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +0 -0
- package/package.json +38 -0
- package/src/index.ts +0 -0
- package/tsconfig.json +5 -0
- package/tsup.config.mjs +13 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @joai/warps-react
|
|
2
|
+
|
|
3
|
+
React integration for the Warps SDK. Provides React hooks and components for building Warp-enabled applications.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @joai/warps-react
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Prerequisites
|
|
12
|
+
|
|
13
|
+
- React 18.0.0 or higher
|
|
14
|
+
- `@joai/warps` core package
|
|
15
|
+
|
|
16
|
+
## Status
|
|
17
|
+
|
|
18
|
+
⚠️ **Note**: This package is currently under development. The React integration API is being finalized.
|
|
19
|
+
|
|
20
|
+
## Features
|
|
21
|
+
|
|
22
|
+
- React hooks for Warp execution
|
|
23
|
+
- Component integration
|
|
24
|
+
- TypeScript support
|
|
25
|
+
- Seamless integration with Warps SDK
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
For detailed React integration examples, visit [docs.vleap.ai](https://docs.vleap.ai).
|
package/dist/index.d.ts
ADDED
package/dist/index.mjs
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@joai/warps-react",
|
|
3
|
+
"version": "1.0.0-beta.196",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"types": "./src/index.tsx",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./src/index.tsx",
|
|
9
|
+
"import": "./src/index.tsx",
|
|
10
|
+
"default": "./src/index.tsx"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsup src/index.ts --format esm --dts --minify",
|
|
16
|
+
"lint": "tsc --noEmit",
|
|
17
|
+
"test": "npm run lint"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@joai/warps": "3.0.0-beta.198"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": ">=18.0.0",
|
|
24
|
+
"react-dom": ">=18.0.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/react": "^19.2.7",
|
|
28
|
+
"@types/react-dom": "^19.2.3",
|
|
29
|
+
"eslint": "^9.39.2",
|
|
30
|
+
"eslint-config-custom": "0.0.1-beta.2",
|
|
31
|
+
"react": "^19.2.3",
|
|
32
|
+
"tsconfig": "*",
|
|
33
|
+
"typescript": "^5.9.3"
|
|
34
|
+
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/index.ts
ADDED
|
File without changes
|
package/tsconfig.json
ADDED
package/tsup.config.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineConfig } from 'tsup'
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
entry: ['src/index.ts'],
|
|
5
|
+
dts: true,
|
|
6
|
+
format: ['esm', 'cjs'],
|
|
7
|
+
outExtension: ({ format }) => ({
|
|
8
|
+
js: format === 'esm' ? '.mjs' : '.js',
|
|
9
|
+
}),
|
|
10
|
+
minify: true,
|
|
11
|
+
clean: true,
|
|
12
|
+
skipNodeModulesBundle: true,
|
|
13
|
+
})
|