@cdktn/provider-schema 0.24.0-pre.88 → 0.24.0-pre.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdktn/provider-schema",
3
- "version": "0.24.0-pre.88",
3
+ "version": "0.24.0-pre.89",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,11 +31,13 @@
31
31
  "dependencies": {
32
32
  "deepmerge": "4.3.1",
33
33
  "fs-extra": "11.3.6",
34
- "@cdktn/commons": "0.24.0-pre.88",
35
- "@cdktn/hcl2json": "0.24.0-pre.88"
34
+ "semver": "7.7.4",
35
+ "@cdktn/commons": "0.24.0-pre.89",
36
+ "@cdktn/hcl2json": "0.24.0-pre.89"
36
37
  },
37
38
  "devDependencies": {
38
39
  "@types/fs-extra": "11.0.4",
40
+ "@types/semver": "7.7.1",
39
41
  "safe-stable-stringify": "2.5.0",
40
42
  "tsc-files": "1.1.4",
41
43
  "typescript": "^5.0.0"
@@ -675,6 +675,8 @@ exports[`readSchema generates a single module schema 1`] = `
675
675
 
676
676
  exports[`readSchema generates a single provider schema 1`] = `
677
677
  "{
678
+ "cli_name": "STUBBED CLI",
679
+ "cli_version": "STUBBED VERSION",
678
680
  "format_version": "STUBBED VERSION",
679
681
  "provider_schemas": {
680
682
  "registry.terraform.io/hashicorp/null": {
@@ -774,6 +776,28 @@ exports[`sanitizeProviderSchema sanitizes a provider schema 1`] = `
774
776
  "provider_schemas": {
775
777
  "registry.terraform.io/hashicorp/null": {
776
778
  "data_source_schemas": {},
779
+ "ephemeral_resource_schemas": {
780
+ "null_ephemeral": {
781
+ "block": {
782
+ "attributes": {
783
+ "correct": {
784
+ "type": [
785
+ "list",
786
+ "string",
787
+ ],
788
+ },
789
+ "incorrect": {
790
+ "type": [
791
+ "list",
792
+ "string",
793
+ ],
794
+ },
795
+ },
796
+ "block_types": {},
797
+ },
798
+ "version": 0,
799
+ },
800
+ },
777
801
  "provider": {
778
802
  "block": {
779
803
  "attributes": {