mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
d87bf30e9e
* Revert "Chore: Bump terser to fix security vulnerability (#53052)"
This reverts commit 7ae74d2a18
.
* feat: use tsc and rollup directly with esbuild and publishConfig, files props
* refactor(grafana-data): fix isolatedModules re-export type error
* refactor(grafana-data): import paths from src not package name
* refactor(rollup): fix dts output.file
* chore(grafana-schema): delete dashboard_experimental.gen.ts - cannot work with isolatedModules
* refactor(grafana-e2e-selectors): fix export types isolatedModules error
* refactor(grafana-runtime): fix isolatedModules re-export type error
* refactor(grafana-ui): fix isolatedModules re-export type error
* feat(grafana-ui): use named imports for treeshaking
* refactor(grafana-ui): use named imports for treeshaking
* feat: react and react-dom as peerDeps for packages
* feat(grafana-ui): emotion packages as peerDeps
* feat(grafana-e2e): use tsc, rollup, esbuild for bundling
* chore(packages): clean up redundant dependencies
* chore(toolkit): deprecate unused package:build task
* chore(schema): put back dashboard_experimental and exclude to prevent isolatedModules error
* docs(packages): update readme
* chore(storybook): disable isolatedModules for builds
* chore: relax peerDeps for emotion and react
* revert(grafana-ui): put @emotion dependencies back
* refactor: replace relative package imports with package name
* build(packages): set emitDeclaration false for typecheck scripts to work
* test(publicdashboarddatasource): move test next to implementation. try to appease the betterer gods
* chore(storybook): override ts-node config for storybook compilation
* refactor(grafana-data): use ternary so babel doesnt complain about expecting flow types
* chore(toolkit): prefer files and publishConfig package.json props over copying
* build(npm): remove --contents dist arg from publishing commands
* chore(packages): introduce sideEffects prop to package.json to hint package can be treeshaken
* chore(packages): remove redundant index.js files
* feat(packages): set publishConfig.access to public
* feat(packages): use yarn berry and npm for packaging and publishing
* refactor(packages): simplify rollup configs
* chore(schema): add comment explaining need to exclude dashboard_experimental
* revert(toolkit): put back clean to prevent cli failures
* ci(packages): run packages:pack before a canary publish
* chore(gitignore): add npm-artifacts directory to ignore list
* test(publicdashboarddatasource): fix module mocking
* chore(packages): delete package.tgz when running clean
* chore(grafana-data): move dependencies from devDeps to prevent build resolution errors
128 lines
3.7 KiB
JSON
128 lines
3.7 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/toolkit",
|
|
"version": "9.2.0-pre",
|
|
"description": "Grafana Toolkit",
|
|
"keywords": [
|
|
"grafana",
|
|
"cli",
|
|
"plugins",
|
|
"typescript"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-toolkit"
|
|
},
|
|
"bin": {
|
|
"grafana-toolkit": "./bin/grafana-toolkit.js"
|
|
},
|
|
"publishConfig": {
|
|
"bin": {
|
|
"grafana-toolkit": "./dist/bin/grafana-toolkit.js"
|
|
},
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"CHANGELOG.md"
|
|
],
|
|
"scripts": {
|
|
"build": "grafana-toolkit toolkit:build",
|
|
"clean": "rimraf ./dist ./compiled ./package.tgz",
|
|
"precommit": "npm run lint & npm run typecheck",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"main": "src/index.ts",
|
|
"dependencies": {
|
|
"@babel/core": "^7.18.9",
|
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.18.9",
|
|
"@babel/plugin-proposal-optional-chaining": "7.18.9",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/plugin-transform-react-constant-elements": "7.18.9",
|
|
"@babel/plugin-transform-runtime": "7.18.9",
|
|
"@babel/plugin-transform-typescript": "7.18.8",
|
|
"@babel/preset-env": "^7.18.9",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@grafana/data": "9.2.0-pre",
|
|
"@grafana/eslint-config": "^4.0.0",
|
|
"@grafana/tsconfig": "^1.2.0-rc1",
|
|
"@grafana/ui": "9.2.0-pre",
|
|
"@jest/core": "27.5.1",
|
|
"@types/command-exists": "^1.2.0",
|
|
"@types/eslint": "8.4.1",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/inquirer": "^8.2.1",
|
|
"@types/jest": "27.4.1",
|
|
"@types/lodash": "4.14.181",
|
|
"@types/node": "16.11.26",
|
|
"@types/prettier": "2.6.3",
|
|
"@types/react-dev-utils": "9.0.10",
|
|
"@types/rimraf": "3.0.2",
|
|
"@types/semver": "7.3.9",
|
|
"@types/tmp": "0.2.3",
|
|
"@typescript-eslint/eslint-plugin": "5.16.0",
|
|
"@typescript-eslint/parser": "5.16.0",
|
|
"axios": "^0.26.1",
|
|
"babel-jest": "27.5.1",
|
|
"babel-loader": "^8.2.5",
|
|
"babel-plugin-angularjs-annotate": "0.10.0",
|
|
"chalk": "^4.1.2",
|
|
"command-exists": "^1.2.9",
|
|
"commander": "^9.2.0",
|
|
"copy-webpack-plugin": "^9.0.1",
|
|
"css-loader": "^6.7.1",
|
|
"css-minimizer-webpack-plugin": "^3.4.1",
|
|
"eslint": "8.20.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-jsdoc": "38.0.6",
|
|
"eslint-plugin-react": "7.29.4",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"execa": "^5.1.1",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^7.2.1",
|
|
"fs-extra": "^10.0.0",
|
|
"globby": "^11.0.4",
|
|
"html-loader": "^3.1.0",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"inquirer": "^8.2.2",
|
|
"jest": "27.5.1",
|
|
"jest-canvas-mock": "2.3.1",
|
|
"jest-junit": "13.1.0",
|
|
"less": "^4.1.2",
|
|
"less-loader": "^10.2.0",
|
|
"lodash": "^4.17.21",
|
|
"md5-file": "^5.0.0",
|
|
"mini-css-extract-plugin": "^2.6.0",
|
|
"ora": "^5.4.1",
|
|
"pixelmatch": "^5.2.1",
|
|
"pngjs": "^6.0.0",
|
|
"postcss": "^8.4.12",
|
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
"postcss-loader": "^6.2.1",
|
|
"postcss-preset-env": "7.4.3",
|
|
"prettier": "2.7.1",
|
|
"react-dev-utils": "^12.0.0",
|
|
"replace-in-file-webpack-plugin": "1.0.6",
|
|
"rimraf": "3.0.2",
|
|
"sass": "^1.49.9",
|
|
"sass-loader": "^12.6.0",
|
|
"semver": "^7.3.7",
|
|
"simple-git": "^3.6.0",
|
|
"style-loader": "^3.3.1",
|
|
"terser-webpack-plugin": "^5.3.1",
|
|
"ts-jest": "27.1.3",
|
|
"ts-loader": "^9.3.1",
|
|
"ts-node": "^9.1.0",
|
|
"tslib": "2.4.0",
|
|
"typescript": "4.7.4",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.72.0"
|
|
}
|
|
}
|