grafana/scripts
Jack Westbrook 8d3b31ff23
Build: Upgrade Webpack 5 (#36444)
* build(webpack): bump to v5 and successful yarn start compilation

* build(webpack): update postcss dependencies

* build(webpack): silence warnings about hash renamed to fullhash

* build(webpack): enable persistent cache to store generated webpack modules / chunks

* build(webpack): prefer eslintWebpackPlugin over tschecker so eslint doesn't block typechecking

* chore(yarn): run yarn-deduplicate to clean up dependencies

* chore(yarn): refresh lock file after clean install

* build(webpack): prefer output.clean over CleanWebpackPlugin

* build(webpack): prefer esbuild over babel-loader for dev config

* build(babel): turn off cache compression to improve build performance

* build(webpack): get production builds working

* build(webpack): remove phantomJS (removed from grafana in v7) specific loader

* build(webpack): put back babel for dev builds no performance gain in using esbuild in webpack

* build(webpack): prefer terser and optimise css plugins for prod. slower but smaller bundles

* build(webpack): clean up redundant code. inform postcss about node_modules

* build(webpack): remove deprecation warnings flag

* build(webpack): bump packages, dev performance optimisations, attempt to get hot working

* chore(storybook): use webpack 5 for dev and production builds

* build(storybook): speed up dev build

* chore(yarn): refresh lock file

* chore(webpack): bump webpack and related deps to latest

* refactor(webpack): put back inline-source-map, move start scripts out of grafana toolkit

* feat(webpack): prefer react-refresh over react-hot-loader

* build(webpack): update webpack.hot to use react-refresh

* chore: remove react-hot-loader from codebase

* refactor(queryeditorrow): fix circular dependency causing react-fast-refresh errors

* revert(webpack): remove stats.errorDetails from common config

* build(webpack): bump to v5 and successful yarn start compilation

* build(webpack): update postcss dependencies

* build(webpack): silence warnings about hash renamed to fullhash

* build(webpack): enable persistent cache to store generated webpack modules / chunks

* build(webpack): prefer eslintWebpackPlugin over tschecker so eslint doesn't block typechecking

* chore(yarn): run yarn-deduplicate to clean up dependencies

* chore(yarn): refresh lock file after clean install

* build(webpack): prefer output.clean over CleanWebpackPlugin

* build(webpack): prefer esbuild over babel-loader for dev config

* build(babel): turn off cache compression to improve build performance

* build(webpack): get production builds working

* build(webpack): remove phantomJS (removed from grafana in v7) specific loader

* build(webpack): put back babel for dev builds no performance gain in using esbuild in webpack

* build(webpack): prefer terser and optimise css plugins for prod. slower but smaller bundles

* build(webpack): clean up redundant code. inform postcss about node_modules

* build(webpack): remove deprecation warnings flag

* build(webpack): bump packages, dev performance optimisations, attempt to get hot working

* chore(storybook): use webpack 5 for dev and production builds

* build(storybook): speed up dev build

* chore(yarn): refresh lock file

* chore(webpack): bump webpack and related deps to latest

* refactor(webpack): put back inline-source-map, move start scripts out of grafana toolkit

* feat(webpack): prefer react-refresh over react-hot-loader

* build(webpack): update webpack.hot to use react-refresh

* chore: remove react-hot-loader from codebase

* refactor(queryeditorrow): fix circular dependency causing react-fast-refresh errors

* revert(webpack): remove stats.errorDetails from common config

* revert(webpack): remove include from babel-loader so symlinks (enterprise) work as before

* refactor(webpack): fix deprecation warnings in prod builds

* fix(storybook): fix failing builds due to replacing css-optimise webpack plugin

* fix(storybook): use raw-loader for svg icons

* build(webpack): fix dev script colors error

* chore(webpack): bump css-loader and react-refresh-webpack-plugin to latest versions

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-08-31 12:55:05 +02:00
..
build Update Dockerfile (#38744) 2021-08-31 12:53:17 +03:00
cli Theme: Renames theme.palette to theme.colors (#33214) 2021-04-21 15:34:08 +02:00
go Chore: Update to Golang 1.17 (#38608) 2021-08-31 09:19:26 +03:00
helpers Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
verify-repo-update Build: handles verify-repos failures correctly (#28227) 2020-10-13 19:27:03 +02:00
webpack Build: Upgrade Webpack 5 (#36444) 2021-08-31 12:55:05 +02:00
benchmark-access-control.sh Access control: Basic structure and functionality behind feature toggle (#31893) 2021-03-22 13:22:48 +01:00
ci-check-strict.sh Chore: Fix some more typescript strict errors (#37750) 2021-08-11 09:10:41 +01:00
ci-frontend-metrics.sh A11y metrics: fixes frontend script that pushes to CI Stat dashboard (#38435) 2021-08-23 11:36:39 +02:00
ci-job-failed.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
ci-job-started.sh Build: Reports times and outcomes from CircleCI jobs (#20474) 2019-11-20 07:21:07 +01:00
ci-job-succeeded.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
ci-reference-docs-build.sh Build: added steps to generate packages api documentation. (#27930) 2020-10-14 14:35:55 +02:00
ci-reference-docs-lint.sh Chore: Upgrades rxjs to 7.3.0 (#37913) 2021-08-19 06:38:31 +02:00
circle-release-canary-packages.sh Build: move canary packages to github (#29411) 2020-12-03 11:31:14 +01:00
circle-test-backend.sh Chore: Upgrade to Go 1.14 (#23371) 2020-04-08 14:13:05 +02:00
circle-test-cache-servers.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
circle-test-frontend.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
circle-test-mysql.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
circle-test-postgres.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
import_many_dashboards.sh ci-build: spelling (#24386) 2020-05-18 16:41:06 +03:00
job.star Chore: Update channel to where failed Docker nightly builds are posted (#37927) 2021-08-16 14:54:52 +02:00
lib.star Chore: Update to Golang 1.17 (#38608) 2021-08-31 09:19:26 +03:00
main.star Build pipeline: Cleanup PR pipeline steps (#38447) 2021-08-24 17:07:06 +02:00
mixin-check.sh Add monitoring mixing for Grafana (#28285) 2020-10-15 17:05:56 +02:00
pr.star Build pipeline: Cleanup PR pipeline steps (#38447) 2021-08-24 17:07:06 +02:00
protobuf-check.sh Backend plugins: Renderer v2 plugin (#23625) 2020-04-21 16:16:41 +02:00
release.star Build pipeline: Cleanup build-main pipeline steps (#38484) 2021-08-26 10:11:22 +03:00
stripnulls.sh Schema: get all devenv dashboards passing validation (#37857) 2021-08-17 07:11:57 -04:00
tag_release.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
trigger_docker_build.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
trigger_grafana_packer.sh Build: Introduce shellcheck (#18081) 2019-07-23 13:12:33 +03:00
trigger_windows_build.sh Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
validate-devenv-dashboards.sh Scuemata: Add test to validate devenv resources (#35810) 2021-07-15 20:08:03 -04:00
vault.star Drone: Retrieve the machine-user from a Vault secret (#35489) 2021-06-10 12:22:03 +02:00
version.star Chore: Prevent branches beginning with "v*" from being considered as versioned branches (#38016) 2021-08-20 09:22:53 +03:00