Skip to content

Commit

Permalink
fix(dashboard-renderer): attempt to split out entities-shared
Browse files Browse the repository at this point in the history
- Move `ajv` to a dev dependency, since it's only used in the sandbox [MA-3247]
- Don't require `entities-shared` since it's a large package that's only useful within Konnect [MA-3246]
  - Host apps will need to provide a fallback, potentially via alias.
  • Loading branch information
adorack committed Feb 13, 2025
1 parent 811dad6 commit 68bfab3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/analytics/dashboard-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@
"@kong-ui-public/analytics-config-store": "workspace:^",
"@kong-ui-public/analytics-metric-provider": "workspace:^",
"@kong-ui-public/analytics-utilities": "workspace:^",
"@kong-ui-public/entities-shared": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong-ui-public/sandbox-layout": "workspace:^",
"@kong/design-tokens": "1.17.2",
"@kong/kongponents": "9.17.2",
"ajv": "^8.17.1",
"pinia": ">= 2.1.7 < 3",
"swrv": "^1.0.4",
"vue": "^3.5.12",
"ajv": "^8.17.1"
"vue": "^3.5.12"
},
"repository": {
"type": "git",
Expand All @@ -74,14 +75,19 @@
"@kong-ui-public/analytics-config-store": "workspace:^",
"@kong-ui-public/analytics-metric-provider": "workspace:^",
"@kong-ui-public/analytics-utilities": "workspace:^",
"@kong-ui-public/entities-shared": "workspace:^",
"@kong-ui-public/i18n": "workspace:^",
"@kong/kongponents": "^9.14.16",
"swrv": "^1.0.4",
"vue": ">= 3.3.13 < 4"
},
"peerDependenciesMeta": {
"@kong-ui-public/entities-shared": {
"optional": true
}
},
"dependencies": {
"@kong-ui-public/core": "workspace:^",
"@kong-ui-public/entities-shared": "workspace:^",
"gridstack": "^11.3.0"
}
}
5 changes: 5 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 68bfab3

Please sign in to comment.