mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 21:24:26 +08:00
Since we have the major version jump, we needed to update quite
a few things to make this work:
1. rollup4 ships with native binaries. We can't check them into
our node_modules for all platforms. Luckily they also ship a
a wasm version. This requires us to adjust the 'binary' path
to `node_modules/@rollup/wasm-node/dist/bin/rollup` instead.
2. rollup4 is more strict when it comes to ES modules vs
CommonJS. We adjust this by renaming the rollup config files.
3. Some plugins got deprecated so we had to replace them with
the newer versions (source maps and terser).
Bug: None
Change-Id: If13d590c8185db6ad85b3992d0a869111909dc8c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5999255
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
164 lines
4.5 KiB
JSON
164 lines
4.5 KiB
JSON
{
|
|
"name": "@rollup/wasm-node",
|
|
"version": "4.24.3",
|
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
"main": "dist/rollup.js",
|
|
"module": "dist/es/rollup.js",
|
|
"types": "dist/rollup.d.ts",
|
|
"bin": {
|
|
"rollup": "dist/bin/rollup"
|
|
},
|
|
"repository": "rollup/rollup",
|
|
"keywords": [
|
|
"modules",
|
|
"bundler",
|
|
"bundling",
|
|
"es6",
|
|
"optimizer"
|
|
],
|
|
"author": "Rich Harris",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/rollup/rollup/issues"
|
|
},
|
|
"homepage": "https://rollupjs.org/",
|
|
"optionalDependencies": {
|
|
"fsevents": "~2.3.2"
|
|
},
|
|
"dependencies": {
|
|
"@types/estree": "1.0.6"
|
|
},
|
|
"devDependenciesComments": {
|
|
"core-js": "We only update manually as every update requires a snapshot update"
|
|
},
|
|
"devDependencies": {
|
|
"@codemirror/commands": "^6.7.1",
|
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
"@codemirror/language": "^6.10.3",
|
|
"@codemirror/search": "^6.5.6",
|
|
"@codemirror/state": "^6.4.1",
|
|
"@codemirror/view": "^6.34.1",
|
|
"@eslint/js": "^9.13.0",
|
|
"@inquirer/prompts": "^7.0.0",
|
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
"@mermaid-js/mermaid-cli": "^11.2.1",
|
|
"@napi-rs/cli": "^2.18.4",
|
|
"@rollup/plugin-alias": "^5.1.1",
|
|
"@rollup/plugin-buble": "^1.0.3",
|
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
"@rollup/plugin-replace": "^6.0.1",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
"@rollup/pluginutils": "^5.1.2",
|
|
"@shikijs/vitepress-twoslash": "^1.22.0",
|
|
"@types/mocha": "^10.0.9",
|
|
"@types/node": "^18.19.58",
|
|
"@types/semver": "^7.5.8",
|
|
"@types/yargs-parser": "^21.0.3",
|
|
"@vue/language-server": "^2.1.6",
|
|
"acorn": "^8.13.0",
|
|
"acorn-import-assertions": "^1.9.0",
|
|
"acorn-jsx": "^5.3.2",
|
|
"buble": "^0.20.0",
|
|
"builtin-modules": "^4.0.0",
|
|
"chokidar": "^3.6.0",
|
|
"colorette": "^2.0.20",
|
|
"concurrently": "^9.0.1",
|
|
"core-js": "3.38.1",
|
|
"cross-env": "^7.0.3",
|
|
"date-time": "^4.0.0",
|
|
"es5-shim": "^4.6.7",
|
|
"es6-shim": "^0.35.8",
|
|
"eslint": "^9.13.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
"eslint-plugin-vue": "^9.29.1",
|
|
"fixturify": "^3.0.0",
|
|
"flru": "^1.0.2",
|
|
"fs-extra": "^11.2.0",
|
|
"github-api": "^3.4.0",
|
|
"globals": "^15.11.0",
|
|
"husky": "^9.1.6",
|
|
"is-reference": "^3.0.2",
|
|
"lint-staged": "^15.2.10",
|
|
"locate-character": "^3.0.0",
|
|
"magic-string": "^0.30.12",
|
|
"mocha": "^10.7.3",
|
|
"nodemon": "^3.1.7",
|
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
"nyc": "^17.1.0",
|
|
"pinia": "^2.2.4",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
"pretty-bytes": "^6.1.1",
|
|
"pretty-ms": "^9.1.0",
|
|
"requirejs": "^2.3.7",
|
|
"rollup": "^4.24.0",
|
|
"rollup-plugin-license": "^3.5.3",
|
|
"rollup-plugin-string": "^3.0.0",
|
|
"semver": "^7.6.3",
|
|
"shx": "^0.3.4",
|
|
"signal-exit": "^4.1.0",
|
|
"source-map": "^0.7.4",
|
|
"source-map-support": "^0.5.21",
|
|
"systemjs": "^6.15.1",
|
|
"terser": "^5.36.0",
|
|
"tslib": "^2.8.0",
|
|
"typescript": "^5.6.3",
|
|
"typescript-eslint": "^8.11.0",
|
|
"vite": "^5.4.9",
|
|
"vitepress": "^1.4.1",
|
|
"vue": "^3.5.12",
|
|
"vue-tsc": "^2.1.6",
|
|
"wasm-pack": "^0.13.0",
|
|
"yargs-parser": "^21.1.1"
|
|
},
|
|
"overrides": {
|
|
"axios": "^1.7.7",
|
|
"semver": "^7.6.3",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"comments": {
|
|
"vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges",
|
|
"ws": "mermaid requires an older 8.13.0 version via puppeteer with vulnerabilities"
|
|
},
|
|
"files": [
|
|
"dist/wasm-node/*.wasm",
|
|
"dist/*.node",
|
|
"dist/**/*.js",
|
|
"dist/*.d.ts",
|
|
"dist/bin/rollup",
|
|
"dist/es/package.json"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=8.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/rollup.d.ts",
|
|
"require": "./dist/rollup.js",
|
|
"import": "./dist/es/rollup.js"
|
|
},
|
|
"./loadConfigFile": {
|
|
"types": "./dist/loadConfigFile.d.ts",
|
|
"require": "./dist/loadConfigFile.js",
|
|
"default": "./dist/loadConfigFile.js"
|
|
},
|
|
"./getLogFilter": {
|
|
"types": "./dist/getLogFilter.d.ts",
|
|
"require": "./dist/getLogFilter.js",
|
|
"import": "./dist/es/getLogFilter.js"
|
|
},
|
|
"./parseAst": {
|
|
"types": "./dist/parseAst.d.ts",
|
|
"require": "./dist/parseAst.js",
|
|
"import": "./dist/es/parseAst.js"
|
|
},
|
|
"./dist/*": "./dist/*"
|
|
}
|
|
}
|