diff --git a/provider/cmd/pulumi-resource-artifactory/schema.json b/provider/cmd/pulumi-resource-artifactory/schema.json index 97eb0cbfb..9da337b2b 100644 --- a/provider/cmd/pulumi-resource-artifactory/schema.json +++ b/provider/cmd/pulumi-resource-artifactory/schema.json @@ -29,9 +29,6 @@ "nodejs": { "packageDescription": "A Pulumi package for creating and managing artifactory cloud resources.", "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/jfrog/terraform-provider-artifactory)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-artifactory` repo](https://github.com/pulumi/pulumi-artifactory/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-artifactory` repo](https://github.com/jfrog/terraform-provider-artifactory/issues).", - "dependencies": { - "@pulumi/pulumi": "^3.0.0" - }, "devDependencies": { "@types/mime": "^2.0.0", "@types/node": "^10.0.0" @@ -41,9 +38,6 @@ "respectSchemaVersion": true }, "python": { - "requires": { - "pulumi": "\u003e=3.0.0,\u003c4.0.0" - }, "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/jfrog/terraform-provider-artifactory)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-artifactory` repo](https://github.com/pulumi/pulumi-artifactory/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-artifactory` repo](https://github.com/jfrog/terraform-provider-artifactory/issues).", "compatibility": "tfbridge20", "respectSchemaVersion": true, diff --git a/provider/resources.go b/provider/resources.go index cc633526d..8555e8239 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -140,9 +140,7 @@ func Provider() tfbridge.ProviderInfo { }, JavaScript: &tfbridge.JavaScriptInfo{ // List any npm dependencies and their versions - Dependencies: map[string]string{ - "@pulumi/pulumi": "^3.0.0", - }, + DevDependencies: map[string]string{ "@types/node": "^10.0.0", // so we can access strongly typed node definitions. "@types/mime": "^2.0.0", @@ -151,9 +149,7 @@ func Provider() tfbridge.ProviderInfo { }, Python: &tfbridge.PythonInfo{ RespectSchemaVersion: true, - Requires: map[string]string{ - "pulumi": ">=3.0.0,<4.0.0", - }, + PyProject: struct{ Enabled bool }{true}, }, @@ -236,11 +232,13 @@ func docEditRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit { ) } -var TFCloudOIDCRegexp = regexp.MustCompile(`\* Terraform Cloud OIDC provider`) -var removeTFCloudOIDC = tfbridge.DocsEdit{ - Path: "index.md", - Edit: func(_ string, content []byte) ([]byte, error) { - content = TFCloudOIDCRegexp.ReplaceAllLiteral(content, nil) - return content, nil - }, -} +var ( + TFCloudOIDCRegexp = regexp.MustCompile(`\* Terraform Cloud OIDC provider`) + removeTFCloudOIDC = tfbridge.DocsEdit{ + Path: "index.md", + Edit: func(_ string, content []byte) ([]byte, error) { + content = TFCloudOIDCRegexp.ReplaceAllLiteral(content, nil) + return content, nil + }, + } +) diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index cb22dd29d..7dac806d1 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -13,7 +13,7 @@ "build": "tsc" }, "dependencies": { - "@pulumi/pulumi": "^3.0.0" + "@pulumi/pulumi": "^3.42.0" }, "devDependencies": { "@types/mime": "^2.0.0",