mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
114 lines
6.0 KiB
JSON
114 lines
6.0 KiB
JSON
{
|
|
"name": "CopilotKit",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nx run-many -t build --projects=packages/**",
|
|
"build:examples": "nx run-many -t build --projects=examples/**",
|
|
"build:storybook": "nx run-many -t build --projects=examples/v2/*/storybook",
|
|
"check-types": "nx run-many -t check-types",
|
|
"clean": "git clean -fdX --exclude=\"!.env\"",
|
|
"lint": "nx run-many -t lint --projects=packages/**",
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
"check-prettier": "prettier --check \"**/*.{ts,tsx,md}\"",
|
|
"test": "nx run-many -t test",
|
|
"test:classic": "nx run-many -t test --projects=packages/v1/**,@copilotkit/voice",
|
|
"test:next": "nx run-many -t test --projects=packages/v2/**",
|
|
"test:watch": "pnpm run test && nx watch --all -- pnpm run test",
|
|
"test:watch:classic": "nx run-many -t test --projects=packages/v1/**,@copilotkit/voice && nx watch --projects=packages/v1/**,@copilotkit/voice -- nx run-many -t test --projects=packages/v1/**,@copilotkit/voice",
|
|
"test:watch:next": "nx run-many -t test --projects=packages/v2/** && nx watch --projects=packages/v2/** -- nx run-many -t test --projects=packages/v2/**",
|
|
"test:coverage": "nx run-many -t test:coverage",
|
|
"test:coverage:classic": "nx run-many -t test:coverage --projects=packages/v1/*,@copilotkit/voice",
|
|
"test:coverage:next": "nx run-many -t test:coverage --projects=packages/v2/*",
|
|
"dev": "pnpm run build && nx watch --projects=packages/** -- pnpm run build",
|
|
"dev:classic": "nx run-many -t build --projects=packages/v1/** && nx watch --projects=packages/v1/** -- nx run-many -t build --projects=packages/v1/**",
|
|
"dev:next": "nx run-many -t build --projects=packages/v2/** && nx watch --projects=packages/v2/** -- nx run-many -t build --projects=packages/v2/**",
|
|
"dev:examples": "pnpm run build:examples && nx watch --projects=examples/** -- pnpm run build:examples",
|
|
"dev:examples:classic": "nx run-many -t build --projects=examples/v1/** && nx watch --projects=examples/v1/** -- nx run-many -t build --projects=examples/v1/**",
|
|
"dev:examples:next": "nx run-many -t build --projects=examples/v2/** && nx watch --projects=examples/v2/** -- nx run-many -t build --projects=examples/v2/**",
|
|
"storybook:angular": "pnpm -C examples/v2/angular/storybook dev",
|
|
"storybook:react": "pnpm -C examples/v2/react/storybook dev",
|
|
"storybook": "pnpm storybook:react",
|
|
"docs:next": "pnpm -C examples/v2/docs dev",
|
|
"docs:classic": "ts-node scripts/docs/gen.ts",
|
|
"demo:next:angular": "nx run-many -t dev --projects=examples/v2/angular/demo,examples/v2/angular/demo-server",
|
|
"demo:next:react": "pnpm -C examples/v2/react/demo dev",
|
|
"changeset": "changeset",
|
|
"prepare": "lefthook install",
|
|
"graph": "nx graph",
|
|
"publint": "nx run-many -t publint --projects=packages/**",
|
|
"attw": "nx run-many -t attw --projects=packages/**",
|
|
"check:packages": "nx run-many -t publint,attw --projects=packages/**"
|
|
},
|
|
"v2Leftovers": {
|
|
"bump:prerelease": "pnpm -r --filter='@copilotkitnext/agent' --filter='@copilotkitnext/angular' --filter='@copilotkitnext/core' --filter='@copilotkitnext/react' --filter='@copilotkitnext/runtime' --filter='@copilotkitnext/sqlite-runner' --filter='@copilotkitnext/shared' --filter='@copilotkitnext/web-inspector' exec pnpm version prerelease --preid=alpha",
|
|
"bump:release": "pnpm -r --filter='@copilotkitnext/agent' --filter='@copilotkitnext/angular' --filter='@copilotkitnext/core' --filter='@copilotkitnext/react' --filter='@copilotkitnext/runtime' --filter='@copilotkitnext/sqlite-runner' --filter='@copilotkitnext/shared' --filter='@copilotkitnext/web-inspector' exec pnpm version patch",
|
|
"publish:prerelease": "pnpm -r clean && pnpm install && nx run-many -t build && pnpm publish -r --no-git-checks --filter='@copilotkitnext/agent' --filter='@copilotkitnext/angular' --filter='@copilotkitnext/core' --filter='@copilotkitnext/react' --filter='@copilotkitnext/runtime' --filter='@copilotkitnext/sqlite-runner' --filter='@copilotkitnext/shared' --filter='@copilotkitnext/web-inspector' --tag alpha",
|
|
"publish:release:dry": "pnpm -r --filter '@copilotkitnext/*' publish --access public --dry-run",
|
|
"publish:release": "pnpm -r --filter '@copilotkitnext/*' publish --access public",
|
|
"server:node": "pnpm -C src/apps/node dev"
|
|
},
|
|
"v1Leftovers": {
|
|
"freshbuild": "pnpm -w clean && pnpm i && pnpm -w build",
|
|
"precommit": "pnpm run docs",
|
|
"prepublish": "nx run-many -t build"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
"@changesets/cli": "^2.29.8",
|
|
"@commitlint/cli": "^20.3.0",
|
|
"@commitlint/config-conventional": "^20.3.0",
|
|
"@storybook/addon-docs": "^10.1.10",
|
|
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
|
|
"@storybook/react-webpack5": "^10.1.10",
|
|
"@types/node": "^18.11.17",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"danger": "^12.3.3",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-custom": "workspace:*",
|
|
"glob": "^10.3.12",
|
|
"lefthook": "^2.1.1",
|
|
"install": "^0.13.0",
|
|
"npm": "^10.7.0",
|
|
"nx": "^22.5.0",
|
|
"prettier": "^3.6.0",
|
|
"prettier-plugin-tailwindcss": "^0.1.11",
|
|
"publint": "^0.3.17",
|
|
"storybook": "^10.1.10",
|
|
"ts-node": "^10.9.2",
|
|
"tsdown": "^0.20.3",
|
|
"typescript": "^5.2.3"
|
|
},
|
|
"packageManager": "pnpm@10.13.1",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"react",
|
|
"react-dom"
|
|
],
|
|
"allowedVersions": {
|
|
"react": "*",
|
|
"react-dom": "*"
|
|
}
|
|
},
|
|
"overrides": {
|
|
"streamdown>react": "^19.0.0",
|
|
"@types/react": "^19.1.0",
|
|
"@types/react-dom": "^19.0.2",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"next@<=15.4.10": "15.4.10",
|
|
"send@<=0.19.0": "0.19.0",
|
|
"path-to-regexp@<=0.1.12": "0.1.12",
|
|
"serve-static@<=1.16.0": "1.16.0",
|
|
"prismjs@<=1.30.0": "1.30.0",
|
|
"pino@<=10.1.1": "10.1.1"
|
|
},
|
|
"patchedDependencies": {
|
|
"@changesets/assemble-release-plan@6.0.9": "patches/@changesets__assemble-release-plan@6.0.9.patch"
|
|
}
|
|
}
|
|
}
|