Skip to content

Conversation

@bradleyshep
Copy link
Contributor

Description of Changes

Adds a Deno quickstart template and documentation.

Template (templates/deno-ts/):

  • deno.json with tasks and import map for spacetimedb
  • src/main.ts using Deno-native APIs (Deno.stdin, Deno.readTextFile, Deno.writeTextFile, Deno.env)
  • spacetimedb/ server module (TypeScript)
  • Pre-generated module_bindings/

Documentation (docs/docs/00100-intro/00200-quickstarts/00275-deno.md):

  • Step-by-step quickstart following existing pattern
  • Covers project structure, tables/reducers, running the client, CLI usage
  • Documents Deno-specific features: permissions, built-in TypeScript, import maps, no node_modules
  • Explains --unstable-sloppy-imports flag (required because generated bindings use extensionless imports)

API and ABI breaking changes

None. This is a new template and documentation addition.

Expected complexity level and risk

1 - Trivial addition. New template files and documentation only, no changes to existing code or generator.

Testing

  • Server module publishes successfully
  • Bindings generate correctly
  • Run deno task start and verify connection to SpacetimeDB
  • Test interactive CLI commands: add names, list, hello

@bradleyshep bradleyshep changed the title deno Deno quickstart Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants