A quick start template for a new TypeScript library
- π Yarn 4
- ποΈ Yarn Workspaces
- π ESLint 9 with eslint-config-codex
- π₯ Typescript 5
- π₯ npx only-allow yarn
- πΆοΈ Tests with Vitest
- π GitHub Actions for test/lint/build/publish purposes
- Click here and fill setting for new repository
- Update root package
package.json
, change main package name - Update "core" package
package.json
:- Change
name
- Adjust
main
,types
,exports
- Change
- Change name of
packages/core
to your main package name - Go to
packages/utils
and adjust its name or remove the package if you don't need it - Change NPM package scope from workflow file or remove it
- Fill
NPM_TOKEN
andCODEX_BOT_WEBHOOK
secrets in your repository or organization settings - Start writing your new library!
CodeX is a team of digital specialists around the world interested in building high-quality open source products on a global market. We are open for young people who want to constantly improve their skills and grow professionally with experiments in cutting-edge technologies.
π | Join π | ||
---|---|---|---|
codex.so | codex.so/join | @codex_team | @codex_team |