Contributing to ember-codemod-sort-invocations
July 14, 2026 ยท View on GitHub
Open source projects like ember-codemod-sort-invocations live on your words of encouragement and contribution. Please give feedback, report issues, or submit pull requests!
Here are some guidelines to help you and everyone else.
Local development
Install dependencies
-
Fork and clone this repo.
git clone git@github.com:<your-github-handle>/ember-codemod-sort-invocations.git -
Change directory.
cd ember-codemod-sort-invocations -
Use
pnpmto install dependencies.pnpm install
Check and fix errors
-
As you write code, please check that it meets formatting and linting rules.
pnpm lint -
You can run
lint:fixto fix errors.pnpm lint:fix
Run tests
-
When you write code, please check that all tests continue to pass.
pnpm test
Add changeset to pull request
-
To record how a pull request affects packages, you will want to add a changeset.
The changeset provides a summary of the code change. It also describes how package versions should be updated (major, minor, or patch) as a result of the code change.
pnpm changeset
Publish package
-
Generate a personal access token in GitHub. Enable
repoandread:userscopes if your repo is private. This token will be used to retrieve pull request information. -
Run the
release:preparescript. This removes changesets, updates package versions, and updatesCHANGELOGs.GITHUB_TOKEN=<YOUR_PERSONAL_ACCESS_TOKEN> pnpm release:prepareNote,
release:preparealso updated the workspace root's version (e.g. from0.1.1to0.1.2). We will use it to name the tag that will be published. -
Review the file changes. Commit them in a branch, then open a pull request to merge the changes to the
mainbranch.git checkout -b tag-0.1.2 git add . git commit -m "Tagged 0.1.2" git push origin tag-0.1.2 -
Create a tag and provide release notes. The tag name should match the workspace root's version (e.g.
0.1.2). -
Publish the package.
pnpm release:publish --otp <YOUR_ONE_TIME_PASSWORD>