fix: remove typescript from peer dependencies (#10593)

Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
Paul Draper 2023-07-21 01:03:55 -06:00 committed by GitHub
parent 0603f71f77
commit c60572a1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 24 deletions

View File

@ -59,6 +59,8 @@ include `$HOME/.cache` into the project's deployment.
For a version of Puppeteer without the browser installation, see For a version of Puppeteer without the browser installation, see
[`puppeteer-core`](#puppeteer-core). [`puppeteer-core`](#puppeteer-core).
If used with TypeScript, the minimum supported TypeScript version is `4.7.4`.
#### Configuration #### Configuration
Puppeteer uses several defaults that can be customized through configuration Puppeteer uses several defaults that can be customized through configuration

View File

@ -59,6 +59,8 @@ include `$HOME/.cache` into the project's deployment.
For a version of Puppeteer without the browser installation, see For a version of Puppeteer without the browser installation, see
[`puppeteer-core`](#puppeteer-core). [`puppeteer-core`](#puppeteer-core).
If used with TypeScript, the minimum supported TypeScript version is `4.7.4`.
#### Configuration #### Configuration
Puppeteer uses several defaults that can be customized through configuration Puppeteer uses several defaults that can be customized through configuration

8
package-lock.json generated
View File

@ -10474,14 +10474,6 @@
}, },
"engines": { "engines": {
"node": ">=16.3.0" "node": ">=16.3.0"
},
"peerDependencies": {
"typescript": ">= 4.7.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
} }
}, },
"packages/testserver": { "packages/testserver": {

View File

@ -109,13 +109,5 @@
"devDependencies": { "devDependencies": {
"@types/node": "^16.11.7", "@types/node": "^16.11.7",
"@types/yargs": "17.0.22" "@types/yargs": "17.0.22"
},
"peerDependencies": {
"typescript": ">= 4.7.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
} }
} }

View File

@ -151,14 +151,6 @@
"ws": "8.13.0", "ws": "8.13.0",
"@puppeteer/browsers": "1.4.6" "@puppeteer/browsers": "1.4.6"
}, },
"peerDependencies": {
"typescript": ">= 4.7.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": { "devDependencies": {
"mitt": "3.0.0", "mitt": "3.0.0",
"parsel-js": "1.1.0" "parsel-js": "1.1.0"