firebase-tools 15.9.0 → 15.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,8 +133,8 @@ exports.ALL_EXPERIMENTS = experiments({
133
133
  },
134
134
  fdcift: {
135
135
  shortDescription: "Enable instrumentless trial for Data Connect",
136
+ default: true,
136
137
  public: false,
137
- default: false,
138
138
  },
139
139
  apptesting: {
140
140
  shortDescription: "Adds experimental App Testing feature",
@@ -10,7 +10,12 @@ exports.PRERENDER_MANIFEST = "prerender-manifest.json";
10
10
  exports.ROUTES_MANIFEST = "routes-manifest.json";
11
11
  exports.APP_PATHS_MANIFEST = "app-paths-manifest.json";
12
12
  exports.SERVER_REFERENCE_MANIFEST = "server-reference-manifest.json";
13
- exports.CONFIG_FILES = ["next.config.js", "next.config.mjs"];
13
+ exports.CONFIG_FILES = [
14
+ "next.config.js",
15
+ "next.config.mjs",
16
+ "next.config.ts",
17
+ "next.config.mts",
18
+ ];
14
19
  exports.ESBUILD_VERSION = "^0.19.2";
15
20
  const WEBPACK_LAYERS_NAMES = {
16
21
  shared: "shared",
@@ -424,8 +424,12 @@ async function ɵcodegenFunctionsDirectory(sourceDir, destDir, target, context)
424
424
  logLevel: "error",
425
425
  external: productionDeps,
426
426
  };
427
- if (configFile === "next.config.mjs") {
427
+ if (configFile === "next.config.mjs" || configFile === "next.config.mts") {
428
428
  esbuildArgs.format = "esm";
429
+ esbuildArgs.outfile = (0, path_1.join)(destDir, "next.config.mjs");
430
+ }
431
+ else {
432
+ esbuildArgs.outfile = (0, path_1.join)(destDir, "next.config.js");
429
433
  }
430
434
  const bundle = await esbuild.build(esbuildArgs);
431
435
  if (bundle.errors && bundle.errors.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "15.9.0",
3
+ "version": "15.9.1",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "mcpName": "io.github.firebase/firebase-mcp",