@voxgig/build 1.4.7 → 1.4.9

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/build.ts CHANGED
@@ -85,7 +85,7 @@ const EnvLambda = {
85
85
  // TODO: this should be a JSON structure exported as YAML
86
86
  let srvyml = `${name}:
87
87
  handler: ${handler.path.prefix}${name}${handler.path.suffix}
88
- role: Basic${AppName}LambdaRole\${self:custom.index.BasicLambdaRole,"01"}
88
+ role: Basic${AppName}LambdaRole
89
89
  timeout: ${lambda.timeout}
90
90
  `
91
91
  const web = srv.api.web
@@ -471,7 +471,7 @@ exports.handler = async (
471
471
 
472
472
 
473
473
  content += `
474
- Basic${AppName}LambdaRole\${self:custom.index.BasicLambdaRole,"01"}:
474
+ Basic${AppName}LambdaRole:
475
475
  Type: AWS::IAM::Role
476
476
  Properties:
477
477
  RoleName: Basic${AppName}LambdaRole\${self:custom.index.BasicLambdaRole,"01"}
package/dist/build.js CHANGED
@@ -68,7 +68,7 @@ const EnvLambda = {
68
68
  // TODO: this should be a JSON structure exported as YAML
69
69
  let srvyml = `${name}:
70
70
  handler: ${handler.path.prefix}${name}${handler.path.suffix}
71
- role: Basic${AppName}LambdaRole\${self:custom.index.BasicLambdaRole,"01"}
71
+ role: Basic${AppName}LambdaRole
72
72
  timeout: ${lambda.timeout}
73
73
  `;
74
74
  const web = srv.api.web;
@@ -369,7 +369,7 @@ exports.handler = async (
369
369
  let customLambdaPolicyStatementContent = fs_1.default.existsSync(customLambdaPolicyStatementPath) ?
370
370
  fs_1.default.readFileSync(customLambdaPolicyStatementPath) : '';
371
371
  content += `
372
- Basic${AppName}LambdaRole\${self:custom.index.BasicLambdaRole,"01"}:
372
+ Basic${AppName}LambdaRole:
373
373
  Type: AWS::IAM::Role
374
374
  Properties:
375
375
  RoleName: Basic${AppName}LambdaRole\${self:custom.index.BasicLambdaRole,"01"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/build",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "main": "dist/build.js",
5
5
  "type": "commonjs",
6
6
  "types": "dist/build.d.ts",