Skip to content

Transition Comment Mop template to Devvit Web#4

Open
leifwritescode wants to merge 2 commits intoreddit:mainfrom
leifwritescode:convert-to-web
Open

Transition Comment Mop template to Devvit Web#4
leifwritescode wants to merge 2 commits intoreddit:mainfrom
leifwritescode:convert-to-web

Conversation

@leifwritescode
Copy link

💸 TL;DR

A complete migration of the Devvit mod tool template from the legacy API to the modern Devvit Web APIs.

📜 Details

  • Remove legacy dependencies, add modern dependencies
  • Migrate devvit.yaml to devvit.json and configure
  • Reimplement main.ts as an express.js server
  • Fixup nuke.ts to use Devvit Web constructs
  • Remove use of modLog, it's academic and unsupported
  • Align project structure with Devvit Web best practice
  • Add required build components and config

🧪 Testing Steps / Validation

Uploaded [slug removed for privacy] and functionally validated.

✅ Checks

  • CI tests (if present) are passing
  • Adheres to code style for repo
  • Contributor License Agreement (CLA) completed if not a Reddit employee

- Remove legacy dependencies, add modern dependencies
- Migrate devvit.yaml to devvit.json and configure
- Reimplement main.ts as an express.js server
- Fixup nuke.ts to use Devvit Web constructs
- Remove use of modLog, it's academic and unsupported
- Align project structure with Devvit Web best practice
- Add required build components and config

i# Last commands done (2 commands done):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant