Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Monorepo for all things related to TsLint/TS setup

License

NotificationsYou must be signed in to change notification settings

Hotell/ts-setup

Repository files navigation

Shared TypeScript and TSLint configs for sane developer

Enjoying/Using ts-setup packages ? 💪✅

Build Statuslernastyled with prettierStandard VersionConventional Commits

Packages

This monorepo contains following packages 📦.

TS coding style-guides

this style-guide consists mostly only rules, that can't be validate by TSLint


Publishing

Executeyarn release which will handle following tasks:

  • bump package version and git tag
  • update/(create if it doesn't exist) CHANGELOG.md
  • push to github master branch + push tags
  • publish build packages to npm

releases are handled by awesomestandard-version

Pre-release

  • To get from1.1.2 to1.1.2-0:

yarn release --prerelease

  • Alpha: To get from1.1.2 to1.1.2-alpha.0:

yarn release --prerelease alpha

  • Beta: To get from1.1.2 to1.1.2-beta.0:

yarn release --prerelease beta

Dry run mode

See what commands would be run, without committing to git or updating files

yarn release --dry-run

Check what files are gonna be published to npm

  • yarn pack ORyarn release:preflight which will create a tarball with everything that would get published to NPM

Tests

Test are written and run via Jest 💪

yarn test# ORyarn test:watch

Style guide

Style guides are enforced by robots, I meant prettier and tslint of course 🤖 , so they'll let you know if you screwed something, but most of the time, they'll autofix things for you. Magic right ?

Style guide npm scripts

#Format and fix lint errorsyarn ts:style:fix

Generate documentation

yarn docs

Commit ( via commitizen )

  • this is preferred way how to create conventional-changelog valid commits
  • if you prefer your custom tool we provide a commit hook linter which will error out, it you provide invalid commit message
  • if you are in rush and just wanna skip commit message validation just prefix your message withWIP: something done ( if you do this please squash your work when you're done with proper commit message so standard-version can create Changelog and bump version of your library appropriately )

yarn commit - will invokecommitizen CLI

Troubleshooting

Licensing

MIT as always

About

Monorepo for all things related to TsLint/TS setup

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp