Skip to content

Commit ea7e409

Browse files
committed
move file inside a cloudflare directory
1 parent d13412b commit ea7e409

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/e2e/app-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "next lint",
1111
"clean": "rm -rf .turbo node_modules .next .open-next",
1212
"d1:clean": "wrangler d1 execute NEXT_CACHE_D1 --command \"DROP TABLE IF EXISTS tags\"",
13-
"d1:setup": "wrangler d1 execute NEXT_CACHE_D1 --file .open-next/cache-assets-manifest.sql",
13+
"d1:setup": "wrangler d1 execute NEXT_CACHE_D1 --file .open-next/cloudflare/cache-assets-manifest.sql",
1414
"build:worker": "pnpm opennextjs-cloudflare && pnpm d1:clean && pnpm d1:setup",
1515
"preview": "pnpm build:worker && pnpm wrangler dev",
1616
"e2e": "playwright test -c e2e/playwright.config.ts"

packages/cloudflare/src/cli/build/open-next/compile-cache-assets-manifest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ type RawManifest = {
1414
*/
1515
export function compileCacheAssetsManifestSqlFile(options: BuildOptions) {
1616
// TODO: Expose the function for getting this data as an adapter-agnostic utility in AWS.
17-
const rawManifestPath = path.join(options.outputDir, "dynamodb-provider", "dynamodb-cache.json");
18-
const outputPath = path.join(options.outputDir, "cache-assets-manifest.sql");
17+
const rawManifestPath = path.join(options.outputDir, "dynamodb-provider/dynamodb-cache.json");
18+
const outputPath = path.join(options.outputDir, "cloudflare/cache-assets-manifest.sql");
1919

2020
const table = process.env.NEXT_CACHE_D1 || "tags";
2121

0 commit comments

Comments
 (0)