Skip to content

Commit b7c8383

Browse files
authored
Rename frameworks experiment to internalframeworks to avoid confusion. (#6439)
* Rename frameworks experiment to internalframeworks to avoid confusion. * Missed a spot.
1 parent 0866cf9 commit b7c8383

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/commands/init.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ const choices = [
7373
},
7474
];
7575

76-
if (isEnabled("frameworks")) {
76+
if (isEnabled("internalframeworks")) {
7777
choices.push({
78-
value: "frameworks",
78+
value: "internalframeworks",
7979
name: "Frameworks: Get started with Frameworks projects.",
8080
checked: false,
8181
});
@@ -85,7 +85,7 @@ const featureNames = choices.map((choice) => choice.value);
8585

8686
const DESCRIPTION = `Interactively configure the current directory as a Firebase project or initialize new features in an already configured Firebase project directory.
8787
88-
This command will create or update 'firebase.json' and '.firebaserc' configuration files in the current directory.
88+
This command will create or update 'firebase.json' and '.firebaserc' configuration files in the current directory.
8989
9090
To initialize a specific Firebase feature, run 'firebase init [feature]'. Valid features are:
9191
${[...featureNames]

src/experiments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const ALL_EXPERIMENTS = experiments({
9898
"without a notice.",
9999
},
100100

101-
frameworks: {
101+
internalframeworks: {
102102
shortDescription: "Allow CLI option for Frameworks",
103103
default: true,
104104
public: false,

src/init/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const featureFns = new Map<string, (setup: any, config: any, options?: any) => P
3232
["hosting:github", features.hostingGithub],
3333
]);
3434

35-
if (isEnabled("frameworks")) {
36-
featureFns.set("frameworks", features.frameworks);
35+
if (isEnabled("internalframeworks")) {
36+
featureFns.set("internalframeworks", features.frameworks);
3737
}
3838

3939
export async function init(setup: Setup, config: any, options: any): Promise<any> {

0 commit comments

Comments
 (0)