@copilotkit/react-textarea 0.0.0-max-changeset-20260109200053 → 0.0.0-max-umd-20260122170341
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/CHANGELOG.md +117 -6
- package/dist/index.umd.js +140 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +14 -14
- package/rollup.config.mjs +49 -0
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.0.0-max-
|
|
12
|
+
"version": "0.0.0-max-umd-20260122170341",
|
|
13
13
|
"sideEffects": [
|
|
14
14
|
"**/*.css"
|
|
15
15
|
],
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
".": {
|
|
20
20
|
"import": "./dist/index.mjs",
|
|
21
21
|
"require": "./dist/index.js",
|
|
22
|
-
"types": "./dist/index.d.ts"
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"umd": "./dist/index.umd.js"
|
|
23
24
|
},
|
|
24
25
|
"./styles.css": "./dist/index.css"
|
|
25
26
|
},
|
|
27
|
+
"unpkg": "./dist/index.umd.js",
|
|
28
|
+
"jsdelivr": "./dist/index.umd.js",
|
|
26
29
|
"types": "./dist/index.d.ts",
|
|
27
30
|
"license": "MIT",
|
|
28
31
|
"peerDependencies": {
|
|
29
32
|
"react": "^18 || ^19 || ^19.0.0-rc",
|
|
30
|
-
"react-dom": "^18 || ^19 || ^19.0.0-rc"
|
|
31
|
-
"@copilotkit/react-core": "0.0.0-max-changeset-20260109200053",
|
|
32
|
-
"@copilotkit/runtime-client-gql": "0.0.0-max-changeset-20260109200053",
|
|
33
|
-
"@copilotkit/shared": "0.0.0-max-changeset-20260109200053"
|
|
33
|
+
"react-dom": "^18 || ^19 || ^19.0.0-rc"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jest": "^29.5.4",
|
|
@@ -48,12 +48,9 @@
|
|
|
48
48
|
"ts-jest": "^29.1.1",
|
|
49
49
|
"tsup": "^6.7.0",
|
|
50
50
|
"typescript": "^5.2.3",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"eslint-config-custom": "1.4.6",
|
|
55
|
-
"tailwind-config": "1.4.6",
|
|
56
|
-
"tsconfig": "1.4.6"
|
|
51
|
+
"eslint-config-custom": "0.0.0-max-umd-20260122170341",
|
|
52
|
+
"tailwind-config": "0.0.0-max-umd-20260122170341",
|
|
53
|
+
"tsconfig": "0.0.0-max-umd-20260122170341"
|
|
57
54
|
},
|
|
58
55
|
"dependencies": {
|
|
59
56
|
"@emotion/css": "^11.11.2",
|
|
@@ -73,7 +70,10 @@
|
|
|
73
70
|
"slate": "^0.94.1",
|
|
74
71
|
"slate-history": "^0.93.0",
|
|
75
72
|
"slate-react": "^0.98.1",
|
|
76
|
-
"tailwind-merge": "^1.13.2"
|
|
73
|
+
"tailwind-merge": "^1.13.2",
|
|
74
|
+
"@copilotkit/react-core": "0.0.0-max-umd-20260122170341",
|
|
75
|
+
"@copilotkit/runtime-client-gql": "0.0.0-max-umd-20260122170341",
|
|
76
|
+
"@copilotkit/shared": "0.0.0-max-umd-20260122170341"
|
|
77
77
|
},
|
|
78
78
|
"keywords": [
|
|
79
79
|
"copilotkit",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"textarea"
|
|
89
89
|
],
|
|
90
90
|
"scripts": {
|
|
91
|
-
"build": "tsup --clean",
|
|
91
|
+
"build": "tsup --clean && rollup -c rollup.config.mjs",
|
|
92
92
|
"dev": "tsup --watch --no-splitting",
|
|
93
93
|
"test": "jest",
|
|
94
94
|
"check-types": "tsc --noEmit",
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import resolve from '@rollup/plugin-node-resolve';
|
|
2
|
+
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
+
import typescript from '@rollup/plugin-typescript';
|
|
4
|
+
import terser from '@rollup/plugin-terser';
|
|
5
|
+
import json from '@rollup/plugin-json';
|
|
6
|
+
import postcss from 'rollup-plugin-postcss';
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
input: 'src/index.tsx',
|
|
10
|
+
output: {
|
|
11
|
+
file: 'dist/index.umd.js',
|
|
12
|
+
format: 'umd',
|
|
13
|
+
name: 'CopilotKitReactTextarea',
|
|
14
|
+
sourcemap: true,
|
|
15
|
+
inlineDynamicImports: true,
|
|
16
|
+
globals: {
|
|
17
|
+
'react': 'React',
|
|
18
|
+
'react-dom': 'ReactDOM',
|
|
19
|
+
'@copilotkit/react-core': 'CopilotKitReactCore',
|
|
20
|
+
'@copilotkit/shared': 'CopilotKitShared',
|
|
21
|
+
'@copilotkit/runtime-client-gql': 'CopilotKitRuntimeClientGQL',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
external: [
|
|
25
|
+
'react',
|
|
26
|
+
'react-dom',
|
|
27
|
+
'@copilotkit/react-core',
|
|
28
|
+
'@copilotkit/shared',
|
|
29
|
+
'@copilotkit/runtime-client-gql',
|
|
30
|
+
],
|
|
31
|
+
plugins: [
|
|
32
|
+
postcss({ inject: true, minimize: true }),
|
|
33
|
+
resolve({ browser: true }),
|
|
34
|
+
commonjs(),
|
|
35
|
+
json(),
|
|
36
|
+
typescript({
|
|
37
|
+
tsconfig: './tsconfig.json',
|
|
38
|
+
declaration: false,
|
|
39
|
+
declarationMap: false,
|
|
40
|
+
declarationDir: undefined,
|
|
41
|
+
compilerOptions: {
|
|
42
|
+
declaration: false,
|
|
43
|
+
declarationMap: false,
|
|
44
|
+
declarationDir: undefined,
|
|
45
|
+
},
|
|
46
|
+
}),
|
|
47
|
+
terser(),
|
|
48
|
+
],
|
|
49
|
+
};
|