0.0.9 • Published 1 year ago

@tsdl/types v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

//: <> (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.

  1. Clone the repository
    git clone https://github.com/asplunds/tsdl.git tsdl
  2. Install dependencies (also initializes husky & symlinks packages)
    npm i
  3. Start hacking! Official tests are located in /tests. For playing, use /playground (it's git ignored but included in workspaces)

Publishing (access only)

  1. 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

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago