Skip to content

Commit

Permalink
fix: Add codebase default
Browse files Browse the repository at this point in the history
  • Loading branch information
chwardle committed Sep 7, 2023
1 parent c344653 commit bacec9f
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 98 deletions.
1 change: 1 addition & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"functions": {
"source": "functions",
"codebase": "default",
"runtime": "nodejs18",
"ignore": [
".emulator-data",
Expand Down
196 changes: 98 additions & 98 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions scripts/cleaninstall_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ if (Test-Path ./node_modules) {
"Removing ./node_modules"
}

"Begin npm install"
npm install
"End npm install"

if (Test-Path ../function/package-lock.json) {
Remove-Item ../function/package-lock.json -Force -ErrorAction Ignore
"Removing ../function/package-lock.json"
}

if (Test-Path ../function/node_modules) {
Remove-Item ../function/node_modules -Recurse -Force -ErrorAction Ignore
"Removing ../function/node_modules"
}

cd ../function
"cd ../function"
"Begin npm install"
npm install
"End npm install"

0 comments on commit bacec9f

Please sign in to comment.