grafana/public/app/plugins/datasource/cloudwatch/components
Jack Westbrook d87bf30e9e
Build: Introduce ESM and Treeshaking to NPM package builds (#51517)
* 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
2022-08-03 15:47:09 +02:00
..
__snapshots__ CloudWatch: Add default log groups to config page (#49286) 2022-07-07 13:03:02 -04:00
Dimensions Core code editor/builder components (#52421) 2022-07-20 12:50:08 -04:00
MetricsQueryEditor Core code editor/builder components (#52421) 2022-07-20 12:50:08 -04:00
MetricStatEditor Core code editor/builder components (#52421) 2022-07-20 12:50:08 -04:00
SQLBuilderEditor Build: Introduce ESM and Treeshaking to NPM package builds (#51517) 2022-08-03 15:47:09 +02:00
VariableQueryEditor CloudWatch: the variable editor should accept custom values (#52955) 2022-08-01 10:07:27 -04:00
AnnotationQueryEditor.test.tsx Cloudwatch: Use new annotation API (#48102) 2022-04-27 12:41:48 +02:00
AnnotationQueryEditor.tsx Core code editor/builder components (#52421) 2022-07-20 12:50:08 -04:00
CloudWatchLink.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ConfigEditor.test.tsx CloudWatch: Add default log groups to config page (#49286) 2022-07-07 13:03:02 -04:00
ConfigEditor.tsx CloudWatch: Add default log groups to config page (#49286) 2022-07-07 13:03:02 -04:00
DynamicLabelsField.tsx Cloudwatch: Dynamic labels autocomplete (#49794) 2022-06-02 10:54:51 +02:00
Forms.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
index.ts CloudWatch: Display dynamic label field in case feature is enabled (#48614) 2022-05-04 07:36:18 +02:00
LogGroupSelector.test.tsx CloudWatch: Add default log groups to config page (#49286) 2022-07-07 13:03:02 -04:00
LogGroupSelector.tsx CloudWatch: Factor LogGroupSelector into a separate component (#50829) 2022-06-23 14:40:43 -04:00
LogsCheatSheet.tsx CloudWatch: prevent log groups from being removed on query change. (#47994) 2022-04-25 17:59:52 +00:00
LogsQueryEditor.tsx CloudWatch: Factor LogGroupSelector into a separate component (#50829) 2022-06-23 14:40:43 -04:00
LogsQueryField.test.tsx CloudWatch: Add default log groups to config page (#49286) 2022-07-07 13:03:02 -04:00
LogsQueryField.tsx CloudWatch: Add default log groups to config page (#49286) 2022-07-07 13:03:02 -04:00
MathExpressionQueryField.tsx Cloudwatch: Dynamic labels autocomplete (#49794) 2022-06-02 10:54:51 +02:00
MetaInspector.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
PanelQueryEditor.test.tsx Cloudwatch: Refactor metrics query editor (#48537) 2022-05-02 10:09:24 +02:00
PanelQueryEditor.tsx CloudWatch: Factor LogGroupSelector into a separate component (#50829) 2022-06-23 14:40:43 -04:00
QueryHeader.test.tsx Cloudwatch: Use new annotation API (#48102) 2022-04-27 12:41:48 +02:00
QueryHeader.tsx Core code editor/builder components (#52421) 2022-07-20 12:50:08 -04:00
SQLCodeEditor.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ThrottlingErrorMessage.tsx CloudWarch: Fix service quotas link (#32686) 2021-04-05 12:59:59 +01:00
XrayLinkConfig.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00