Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@econlab/ember-cli-deploy-firebase
Advanced tools
An ember-cli-deploy plugin to deploy your app to firebase hosting.
This plugin will deploy your ember-cli app to firebase hosting.
A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks.
For more information on what plugins are and how they work, please refer to the Plugin Documentation.
If you need to continue using firebase 2.x, please use the 0.1.x branch.
To get up and running quickly, do the following:
$ npm install -g firebase-tools
$ ember install ember-cli-deploy
$ ember install ember-cli-deploy-firebase-pack
$ ember install @econlab/ember-cli-deploy-firebase
dist
when asked 'What directory should be the public root?'.$ firebase init
$ ember deploy production
$ firebase open hosting:site
Run the following commands in your terminal:
ember install ember-cli-deploy
ember install @econlab/ember-cli-deploy-firebase
For detailed information on what plugin hooks are and how they work, please refer to the Plugin Documentation.
upload
For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.
The name of the firebase app you want to deploy to. If not specified, firebase-tools will pick this up from the firebase.json
file it created in your project directory.
ENV = {
...
firebase: {
appName: 'your-firebase-app-name'
},
...
};
If you have multiple firebase users, it's helpful to use a token instead.
firebase login:ci
and add the code to your ~/.bashrc or ~/.profile: export FIREBASE_TOKEN=ASDF1234
, replacing ASDF1234 with whatever token you received from the previous command.source ~/.bashrc
or source ~/.profile
depending on the above.ember deploy production
as well as other firebase-tools commands successfully, no addition to config/deploy.js needed.ENV.firebase.deployToken = process.env.FIREBASE_TOKEN
but it is not necessary.firebase login:ci
and copy the code you receive..env.deploy.production
and add FIREBASE_TOKEN=ASDF1234
replacing ASDF1234 with the code from step 1.ENV = {
...
firebase: {
deployToken: 'asdf1234'
// deployToken: process.env.FIREBASE_TOKEN (if .env stuff is your style)
},
...
};
After this you should be able to deploy regardless of what account is currently logged in.
If you have customised the location your builds go, we'll pass that on.
If you install the ember-cli-deploy-revision-data plugin, its generated revision key will be used as the deploy message.
FAQs
ember-cli-deploy plugin to deploy to firebase
The npm package @econlab/ember-cli-deploy-firebase receives a total of 1 weekly downloads. As such, @econlab/ember-cli-deploy-firebase popularity was classified as not popular.
We found that @econlab/ember-cli-deploy-firebase 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.