Skip to content

Commit 77bf821

Browse files
authored
Plugins: Remove deprecated grafana-toolkit (grafana#73489)
* remove grafana-toolkit * replaces old tsconfig with grafana tsconfig * fix betterer
1 parent a403027 commit 77bf821

28 files changed

+7
-661
lines changed

.betterer.results

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -870,11 +870,6 @@ exports[`better eslint`] = {
870870
[0, 0, 0, "Do not use any type assertions.", "4"],
871871
[0, 0, 0, "Do not use any type assertions.", "5"]
872872
],
873-
"packages/grafana-toolkit/src/cli/tasks/task.ts:5381": [
874-
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
875-
[0, 0, 0, "Do not use any type assertions.", "1"],
876-
[0, 0, 0, "Unexpected any. Specify a different type.", "2"]
877-
],
878873
"packages/grafana-ui/src/components/ColorPicker/ColorPicker.tsx:5381": [
879874
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
880875
[0, 0, 0, "Unexpected any. Specify a different type.", "1"]

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@
304304
/packages/ @grafana/grafana-frontend-platform @grafana/plugins-platform-frontend
305305
/packages/grafana-e2e-selectors/ @grafana/grafana-frontend-platform
306306
/packages/grafana-e2e/ @grafana/grafana-frontend-platform
307-
/packages/grafana-toolkit/ @grafana/plugins-platform-frontend
308307
/packages/grafana-ui/.storybook/ @grafana/plugins-platform-frontend
309308
/packages/grafana-ui/src/components/ @grafana/grafana-frontend-platform
310309
/packages/grafana-ui/src/components/DateTimePickers/ @grafana/grafana-frontend-platform

.github/renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"ora", // we should bump this once we move to esm modules
1919
],
2020
"includePaths": ["package.json", "packages/**"],
21-
"ignorePaths": ["packages/grafana-toolkit/package.json", "emails/**", "plugins-bundled/**", "**/mocks/**"],
21+
"ignorePaths": ["emails/**", "plugins-bundled/**", "**/mocks/**"],
2222
"labels": ["area/frontend", "dependencies", "no-backport", "no-changelog"],
2323
"packageRules": [
2424
{

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ pkg/services/quota/quotaimpl/storage/storage.json
138138
/packages/**/.rpt2_cache
139139
/packages/**/tsdoc-metadata.json
140140
/packages/**/package.tgz
141-
/packages/grafana-toolkit/sass
142141
## CI places the packages in a different location
143142
/npm-artifacts
144143

LICENSING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ packages/grafana-data/
1313
packages/grafana-e2e/
1414
packages/grafana-e2e-selectors/
1515
packages/grafana-runtime/
16-
packages/grafana-toolkit/
1716
packages/grafana-ui/
1817
packaging/
1918
kinds/

contribute/breaking-changes-guide.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ These packages live in the `/packages` folder and contain packages like:
2121

2222
- `@grafana/data`
2323
- `@grafana/runtime`
24-
- `@grafana/toolkit`
2524
- `@grafana/ui`
2625
- etc. ([They can be viewed here](https://github.com/grafana/grafana/tree/main/packages)
2726

contribute/merge-pull-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Labeled with `add to changelog` and either labeled with `type/bug` or the pull r
9393

9494
**Plugin development fixes & changes:**
9595

96-
Labeled with `area/grafana/toolkit`, `area/grafana/ui` or `area/grafana/runtime`.
96+
Labeled with `area/grafana/ui` or `area/grafana/runtime`.
9797

9898
**Deprecations:**
9999

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"@grafana/e2e": "workspace:*",
8181
"@grafana/eslint-config": "6.0.1",
8282
"@grafana/eslint-plugin": "link:./packages/grafana-eslint-rules",
83-
"@grafana/toolkit": "workspace:*",
8483
"@grafana/tsconfig": "^1.3.0-rc1",
8584
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
8685
"@react-types/button": "3.7.3",

packages/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ All packages are versioned according to the current Grafana version:
1212
- Grafana v6.2.5 -> @grafana/\* packages @ 6.2.5
1313
- Grafana - main branch version (based on package.json, i.e. 6.4.0-pre) -> @grafana/\* packages @ 6.4.0-pre-<COMMIT-SHA> (see details below about packages publishing channels)
1414

15-
> Please note that @grafana/toolkit, @grafana/ui, @grafana/data, and @grafana/runtime packages are considered ALPHA even though they are not released as alpha versions.
15+
> Please note that @grafana/ui, @grafana/data, and @grafana/runtime packages are considered ALPHA even though they are not released as alpha versions.
1616
1717
### Stable releases
1818

@@ -57,7 +57,7 @@ Every commit to main that has changes within the `packages` directory is a subje
5757
To build individual packages, run:
5858

5959
```
60-
yarn packages:build --scope=@grafana/<data|e2e|e2e-selectors|runtime|schema|toolkit|ui>
60+
yarn packages:build --scope=@grafana/<data|e2e|e2e-selectors|runtime|schema|ui>
6161
```
6262

6363
### Setting up @grafana/\* packages for local development

packages/grafana-e2e/test/cypress/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@grafana/toolkit/src/config/tsconfig.plugin.json",
2+
"extends": "@grafana/tsconfig",
33
"include": ["**/*.ts"],
44
"compilerOptions": {
55
"baseUrl": "../node_modules",

0 commit comments

Comments
 (0)