-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 4.22 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 4.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "umbraco-ai-monorepo",
"version": "1.0.0",
"private": true,
"description": "Root package for Umbraco.AI frontend development",
"engines": {
"node": ">=24.13",
"npm": ">=11"
},
"workspaces": [
"Umbraco.AI/src/Umbraco.AI.Web.StaticAssets/Client",
"Umbraco.AI.Prompt/src/Umbraco.AI.Prompt.Web.StaticAssets/Client",
"Umbraco.AI.Agent/src/Umbraco.AI.Agent.Web.StaticAssets/Client",
"Umbraco.AI.Agent.UI/src/Umbraco.AI.Agent.UI/Client",
"Umbraco.AI.Agent.Copilot/src/Umbraco.AI.Agent.Copilot/Client"
],
"scripts": {
"build": "npm run build:core && npm run build:prompt && npm run build:agent && npm run build:agent-ui && npm run build:copilot",
"build:core": "npm run build -w @umbraco-ai/core",
"build:prompt": "npm run build -w @umbraco-ai/prompt",
"build:agent": "npm run build -w @umbraco-ai/agent",
"build:agent-ui": "npm run build -w @umbraco-ai/agent-ui",
"build:copilot": "npm run build -w @umbraco-ai/agent-copilot",
"watch": "concurrently --names \"core,prompt,agent,agent-ui,copilot\" -c \"blue,green,yellow,cyan,magenta\" \"npm run watch:core\" \"npm run watch:prompt\" \"npm run watch:agent\" \"npm run watch:agent-ui\" \"npm run watch:copilot\"",
"watch:core": "npm run watch -w @umbraco-ai/core",
"watch:prompt": "npm run watch -w @umbraco-ai/prompt",
"watch:agent": "npm run watch -w @umbraco-ai/agent",
"watch:agent-ui": "npm run watch -w @umbraco-ai/agent-ui",
"watch:copilot": "npm run watch -w @umbraco-ai/agent-copilot",
"test:copilot": "npm run test -w @umbraco-ai/agent-copilot",
"generate-client": "concurrently --names \"core,prompt,agent\" -c \"blue,green,yellow\" \"npm run generate-client:core\" \"npm run generate-client:prompt\" \"npm run generate-client:agent\"",
"generate-client:core": "npm run generate-client -w @umbraco-ai/core",
"generate-client:prompt": "npm run generate-client -w @umbraco-ai/prompt",
"generate-client:agent": "npm run generate-client -w @umbraco-ai/agent",
"changelog": "node scripts/generate-changelog.js",
"changelog:list": "node scripts/generate-changelog.js --list",
"changelog:all": "node scripts/generate-all-changelogs.js",
"commit-options": "node scripts/list-commit-options.js",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"devDependencies": {
"@commitlint/cli": "^20.3.1",
"@commitlint/config-conventional": "^20.3.1",
"@umbraco-cms/backoffice": "^18.0.0",
"concurrently": "^10.0.3",
"conventional-changelog": "^7.2.0",
"conventional-changelog-conventionalcommits": "^9.1.0",
"prettier": "^3.8.1"
},
"_comment_devDependencies_backoffice": "@umbraco-cms/backoffice is declared here at the workspace root to force npm to hoist a SINGLE shared copy into the root node_modules. Each publishable workspace declares it independently, and because backoffice has ~25 non-optional peerDependencies, npm otherwise installs a separate copy per workspace. Multiple physical copies give TypeScript distinct nominal class identities (the '#private' brand differs per copy), so cross-workspace types (e.g. agent's app.ts consuming core's UmbElement-typed API) fail to compile. A single hoisted copy keeps all workspaces type-checking against one backoffice. It is never bundled (vite externalizes /^@umbraco/) so this is build/type-time only. Keep the range in sync with the workspaces and peerDependencyVersions.",
"overrides": {
"rxjs": "^7.8.2",
"monaco-editor": {
"dompurify": "^3.4.0"
},
"@hey-api/openapi-ts": "0.97.3"
},
"peerDependencyVersions": {
"@umbraco-ai/core": "^18.1.1",
"@umbraco-ai/agent": "^18.1.0",
"@umbraco-ai/agent-ui": "^18.0.1",
"@umbraco-ai/agent-copilot": "^18.0.1",
"@umbraco-cms/backoffice": "^18.0.0"
},
"_comment_peerDependencyVersions": "Default peer dependency version ranges for npm packages. Products can override by defining peerDependencies in their own package.json. Should be kept in sync with minimum versions in Directory.Packages.props."
}