@architect/inventory 3.5.2 → 3.5.3
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/package.json
CHANGED
|
@@ -53,6 +53,9 @@ module.exports = function setRuntimePlugins (params, project) {
|
|
|
53
53
|
// Adhere to Postel's Law
|
|
54
54
|
build = 'build'
|
|
55
55
|
if (is.string(runtime.build)) build = runtime.build
|
|
56
|
+
if (type === 'compiled') {
|
|
57
|
+
runtime.baseRuntime = runtime.baseRuntime || 'provided.al2'
|
|
58
|
+
}
|
|
56
59
|
}
|
|
57
60
|
if (type === 'transpiled' && !allRuntimes.includes(baseRuntime)) {
|
|
58
61
|
return errors.push(`Runtime '${name}' must include a valid baseRuntime property corresponding to a valid Lambda runtime (e.g. 'nodejs18.x')`)
|