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/actor-system @yingyeothon/actor-system
@yingyeothon/actor-system-redis-support @yingyeothon/actor-system-redis (renamed)
@yingyeothon/actor-system-aws-lambda-support @yingyeothon/actor-system-lambda (renamed)

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

NodeJS Actor-system for Yingyeothon

A bundle of simple actor-system libraries for yingyeothon's infrastructure.

List-up

Many of things would be deployed to npmjs.

Development

It uses yarn workspace for monorepo.

Create a new

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

Write a code and build

  • Write its codes.
  • Add a shortcut yarn workspace package-name into package.json at root directory.
  • Build with yarn package-name build.

If you want to build the only one package, please use yarn build in the specific package directory.

Test

Write some test codes that import a library from JavaScript that built by tsc. Run yarn package-name test.

If you want to test the only one package, please use yarn test in the specific package directory.

Use other packages

If a package would reference other packages, do yarn add @yingyeothon/package-name@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.
  • yarn publish If you want to deploy it as alone.
  • Or if you want to deploy all of them, do yarn workspaces run publish at the root directory that deploy all things after build and test them.

License

MIT

About

NodeJS Packages for Simple ActorSystem.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages