File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1+ - Added 'hosting' to the 'firebase_init' MCP tool.
Original file line number Diff line number Diff line change @@ -145,13 +145,17 @@ export const init = tool(
145145 site : z
146146 . string ( )
147147 . optional ( )
148- . describe ( "The ID of the hosting site to configure." ) ,
149- public : z
148+ . describe (
149+ "The ID of the hosting site to configure. If omitted and there is a default hosting site, that will be used." ,
150+ ) ,
151+ publicDirectory : z
150152 . string ( )
151153 . optional ( )
152154 . default ( "public" )
153- . describe ( "The directory to use as the public root." ) ,
154- spa : z
155+ . describe (
156+ "The directory containing public files that will be served. If using a build tool, this likely should be the output directory of that tool." ,
157+ ) ,
158+ singlePageApp : z
155159 . boolean ( )
156160 . optional ( )
157161 . default ( false )
@@ -244,8 +248,8 @@ export const init = tool(
244248 featuresList . push ( "hosting" ) ;
245249 featureInfo . hosting = {
246250 newSiteId : features . hosting . site ,
247- public : features . hosting . public ,
248- spa : features . hosting . spa ,
251+ public : features . hosting . publicDirectory ,
252+ spa : features . hosting . singlePageApp ,
249253 } ;
250254 }
251255 const setup : Setup = {
You can’t perform that action at this time.
0 commit comments