Update dependencies:

* update @tsconfig/nodes12 to @tsconfig/node16
* Peertube >= 5.2.0 required
This commit is contained in:
John Livingston 2024-09-11 11:29:28 +02:00
parent 1d0a7a97d2
commit 33be9b3fc5
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
5 changed files with 18 additions and 23 deletions

View File

@ -13,9 +13,6 @@ updates:
- dependency-name: typescript
versions:
- ">=5.6.0" # linting libs are not ready for 5.6
- dependency-name: "@tsconfig/node12"
versions:
- ">=2.0.0" # breaks the config, must see why before updating
- dependency-name: "@types/nodes"
versions:
- ">=17.0.0" # must be set to the Peertube required version.

View File

@ -5,6 +5,11 @@
TODO Before releasing:
* update ConverseJS with latest merges.
### Importante Notes
This version requires Peertube 5.2.0 or superior.
It also requires NodeJS 16 or superior (same as Peertube 5.2.0.)
### New features
* #131: Emoji only mode.

18
package-lock.json generated
View File

@ -28,7 +28,7 @@
"@peertube/feed": "^5.1.3",
"@peertube/peertube-types": "^5.2.0",
"@stylistic/eslint-plugin": "^2.8.0",
"@tsconfig/node12": "^1.0.11",
"@tsconfig/node16": "^16.1.3",
"@types/async": "^3.2.24",
"@types/escape-html": "^1.0.4",
"@types/eslint__js": "^8.42.3",
@ -3698,10 +3698,10 @@
"node": ">=10.13.0"
}
},
"node_modules/@tsconfig/node12": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz",
"integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==",
"node_modules/@tsconfig/node16": {
"version": "16.1.3",
"resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.3.tgz",
"integrity": "sha512-9nTOUBn+EMKO6rtSZJk+DcqsfgtlERGT9XPJ5PRj/HNENPCBY1yu/JEj5wT6GLtbCLBO2k46SeXDaY0pjMqypw==",
"dev": true
},
"node_modules/@types/async": {
@ -15599,10 +15599,10 @@
"integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==",
"dev": true
},
"@tsconfig/node12": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz",
"integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==",
"@tsconfig/node16": {
"version": "16.1.3",
"resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.3.tgz",
"integrity": "sha512-9nTOUBn+EMKO6rtSZJk+DcqsfgtlERGT9XPJ5PRj/HNENPCBY1yu/JEj5wT6GLtbCLBO2k46SeXDaY0pjMqypw==",
"dev": true
},
"@types/async": {

View File

@ -45,7 +45,7 @@
"@peertube/feed": "^5.1.3",
"@peertube/peertube-types": "^5.2.0",
"@stylistic/eslint-plugin": "^2.8.0",
"@tsconfig/node12": "^1.0.11",
"@tsconfig/node16": "^16.1.3",
"@types/async": "^3.2.24",
"@types/escape-html": "^1.0.4",
"@types/eslint__js": "^8.42.3",
@ -76,7 +76,7 @@
"yaml": "^2.5.1"
},
"engine": {
"peertube": ">=4.2.0"
"peertube": ">=5.2.0"
},
"engines": {
"npm": ">=7"

View File

@ -1,16 +1,9 @@
{
"extends": "@tsconfig/node12/tsconfig.json",
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"moduleResolution": "node", // Tell tsc to look in node_modules for modules
"strict": true, // That implies alwaysStrict, noImplicitAny, noImplicitThis
"alwaysStrict": true, // should already be true because of strict:true
"noImplicitAny": true, // should already be true because of strict:true
"noImplicitThis": true, // should already be true because of strict:true
"noImplicitReturns": true,
"noImplicitOverride": true,
"strictBindCallApply": true, // should already be true because of strict:true
"noUnusedLocals": false, // works better as a linter error/warning
"noUnusedLocals": true,
"removeComments": true,
"sourceMap": true,