@tsdl/types v0.0.9
//: <> (AUTO GENERATED - DO NOT EDIT ME. EDIT README IN PROJECT ROOT)
TSDL types - probably only useful for internally
@tsdl/client, @tsdl/node, @tsdl/react-query, @tsdl/server, @tsdl/types
TSDL
Turn your backend into a library
Introduction
TSDL, short for TypeScript as Data Layer, is a transport layer designed to blur the line between client and server side. In effect, TSDL aims to make your backend a library with full implicit type safety. TSDL is an improvement of existing RPC technologies and is designed to make migrating from tRPC painless.
Another aspect of this transport layer is its framework agnostic approach, TSDL is designed to work seamlessly with any client-side framework or application because it does not introduce any framework specific dependencies. To clarify, TSDL does come with some helpers to integrate better with frameworks. However, the core library will always be standalone.
Move fast; don't break things ⤵️
Links
Contributing
TSDL is developed as a monorepo using Nx for cloud runs and caching as well as Lerna for package linking and publishing.
- Clone the repository
git clone https://github.com/asplunds/tsdl.git tsdl
- Install dependencies (also initializes husky & symlinks packages)
npm i
- Start hacking! Official tests are located in /tests. For playing, use /playground (it's git ignored but included in workspaces)
Publishing (access only)
- Run lints, build packages, bump package versions and publish
npm run release
Detecting circular dependencies
If you suspect you have caused a circular dependency (easily done in monorepos), you can run npx madge -c
in the project root.
This README is auto-generated