This change lets us set runtime specific options in Pulumi.yaml, which will flow as arguments to the language hosts. We then teach the nodejs host that when the `typescript` is set to `true` that it should load ts-node before calling into user code. This allows using typescript natively without an explicit compile step outside of Pulumi. This works even when a tsconfig.json file is not present in the application and should provide a nicer inner loop for folks writing typescript (I'm pretty sure everyone has run into the "but I fixed that bug! Why isn't it getting picked up? Oh, I forgot to run tsc" problem. Fixes #958
29 lines
868 B
JSON
29 lines
868 B
JSON
{
|
|
"name": "@pulumi/pulumi",
|
|
"version": "${VERSION}",
|
|
"description": "Pulumi's Node.js SDK",
|
|
"license": "Apache-2.0",
|
|
"repository": "https://github.com/pulumi/pulumi/sdk/nodejs",
|
|
"dependencies": {
|
|
"google-protobuf": "^3.5.0",
|
|
"grpc": "^1.12.2",
|
|
"minimist": "^1.2.0",
|
|
"protobufjs": "^6.8.6",
|
|
"require-from-string": "^2.0.1",
|
|
"source-map-support": "^0.4.16",
|
|
"ts-node": "^7.0.0",
|
|
"typescript": "^3.0.0",
|
|
"read-package-tree": "^5.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/minimist": "^1.2.0",
|
|
"@types/mocha": "^2.2.42",
|
|
"@types/node": "^8.0.25",
|
|
"@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.7.0"
|
|
}
|
|
}
|