Skip to content

Conversation

@daffl
Copy link
Member

@daffl daffl commented Aug 1, 2025

This pull request consolidates the Feathers core monorepo packages back into a single feathers repository.
With ES modules there isn't really a need to modularise into packages as heavily anymore and it does make setup quite a bit easier.

npm install feathers
import { feathers } from 'feathers'
import { createHandler } from 'feathers/http'

class TodoService {
  get(name: string) {
    return {
      message: `You have to do ${name}!`
    }
  }
}

const app = feathers<{ todos: TodoService }>()

app.use('todos', new TodoService())

// Create a web standard handler for the app
// that works with Node, Deno, Bun or Cloudflare Workers
const handler = createHandler(app)

export { app, handler }

For backwards naming compatibility packages like @feathersjs/feathers or @feathersjs/errors will just re-export from this single package.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 1, 2025

Deploying feathers-dove with  Cloudflare Pages  Cloudflare Pages

Latest commit: 98abe62
Status: ✅  Deploy successful!
Preview URL: https://b2a3e7f6.feathers.pages.dev
Branch Preview URL: https://v6-packages-refactor.feathers.pages.dev

View logs

@daffl daffl changed the title V6 packages refactor feat: V6 packages refactor Aug 2, 2025
@daffl daffl merged commit 364aab5 into v6 Aug 2, 2025
5 checks passed
@daffl daffl deleted the v6-packages-refactor branch August 2, 2025 17:18
@daffl daffl added this to the v6 milestone Aug 15, 2025
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