Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
ember-cli-deploy-manifest
Advanced tools
This plugin generates a manifest file listing the versioned asset files generated by your app's build process. By comparing the latest manifest to the previous one, your deployment plugin (such as ember-cli-deploy-s3) can determine which files have changed and only upload those, improving efficiency.
How does this work in detail?
When you build your ember-cli app in development, your files get globbed together into a bunch of asset files such as myapp.js vendor.js, myapp.css, and vendor.css (see your project's dist/assets dir).
When you do a production build, your build process will produce fingerprinted copies of these asset files. Fingerprints are used for versioning as described here. In practice fingerprints are long hash strings, but for exposition we'll pretend our fingerprints look like a version number. So our manifest will look like:
myapp-1.js
vendor-1.js
myapp-1.css
vendor-1.css
The first time we deploy, our deployment plugin uploads everything, including our manifest file.
Say we then edit our app javascript but everything else remains the same. After rebuilding, when we generate our new manifest, it will look something like:
myapp-2.js
vendor-1.js
myapp-1.css
vendor-1.css
When our deployment plugin is ready to deploy, it retrieves the old manifest (from S3 or wherever its stored), diffs it with the current one, and determines it only has to upload myapp-2.js. For large asset files, this can save alot of time and bandwidth.
ember install ember-cli-deploy-manifest
configure
willUpload
Files matching this pattern will be included in the manifest.
Default: "**/*.{js,css,png,gif,ico,jpg,map,xml,txt,svg,swf,eot,ttf,woff,woff2}"
The relative path that the manifest is written to.
Default: "manifest.txt"
Directory where assets have been written to
Default: the distDir
property of the deployment context
The Array of built assets.
Default: the distFiles
property of the deployment context
The default configuration of this plugin expects the deployment context to have distDir
and distFiles
properties. These are conveniently created by the ember-cli-deploy-build plugin so will work out of the box if you are using that plugin.
npm test
v0.1.1 (2016-02-07)
Merged pull requests:
FAQs
Ember CLI Deploy plugin to generate a manifest.
The npm package ember-cli-deploy-manifest receives a total of 7,618 weekly downloads. As such, ember-cli-deploy-manifest popularity was classified as popular.
We found that ember-cli-deploy-manifest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.