6.0.8 • Published 2 months ago
@nx-extend/firebase-hosting v6.0.8
@nx-extend/firebase-hosting
Nx plugin for deploy your app to Firebase Hosting.
Setup
Install
npm install -D @nx-extend/firebase-hosting
nx g @nx-extend/firebase-hosting:add
This will add the following to the target:
{
...other targets
"deploy": {
"executor": "@nx-extend/firebase-hosting:deploy",
"options": {
"site": "<site provided in setup>"
}
}
}
And create a .firebase.json
file if it does not exist already, if it exists it will
add this target to the hosting section:
{
...other firebase config
"hosting": [
{
"target": "<provided site name>",
"public": "<target dist directory>",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
]
}
Usage
Deploy
Available options:
name | type | default | description |
---|---|---|---|
--site | string | null | Specify the site to deploy from the .firebase.json |
--project | string | Firebase Project to deploy to | |
--identifier | string | Name of the hosting project in Firebase (if not defined --site is used by the firebase CLI |
6.0.8
2 months ago
6.0.7
3 months ago
6.0.6
3 months ago
6.0.5
4 months ago
6.0.4
4 months ago
6.0.3
5 months ago
5.2.4
8 months ago
5.2.3
8 months ago
5.2.2
9 months ago
5.2.1
9 months ago
5.2.0
10 months ago
6.0.1
6 months ago
6.0.0
6 months ago
6.0.2
5 months ago
5.2.5
7 months ago
5.1.0
11 months ago
5.0.0
11 months ago
2.2.3
12 months ago
2.2.1
1 year ago
2.2.2
1 year ago
2.2.0
1 year ago
2.1.6
1 year ago
2.1.5
1 year ago
2.1.4
2 years ago
2.1.3
2 years ago
2.1.2
2 years ago
2.1.1
3 years ago
2.1.0
3 years ago
2.0.0
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.0.1
3 years ago