aws-lambda-layer-cli 2.0.2 → 2.0.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 +2 -1
- package/scripts/aws-lambda-layer-cli +3 -3
- package/scripts/install.ps1 +662 -662
- package/scripts/sync_version.js +36 -3
- package/scripts/uninstall.ps1 +209 -209
- package/scripts/uninstall.sh +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aws-lambda-layer-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "CLI tool for creating and publishing AWS Lambda layers for Node.js and Python.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"homepage": "https://github.com/yukcw/aws-lambda-layer-cli#readme",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"sync-version": "node scripts/sync_version.js",
|
|
28
|
+
"prepare": "npm run sync-version",
|
|
28
29
|
"prepublishOnly": "npm run sync-version",
|
|
29
30
|
"postinstall": "node scripts/install.js",
|
|
30
31
|
"preuninstall": "node scripts/uninstall.js"
|
|
@@ -47,7 +47,7 @@ COMPLETION_DIR="/etc/bash_completion.d"
|
|
|
47
47
|
# Show help
|
|
48
48
|
show_help() {
|
|
49
49
|
local version_file="$SCRIPT_DIR/VERSION.txt"
|
|
50
|
-
local version="
|
|
50
|
+
local version="2.0.3"
|
|
51
51
|
if [ -f "$version_file" ]; then
|
|
52
52
|
version=$(cat "$version_file")
|
|
53
53
|
fi
|
|
@@ -113,7 +113,7 @@ show_version() {
|
|
|
113
113
|
echo "v$version"
|
|
114
114
|
else
|
|
115
115
|
# Fallback if VERSION file is missing (e.g. during development or if moved)
|
|
116
|
-
echo "
|
|
116
|
+
echo "v2.0.3"
|
|
117
117
|
fi
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -233,7 +233,7 @@ get_aws_account_info() {
|
|
|
233
233
|
# Determine compatible runtimes for AWS
|
|
234
234
|
get_compatible_runtimes() {
|
|
235
235
|
local runtime="$1"
|
|
236
|
-
local version="
|
|
236
|
+
local version="2.0.3"
|
|
237
237
|
|
|
238
238
|
case "$runtime" in
|
|
239
239
|
nodejs)
|