File tree Expand file tree Collapse file tree 4 files changed +28
-3
lines changed
Expand file tree Collapse file tree 4 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,34 @@ nodejs_binary(
1414 entry_point = "@npm//:node_modules/firebase-tools/lib/bin/firebase.js" ,
1515 templated_args = [
1616 "--project" ,
17- "angular-caretaker " ,
17+ "internal-200822 " ,
1818 "--config" ,
1919 # TODO: Find a way to do this without relying on the copy_to_bin that works cross platform.
2020 "$$(rlocation $(execpath :firebase.json))" ,
2121 "emulators:start" ,
2222 ],
2323)
24+
25+ nodejs_binary (
26+ name = "deploy" ,
27+ chdir = package_name (),
28+ data = [
29+ # primary firebase configuration file
30+ "firebase.json" ,
31+
32+ # Firebase function files
33+ "//apps/functions:functions_compiled" ,
34+ "//apps/functions:functions_files" ,
35+ ],
36+ entry_point = "@npm//:node_modules/firebase-tools/lib/bin/firebase.js" ,
37+ templated_args = [
38+ "--project" ,
39+ "internal-200822" ,
40+ "--config" ,
41+ # TODO: Find a way to do this without relying on the copy_to_bin that works cross platform.
42+ "$$(rlocation $(execpath :firebase.json))" ,
43+ "deploy" ,
44+ "--only" ,
45+ "functions" ,
46+ ],
47+ )
Original file line number Diff line number Diff line change 55 },
66 "functions" : {
77 "predeploy" : " bazel build //apps/functions:functions_compiled" ,
8- "source" : " ../dist/bin/apps /functions"
8+ "source" : " ./functions/dist /functions"
99 },
1010 "emulators" : {
1111 "functions" : {
Original file line number Diff line number Diff line change 1+ ../../dist/bin/apps/
Original file line number Diff line number Diff line change 33 "engines" : {
44 "node" : " 16"
55 },
6- "main" : " index.js" ,
6+ "main" : " functions_compiled/ index.js" ,
77 "private" : true
88}
You can’t perform that action at this time.
0 commit comments