Skip to content

Commit 4fe35fc

Browse files
committed
update version in package.json
1 parent 592a0cf commit 4fe35fc

File tree

2 files changed

+8
-28
lines changed

2 files changed

+8
-28
lines changed

packages/@apphosting/adapter-nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apphosting/adapter-nextjs",
3-
"version": "14.0.17",
3+
"version": "14.0.18",
44
"main": "dist/index.js",
55
"description": "Experimental addon to the Firebase CLI to add web framework support",
66
"repository": {

packages/@apphosting/adapter-nextjs/src/bin/build.spec.ts

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -171,31 +171,17 @@ outputFiles:
171171
".next/static/staticfile": "",
172172
};
173173
generateTestFiles(tmpDir, files);
174+
const standaloneAppPath = path.join(tmpDir, ".next", "standalone", "apps", "next-app");
174175
await generateBuildOutput(
175176
tmpDir,
176177
"apps/next-app",
177178
{
178179
bundleYamlPath: path.join(tmpDir, ".apphosting", "bundle.yaml"),
179180
outputDirectoryBasePath: path.join(tmpDir, ".apphosting"),
180-
outputDirectoryAppPath: path.join(tmpDir, ".next", "standalone", "apps", "next-app"),
181-
outputPublicDirectoryPath: path.join(
182-
tmpDir,
183-
".next",
184-
"standalone",
185-
"apps",
186-
"next-app",
187-
"public",
188-
),
189-
outputStaticDirectoryPath: path.join(
190-
tmpDir,
191-
".next",
192-
"standalone",
193-
"apps",
194-
"next-app",
195-
".next",
196-
"static",
197-
),
198-
serverFilePath: path.join(tmpDir, ".next", "standalone", "apps", "next-app", "server.js"),
181+
outputDirectoryAppPath: standaloneAppPath,
182+
outputPublicDirectoryPath: path.join(standaloneAppPath, "public"),
183+
outputStaticDirectoryPath: path.join(standaloneAppPath, ".next", "static"),
184+
serverFilePath: path.join(standaloneAppPath, "server.js"),
199185
},
200186
path.join(tmpDir, ".next"),
201187
defaultNextVersion,
@@ -229,10 +215,7 @@ outputFiles:
229215
outputBundleOptions,
230216
path.join(tmpDir, ".next"),
231217
defaultNextVersion,
232-
{
233-
adapterPackageName: "@apphosting/adapter-nextjs",
234-
adapterVersion: "14.0.1",
235-
},
218+
adapterMetadata,
236219
);
237220
await validateOutputDirectory(outputBundleOptions, path.join(tmpDir, ".next"));
238221

@@ -294,10 +277,7 @@ outputFiles:
294277
outputBundleOptions,
295278
path.join(tmpDir, ".next"),
296279
defaultNextVersion,
297-
{
298-
adapterPackageName: "@apphosting/adapter-nextjs",
299-
adapterVersion: "14.0.1",
300-
},
280+
adapterMetadata,
301281
);
302282
await validateOutputDirectory(outputBundleOptions, path.join(tmpDir, ".next"));
303283

0 commit comments

Comments
 (0)