8.1.0 • Published 8 months ago
@nx-extend/firebase-hosting v8.1.0
@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 |
8.1.0
8 months ago
8.0.1
9 months ago
8.0.2
9 months ago
7.0.3
12 months ago
7.0.2
12 months ago
7.0.1
12 months ago
8.0.0
10 months ago
7.0.0
1 year ago
6.1.1
1 year ago
6.0.10
1 year ago
6.0.9
1 year ago
6.0.8
1 year ago
6.0.7
1 year ago
6.0.6
1 year ago
6.0.5
1 year ago
6.0.4
1 year ago
6.0.3
2 years ago
5.2.4
2 years ago
5.2.3
2 years ago
5.2.2
2 years ago
5.2.1
2 years ago
5.2.0
2 years ago
6.0.1
2 years ago
6.0.0
2 years ago
6.0.2
2 years ago
5.2.5
2 years ago
5.1.0
2 years ago
5.0.0
2 years ago
2.2.3
2 years ago
2.2.1
2 years ago
2.2.2
2 years ago
2.2.0
2 years ago
2.1.6
2 years ago
2.1.5
3 years ago
2.1.4
3 years ago
2.1.3
3 years ago
2.1.2
3 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.0
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.0.1
4 years ago