![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
aws-deploy-script-fe
Advanced tools
AWS script for deploying your frontend applications.
The most common configuration used for our projects is using an S3 Bucket to contain our static files. Optionally you can have a CloudFront playing as a CDN.
The aim of this script is to read all your files and sync directly to the bucket without having to install AWS CLI or any kind of credentials configuration.
This script is cross project which means you only need to have a build/
folder to sync.
ROOT
build/
index.html
...
aws.js
...
aws.js
file should be at the root of your project, it will contain credentials and will export them as an object like this:module.exports = {
development: {
accessKeyId: "XXXXXXXXXXXXXXXXXXXX",
secretAccessKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
region: "us-east-1",
bucket: "<Name of the bucket>",
distributionId: "XXXXXXXXXXXXXX"
},
stage: {
accessKeyId: "XXXXXXXXXXXXXXXXXXXX",
secretAccessKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
region: "us-east-1",
bucket: "<Name of the bucket>",
distributionId: "XXXXXXXXXXXXXX"
}
};
The build/
folder will contain the file you want to sync
The distributionId
is optional, in case you've got it. The script will create an invalidation for all your files.
You can install this package globally and run aws-deploy
npm install -g aws-deploy-script-frontend
The command line to execute can be:
aws-deploy --env <enviroment-name> --path <build-path>
or
aws-deploy -e <enviroment-name> -p <build-path>
aws.js
.development
as default.build
.The dependency you need to install is aws-sdk
This project is maintained by Damián Finkelstein, Pablo Ferro, Francisco Iglesias and Lucas Zibell and it was written by Wolox.
FAQs
AWS script for deploying your frontend applications.
We found that aws-deploy-script-fe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.