pulumi/sdk/nodejs/package.json
Luke Hoban d9a18f0aa8
Revert back to ts-node ^7.0.0 (#4007)
We upgraded to `ts-node@^8.0.0`  2.5 months ago as part of https://github.com/pulumi/pulumi/pull/3627, though it seems it wasn't really necessary to make that update for the purposes of the PR - updating the default TypeScript version.

The `8.0.0` series of `ts-node` unfortunately dropped all of it's caching support, due to what appear to be some corner-case correctness issues with the cache.  We have not seen reports of those issues for Pulumi, and have much more experience with the `7.0.0` series overall (2 years vs. 2 months).  The performance difference between `7.0.0` and `8.0.0` of ts-node for Pulumi is massive - it adds 4-4.5s to each of `pulumi preview` and `pulumi up` even on a trivial program.

As a result, for now we will revert back to `ts-node@^7.0.0`.  In the future, we may want to look into our own caching layer or alternative to `ts-node` to ensure we get the behaviour and performance we expect.

Part of #3671.
2020-03-02 08:33:01 -08:00

47 lines
1.3 KiB
JSON

{
"name": "@pulumi/pulumi",
"version": "${VERSION}",
"description": "Pulumi's Node.js SDK",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/pulumi/pulumi.git",
"directory": "sdk/nodejs"
},
"dependencies": {
"@pulumi/query": "^0.3.0",
"deasync": "^0.1.15",
"google-protobuf": "^3.5.0",
"grpc": "1.24.2",
"minimist": "^1.2.0",
"normalize-package-data": "^2.4.0",
"protobufjs": "^6.8.6",
"read-package-tree": "^5.3.1",
"require-from-string": "^2.0.1",
"semver": "^6.1.0",
"source-map-support": "^0.4.16",
"ts-node": "^7.0.1",
"typescript": "~3.7.3",
"upath": "^1.1.0"
},
"devDependencies": {
"@types/deasync": "^0.1.0",
"@types/minimist": "^1.2.0",
"@types/mocha": "^2.2.42",
"@types/node": "^12.0.0",
"@types/normalize-package-data": "^2.4.0",
"@types/read-package-tree": "^5.2.0",
"@types/semver": "^5.5.0",
"istanbul": "^0.4.5",
"mocha": "^3.5.0",
"node-gyp": "^3.6.2",
"tslint": "^5.11.0"
},
"pulumi": {
"comment": "Do not remove. Marks this as as a deployment-time-only package"
},
"engines": {
"node": ">=8.0.0"
}
}