Skip to content

Commit

Permalink
preparing to deploy onNewDictionary to dev - use npm registry types p…
Browse files Browse the repository at this point in the history
…ackage
  • Loading branch information
jacob-8 committed May 4, 2022
1 parent 9d760a1 commit ab6646b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"functions": {
"predeploy": "npm --prefix \"$RESOURCE_DIR\" run build"
"predeploy": "npm --prefix \"$RESOURCE_DIR\" run build",
"source": "packages/functions"
},
"emulators": {
"functions": {
Expand Down
2 changes: 2 additions & 0 deletions packages/functions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ typings/

# Node.js dependency directory
node_modules/

firebase-debug.log
6 changes: 3 additions & 3 deletions packages/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"deploy:dev": "firebase deploy --only functions -P default",
"deploy:specific": "firebase deploy --only functions:inviteContributor -P production",
"deploy:specific": "firebase deploy --only functions:onNewDictionary -P default",
"deploy:specific:prod": "firebase deploy --only functions:onNewDictionary -P production",
"logs": "firebase functions:log",
"test": "vitest -u"
},
Expand All @@ -22,7 +22,7 @@
"firebase-functions": "^3.18.0"
},
"devDependencies": {
"@ld/types": "workspace:^0.0.1",
"@ld/types": "^0.0.1",
"firebase-functions-test": "^0.2.0",
"typescript": "^4.5.4",
"vitest": "^0.10.0"
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

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

0 comments on commit ab6646b

Please sign in to comment.