Follow these steps to set up your TypeScript CLI project and begin development.
Go to https://github.com/new and create a new repository.
Please create the repository without a README, .gitignore, and license file.
These files will be generated automatically later by @praha/tsp.
Navigate to the directory where you want to create the project and execute the following command.
npm create @praha/tsp@latestWarning
Be sure to specify the latest version when running @praha/tsp.
If you do not specify the version, an older version from a previous execution may run instead.
Follow the on-screen prompts to configure your project settings.
This might include naming your project, selecting templates, and setting other options according to the CLI prompts.
Adding these tools will help you automate dependency updates and manage versioning/releases.
Renovate is a tool that helps you keep your dependencies up to date.
Go to the Renovate installation page and install Renovate App in your repository.
If you want to automatically merge PRs submitted by Renovate, please also install the following two apps.
These apps will automatically approve PRs submitted by Renovate, facilitating automatic merging.
Changesets is a tool that helps you manage versioning and releases.
Go to the Changeset installation page and install Changeset Bot in your repository.
By installing this bot, you will receive a warning if you submit a PR without adding a changeset.
Although changesets publishes packages automatically, you must set up an NPM token to publish packages to npm.
Create an NPM token by following the instructions in the link below.
https://docs.npmjs.com/creating-and-viewing-access-tokens
After creating the token, go to the repository settings on GitHub and create a secret named NPM_TOKEN with the token you created.
For more information on creating secrets, see the link below.
https://docs.github.com/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository
pkg.pr.new is a tool that aids in the release of development versions of packages.
Go to the pkg.pr.new installation page and install pkg.pr.new in your repository.
With this bot installed, you can automatically release a development version of your package by submitting a PR.
Once your project is initialized and the necessary GitHub Apps are installed, you can start developing your package.
When you are ready to release your package, merge the PR created by Changeset.
This will automatically release a new version of your package.
Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Copyright © PrAha, Inc.
This project is MIT licensed.