forked from rrweb-io/rrweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rrvideo: improve the video quality and add a progress bar for the CLI…
… tool (rrweb-io#1197) * refactor rrvideo: use playwright rather than puppeteer * add a progress bar for the tool * add tests for cli.ts * fix build error * add change log * update readme file * Apply a scaling method to improve the resolution of the output video
- Loading branch information
1 parent
8d0cfda
commit f45df8c
Showing
16 changed files
with
414 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'rrvideo': patch | ||
--- | ||
|
||
Refactor: Improve the video quality and add a progress bar for the CLI tool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// eslint-disable-next-line tsdoc/syntax | ||
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,18 +11,28 @@ | |
], | ||
"types": "build/index.d.ts", | ||
"scripts": { | ||
"install": "playwright install", | ||
"build": "tsc", | ||
"test": "jest", | ||
"check-types": "tsc -noEmit", | ||
"prepublish": "yarn build" | ||
}, | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/fs-extra": "11.0.1", | ||
"@types/jest": "^27.4.1", | ||
"@types/minimist": "^1.2.1", | ||
"@types/node": "^18.15.11", | ||
"jest": "^27.5.1", | ||
"ts-jest": "^27.1.3", | ||
"@rrweb/types": "^2.0.0-alpha.8" | ||
}, | ||
"dependencies": { | ||
"@open-tech-world/cli-progress-bar": "^2.0.2", | ||
"fs-extra": "^11.1.1", | ||
"minimist": "^1.2.5", | ||
"puppeteer": "^19.7.2", | ||
"playwright": "^1.32.1", | ||
"rrweb-player": "^2.0.0-alpha.8" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.