diff --git a/README.md b/README.md index fabf625..123cd78 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,7 @@ custom: ## Change Log +* v1.1.1: Fix layer deployment if `mountCode` is enabled by always packaging and deploying * v1.1.0: Fix SSM environment variables resolving issues with serverless v3, change default for `BUCKET_MARKER_LOCAL` to `hot-reload` * v1.0.6: Add `BUCKET_MARKER_LOCAL` configuration for customizing S3 bucket for lambda mount and [Hot Reloading](https://docs.localstack.cloud/user-guide/tools/lambda-tools/hot-reloading/). * v1.0.5: Fix S3 Bucket LocationConstraint issue when the provider region is `us-east-1` diff --git a/package-lock.json b/package-lock.json index 33ed0cd..d142d76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "serverless-localstack", - "version": "1.0.6", + "version": "1.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "serverless-localstack", - "version": "1.0.6", + "version": "1.1.1", "license": "MIT", "dependencies": { "adm-zip": "^0.5.10", diff --git a/package.json b/package.json index 7e4958a..9d97393 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-localstack", - "version": "1.1.0", + "version": "1.1.1", "description": "Connect Serverless to LocalStack!", "main": "src/index.js", "scripts": { @@ -24,7 +24,8 @@ "Justin McCormick ", "djKooks", "yohei1126", - "bentsku" + "bentsku", + "Joel Scheuner (joe4dev)" ], "license": "MIT", "bugs": { diff --git a/src/index.js b/src/index.js index 52a6788..e80d27e 100644 --- a/src/index.js +++ b/src/index.js @@ -176,7 +176,6 @@ class LocalstackPlugin { } // Patch plugin methods - this.skipIfMountLambda('Package', 'packageService'); function compileFunction(functionName) { if (!this.shouldMountCode()) { return compileFunction._functionOriginal.apply(null, arguments); @@ -210,7 +209,6 @@ class LocalstackPlugin { this.skipIfMountLambda('AwsCompileFunctions', 'compileFunction', compileFunction); this.skipIfMountLambda('AwsCompileFunctions', 'downloadPackageArtifacts'); this.skipIfMountLambda('AwsDeploy', 'extendedValidate'); - this.skipIfMountLambda('AwsDeploy', 'uploadFunctionsAndLayers'); if (this.detectTypescriptPluginType()) { this.skipIfMountLambda(this.detectTypescriptPluginType(), 'cleanup', null, [ 'after:package:createDeploymentArtifacts', 'after:deploy:function:packageFunction']);