Skip to content

Commit

Permalink
Plugins: Remove deprecated grafana-toolkit (grafana#73489)
Browse files Browse the repository at this point in the history
* remove grafana-toolkit

* replaces old tsconfig with grafana tsconfig

* fix betterer
  • Loading branch information
Ukochka authored Sep 5, 2023
1 parent a403027 commit 77bf821
Show file tree
Hide file tree
Showing 28 changed files with 7 additions and 661 deletions.
5 changes: 0 additions & 5 deletions .betterer.results
Original file line number Diff line number Diff line change
Expand Up @@ -870,11 +870,6 @@ exports[`better eslint`] = {
[0, 0, 0, "Do not use any type assertions.", "4"],
[0, 0, 0, "Do not use any type assertions.", "5"]
],
"packages/grafana-toolkit/src/cli/tasks/task.ts:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Do not use any type assertions.", "1"],
[0, 0, 0, "Unexpected any. Specify a different type.", "2"]
],
"packages/grafana-ui/src/components/ColorPicker/ColorPicker.tsx:5381": [
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
[0, 0, 0, "Unexpected any. Specify a different type.", "1"]
Expand Down
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@
/packages/ @grafana/grafana-frontend-platform @grafana/plugins-platform-frontend
/packages/grafana-e2e-selectors/ @grafana/grafana-frontend-platform
/packages/grafana-e2e/ @grafana/grafana-frontend-platform
/packages/grafana-toolkit/ @grafana/plugins-platform-frontend
/packages/grafana-ui/.storybook/ @grafana/plugins-platform-frontend
/packages/grafana-ui/src/components/ @grafana/grafana-frontend-platform
/packages/grafana-ui/src/components/DateTimePickers/ @grafana/grafana-frontend-platform
Expand Down
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ora", // we should bump this once we move to esm modules
],
"includePaths": ["package.json", "packages/**"],
"ignorePaths": ["packages/grafana-toolkit/package.json", "emails/**", "plugins-bundled/**", "**/mocks/**"],
"ignorePaths": ["emails/**", "plugins-bundled/**", "**/mocks/**"],
"labels": ["area/frontend", "dependencies", "no-backport", "no-changelog"],
"packageRules": [
{
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ pkg/services/quota/quotaimpl/storage/storage.json
/packages/**/.rpt2_cache
/packages/**/tsdoc-metadata.json
/packages/**/package.tgz
/packages/grafana-toolkit/sass
## CI places the packages in a different location
/npm-artifacts

Expand Down
1 change: 0 additions & 1 deletion LICENSING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ packages/grafana-data/
packages/grafana-e2e/
packages/grafana-e2e-selectors/
packages/grafana-runtime/
packages/grafana-toolkit/
packages/grafana-ui/
packaging/
kinds/
Expand Down
1 change: 0 additions & 1 deletion contribute/breaking-changes-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ These packages live in the `/packages` folder and contain packages like:

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

Expand Down
2 changes: 1 addition & 1 deletion contribute/merge-pull-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Labeled with `add to changelog` and either labeled with `type/bug` or the pull r

**Plugin development fixes & changes:**

Labeled with `area/grafana/toolkit`, `area/grafana/ui` or `area/grafana/runtime`.
Labeled with `area/grafana/ui` or `area/grafana/runtime`.

**Deprecations:**

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"@grafana/e2e": "workspace:*",
"@grafana/eslint-config": "6.0.1",
"@grafana/eslint-plugin": "link:./packages/grafana-eslint-rules",
"@grafana/toolkit": "workspace:*",
"@grafana/tsconfig": "^1.3.0-rc1",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
"@react-types/button": "3.7.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ All packages are versioned according to the current Grafana version:
- Grafana v6.2.5 -> @grafana/\* packages @ 6.2.5
- 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)

> 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.
> Please note that @grafana/ui, @grafana/data, and @grafana/runtime packages are considered ALPHA even though they are not released as alpha versions.
### Stable releases

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

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

### Setting up @grafana/\* packages for local development
Expand Down
2 changes: 1 addition & 1 deletion packages/grafana-e2e/test/cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@grafana/toolkit/src/config/tsconfig.plugin.json",
"extends": "@grafana/tsconfig",
"include": ["**/*.ts"],
"compilerOptions": {
"baseUrl": "../node_modules",
Expand Down
14 changes: 0 additions & 14 deletions packages/grafana-toolkit/.eslintrc

This file was deleted.

47 changes: 0 additions & 47 deletions packages/grafana-toolkit/CHANGELOG.md

This file was deleted.

202 changes: 0 additions & 202 deletions packages/grafana-toolkit/LICENSE_APACHE2

This file was deleted.

15 changes: 0 additions & 15 deletions packages/grafana-toolkit/README.md

This file was deleted.

Loading

0 comments on commit 77bf821

Please sign in to comment.