Skip to content
This repository was archived by the owner on Aug 28, 2026. It is now read-only.

Repository files navigation

⚠️ DEPRECATED — moved to yingyeothon/tslib

This repository is archived and no longer maintained. Its packages now live in the tslib monorepo and are published from there as v2.0.0+ with a redesigned API (see each package's README there for migration notes).

Package here (last release from this repo) Successor in tslib
@yingyeothon/repository @yingyeothon/repository
@yingyeothon/repository-redis @yingyeothon/repository-redis
@yingyeothon/repository-s3 @yingyeothon/repository-s3

Versions published from this repository stay on npm but are marked deprecated.

NodeJS Repository abstractions for Yingyeothon

A bundle of simple repository libraries for yingyeothon's infrastructure.

List-up

Many of things would be deployed to npmjs.

Development

It uses pnpm to manage multiple packages.

Create a new

  • Execute create command and copy tsconfig.json file from any other project.
mkdir -p packages/new-package
cd packages/new-package
pnpm init
cp ../codec/tsconfig.json .
ln -s ../../.eslint* .
cp ../../jest.config.js .
  • Fill package.json file referencing any other project. Should fill up typings, publishConfig and scripts.[tsc, build, test].

Write a code and build

Please use pnpm build in the specific package directory.

Test

Write some test codes that import a library from JavaScript that built by tsc. Run pnpm test.

Use other packages

We can use pnpm add @yingyeothon/package-name to add a dependency. Please leave its version as * to use the latest version.

Publish

  • Check if its README.md is proper.
  • Check if it can build to JavaScript properly.
  • Check if it passes all tests we write.
  • Check the version of this package.
  • pnpm publish.

License

MIT

About

NodeJS packages for simple repository.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages