mirror of
https://github.com/astral-sh/ruff
synced 2026-01-16 02:50:37 -05:00
## Summary Revert the v4 update for now until the codebase is updated (https://github.com/astral-sh/ruff/pull/16069). Update renovate config to disable updating it. ## Test Plan ```console $ npx --yes --package renovate -- renovate-config-validator (node:98977) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) INFO: Validating .github/renovate.json5 INFO: Config validated successfully ``` And run `npm run build` in the `playground/` directory.
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "playground",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build:wasm": "wasm-pack build ../crates/ruff_wasm --target web --out-dir ../../playground/src/pkg",
|
|
"build": "tsc && vite build",
|
|
"check": "npm run lint && npm run tsc",
|
|
"dev": "vite",
|
|
"dev:wasm": "wasm-pack build ../crates/ruff_wasm --dev --target web --out-dir ../../playground/src/pkg",
|
|
"fmt": "prettier --cache -w .",
|
|
"lint": "eslint --cache --ext .ts,.tsx src",
|
|
"preview": "vite preview",
|
|
"tsc": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/react": "^4.4.6",
|
|
"classnames": "^2.3.2",
|
|
"lz-string": "^1.5.0",
|
|
"monaco-editor": "^0.52.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-resizable-panels": "^2.0.0",
|
|
"smol-toml": "^1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
"@typescript-eslint/parser": "^8.0.0",
|
|
"@vitejs/plugin-react-swc": "^3.0.0",
|
|
"autoprefixer": "^10.4.13",
|
|
"eslint": "^8.30.0",
|
|
"eslint-config-prettier": "^10.0.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-react": "^7.31.11",
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
"postcss": "^8.4.20",
|
|
"prettier": "^3.0.0",
|
|
"tailwindcss": "^3.2.4",
|
|
"typescript": "^5.1.6",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"overrides": {
|
|
"@monaco-editor/react": {
|
|
"react": "$react",
|
|
"react-dom": "$react-dom"
|
|
}
|
|
}
|
|
}
|