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
155 lines
3 KiB
JSON
155 lines
3 KiB
JSON
{
|
|
"version": "0.0.1",
|
|
"name": "example",
|
|
"types": {
|
|
"example::Foo": {
|
|
"properties": {
|
|
"a": {
|
|
"type": "boolean",
|
|
"plain": true
|
|
},
|
|
"b": {
|
|
"type": "boolean",
|
|
"plain": true
|
|
},
|
|
"c": {
|
|
"type": "integer",
|
|
"plain": true
|
|
},
|
|
"d": {
|
|
"type": "integer",
|
|
"plain": true
|
|
},
|
|
"e": {
|
|
"type": "string",
|
|
"plain": true
|
|
},
|
|
"f": {
|
|
"type": "string",
|
|
"plain": true
|
|
}
|
|
},
|
|
"required": ["a", "c", "e"],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"resources": {
|
|
"example::Component": {
|
|
"isComponent": true,
|
|
"properties": {
|
|
"a": {
|
|
"type": "boolean"
|
|
},
|
|
"b": {
|
|
"type": "boolean"
|
|
},
|
|
"c": {
|
|
"type": "integer"
|
|
},
|
|
"d": {
|
|
"type": "integer"
|
|
},
|
|
"e": {
|
|
"type": "string"
|
|
},
|
|
"f": {
|
|
"type": "string"
|
|
},
|
|
"foo": {
|
|
"$ref": "#/types/example::Foo"
|
|
},
|
|
"bar": {
|
|
"$ref": "#/types/example::Foo"
|
|
},
|
|
"baz": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/types/example::Foo"
|
|
}
|
|
}
|
|
},
|
|
"required": ["a", "c", "e"],
|
|
"inputProperties": {
|
|
"a": {
|
|
"type": "boolean",
|
|
"plain": true
|
|
},
|
|
"b": {
|
|
"type": "boolean",
|
|
"plain": true
|
|
},
|
|
"c": {
|
|
"type": "integer",
|
|
"plain": true
|
|
},
|
|
"d": {
|
|
"type": "integer",
|
|
"plain": true
|
|
},
|
|
"e": {
|
|
"type": "string",
|
|
"plain": true
|
|
},
|
|
"f": {
|
|
"type": "string",
|
|
"plain": true
|
|
},
|
|
"foo": {
|
|
"$ref": "#/types/example::Foo"
|
|
},
|
|
"bar": {
|
|
"$ref": "#/types/example::Foo",
|
|
"plain": true
|
|
},
|
|
"baz": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/types/example::Foo"
|
|
},
|
|
"plain": true
|
|
},
|
|
"bazMap": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/types/example::Foo"
|
|
},
|
|
"plain": true
|
|
}
|
|
},
|
|
"requiredInputs": ["a", "c", "e"],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"functions": {
|
|
"example::doFoo": {
|
|
"inputs": {
|
|
"properties": {
|
|
"foo": {
|
|
"$ref": "#/types/example::Foo"
|
|
}
|
|
},
|
|
"required": ["foo"],
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"language": {
|
|
"csharp": {
|
|
"packageReferences": {
|
|
"Pulumi": "3.12"
|
|
}
|
|
},
|
|
"go": {
|
|
"importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/internal/test/testdata/simple-plain-schema/go/example"
|
|
},
|
|
"nodejs": {
|
|
"dependencies": {
|
|
"@pulumi/pulumi": "^3.12"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^3.7.0"
|
|
}
|
|
},
|
|
"python": {}
|
|
}
|
|
}
|