Skip to content

Commit

Permalink
feat: require node 12.20 for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jun 1, 2021
1 parent 9625da2 commit 776e0d5
Show file tree
Hide file tree
Showing 9 changed files with 553 additions and 483 deletions.
2 changes: 1 addition & 1 deletion packages/blueprints-integration/package.json
Expand Up @@ -30,7 +30,7 @@
"precommit": "lint-staged"
},
"engines": {
"node": ">=10.10"
"node": ">=12.20"
},
"files": [
"/dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/mos-gateway/package.json
Expand Up @@ -59,7 +59,7 @@
"validate:dependencies": "Scan dependencies for vulnerabilities and check licenses"
},
"engines": {
"node": ">=12"
"node": ">=12.20"
},
"keywords": [
"mos",
Expand Down
16 changes: 8 additions & 8 deletions packages/package.json
Expand Up @@ -20,19 +20,19 @@
"set-version": "lerna version --no-changelog --no-git-tag-version --no-push --yes",
"validate:dependencies": "yarn audit --groups dependencies && yarn license-validate",
"validate:dev-dependencies": "yarn audit --groups devDependencies",
"license-validate": "yarn sofie-licensecheck --allowPackages \"cycle@1.0.3;caniuse-lite@1.0.30001214;mos-gateway@1.35.0-in-development;playout-gateway@1.35.0-in-development\"",
"license-validate": "yarn sofie-licensecheck --allowPackages \"cycle@1.0.3;caniuse-lite@1.0.30001232;mos-gateway@1.35.0-in-development;playout-gateway@1.35.0-in-development\"",
"lint": "lerna run --concurrency 4 --stream lint",
"test": "lerna run --concurrency 2 --stream test"
},
"devDependencies": {
"@sofie-automation/code-standard-preset": "^0.2.5",
"@sofie-automation/code-standard-preset": "^0.4.1",
"@strictsoftware/typedoc-plugin-monorepo": "^0.4.2",
"@types/ejson": "^2.1.2",
"@types/got": "^9.6.11",
"@types/jest": "^26.0.19",
"@types/node": "^12.20.4",
"@types/underscore": "^1.10.24",
"codecov": "^3.8.1",
"@types/jest": "^26.0.23",
"@types/node": "^12.20.13",
"@types/underscore": "^1.11.2",
"codecov": "^3.8.2",
"copyfiles": "^2.4.1",
"jest": "^26.6.3",
"jest-haste-map": "^26.6.2",
Expand All @@ -42,11 +42,11 @@
"npm-scripts-info": "^0.3.9",
"open-cli": "^6.0.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.2",
"ts-jest": "^26.5.6",
"tslint": "^6.1.3",
"tslint-config-standard": "^9.0.0",
"typedoc": "^0.20.33",
"typescript": "~4.0"
"typescript": "~4.2"
},
"name": "packages",
"husky": {
Expand Down
2 changes: 1 addition & 1 deletion packages/playout-gateway/package.json
Expand Up @@ -50,7 +50,7 @@
"cov": "Run tests, generate the HTML coverage report, and open it in a browser"
},
"engines": {
"node": ">=12"
"node": ">=12.20"
},
"keywords": [
"broadcast",
Expand Down
4 changes: 2 additions & 2 deletions packages/server-core-integration/package.json
Expand Up @@ -65,7 +65,7 @@
"precommit": "lint-staged"
},
"engines": {
"node": ">=10.10"
"node": ">=12.20"
},
"files": [
"/dist",
Expand All @@ -89,7 +89,7 @@
"dependencies": {
"data-store": "3.1.0",
"ejson": "^2.2.0",
"faye-websocket": "^0.11.3",
"faye-websocket": "^0.11.4",
"got": "^11.8.2",
"tslib": "^2.0.3",
"underscore": "^1.12.1"
Expand Down
Expand Up @@ -17,7 +17,7 @@ describe('watchDog', () => {
// Core replies with message
// we receive the message and send that back into watchDog:

return new Promise((resolver, reject) => {
return new Promise<void>((resolver, reject) => {
if (coreIsHappy) resolver()
else if (coreReplies) reject()
})
Expand Down
2 changes: 1 addition & 1 deletion packages/server-core-integration/src/lib/coreConnection.ts
Expand Up @@ -451,7 +451,7 @@ export class CoreConnection extends EventEmitter {
this.callMethod(PeripheralDeviceAPI.methods.pingWithCommand, [message])
.catch(e => this._emitError('watchdogPing' + e))

return new Promise((resolve, reject) => {
return new Promise<void>((resolve, reject) => {
let i = 0
let checkPingReply = () => {
if (this._watchDogPingResponse === message) {
Expand Down
2 changes: 1 addition & 1 deletion packages/server-core-integration/src/lib/ddpConnector.ts
Expand Up @@ -74,7 +74,7 @@ export class DDPConnector extends EventEmitter {
Promise.resolve()
).then(() => {

return new Promise((resolve, reject) => {
return new Promise<void>((resolve, reject) => {

if (this.ddpClient && !this._connecting) {

Expand Down

0 comments on commit 776e0d5

Please sign in to comment.