sls-helper-plugin-janis
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -9,2 +9,6 @@ # Changelog | ||
## [1.2.1] - 2019-12-26 | ||
### Fixed | ||
- Service name in lower case is now in *kebab-case* | ||
## [1.2.0] - 2019-12-26 | ||
@@ -11,0 +15,0 @@ ### Added |
'use strict'; | ||
const { inspect } = require('util'); | ||
const kebabCase = require('lodash.kebabcase'); | ||
@@ -13,3 +14,3 @@ module.exports = ({ provider, custom, package: slsPackage, ...serviceConfig }, { serviceName, servicePort, apiSecrets }) => { | ||
const serviceNameInLowerCase = serviceName.toLowerCase(); | ||
const serviceNameInLowerCase = kebabCase(serviceName); | ||
@@ -16,0 +17,0 @@ const { include, ...restOfPackage } = slsPackage || {}; |
{ | ||
"name": "sls-helper-plugin-janis", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A Serverless Helper plugin to add custom helpers for JANIS Commerce", | ||
@@ -5,0 +5,0 @@ "main": "lib/plugin.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26243
641