Skip to content

Commit d9b4e73

Browse files
committed
Remove bun.lock and create-remote-app files; update package.json dependencies and project template for improved setup
This commit deletes the bun.lock files for both the main project and the create-remote-app package, streamlining dependency management. The package.json is updated to reflect the latest versions of dependencies, enhancing compatibility. Additionally, the project template is modified to replace placeholder names with a specific test name, improving clarity for users. The README is also updated to reflect these changes, ensuring a better onboarding experience.
1 parent 6095bb0 commit d9b4e73

17 files changed

+600
-353
lines changed

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,21 @@
66
"url": "https://github.com/acoyfellow/remote"
77
},
88
"devDependencies": {
9-
"@sveltejs/adapter-cloudflare": "^7.1.3",
10-
"@sveltejs/kit": "^2.27.3",
11-
"@sveltejs/vite-plugin-svelte": "^6.1.1",
9+
"@sveltejs/kit": "^2.28.0",
10+
"@sveltejs/vite-plugin-svelte": "^6.1.2",
1211
"@tailwindcss/forms": "^0.5.10",
1312
"@tailwindcss/typography": "^0.5.16",
1413
"@tailwindcss/vite": "^4.1.11",
15-
"alchemy": "^0.59.2",
16-
"better-auth": "^1.3.4",
14+
"alchemy": "^0.60.2",
15+
"better-auth": "^1.3.6",
1716
"drizzle-kit": "^0.31.4",
1817
"drizzle-orm": "^0.44.4",
19-
"svelte": "^5.38.0",
18+
"svelte": "^5.38.1",
2019
"svelte-check": "^4.3.1",
2120
"tailwindcss": "^4.1.11",
2221
"typescript": "^5.9.2",
23-
"vite": "^7.1.1",
24-
"wrangler": "^4.28.1"
22+
"vite": "^7.1.2",
23+
"wrangler": "^4.29.1"
2524
},
2625
"description": "Barebones starter for authenticated apps with persistent edge state - SvelteKit + Better Auth + Durable Objects",
2726
"keywords": ["sveltekit", "better-auth", "cloudflare", "durable-objects", "alchemy", "remote-functions", "typescript"],

packages/create-remote-app/bun.lock

Lines changed: 0 additions & 33 deletions
This file was deleted.
-11.3 KB
Binary file not shown.

packages/create-remote-app/template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PROJECT_NAME_PLACEHOLDER
1+
# test-local-template
22

33
Barebones SvelteKit + Better Auth + Durable Objects starter.
44

packages/create-remote-app/template/alchemy.run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
// TODO: Import your Durable Object class here
1111
// import type { MyDO } from "./worker/index.ts";
1212

13-
const projectName = "PROJECT_NAME_PLACEHOLDER";
13+
const projectName = "test-local-template";
1414

1515
const project = await alchemy(projectName, {
1616
password: process.env.ALCHEMY_PASSWORD || "default-password"
@@ -53,7 +53,7 @@ export const APP = await SvelteKit(`${projectName}-app`, {
5353
url: true,
5454
adopt: true,
5555
env: {
56-
BETTER_AUTH_SECRET: process.env.BETTER_AUTH_SECRET || "AUTH_SECRET_PLACEHOLDER",
56+
BETTER_AUTH_SECRET: process.env.BETTER_AUTH_SECRET || "85000968f86b5d30510b5b73186b914c430f8e1573614a6d75ed4cc53383517a",
5757
BETTER_AUTH_URL: process.env.BETTER_AUTH_URL || "http://localhost:5173",
5858
}
5959
});

bun.lock renamed to packages/create-remote-app/template/bun.lock

Lines changed: 155 additions & 261 deletions
Large diffs are not rendered by default.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
CREATE TABLE `account` (
2+
`id` text PRIMARY KEY NOT NULL,
3+
`account_id` text NOT NULL,
4+
`provider_id` text NOT NULL,
5+
`user_id` text NOT NULL,
6+
`access_token` text,
7+
`refresh_token` text,
8+
`id_token` text,
9+
`access_token_expires_at` integer,
10+
`refresh_token_expires_at` integer,
11+
`scope` text,
12+
`password` text,
13+
`created_at` integer NOT NULL,
14+
`updated_at` integer NOT NULL,
15+
FOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade
16+
);
17+
--> statement-breakpoint
18+
CREATE TABLE `session` (
19+
`id` text PRIMARY KEY NOT NULL,
20+
`expires_at` integer NOT NULL,
21+
`token` text NOT NULL,
22+
`created_at` integer NOT NULL,
23+
`updated_at` integer NOT NULL,
24+
`ip_address` text,
25+
`user_agent` text,
26+
`user_id` text NOT NULL,
27+
FOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade
28+
);
29+
--> statement-breakpoint
30+
CREATE UNIQUE INDEX `session_token_unique` ON `session` (`token`);--> statement-breakpoint
31+
CREATE TABLE `user` (
32+
`id` text PRIMARY KEY NOT NULL,
33+
`name` text NOT NULL,
34+
`email` text NOT NULL,
35+
`email_verified` integer NOT NULL,
36+
`image` text,
37+
`created_at` integer NOT NULL,
38+
`updated_at` integer NOT NULL
39+
);
40+
--> statement-breakpoint
41+
CREATE UNIQUE INDEX `user_email_unique` ON `user` (`email`);--> statement-breakpoint
42+
CREATE TABLE `verification` (
43+
`id` text PRIMARY KEY NOT NULL,
44+
`identifier` text NOT NULL,
45+
`value` text NOT NULL,
46+
`expires_at` integer NOT NULL,
47+
`created_at` integer,
48+
`updated_at` integer
49+
);

0 commit comments

Comments
 (0)