![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
serverless-autoprune-plugin
Advanced tools
Serverless Auto-Prune Plugin - Delete old AWS Lambda versions
This Serverless 0.5.x plugin deletes old AWS Lambda versions.
The plugin lets you delete old AWS Lambda versions from your account.
serverless-autoprune-plugin
is heavily inspired by Nopik's
serverless-lambda-prune-plugin
but adds some much needed functionality such as limiting pruning to a specific region, project and function.
It is fully compatible with Serverless 0.5.5 and higher.
Install the plugin module.
npm install serverless-autoprune-plugin --save
will install the latest version of the plugin.
If you want to debug, you also can reference the source repository at a specific version or branch
with npm install https://github.com/arabold/serverless-autoprune-plugin#<tag or branch name>
Activate the plugin in your Serverless project.
Add serverless-autoprune-plugin
to the plugins array in your s-project.json
.
{
"name": "my-project",
"custom": {},
"plugins": [
"serverless-autoprune-plugin"
]
}
This plugin hooks into the Serverless function deploy
command action and
extends it with two additional options:
-p|--prune
: Delete previous Lambda versions after deployment.-n|--number <number>
: keep last N versions (defaults to 3).A simple example to deploy and prune all functions in your project:
serverless function deploy --all --prune
If you only want to delete old versions without deploying a new one, use the new prune
command action:
serverless function prune [OPTION]... [FUNCTION]...
You can specify one or multiple function names to prune, omit any function names to prune the
functions in the current directory tree, or specify the -a
or --all
option to prune all
functions of the project.
Available options are:
-s|--stage <stage>
: prune only a specific stage (only applicable if your Lambda
functions use different names per stage)-r|--region <region>
: prune only a specific region (defaults to all regions).-n|--number <number>
: keep last N versions (defaults to 3).-a|--all
: prune all functions of the current project.--prune
to your
serverless function deploy
will automatically delete previous Lambda versions.aws-sdk
as dependency in case it's not installed globallyFAQs
Serverless Auto-Prune Plugin - Delete old AWS Lambda versions
The npm package serverless-autoprune-plugin receives a total of 3 weekly downloads. As such, serverless-autoprune-plugin popularity was classified as not popular.
We found that serverless-autoprune-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.