File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import path from "path";
44import cp from "child_process" ;
55import degit from "degit" ;
66import Benchmark from "benchmark" ;
7- import { repository } from "../../package.json" ;
87
98// eslint-disable-next-line @typescript-eslint/no-var-requires
109const API = require ( "../../dist" ) as typeof import ( ".." ) ;
@@ -19,7 +18,9 @@ const COMPARE = process.env.COMPARE;
1918 const tempDir = await fs . promises . mkdtemp (
2019 path . join ( os . tmpdir ( ) , "htmljs-parser-bench" )
2120 ) ;
22- await degit ( `${ repository . url } #${ COMPARE } ` ) . clone ( tempDir ) ;
21+ await degit (
22+ `https://github.com/marko-js/htmljs-parser.git#${ COMPARE } `
23+ ) . clone ( tempDir ) ;
2324 await new Promise < void > ( ( resolve , reject ) => {
2425 cp . exec ( "npm ci && npm run --if-present build" , { cwd : tempDir } , ( err ) =>
2526 err ? reject ( err ) : resolve ( )
Original file line number Diff line number Diff line change 11{
22 "include" : [" src/**/*" ],
33 "compilerOptions" : {
4+ "rootDir" : " src" ,
45 "lib" : [" ESNext" ],
56 "strict" : true ,
67 "outDir" : " dist" ,
You can’t perform that action at this time.
0 commit comments