File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 77import { rm } from 'node:fs/promises' ;
88import { resolve } from 'node:path' ;
99
10- import { sed } from './sed.ts' ;
11-
1210const projectRoot = process . cwd ( ) ;
1311
1412const filesToRemove = [
1513 'node_modules/chrome-devtools-frontend/package.json' ,
1614 'node_modules/chrome-devtools-frontend/front_end/models/trace/lantern/testing' ,
1715 'node_modules/chrome-devtools-frontend/front_end/third_party/intl-messageformat/package/package.json' ,
18- 'node_modules/chrome-devtools-frontend/front_end/third_party/codemirror.next/codemirror.next.js' ,
1916] ;
2017
2118async function main ( ) {
@@ -30,28 +27,6 @@ async function main() {
3027 process . exit ( 1 ) ;
3128 }
3229 }
33- // TODO: remove once https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7072054 is available.
34- sed (
35- 'node_modules/chrome-devtools-frontend/front_end/core/sdk/NetworkManager.ts' ,
36- `declare global {
37- // TS typedefs are not up to date
38- interface URLPattern {
39- hash: string;
40- hostname: string;
41- password: string;
42- pathname: string;
43- port: string;
44- protocol: string;
45- search: string;
46- username: string;
47- hasRegExpGroups: boolean;
48- test(url: string): boolean;
49- }
50- /* eslint-disable-next-line @typescript-eslint/naming-convention */
51- var URLPattern: {prototype: URLPattern, new (input: string): URLPattern};
52- }` ,
53- '' ,
54- ) ;
5530 console . log ( 'Clean up of chrome-devtools-frontend complete.' ) ;
5631}
5732
You can’t perform that action at this time.
0 commit comments