@powerlines/plugin-terraform 0.1.276 → 0.1.277
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/dist/index.cjs +2 -4
- package/dist/index.d.cts +1 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -3
- package/dist/index.mjs +1 -2
- package/dist/{terraform-BgQMhrcm.d.cts → terraform-CAIZY0RA.d.cts} +1 -3
- package/dist/terraform-CAIZY0RA.d.cts.map +1 -0
- package/dist/{terraform-BgQMhrcm.d.mts → terraform-CAIZY0RA.d.mts} +1 -3
- package/dist/terraform-CAIZY0RA.d.mts.map +1 -0
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -3
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +1 -3
- package/dist/types/terraform.d.cts +1 -1
- package/dist/types/terraform.d.mts +1 -1
- package/package.json +4 -4
- package/dist/terraform-BgQMhrcm.d.cts.map +0 -1
- package/dist/terraform-BgQMhrcm.d.mts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
//#endregion
|
|
29
28
|
let _stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
|
|
30
29
|
let _stryke_type_checks = require("@stryke/type-checks");
|
|
31
30
|
let defu = require("defu");
|
|
@@ -34,7 +33,7 @@ let execa = require("execa");
|
|
|
34
33
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
35
34
|
let shelljs = require("shelljs");
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
// src/index.ts
|
|
38
37
|
/**
|
|
39
38
|
* A package containing a Powerlines plugin to configure infrastructure and deploy a project using Terraform IaC.
|
|
40
39
|
*
|
|
@@ -111,5 +110,4 @@ const plugin = (options = {}) => {
|
|
|
111
110
|
}];
|
|
112
111
|
};
|
|
113
112
|
|
|
114
|
-
//#endregion
|
|
115
113
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { n as ResourceBody, r as TerraformContext, t as Resource } from "./terraform-
|
|
1
|
+
import { n as ResourceBody, r as TerraformContext, t as Resource } from "./terraform-CAIZY0RA.cjs";
|
|
2
2
|
import { TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig } from "./types/plugin.cjs";
|
|
3
3
|
import "./types/index.cjs";
|
|
4
4
|
import { MaybePromise } from "@stryke/types/base";
|
|
5
5
|
import { Plugin, PluginContext } from "powerlines";
|
|
6
|
-
//#region src/index.d.ts
|
|
7
6
|
declare module "powerlines" {
|
|
8
7
|
interface Config {
|
|
9
8
|
terraform?: TerraformPluginOptions;
|
|
@@ -31,6 +30,5 @@ declare module "powerlines" {
|
|
|
31
30
|
* @returns A Powerlines plugin to configure infrastructure and deploy a project using Terraform.
|
|
32
31
|
*/
|
|
33
32
|
declare const plugin: <TContext extends TerraformPluginContext = TerraformPluginContext>(options?: TerraformPluginOptions) => Plugin<TContext>[];
|
|
34
|
-
//#endregion
|
|
35
33
|
export { type Resource, type ResourceBody, type TerraformContext, type TerraformPluginContext, type TerraformPluginOptions, type TerraformPluginResolvedConfig, type TerraformPluginUserConfig, plugin };
|
|
36
34
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;YAgCY;IACR,YAAY;;YAGJ,WAAW,iBAAiB;IACpC;;;;;;;;;MASE,UAAU,MAAM,aAAa;;;;;;;;;;;;cAatB,SACX,iBAAiB,yBAAyB,wBAE1C,UAAS,2BACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { n as ResourceBody, r as TerraformContext, t as Resource } from "./terraform-
|
|
1
|
+
import { n as ResourceBody, r as TerraformContext, t as Resource } from "./terraform-CAIZY0RA.mjs";
|
|
2
2
|
import { TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig } from "./types/plugin.mjs";
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import { MaybePromise } from "@stryke/types/base";
|
|
5
5
|
import { Plugin, PluginContext } from "powerlines";
|
|
6
|
-
//#region src/index.d.ts
|
|
7
6
|
declare module "powerlines" {
|
|
8
7
|
interface Config {
|
|
9
8
|
terraform?: TerraformPluginOptions;
|
|
@@ -31,6 +30,5 @@ declare module "powerlines" {
|
|
|
31
30
|
* @returns A Powerlines plugin to configure infrastructure and deploy a project using Terraform.
|
|
32
31
|
*/
|
|
33
32
|
declare const plugin: <TContext extends TerraformPluginContext = TerraformPluginContext>(options?: TerraformPluginOptions) => Plugin<TContext>[];
|
|
34
|
-
//#endregion
|
|
35
33
|
export { type Resource, type ResourceBody, type TerraformContext, type TerraformPluginContext, type TerraformPluginOptions, type TerraformPluginResolvedConfig, type TerraformPluginUserConfig, plugin };
|
|
36
34
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { execaCommand } from "execa";
|
|
|
5
5
|
import { getOrganizationName, getWorkspaceName } from "powerlines/plugin-utils";
|
|
6
6
|
import { which } from "shelljs";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* A package containing a Powerlines plugin to configure infrastructure and deploy a project using Terraform IaC.
|
|
11
11
|
*
|
|
@@ -82,6 +82,5 @@ const plugin = (options = {}) => {
|
|
|
82
82
|
}];
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
//#endregion
|
|
86
85
|
export { plugin };
|
|
87
86
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/terraform.d.ts
|
|
2
1
|
interface ResourceBody {
|
|
3
2
|
[key: string]: string | boolean | number | ResourceBody | ResourceBody[];
|
|
4
3
|
}
|
|
@@ -12,6 +11,5 @@ interface TerraformContext {
|
|
|
12
11
|
resources: Resource[];
|
|
13
12
|
[key: string]: any;
|
|
14
13
|
}
|
|
15
|
-
//#endregion
|
|
16
14
|
export { ResourceBody as n, TerraformContext as r, Resource as t };
|
|
17
|
-
//# sourceMappingURL=terraform-
|
|
15
|
+
//# sourceMappingURL=terraform-CAIZY0RA.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-CAIZY0RA.d.cts","names":[],"sources":["../src/types/terraform.ts"],"mappings":"A,UAkBiB;GACd,0CAA0C,eAAe;;UAG3C;EACf;EACA;EACA,MAAM;;UAGS;EACf;EACA,WAAW;GACV"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/terraform.d.ts
|
|
2
1
|
interface ResourceBody {
|
|
3
2
|
[key: string]: string | boolean | number | ResourceBody | ResourceBody[];
|
|
4
3
|
}
|
|
@@ -12,6 +11,5 @@ interface TerraformContext {
|
|
|
12
11
|
resources: Resource[];
|
|
13
12
|
[key: string]: any;
|
|
14
13
|
}
|
|
15
|
-
//#endregion
|
|
16
14
|
export { ResourceBody as n, TerraformContext as r, Resource as t };
|
|
17
|
-
//# sourceMappingURL=terraform-
|
|
15
|
+
//# sourceMappingURL=terraform-CAIZY0RA.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terraform-CAIZY0RA.d.mts","names":[],"sources":["../src/types/terraform.ts"],"mappings":""}
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require(
|
|
2
|
-
require(
|
|
1
|
+
require("./terraform.cjs");
|
|
2
|
+
require("./plugin.cjs");
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-
|
|
1
|
+
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-CAIZY0RA.cjs";
|
|
2
2
|
import { TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig } from "./plugin.cjs";
|
|
3
3
|
export { Resource, ResourceBody, TerraformContext, TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-
|
|
1
|
+
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-CAIZY0RA.mjs";
|
|
2
2
|
import { TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig } from "./plugin.mjs";
|
|
3
3
|
export { Resource, ResourceBody, TerraformContext, TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { r as TerraformContext } from "../terraform-
|
|
1
|
+
import { r as TerraformContext } from "../terraform-CAIZY0RA.cjs";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface TerraformPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The name of the Terraform stack to deploy
|
|
@@ -80,6 +79,5 @@ interface TerraformPluginResolvedConfig extends ResolvedConfig {
|
|
|
80
79
|
type TerraformPluginContext<TResolvedConfig extends TerraformPluginResolvedConfig = TerraformPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
81
80
|
terraform: TerraformContext;
|
|
82
81
|
};
|
|
83
|
-
//#endregion
|
|
84
82
|
export { TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig };
|
|
85
83
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;UAqBiB;;;;;;;;;;;EAWf;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;;;;EAUA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;UAGe,kCAAkC;EACjD,YAAY;;UAGG,sCAAsC;EACrD,WAAW;;KAGD,uBACV,wBAAwB,gCACtB,iCACA,cAAc;EAChB,WAAW"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { r as TerraformContext } from "../terraform-
|
|
1
|
+
import { r as TerraformContext } from "../terraform-CAIZY0RA.mjs";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface TerraformPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The name of the Terraform stack to deploy
|
|
@@ -80,6 +79,5 @@ interface TerraformPluginResolvedConfig extends ResolvedConfig {
|
|
|
80
79
|
type TerraformPluginContext<TResolvedConfig extends TerraformPluginResolvedConfig = TerraformPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
81
80
|
terraform: TerraformContext;
|
|
82
81
|
};
|
|
83
|
-
//#endregion
|
|
84
82
|
export { TerraformPluginContext, TerraformPluginOptions, TerraformPluginResolvedConfig, TerraformPluginUserConfig };
|
|
85
83
|
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-
|
|
1
|
+
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-CAIZY0RA.cjs";
|
|
2
2
|
export { Resource, ResourceBody, TerraformContext };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-
|
|
1
|
+
import { n as ResourceBody, r as TerraformContext, t as Resource } from "../terraform-CAIZY0RA.mjs";
|
|
2
2
|
export { Resource, ResourceBody, TerraformContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-terraform",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.277",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Powerlines plugin to deploy infrastructure using Terraform.",
|
|
6
6
|
"keywords": [
|
|
@@ -117,14 +117,14 @@
|
|
|
117
117
|
"@stryke/types": "^0.12.44",
|
|
118
118
|
"defu": "^6.1.7",
|
|
119
119
|
"execa": "^9.6.1",
|
|
120
|
-
"powerlines": "^0.47.
|
|
120
|
+
"powerlines": "^0.47.215",
|
|
121
121
|
"shelljs": "^0.10.0",
|
|
122
122
|
"typescript": "^6.0.3"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
125
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
126
126
|
"@types/node": "^25.9.9"
|
|
127
127
|
},
|
|
128
128
|
"publishConfig": { "access": "public" },
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
130
130
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terraform-BgQMhrcm.d.cts","names":[],"sources":["../src/types/terraform.ts"],"mappings":";UAkBiB;GACd,0CAA0C,eAAe;;UAG3C;EACf;EACA;EACA,MAAM;;UAGS;EACf;EACA,WAAW;GACV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terraform-BgQMhrcm.d.mts","names":[],"sources":["../src/types/terraform.ts"],"mappings":""}
|