⚠️ 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/repository@yingyeothon/repository@yingyeothon/repository-redis@yingyeothon/repository-redis@yingyeothon/repository-s3@yingyeothon/repository-s3Versions published from this repository stay on npm but are marked deprecated.
A bundle of simple repository libraries for yingyeothon's infrastructure.
Many of things would be deployed to npmjs.
It uses pnpm to manage multiple packages.
- 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 .- Fill
package.jsonfile referencing any other project. Should fill uptypings,publishConfigandscripts.[tsc, 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.
We can use pnpm add @yingyeothon/package-name to add a dependency. Please leave its version as * to use the latest version.
- 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