diff --git a/build.sbt b/build.sbt index c4b03bd..95a34f6 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,7 @@ import sbtversionpolicy.withsbtrelease.ReleaseVersion val contentEntityVersion = "3.0.3" val scroogeVersion = "22.1.0" // remember to also update plugins.sbt if the scrooge version changes -val thriftVersion = "0.15.0" // remember to also update package.json if the thrift version changes +val thriftVersion = "0.20.0" // remember to also update package.json if the thrift version changes val artifactProductionSettings = Seq( organization := "com.gu", diff --git a/package-lock.json b/package-lock.json index f81ab6e..6e22b91 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,9 @@ "license": "Apache-2.0", "dependencies": { "thrift": "^0.20.0" + }, + "devDependencies": { + "typescript": "^4.5.4" } }, "node_modules/async-limiter": { @@ -60,6 +63,19 @@ "node": ">= 10.18.0" } }, + "node_modules/typescript": { + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/ws": { "version": "5.2.4", "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.4.tgz", diff --git a/package.json b/package.json index 9897b51..cb28273 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,9 @@ "dependencies": { "thrift": "^0.20.0" }, + "devDependencies": { + "typescript": "^4.5.4" + }, "license": "Apache-2.0", "files": [ "js/main.js",