@ttoss/cloud-vpc 0.1.18 → 0.1.20

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/esm/index.js CHANGED
@@ -1,15 +1,20 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
+ var __defProp = Object.defineProperty;
3
+ var __name = (target, value) => __defProp(target, "name", {
4
+ value,
5
+ configurable: true
6
+ });
2
7
 
3
8
  // src/index.ts
4
9
  var NUMBER_OF_AVAILABILITY_ZONES = 3;
5
10
  var PUBLIC_ROUTER_TABLE_LOGICAL_ID = "PublicRouteTable";
6
11
  var PRIVATE_ROUTER_TABLE_LOGICAL_ID = "PrivateRouteTable";
7
- var createVpcTemplate = ({
12
+ var createVpcTemplate = /* @__PURE__ */__name(({
8
13
  cidrBlock,
9
14
  createPublicSubnets = true
10
15
  }) => {
11
16
  const totalOfSubnetsOnEachType = 2;
12
- const getSubnetResource = ({
17
+ const getSubnetResource = /* @__PURE__ */__name(({
13
18
  number,
14
19
  isPublic
15
20
  }) => {
@@ -70,7 +75,7 @@ var createVpcTemplate = ({
70
75
  };
71
76
  }
72
77
  return resources;
73
- };
78
+ }, "getSubnetResource");
74
79
  const template = {
75
80
  AWSTemplateFormatVersion: "2010-09-09",
76
81
  Description: "VPC, Subnets, and Route Tables for the project.",
@@ -223,5 +228,5 @@ var createVpcTemplate = ({
223
228
  };
224
229
  }
225
230
  return template;
226
- };
231
+ }, "createVpcTemplate");
227
232
  export { createVpcTemplate };
package/dist/index.js CHANGED
@@ -5,6 +5,10 @@ var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __name = (target, value) => __defProp(target, "name", {
9
+ value,
10
+ configurable: true
11
+ });
8
12
  var __export = (target, all) => {
9
13
  for (var name in all) __defProp(target, name, {
10
14
  get: all[name],
@@ -33,12 +37,12 @@ module.exports = __toCommonJS(index_exports);
33
37
  var NUMBER_OF_AVAILABILITY_ZONES = 3;
34
38
  var PUBLIC_ROUTER_TABLE_LOGICAL_ID = "PublicRouteTable";
35
39
  var PRIVATE_ROUTER_TABLE_LOGICAL_ID = "PrivateRouteTable";
36
- var createVpcTemplate = ({
40
+ var createVpcTemplate = /* @__PURE__ */__name(({
37
41
  cidrBlock,
38
42
  createPublicSubnets = true
39
43
  }) => {
40
44
  const totalOfSubnetsOnEachType = 2;
41
- const getSubnetResource = ({
45
+ const getSubnetResource = /* @__PURE__ */__name(({
42
46
  number,
43
47
  isPublic
44
48
  }) => {
@@ -99,7 +103,7 @@ var createVpcTemplate = ({
99
103
  };
100
104
  }
101
105
  return resources;
102
- };
106
+ }, "getSubnetResource");
103
107
  const template = {
104
108
  AWSTemplateFormatVersion: "2010-09-09",
105
109
  Description: "VPC, Subnets, and Route Tables for the project.",
@@ -252,7 +256,7 @@ var createVpcTemplate = ({
252
256
  };
253
257
  }
254
258
  return template;
255
- };
259
+ }, "createVpcTemplate");
256
260
  // Annotate the CommonJS export names for ESM import in node:
257
261
  0 && (module.exports = {
258
262
  createVpcTemplate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/cloud-vpc",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Deploy a VPC with public and private subnets",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",
@@ -23,14 +23,14 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "@ttoss/cloudformation": "^0.10.20"
26
+ "@ttoss/cloudformation": "^0.11.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/jest": "^30.0.0",
30
30
  "jest": "^30.0.4",
31
31
  "tsup": "^8.5.0",
32
- "@ttoss/config": "^1.35.6",
33
- "@ttoss/test-utils": "^2.1.26"
32
+ "@ttoss/config": "^1.35.7",
33
+ "@ttoss/test-utils": "^2.1.27"
34
34
  },
35
35
  "keywords": [
36
36
  "aws",