Skip to content

Commit

Permalink
Validate if read-package-tree is necessary (#3238)
Browse files Browse the repository at this point in the history
It looks like read-package-tree is vestigial, and it is deprecated, so
we can remove it.

Fixes #3212
  • Loading branch information
iwahbe authored Jan 9, 2024
1 parent c5916dd commit 1388186
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 17 deletions.
1 change: 0 additions & 1 deletion provider/cmd/pulumi-resource-aws/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@
"@pulumi/pulumi": "^3.0.0",
"builtin-modules": "3.0.0",
"mime": "^2.0.0",
"read-package-tree": "^5.2.1",
"resolve": "^1.7.1"
},
"devDependencies": {
Expand Down
25 changes: 10 additions & 15 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -5788,11 +5788,10 @@ $ pulumi import aws:networkfirewall/resourcePolicy:ResourcePolicy example arn:aw
},
JavaScript: &tfbridge.JavaScriptInfo{
Dependencies: map[string]string{
"@pulumi/pulumi": "^3.0.0",
"mime": "^2.0.0",
"builtin-modules": "3.0.0",
"read-package-tree": "^5.2.1",
"resolve": "^1.7.1",
"@pulumi/pulumi": "^3.0.0",
"mime": "^2.0.0",
"builtin-modules": "3.0.0",
"resolve": "^1.7.1",
},
DevDependencies: map[string]string{
"@types/node": "^10.0.0", // so we can access strongly typed node definitions.
Expand Down Expand Up @@ -5917,16 +5916,12 @@ $ pulumi import aws:networkfirewall/resourcePolicy:ResourcePolicy example arn:aw
},
},
},
Python: (func() *tfbridge.PythonInfo {
i := &tfbridge.PythonInfo{
Requires: map[string]string{
"pulumi": ">=3.0.0,<4.0.0",
},
}
i.PyProject.Enabled = true
return i
})(),

Python: &tfbridge.PythonInfo{
Requires: map[string]string{
"pulumi": ">=3.0.0,<4.0.0",
},
PyProject: struct{ Enabled bool }{true},
},
Golang: &tfbridge.GolangInfo{
ImportBasePath: filepath.Join(
fmt.Sprintf("github.com/pulumi/pulumi-%[1]s/sdk/", awsPkg),
Expand Down
1 change: 0 additions & 1 deletion sdk/nodejs/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1388186

Please sign in to comment.