We run the best static check we can on generated code, ensuring that it is valid. * Run type checker against all languages (not docs) * Fix package location, add some deps for schemas * More tests passing * These tests finally work * Make linter happy * Fix tests for merge from master * Opt out of input-collision(nodejs) test * Get more visibility into testing nodejs * Fix type assumption * Specify ts-node version * Retrofit typescript dependencies for node14 * Give each go instance it's own module * Attempt to diagnose remote go mod init failure * Provide root for go mod init * Make linter happy
138 lines
2.9 KiB
JSON
138 lines
2.9 KiB
JSON
{
|
|
"version": "0.0.1",
|
|
"name": "example",
|
|
"types": {
|
|
"example::Object": {
|
|
"properties": {
|
|
"foo": {
|
|
"$ref": "#/resources/example::Resource"
|
|
},
|
|
"bar": {
|
|
"type": "string"
|
|
},
|
|
"others": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"$ref": "#/types/example::SomeOtherObject"
|
|
}
|
|
},
|
|
"description": "List of lists of other objects"
|
|
},
|
|
"configs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"$ref": "#/types/example::ConfigMap"
|
|
}
|
|
},
|
|
"stillOthers": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"$ref": "#/types/example::SomeOtherObject"
|
|
}
|
|
},
|
|
"description": "Mapping from string to list of some other object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"example::OtherResourceOutput": {
|
|
"properties": {
|
|
"foo": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"example::SomeOtherObject": {
|
|
"properties": {
|
|
"baz": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"example::ConfigMap": {
|
|
"properties": {
|
|
"config": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"resources": {
|
|
"example::Resource": {
|
|
"properties": {
|
|
"bar": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"inputProperties": {
|
|
"bar": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"example::OtherResource": {
|
|
"isComponent": true,
|
|
"properties": {
|
|
"foo": {
|
|
"$ref": "#/resources/example::Resource"
|
|
}
|
|
},
|
|
"inputProperties": {
|
|
"foo": {
|
|
"$ref": "#/resources/example::Resource"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"functions": {
|
|
"example::argFunction": {
|
|
"inputs": {
|
|
"properties": {
|
|
"arg1": {
|
|
"$ref": "#/resources/example::Resource"
|
|
}
|
|
}
|
|
},
|
|
"outputs": {
|
|
"properties": {
|
|
"result": {
|
|
"$ref": "#/resources/example::Resource"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"language": {
|
|
"csharp": {
|
|
"packageReferences": {
|
|
"Pulumi": "3.12"
|
|
}
|
|
},
|
|
"go": {
|
|
"importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/internal/test/testdata/simple-resource-schema/go/example"
|
|
},
|
|
"nodejs": {
|
|
"dependencies": {
|
|
"@pulumi/pulumi": "^3.12"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^3.7.0"
|
|
}
|
|
},
|
|
"python": {
|
|
"packageName": "custom_py_package"
|
|
}
|
|
}
|
|
}
|