@pulumiverse/vercel 0.15.1 → 0.15.3
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/README.md +2 -2
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/scripts/install-pulumi-plugin.js +0 -26
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The Pulumi `Vercel` provider is available as a package in all Pulumi languages:
|
|
|
6
6
|
|
|
7
7
|
- JavaScript/TypeScript: [`@pulumiverse/vercel`](https://www.npmjs.com/package/@pulumiverse/vercel)
|
|
8
8
|
- Python: [`pulumiverse-vercel`](https://pypi.org/project/pulumiverse-vercel/)
|
|
9
|
-
- Go: [`github.com/pulumiverse/pulumi-vercel/sdk
|
|
9
|
+
- Go: [`github.com/pulumiverse/pulumi-vercel/sdk`](https://pkg.go.dev/github.com/pulumiverse/pulumi-vercel/sdk)
|
|
10
10
|
- .NET: [`Pulumiverse.vercel`](https://www.nuget.org/packages/Pulumiverse.vercel)
|
|
11
11
|
|
|
12
12
|
## Installing
|
|
@@ -55,7 +55,7 @@ dotnet add package Pulumiverse.vercel
|
|
|
55
55
|
|
|
56
56
|
The following configuration points are available for the `vercel` provider:
|
|
57
57
|
|
|
58
|
-
- `vercel:
|
|
58
|
+
- `vercel:apiToken` (environment: `VERCEL_API_TOKEN`) - the API key for `vercel`
|
|
59
59
|
|
|
60
60
|
## Reference
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/vercel",
|
|
3
|
-
"version": "v0.15.
|
|
3
|
+
"version": "v0.15.3",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"vercel",
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
"repository": "https://github.com/pulumiverse/pulumi-vercel",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "tsc"
|
|
13
|
-
"install": "node scripts/install-pulumi-plugin.js resource vercel v0.15.1"
|
|
12
|
+
"build": "tsc"
|
|
14
13
|
},
|
|
15
14
|
"dependencies": {
|
|
16
15
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.bak
CHANGED
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
"repository": "https://github.com/pulumiverse/pulumi-vercel",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "tsc"
|
|
13
|
-
"install": "node scripts/install-pulumi-plugin.js resource vercel ${VERSION}"
|
|
12
|
+
"build": "tsc"
|
|
14
13
|
},
|
|
15
14
|
"dependencies": {
|
|
16
15
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var childProcess = require("child_process");
|
|
3
|
-
|
|
4
|
-
var args = process.argv.slice(2);
|
|
5
|
-
|
|
6
|
-
if (args.indexOf("${VERSION}") !== -1) {
|
|
7
|
-
process.exit(0);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
var res = childProcess.spawnSync("pulumi", ["plugin", "install", "--server", "github://api.github.com/pulumiverse"].concat(args), {
|
|
11
|
-
stdio: ["ignore", "inherit", "inherit"]
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
if (res.error && res.error.code === "ENOENT") {
|
|
15
|
-
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
16
|
-
"It looks like `pulumi` is not installed on your system. " +
|
|
17
|
-
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
|
|
18
|
-
"You may try manually installing the plugin by running " +
|
|
19
|
-
"`pulumi plugin install " + args.join(" ") + "`");
|
|
20
|
-
} else if (res.error || res.status !== 0) {
|
|
21
|
-
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
22
|
-
"You may try to manually installing the plugin by running " +
|
|
23
|
-
"`pulumi plugin install " + args.join(" ") + "`");
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
process.exit(0);
|