Update dependency rollup to v3 (#58252)

* Update dependency rollup to v3

* build(rollup): update all rollup related deps to latest version

* chore(runtime): update peerDeps to match other package semver ranges

* chore(yarn): refresh lock file

* refactor(packages): migrate to esm for rollup@3 configs

* build(packages): remove unused rollup dependencies

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
This commit is contained in:
renovate[bot]
2023-02-22 14:10:07 +01:00
committed by GitHub
parent 06dfe2156f
commit a97e9a1e17
17 changed files with 127 additions and 214 deletions

View File

@@ -31,23 +31,22 @@
"LICENSE_APACHE2"
],
"scripts": {
"build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts",
"bundle": "rollup -c rollup.config.ts",
"build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.mjs",
"bundle": "rollup -c rollup.config.mjs",
"clean": "rimraf ./dist ./compiled ./package.tgz",
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
"prepack": "cp package.json package.json.bak && node ../../scripts/prepare-packagejson.js",
"postpack": "mv package.json.bak package.json"
},
"devDependencies": {
"@rollup/plugin-commonjs": "23.0.2",
"@rollup/plugin-node-resolve": "15.0.1",
"@types/node": "18.14.0",
"esbuild": "0.16.17",
"rimraf": "3.0.2",
"rollup": "2.79.1",
"rollup": "3.3.0",
"rollup-plugin-dts": "^5.0.0",
"rollup-plugin-esbuild": "5.0.0",
"rollup-plugin-node-externals": "^5.0.0"
"rollup-plugin-node-externals": "^5.0.2"
},
"dependencies": {
"@grafana/tsconfig": "^1.2.0-rc1",