- update for statging release, pre-checks

This commit is contained in:
Amruth Pillai
2020-07-13 16:38:08 +05:30
parent 591c9a6ccf
commit cf5d0b9571
6 changed files with 23 additions and 760 deletions

View File

@ -1,5 +1,14 @@
{ {
"projects": { "projects": {
"default": "rx-resume" "default": "rx-resume"
},
"targets": {
"rx-resume": {
"hosting": {
"rxresume-staging": [
"rxresume-staging"
]
}
}
} }
} }

4
.gitignore vendored
View File

@ -58,6 +58,9 @@ typings/
.cache/ .cache/
public public
# Firebase Files
.firebase
# Mac files # Mac files
.DS_Store .DS_Store
@ -65,5 +68,6 @@ public
yarn-error.log yarn-error.log
.pnp/ .pnp/
.pnp.js .pnp.js
# Yarn Integrity file # Yarn Integrity file
.yarn-integrity .yarn-integrity

View File

@ -1,5 +1,6 @@
{ {
"hosting": { "hosting": [{
"target": "rxresume-staging",
"public": "public", "public": "public",
"ignore": [ "ignore": [
"**/.*", "**/.*",
@ -20,7 +21,7 @@
"destination": "/index.html" "destination": "/index.html"
} }
] ]
}, }],
"emulators": { "emulators": {
"functions": { "functions": {
"port": 5001 "port": 5001
@ -33,9 +34,6 @@
} }
}, },
"functions": { "functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint"
],
"source": "functions" "source": "functions"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,7 @@
}, },
"dependencies": { "dependencies": {
"cors": "^2.8.5", "cors": "^2.8.5",
"firebase-admin": "^8.13.0",
"firebase-functions": "^3.7.0", "firebase-functions": "^3.7.0",
"puppeteer": "^5.1.0" "puppeteer": "^5.1.0"
}, },

View File

@ -11,7 +11,7 @@ const ExportModal = () => {
const [open, setOpen] = useState(false); const [open, setOpen] = useState(false);
const [isLoadingSingle, setLoadingSingle] = useState(false); const [isLoadingSingle, setLoadingSingle] = useState(false);
const [isLoadingMulti, setLoadingMulti] = useState(false); const [isLoadingMulti, setLoadingMulti] = useState(false);
const functionsUrl = 'http://localhost:5001/rx-resume/us-central1'; const functionsUrl = 'https://rxresume-staging.web.app';
const { emitter, events } = useContext(ModalContext); const { emitter, events } = useContext(ModalContext);