mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* feat(storybook): upgrade to version 8.4 * chore(grafana-ui): replace all usage of preview with canvas * chore(grafana-ui): add fs-extra as dev dependency * feat(storybook): copy required assets to temp static directory due to 8.4 not supporting file paths * chore(yarn): fix up lock file so swc-loader doesnt break for decoupled plugins * Add ExampleFrame component to render grafana-ui examples * Prevent Storybook from styling in ExampleFrame * Use global styles in Storybook docs * Update mdx docs to use ExampleFrame or correct Canvas usage * update AutoSizeInput * Update Index mdx * remove the gfm mdx package * silence sass warnings * fix(storybook): add missing imports to fix failed rendering of stories/docs * remove empty docs --------- Co-authored-by: joshhunt <josh@trtr.co>
83 lines
3.1 KiB
Plaintext
83 lines
3.1 KiB
Plaintext
{
|
|
extends: ["config:recommended"],
|
|
enabledManagers: ["npm"],
|
|
ignoreDeps: [
|
|
"@types/history", // this can be removed entirely when we upgrade history since v5 exposes types directly
|
|
"history", // we should bump this together with react-router-dom (see https://github.com/grafana/grafana/issues/76744)
|
|
"react-router-dom", // we should bump this together with history (see https://github.com/grafana/grafana/issues/76744)
|
|
"loader-utils", // v3 requires upstream changes in ngtemplate-loader. ignore, and remove when we remove angular.
|
|
"monaco-editor", // due to us exposing this via @grafana/ui/CodeEditor's props bumping can break plugins
|
|
"@fingerprintjs/fingerprintjs", // we don't want to bump to v4 due to licensing changes
|
|
"@swc/core", // versions ~1.4.5 contain multiple bugs related to baseUrl resolution breaking builds.
|
|
"slate", // we don't want to continue using this on the long run, use Monaco editor instead of Slate
|
|
"slate-react", // we don't want to continue using this on the long run, use Monaco editor instead of Slate
|
|
"@types/slate-react", // we don't want to continue using this on the long run, use Monaco editor instead of Slate
|
|
"@types/slate", // we don't want to continue using this on the long run, use Monaco editor instead of Slate
|
|
"storybook-dark-mode", // 4.0.2 causes storybook 8.4 to break with react hooks errors
|
|
// Temporarily pause updating lerna and nx until we resolve build issues
|
|
"lerna",
|
|
"nx"
|
|
],
|
|
includePaths: ["package.json", "packages/**", "public/app/plugins/**"],
|
|
ignorePaths: ["emails/**", "plugins-bundled/**", "**/mocks/**"],
|
|
labels: ["area/frontend", "dependencies", "no-changelog"],
|
|
postUpdateOptions: ["yarnDedupeHighest"],
|
|
packageRules: [
|
|
{
|
|
automerge: true,
|
|
matchCurrentVersion: "!/^0/",
|
|
matchUpdateTypes: ["patch"],
|
|
matchPackageNames: ["!/^@?storybook/", "!/^@locker/"],
|
|
},
|
|
{
|
|
extends: ["schedule:monthly"],
|
|
groupName: "Storybook updates",
|
|
matchPackageNames: ["/^@?storybook/"],
|
|
},
|
|
{
|
|
groupName: "React Aria",
|
|
matchPackageNames: ["@react-aria/{/,}**", "@react-stately/{/,}**"],
|
|
},
|
|
{
|
|
groupName: "Moveable",
|
|
matchPackageNames: ["moveable", "react-moveable"],
|
|
},
|
|
{
|
|
groupName: "Slate",
|
|
matchPackageNames: ["@types/slate", "@types/slate-react", "slate", "slate-react"],
|
|
},
|
|
{
|
|
groupName: "d3",
|
|
matchPackageNames: ["d3{/,}**", "@types/d3{/,}**"],
|
|
},
|
|
{
|
|
groupName: "scenes",
|
|
matchPackageNames: ["@grafana/scenes", "@grafana/scenes-react"],
|
|
},
|
|
{
|
|
groupName: "visx",
|
|
matchPackageNames: ["@visx/{/,}**"],
|
|
},
|
|
{
|
|
groupName: "uLibraries",
|
|
matchPackageNames: ["@leeoniya/ufuzzy", "uplot"],
|
|
reviewers: ["leeoniya"],
|
|
},
|
|
{
|
|
groupName: "locker",
|
|
reviewers: ["team:grafana/plugins-platform-frontend"],
|
|
matchPackageNames: ["@locker/{/,}**"],
|
|
},
|
|
],
|
|
pin: {
|
|
enabled: false,
|
|
},
|
|
prConcurrentLimit: 10,
|
|
rebaseWhen: "conflicted",
|
|
reviewers: ["team:grafana/frontend-ops"],
|
|
separateMajorMinor: false,
|
|
vulnerabilityAlerts: {
|
|
addLabels: ["area/security"],
|
|
},
|
|
}
|