⚠️ DEPRECATED — moved to yingyeothon/tslibThis repository is archived and no longer maintained. Its packages now live in the
tslibmonorepo 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/codec@yingyeothon/codec@yingyeothon/event-broker@yingyeothon/event-broker@yingyeothon/logger@yingyeothon/logger@yingyeothon/logger-s3@yingyeothon/logger-s3Versions published from this repository stay on npm but are marked deprecated.
A bundle of small libraries for yingyeothon's infrastructure.
Many of things would be deployed to npmjs.
It uses pnpm for monorepo.
- Execute
createcommand and copytsconfig.jsonfile 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 .
cp -r ../../.vscode .- Fill
package.jsonfile referencing any other project. Should fill uptypings,publishConfigandscripts.[build, test].
Please use pnpm build in the specific package directory.
Write some test codes that import a library from JavaScript that built by tsc. Run pnpm test.
- Check if its
README.mdis 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.
MIT