Skip to content

Commit

Permalink
chore: fork devtools-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Jun 27, 2024
1 parent 3c0d26e commit 6832ad0
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 1,440 deletions.
20 changes: 0 additions & 20 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion devtools/.gclient
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
solutions = [
{
"name": "devtools-frontend",
"url": "https://chromium.googlesource.com/devtools/devtools-frontend.git@origin/chromium/4752",
"url": "https://github.com/liriliri/devtools-frontend.git@origin/chii",
"deps_file": "DEPS",
"managed": False,
"custom_deps": {},
Expand Down
17 changes: 17 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const eslint = require('@eslint/js');
const tseslint = require('typescript-eslint');
const globals = require('globals');

module.exports = tseslint.config(eslint.configs.recommended, ...tseslint.configs.recommended, {
languageOptions: {
globals: {
...globals.node,
},
},
rules: {
quotes: ['error', 'single'],
'prefer-const': 2,
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
},
});
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint": "npm run lint:server && npm run lint:target",
"lint:server": "eslint \"server/**/*.js\" \"bin/*.js\"",
"lint:target": "eslint \"src/**/*.ts\"",
"init:front_end": "cd devtools && rm -rf devtools-frontend && gclient sync --with_branch_heads --verbose && cd ../ && python3 script/apply_all_patches.py patches/config.json",
"init:front_end": "cd devtools && rm -rf devtools-frontend && gclient sync --with_branch_heads --verbose",
"es5": "es-check es5 public/target.js test/demo.js"
},
"repository": {
Expand All @@ -40,22 +40,23 @@
},
"homepage": "https://github.com/liriliri/chii#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"babel-eslint": "^10.1.0",
"@eslint/js": "^9.5.0",
"@types/eslint__js": "^8.42.3",
"chobitsu": "^1.4.6",
"css-loader": "^6.7.2",
"es-check": "^6.2.1",
"eslint": "^8.22.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.5.0",
"globals": "^15.6.0",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"luna-data-grid": "^0.4.0",
"ncp": "^2.0.0",
"style-loader": "^3.3.1",
"terser": "^5.10.0",
"ts-loader": "^9.3.1",
"typescript": "^5.2.2",
"typescript": "^5.5.2",
"typescript-eslint": "^7.14.1",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"xml2js": "^0.4.23"
Expand Down
1 change: 0 additions & 1 deletion patches/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions patches/config.json

This file was deleted.

7 changes: 0 additions & 7 deletions patches/devtools-frontend/.patches

This file was deleted.

130 changes: 0 additions & 130 deletions patches/devtools-frontend/application.patch

This file was deleted.

Loading

0 comments on commit 6832ad0

Please sign in to comment.