mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 17:43:35 -06:00
* 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
201 lines
6.2 KiB
JSON
201 lines
6.2 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "Apache-2.0",
|
|
"name": "@grafana/ui",
|
|
"version": "9.2.0-pre",
|
|
"description": "Grafana Components Library",
|
|
"keywords": [
|
|
"grafana",
|
|
"react",
|
|
"react-component",
|
|
"typescript"
|
|
],
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-ui"
|
|
},
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"publishConfig": {
|
|
"main": "dist/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"CHANGELOG.md",
|
|
"LICENSE_APACHE2"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts",
|
|
"bundle": "rollup -c rollup.config.ts",
|
|
"clean": "rimraf ./dist ./compiled ./package.tgz",
|
|
"docsExtract": "mkdir -p ../../reports/docs && api-extractor run 2>&1 | tee ../../reports/docs/$(basename $(pwd)).log",
|
|
"storybook": "start-storybook -p 9001 -c .storybook",
|
|
"storybook:build": "build-storybook -o ./dist/storybook -c .storybook",
|
|
"typecheck": "tsc --emitDeclarationOnly false --noEmit"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not IE 11"
|
|
],
|
|
"dependencies": {
|
|
"@emotion/css": "11.9.0",
|
|
"@emotion/react": "11.9.3",
|
|
"@grafana/data": "9.2.0-pre",
|
|
"@grafana/e2e-selectors": "9.2.0-pre",
|
|
"@grafana/schema": "9.2.0-pre",
|
|
"@grafana/slate-react": "0.22.10-grafana",
|
|
"@monaco-editor/react": "4.3.1",
|
|
"@popperjs/core": "2.11.5",
|
|
"@react-aria/button": "3.5.1",
|
|
"@react-aria/dialog": "3.2.1",
|
|
"@react-aria/focus": "3.6.1",
|
|
"@react-aria/menu": "3.5.1",
|
|
"@react-aria/overlays": "3.9.1",
|
|
"@react-aria/utils": "3.13.1",
|
|
"@react-stately/menu": "3.3.1",
|
|
"@sentry/browser": "6.19.7",
|
|
"ansicolor": "1.1.100",
|
|
"calculate-size": "1.1.1",
|
|
"classnames": "2.3.1",
|
|
"core-js": "3.24.0",
|
|
"d3": "5.15.0",
|
|
"date-fns": "2.29.1",
|
|
"hoist-non-react-statics": "3.3.2",
|
|
"immutable": "4.1.0",
|
|
"is-hotkey": "0.2.0",
|
|
"jquery": "3.6.0",
|
|
"lodash": "4.17.21",
|
|
"memoize-one": "6.0.0",
|
|
"moment": "2.29.4",
|
|
"monaco-editor": "^0.31.1",
|
|
"ol": "6.15.1",
|
|
"prismjs": "1.28.0",
|
|
"rc-cascader": "3.6.1",
|
|
"rc-drawer": "4.4.3",
|
|
"rc-slider": "9.7.5",
|
|
"rc-time-picker": "^3.7.3",
|
|
"react-beautiful-dnd": "13.1.0",
|
|
"react-calendar": "3.7.0",
|
|
"react-colorful": "5.5.1",
|
|
"react-custom-scrollbars-2": "4.5.0",
|
|
"react-dropzone": "14.2.2",
|
|
"react-highlight-words": "0.18.0",
|
|
"react-hook-form": "7.5.3",
|
|
"react-inlinesvg": "3.0.0",
|
|
"react-popper": "2.3.0",
|
|
"react-popper-tooltip": "^4.3.1",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-select": "5.4.0",
|
|
"react-select-event": "^5.1.0",
|
|
"react-table": "7.8.0",
|
|
"react-transition-group": "4.4.2",
|
|
"react-use": "17.4.0",
|
|
"react-window": "1.8.7",
|
|
"rxjs": "7.5.6",
|
|
"slate": "0.47.8",
|
|
"slate-plain-serializer": "0.7.10",
|
|
"tinycolor2": "1.4.2",
|
|
"tslib": "2.4.0",
|
|
"uplot": "1.6.22",
|
|
"uuid": "8.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.18.9",
|
|
"@grafana/tsconfig": "^1.2.0-rc1",
|
|
"@mdx-js/react": "1.6.22",
|
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
"@storybook/addon-a11y": "6.4.21",
|
|
"@storybook/addon-actions": "6.4.21",
|
|
"@storybook/addon-docs": "6.4.21",
|
|
"@storybook/addon-essentials": "6.4.21",
|
|
"@storybook/addon-knobs": "6.4.0",
|
|
"@storybook/addon-storysource": "6.4.21",
|
|
"@storybook/addons": "6.4.21",
|
|
"@storybook/api": "6.4.21",
|
|
"@storybook/builder-webpack5": "6.4.21",
|
|
"@storybook/client-api": "6.4.21",
|
|
"@storybook/components": "6.4.21",
|
|
"@storybook/core-events": "6.4.21",
|
|
"@storybook/manager-webpack5": "6.4.21",
|
|
"@storybook/react": "6.4.21",
|
|
"@storybook/theming": "6.4.21",
|
|
"@swc/helpers": "0.4.3",
|
|
"@testing-library/dom": "8.13.0",
|
|
"@testing-library/jest-dom": "5.16.4",
|
|
"@testing-library/react": "12.1.4",
|
|
"@testing-library/react-hooks": "8.0.1",
|
|
"@testing-library/user-event": "14.3.0",
|
|
"@types/classnames": "2.3.0",
|
|
"@types/common-tags": "^1.8.0",
|
|
"@types/d3": "7.4.0",
|
|
"@types/enzyme": "3.10.12",
|
|
"@types/enzyme-adapter-react-16": "1.0.6",
|
|
"@types/grafana__slate-react": "npm:@types/slate-react@0.22.5",
|
|
"@types/hoist-non-react-statics": "3.3.1",
|
|
"@types/is-hotkey": "0.1.7",
|
|
"@types/jest": "28.1.6",
|
|
"@types/jquery": "3.5.14",
|
|
"@types/lodash": "4.14.182",
|
|
"@types/mock-raf": "1.0.3",
|
|
"@types/node": "16.11.45",
|
|
"@types/prismjs": "1.26.0",
|
|
"@types/react": "17.0.42",
|
|
"@types/react-beautiful-dnd": "13.1.2",
|
|
"@types/react-calendar": "3.5.1",
|
|
"@types/react-color": "3.0.6",
|
|
"@types/react-dom": "17.0.14",
|
|
"@types/react-router-dom": "5.3.3",
|
|
"@types/react-table": "7.7.12",
|
|
"@types/react-test-renderer": "17.0.1",
|
|
"@types/react-transition-group": "4.4.5",
|
|
"@types/react-window": "1.8.5",
|
|
"@types/slate": "0.47.2",
|
|
"@types/slate-plain-serializer": "0.7.2",
|
|
"@types/testing-library__jest-dom": "5.14.5",
|
|
"@types/testing-library__react-hooks": "^3.2.0",
|
|
"@types/tinycolor2": "1.4.3",
|
|
"@types/uuid": "8.3.4",
|
|
"@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
|
|
"babel-loader": "8.2.5",
|
|
"common-tags": "1.8.2",
|
|
"css-loader": "6.7.1",
|
|
"css-minimizer-webpack-plugin": "4.0.0",
|
|
"csstype": "3.1.0",
|
|
"enzyme": "3.11.0",
|
|
"esbuild": "^0.14.47",
|
|
"expose-loader": "4.0.0",
|
|
"mock-raf": "1.0.1",
|
|
"postcss": "8.4.14",
|
|
"postcss-loader": "7.0.1",
|
|
"process": "^0.11.10",
|
|
"raw-loader": "4.0.2",
|
|
"react": "17.0.2",
|
|
"react-docgen-typescript-loader": "3.7.2",
|
|
"react-dom": "17.0.2",
|
|
"react-test-renderer": "17.0.2",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "2.77.2",
|
|
"rollup-plugin-dts": "^4.2.2",
|
|
"rollup-plugin-esbuild": "^4.9.1",
|
|
"rollup-plugin-node-externals": "^4.1.0",
|
|
"rollup-plugin-svg-import": "^1.6.0",
|
|
"sass-loader": "13.0.2",
|
|
"storybook-dark-mode": "1.1.0",
|
|
"style-loader": "3.3.1",
|
|
"terser-webpack-plugin": "5.3.3",
|
|
"ts-loader": "8.4.0",
|
|
"typescript": "4.7.4",
|
|
"webpack": "5.74.0",
|
|
"webpack-filter-warnings-plugin": "1.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0",
|
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
}
|
|
}
|