Skip to content

Commit f69cb8a

Browse files
authored
Support experimental extensions in CLI (#2830)
Support experimental extensions and add `experimental` warning message when installing extensions from the CLI
1 parent a6580f2 commit f69cb8a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/extensions/resolveSource.ts

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ const AUDIENCE_WARNING_MESSAGES: { [key: string]: string } = {
1919
"Firebase Alpha program"
2020
)}.\n This extension is strictly confidential, and its functionality might change in backward-incompatible ways before its official, public release. Learn more: https://dev-partners.googlesource.com/samples/firebase/extensions-alpha/+/refs/heads/master/README.md`
2121
),
22+
experimental: marked(
23+
`${clc.yellow.bold("Important")}: This extension is ${clc.bold(
24+
"experimental"
25+
)} and may not be production-ready. Its functionality might change in backward-incompatible ways before its official release, or it may be discontinued. Learn more: https://github.com/FirebaseExtended/experimental-extensions`
26+
),
2227
};
2328

2429
export interface RegistryEntry {

0 commit comments

Comments
 (0)