Skip to content

Commit 588a667

Browse files
committed
Refactor alchemy.run.ts to remove forceUpdate option from stateStore configuration and update package.json to include postinstall script
This commit simplifies the stateStore configuration in alchemy.run.ts by removing the `forceUpdate` option, streamlining the deployment process. Additionally, it adds a `postinstall` script in package.json to run a fix script for Alchemy D1, enhancing the setup process for new installations.
1 parent a4e4770 commit 588a667

4 files changed

Lines changed: 126 additions & 6 deletions

File tree

alchemy.run.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ const projectName = "remote";
1515

1616
const app = await alchemy(projectName, {
1717
password: process.env.ALCHEMY_PASSWORD || "default-password",
18-
stateStore: (scope) => new CloudflareStateStore(scope, {
19-
forceUpdate: true, // TODO: remove after first successful deploy
20-
})
18+
stateStore: (scope) => new CloudflareStateStore(scope),
2119
});
2220

2321
// For prod: use fixed names (protect existing resources)

0 commit comments

Comments
 (0)