carlin 5.0.2 → 6.0.1
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/index.mjs +3 -3
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1775,7 +1775,7 @@ const baseStackTemplate = deepmerge.all([
|
|
|
1775
1775
|
* website, for example.
|
|
1776
1776
|
*
|
|
1777
1777
|
* - **Lambda Layer builder**. This resource is a CodeBuild project that is
|
|
1778
|
-
* used to create Lambda Layers when [--lambda-
|
|
1778
|
+
* used to create Lambda Layers when [--lambda-external](/docs/carlin/commands/deploy#options)
|
|
1779
1779
|
* has values.
|
|
1780
1780
|
*
|
|
1781
1781
|
* - **Lambda Image builder**. This resource is a CodeBuild project that builds
|
|
@@ -2057,7 +2057,7 @@ const deployLambdaLayer = async ({ packages, deployIfExists = true, runtime }) =
|
|
|
2057
2057
|
const logPrefix$13 = "lambda";
|
|
2058
2058
|
const deployLambdaLayers = async ({ lambdaExternal = [] }) => {
|
|
2059
2059
|
if (lambdaExternal.length === 0) return;
|
|
2060
|
-
log.info(logPrefix$13, `--lambda-
|
|
2060
|
+
log.info(logPrefix$13, `--lambda-external [${lambdaExternal.join(", ")}] was found. Creating other layers...`);
|
|
2061
2061
|
const { dependencies = {} } = (() => {
|
|
2062
2062
|
try {
|
|
2063
2063
|
return JSON.parse(fs$1.readFileSync(path$1.resolve(process.cwd(), "package.json"), "utf8"));
|
|
@@ -5060,7 +5060,7 @@ const options$2 = {
|
|
|
5060
5060
|
const examples = [
|
|
5061
5061
|
["carlin deploy -t src/cloudformation.template1.yml", "Change the CloudFormation template path."],
|
|
5062
5062
|
["carlin deploy -e Production", "Set environment."],
|
|
5063
|
-
["carlin deploy --lambda-
|
|
5063
|
+
["carlin deploy --lambda-external momentjs", "Lambda exists. Don't bundle momentjs."],
|
|
5064
5064
|
["carlin deploy --lambda-runtime nodejs20.x", "Use Node.js 20.x runtime for Lambda functions."],
|
|
5065
5065
|
["carlin deploy --destroy --stack-name StackToBeDeleted", "Destroy a specific stack."]
|
|
5066
5066
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carlin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://ttoss.dev/docs/carlin/",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"ts-node": "^10.9.2",
|
|
62
62
|
"uglify-js": "^3.19.3",
|
|
63
63
|
"yargs": "^18.2.0",
|
|
64
|
-
"@ttoss/cloudformation": "^0.
|
|
65
|
-
"@ttoss/read-config-file": "^
|
|
66
|
-
"@ttoss/config": "^
|
|
64
|
+
"@ttoss/cloudformation": "^0.20.1",
|
|
65
|
+
"@ttoss/read-config-file": "^4.0.0",
|
|
66
|
+
"@ttoss/config": "^4.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/aws-lambda": "^8.10.164",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"jest": "^30.5.2",
|
|
80
80
|
"tsdown": "^0.23.1",
|
|
81
81
|
"typescript": "~6.0.3",
|
|
82
|
-
"@ttoss/test-utils": "^
|
|
82
|
+
"@ttoss/test-utils": "^7.1.0"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public",
|