pulumi/pkg/codegen/internal/test/testdata/provider-config-schema/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

83 lines
1.6 KiB
JSON

{
"version": "0.0.1",
"name": "configstation",
"config": {
"variables": {
"name": {
"type": "string"
},
"numberOfSheep": {
"type": "integer"
},
"isMember": {
"type": "boolean",
"default": true
},
"favoritePlants": {
"type": "array",
"items": {
"type": "string"
}
},
"secretCode": {
"type": "string",
"description": "This is a huge secret",
"defaultInfo": {
"environment": ["SECRET_CODE", "MY_SUPER_SECRET_CODE"]
}
},
"favoriteSandwich": {
"$ref": "#/types/configstation:config:sandwich",
"description": "omg my favorite sandwich"
},
"kids": {
"$ref": "#/types/configstation:index:child"
}
},
"defaults": ["name"]
},
"types": {
"configstation:config:sandwich": {
"properties": {
"bread": {
"type": "string"
},
"veggies": {
"type": "array",
"items": {
"type": "string"
}
}
},
"type": "object"
},
"configstation:index:child": {
"properties": {
"name": {
"type": "string"
},
"age": {
"type": "integer"
}
},
"type": "object"
}
},
"language": {
"csharp": {
"packageReferences": {
"Pulumi": "3.12"
}
},
"go": {},
"nodejs": {
"dependencies": {
"@pulumi/pulumi": "^3.12"
},
"devDependencies": {
"typescript": "^3.7.0"
}
},
"python": {}
}
}