@biffo/cli 0.391.0 → 0.392.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3604,7 +3604,7 @@ import {
3604
3604
  } from "fs";
3605
3605
  import { join as join13, relative as relative2, sep as sep2 } from "path";
3606
3606
  var TEMPLATE_MODULE_DIR = "_template";
3607
- var DEFAULT_PLUGIN_HANDLER = "src.lambda.main.handler";
3607
+ var defaultPluginHandler = (name) => `${name}.main.handler`;
3608
3608
  var GENERATED_TF_FILE = "plugins.generated.tf";
3609
3609
  var GENERATED_TFVARS_FILE = "plugins.auto.tfvars.json";
3610
3610
  function standardArguments(pluginName, handler) {
@@ -3907,7 +3907,7 @@ function renderGeneratedTerraform(plugins) {
3907
3907
  (p) => renderModuleBlock(
3908
3908
  p.name,
3909
3909
  p.declaredVariables,
3910
- p.handler ?? DEFAULT_PLUGIN_HANDLER,
3910
+ p.handler ?? defaultPluginHandler(p.name),
3911
3911
  p.source ?? THIRD_PARTY_TERRAFORM(p.name),
3912
3912
  p.declaredOutputs ?? /* @__PURE__ */ new Set()
3913
3913
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/cli",
3
- "version": "0.391.0",
3
+ "version": "0.392.0",
4
4
  "description": "Biffo project scaffolding CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",