weixu365 / serverless-scriptable-plugin

Adding script support to Serverless 1.x which enables you to customize Serverless behavior without writing a plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated hook "after:deploy:createDeploymentArtifacts" on Serverless 1.41.1

opened this issue · comments

Getting this warning on Serverless 1.41.1:

WARNING: Plugin Scriptable uses deprecated hook after:deploy:createDeploymentArtifacts,                      use package:createDeploymentArtifacts hook instead

(thanks for the great plugin!)

That's because you are using the deprecated hook after:deploy:createDeploymentArtifacts, to fix this warning, just change the hook to package:createDeploymentArtifacts.

The plugin doesn't use any hook by itself, all the settings are configured in the Serverless config file.

I will also change the readme to use the new hook name.

Removed the deprecated hook in the readme.