pulumi/pkg/codegen/internal/test/testdata/plain-schema-gh6957/schema.json
Ian Wahbe 67303e1b99
Run type checker against all languages (#7931)
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
2021-09-15 09:49:36 -07:00

67 lines
1.4 KiB
JSON

{
"name": "xyz",
"types": {
"example:index:Foo": {
"properties": {
"a": {
"type": "boolean"
}
},
"type": "object"
}
},
"resources": {
"xyz:index:StaticPage": {
"isComponent": true,
"inputProperties": {
"indexContent": {
"type": "string",
"description": "The HTML content for index.html."
},
"foo": {
"$ref": "#/types/example:index:Foo",
"plain": true
}
},
"requiredInputs": ["indexContent"],
"properties": {
"bucket": {
"$ref": "/aws/v4.0.0/schema.json#/resources/aws:s3%2Fbucket:Bucket",
"description": "The bucket resource."
},
"websiteUrl": {
"type": "string",
"description": "The website URL."
}
},
"required": ["bucket", "websiteUrl"]
}
},
"language": {
"csharp": {
"packageReferences": {
"Pulumi": "3.*",
"Pulumi.Aws": "4.*"
}
},
"go": {
"generateResourceContainerTypes": true,
"importBasePath": "github.com/pulumi/pulumi-xyz/sdk/go/xyz"
},
"nodejs": {
"dependencies": {
"@pulumi/pulumi": "^3.12",
"@pulumi/aws": "^3.7.0"
},
"devDependencies": {
"typescript": "^3.7.0"
}
},
"python": {
"requires": {
"pulumi": ">=3.0.0,<4.0.0",
"pulumi-aws": ">=4.0.0,<5.0.0"
}
}
}
}