
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
ember-cli-deploy-rest
Advanced tools
Ember CLI Deploy plugin to deploy index.html to a REST API.
An ember-cli-deploy plugin to upload index.html files to a REST API. This is useful if you wrap your Ember app in a traditional web app, such as Rails.
Your REST API should follow the spec below. Note that the base URL is configurable; for these examples we assume it's https://yourapp.com/ember-revisions
.
GET /ember-revisions
: returns a JSON array of objects for the stored revisions. Fields are id
(revision key), created_at
(upload timestamp), revision_data
(usually contains revision metadata) and current
(boolean)POST /ember-revisions
: expects a JSON body with fields id
(revision key) and body
(the index.html contents)PUT /ember-revisions/<id>
: activates the revision with key id
To get up and running quickly, do the following:
Ensure [ember-cli-deploy-build][4] is installed and configured.
Install this plugin
$ ember install ember-cli-deploy-rest
config/deploy.js
ENV.rest = {
baseUrl: 'https://yourapp.com/ember-revisions',
username: '<your-deploy-username>'
password: '<your-deploy-password>'
}
$ ember deploy
For detailed information on what plugin hooks are and how they work, please refer to the [Plugin Documentation][2].
upload
willActivate
activate
didDeploy
fetchInitialRevisions
fetchRevisions
upload
hookactivate
and fetchRevisions
hooksSee the Contributing guide for details.
Inspired by and based on ember-cli-redis by Aaron Chambers and the ember-cli-deploy team. Thanks!
FAQs
Ember CLI Deploy plugin to deploy index.html to a REST API.
The npm package ember-cli-deploy-rest receives a total of 44 weekly downloads. As such, ember-cli-deploy-rest popularity was classified as not popular.
We found that ember-cli-deploy-rest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.