@copilotkit/react-core 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/.turbo/turbo-build.log +19 -0
- package/CHANGELOG.md +13 -0
- package/dist/chunk-KFCOT2YX.js +26 -0
- package/dist/hook.d.ts +3 -0
- package/dist/hook.js +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -0
- package/package.json +34 -0
- package/src/hook.tsx +5 -0
- package/src/index.tsx +2 -0
- package/tsconfig.json +5 -0
- package/tsup.config.ts +13 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
> @copilotkit/react-core@0.1.0 build /Users/ataibarkai/LocalGit/Recursively.ai/CopilotKit2/packages/react-core
|
|
3
|
+
> tsup --format cjs --dts
|
|
4
|
+
|
|
5
|
+
CLI Building entry: src/hook.tsx, src/index.tsx
|
|
6
|
+
CLI Using tsconfig: tsconfig.json
|
|
7
|
+
CLI tsup v6.5.0
|
|
8
|
+
CLI Using tsup config: /Users/ataibarkai/LocalGit/Recursively.ai/CopilotKit2/packages/react-core/tsup.config.ts
|
|
9
|
+
CLI Target: es6
|
|
10
|
+
CLI Cleaning output folder
|
|
11
|
+
CJS Build start
|
|
12
|
+
CJS dist/chunk-KFCOT2YX.js 531.00 B
|
|
13
|
+
CJS dist/hook.js 190.00 B
|
|
14
|
+
CJS dist/index.js 190.00 B
|
|
15
|
+
CJS ⚡️ Build success in 21ms
|
|
16
|
+
DTS Build start
|
|
17
|
+
DTS ⚡️ Build success in 284ms
|
|
18
|
+
DTS dist/hook.d.ts 57.00 B
|
|
19
|
+
DTS dist/index.d.ts 38.00 B
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var t = require('react');
|
|
4
|
+
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
var n = Object.create(null);
|
|
7
|
+
if (e) {
|
|
8
|
+
Object.keys(e).forEach(function (k) {
|
|
9
|
+
if (k !== 'default') {
|
|
10
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return e[k]; }
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var t__namespace = /*#__PURE__*/_interopNamespaceDefault(t);
|
|
23
|
+
|
|
24
|
+
function u(){t__namespace.useState(0);}
|
|
25
|
+
|
|
26
|
+
exports.a = u;
|
package/dist/hook.d.ts
ADDED
package/dist/hook.js
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useTurbo } from './hook.js';
|
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@copilotkit/react-core",
|
|
3
|
+
"private": false,
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"version": "0.2.0",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"**/*.css"
|
|
10
|
+
],
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./dist",
|
|
14
|
+
"./styles.css": "./dist/index.css"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"react": "^18.2.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/react": "^18.2.5",
|
|
22
|
+
"eslint": "^7.32.0",
|
|
23
|
+
"react": "^18.2.0",
|
|
24
|
+
"tsup": "^6.1.3",
|
|
25
|
+
"typescript": "^4.9.4",
|
|
26
|
+
"eslint-config-custom": "0.0.0",
|
|
27
|
+
"tsconfig": "0.0.0"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsup --format cjs --dts",
|
|
31
|
+
"dev": "tsup --watch",
|
|
32
|
+
"check-types": "tsc --noEmit"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/src/hook.tsx
ADDED
package/src/index.tsx
ADDED
package/tsconfig.json
ADDED
package/tsup.config.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineConfig, Options } from "tsup";
|
|
2
|
+
|
|
3
|
+
export default defineConfig((options: Options) => ({
|
|
4
|
+
treeshake: true,
|
|
5
|
+
splitting: true,
|
|
6
|
+
entry: ["src/**/*.tsx"],
|
|
7
|
+
format: ["esm"],
|
|
8
|
+
dts: true,
|
|
9
|
+
minify: true,
|
|
10
|
+
clean: true,
|
|
11
|
+
external: ["react"],
|
|
12
|
+
...options,
|
|
13
|
+
}));
|