diff --git a/.changeset/dirty-ducks-serve.md b/.changeset/dirty-ducks-serve.md
deleted file mode 100644
index ca623e55..00000000
--- a/.changeset/dirty-ducks-serve.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-"@codemod-utils/ast-javascript": patch
-"@codemod-utils/ast-template": patch
-"@codemod-utils/blueprints": patch
-"@codemod-utils/files": patch
-"@codemod-utils/tests": patch
-"@codemod-utils/json": patch
----
-
-Updated dependencies. Standardized the build and test scripts.
diff --git a/.changeset/shy-bats-raise.md b/.changeset/shy-bats-raise.md
deleted file mode 100644
index a9cecba7..00000000
--- a/.changeset/shy-bats-raise.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@codemod-utils/ember-cli-string": minor
----
-
-Created @codemod-utils/ember-cli-string
diff --git a/.changeset/ten-bikes-smoke.md b/.changeset/ten-bikes-smoke.md
deleted file mode 100644
index 410093e6..00000000
--- a/.changeset/ten-bikes-smoke.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-"@codemod-utils/ast-javascript": minor
-"@codemod-utils/ast-template": minor
----
-
-Split @codemod-utils/ast into @codemod-utils/ast-javascript and @codemod-utils/ast-template
diff --git a/.changeset/tricky-countries-deliver.md b/.changeset/tricky-countries-deliver.md
deleted file mode 100644
index 813c1410..00000000
--- a/.changeset/tricky-countries-deliver.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@codemod-utils/files": minor
----
-
-Exported parseFilePath
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f9675e52..4042bddb 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -64,20 +64,47 @@ Here are some guidelines to help you and everyone else.
+
+
+Add changeset to pull request
+
+1. 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.
+
+ ```sh
+ # From the workspace root
+ pnpm changeset
+ ```
+
+
+
+
Publish packages (for admins)
1. Generate a [personal access token](https://github.com/settings/tokens/) in GitHub, with default values for scopes (none selected).
-1. Create a pull request, in which you remove the changesets and update the `CHANGELOG`'s.
+1. Run the `publish:changelogs` script. This removes changesets, updates the package versions, and updates the `CHANGELOG`'s.
```sh
# From the workspace root
GITHUB_TOKEN= pnpm publish:changelogs
```
-1. [Create a tag](https://github.com/ijlee2/codemod-utils/releases/new) such as `1.0.0` (the name satisfies the regular expression `^\d+\.\d+\.\d+`).
+1. The workspace root's version (e.g. `0.1.3`) is more of an identifier than a (semantic) version. We will use it to name the tag that will be published.
+
+ In the root `package.json`, update the version following the "highest-version" formula:
+
+ ```
+ workspace root version = max(
+ max(all package versions),
+ workspace root version + 0.0.1,
+ );
+ ```
+
+1. [Create a tag](https://github.com/ijlee2/codemod-utils/releases/new) and provide release notes. The tag name should match the workspace root's version.
1. Publish the packages.
diff --git a/package.json b/package.json
index f1c8865a..fdc9a935 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "workspace-root",
- "version": "0.4.2",
+ "version": "0.5.0",
"private": true,
"description": "Workspace root for @codemod-utils",
"repository": {
diff --git a/packages/ast/javascript/CHANGELOG.md b/packages/ast/javascript/CHANGELOG.md
index ba54c770..2051e2e1 100644
--- a/packages/ast/javascript/CHANGELOG.md
+++ b/packages/ast/javascript/CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog for @codemod-utils/ast-javascript
+## 0.3.0
+
+### Minor Changes
+
+- [#36](https://github.com/ijlee2/codemod-utils/pull/36) Split @codemod-utils/ast into @codemod-utils/ast-javascript and @codemod-utils/ast-template ([@ijlee2](https://github.com/ijlee2))
+
+### Patch Changes
+
+- [#37](https://github.com/ijlee2/codemod-utils/pull/37) Updated dependencies. Standardized the build and test scripts. ([@ijlee2](https://github.com/ijlee2))
+
## 0.2.0
### Minor Changes
diff --git a/packages/ast/javascript/README.md b/packages/ast/javascript/README.md
index 7558c2b2..427a413b 100644
--- a/packages/ast/javascript/README.md
+++ b/packages/ast/javascript/README.md
@@ -128,7 +128,7 @@ Most importantly, write tests to document the inputs and outputs of your codemod
## Compatibility
-* Node.js v16 or above
+- Node.js v16 or above
## Contributing
diff --git a/packages/ast/javascript/package.json b/packages/ast/javascript/package.json
index c6ee6368..b879b291 100644
--- a/packages/ast/javascript/package.json
+++ b/packages/ast/javascript/package.json
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/ast-javascript",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Utilities for handling *.{js,ts} files as abstract syntax tree",
"keywords": [
"codemod",
diff --git a/packages/ast/template/CHANGELOG.md b/packages/ast/template/CHANGELOG.md
index 88db4563..76030a7c 100644
--- a/packages/ast/template/CHANGELOG.md
+++ b/packages/ast/template/CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog for @codemod-utils/ast-template
+## 0.3.0
+
+### Minor Changes
+
+- [#36](https://github.com/ijlee2/codemod-utils/pull/36) Split @codemod-utils/ast into @codemod-utils/ast-javascript and @codemod-utils/ast-template ([@ijlee2](https://github.com/ijlee2))
+
+### Patch Changes
+
+- [#37](https://github.com/ijlee2/codemod-utils/pull/37) Updated dependencies. Standardized the build and test scripts. ([@ijlee2](https://github.com/ijlee2))
+
## 0.2.0
### Minor Changes
diff --git a/packages/ast/template/README.md b/packages/ast/template/README.md
index 0245451c..2380ca2f 100644
--- a/packages/ast/template/README.md
+++ b/packages/ast/template/README.md
@@ -123,7 +123,7 @@ Most importantly, write tests to document the inputs and outputs of your codemod
## Compatibility
-* Node.js v16 or above
+- Node.js v16 or above
## Contributing
diff --git a/packages/ast/template/package.json b/packages/ast/template/package.json
index b3d98604..6bf9c558 100644
--- a/packages/ast/template/package.json
+++ b/packages/ast/template/package.json
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/ast-template",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "Utilities for handling *.hbs files as abstract syntax tree",
"keywords": [
"codemod",
diff --git a/packages/blueprints/CHANGELOG.md b/packages/blueprints/CHANGELOG.md
index 1594076f..8d4551f9 100644
--- a/packages/blueprints/CHANGELOG.md
+++ b/packages/blueprints/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog for @codemod-utils/blueprints
+## 0.2.1
+
+### Patch Changes
+
+- [#37](https://github.com/ijlee2/codemod-utils/pull/37) Updated dependencies. Standardized the build and test scripts. ([@ijlee2](https://github.com/ijlee2))
+
## 0.2.0
### Minor Changes
diff --git a/packages/blueprints/README.md b/packages/blueprints/README.md
index ebcdb086..58b3e95d 100644
--- a/packages/blueprints/README.md
+++ b/packages/blueprints/README.md
@@ -176,7 +176,7 @@ Often, it is easy to miscalculate data and misplace the newline character `\n` .
## Compatibility
-* Node.js v16 or above
+- Node.js v16 or above
## Contributing
diff --git a/packages/blueprints/package.json b/packages/blueprints/package.json
index 63e51dd4..4332e63b 100644
--- a/packages/blueprints/package.json
+++ b/packages/blueprints/package.json
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/blueprints",
- "version": "0.2.0",
+ "version": "0.2.1",
"description": "Utilities for blueprints",
"keywords": [
"codemod",
diff --git a/packages/ember-cli-string/CHANGELOG.md b/packages/ember-cli-string/CHANGELOG.md
index 58be9ac5..8a8698bc 100644
--- a/packages/ember-cli-string/CHANGELOG.md
+++ b/packages/ember-cli-string/CHANGELOG.md
@@ -1 +1,7 @@
# Changelog for @codemod-utils/ember-cli-string
+
+## 0.1.0
+
+### Minor Changes
+
+- [#39](https://github.com/ijlee2/codemod-utils/pull/39) Created @codemod-utils/ember-cli-string ([@ijlee2](https://github.com/ijlee2))
diff --git a/packages/ember-cli-string/README.md b/packages/ember-cli-string/README.md
index 4d857a32..9e41885a 100644
--- a/packages/ember-cli-string/README.md
+++ b/packages/ember-cli-string/README.md
@@ -58,7 +58,7 @@ doubleColonize('ui/button');
## Compatibility
-* Node.js v16 or above
+- Node.js v16 or above
## Contributing
diff --git a/packages/ember-cli-string/package.json b/packages/ember-cli-string/package.json
index fe2958b8..57a37c84 100644
--- a/packages/ember-cli-string/package.json
+++ b/packages/ember-cli-string/package.json
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/ember-cli-string",
- "version": "0.0.0",
+ "version": "0.1.0",
"description": "Utilities for string, as used by Ember CLI",
"keywords": [
"codemod",
diff --git a/packages/files/CHANGELOG.md b/packages/files/CHANGELOG.md
index e61ea958..83bcbe20 100644
--- a/packages/files/CHANGELOG.md
+++ b/packages/files/CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog for @codemod-utils/files
+## 0.5.0
+
+### Minor Changes
+
+- [#38](https://github.com/ijlee2/codemod-utils/pull/38) Exported parseFilePath ([@ijlee2](https://github.com/ijlee2))
+
+### Patch Changes
+
+- [#37](https://github.com/ijlee2/codemod-utils/pull/37) Updated dependencies. Standardized the build and test scripts. ([@ijlee2](https://github.com/ijlee2))
+
## 0.4.1
### Patch Changes
diff --git a/packages/files/README.md b/packages/files/README.md
index 4aea709c..c5f0b2c4 100644
--- a/packages/files/README.md
+++ b/packages/files/README.md
@@ -293,7 +293,7 @@ function migrationStrategyForComponentClasses(options) {
## Compatibility
-* Node.js v16 or above
+- Node.js v16 or above
## Contributing
diff --git a/packages/files/package.json b/packages/files/package.json
index 4fcb3b7c..0ae25e94 100644
--- a/packages/files/package.json
+++ b/packages/files/package.json
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/files",
- "version": "0.4.1",
+ "version": "0.5.0",
"description": "Utilities for handling files",
"keywords": [
"codemod",
diff --git a/packages/json/CHANGELOG.md b/packages/json/CHANGELOG.md
index edfd695b..3880fe70 100644
--- a/packages/json/CHANGELOG.md
+++ b/packages/json/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog for @codemod-utils/json
+## 0.3.2
+
+### Patch Changes
+
+- [#37](https://github.com/ijlee2/codemod-utils/pull/37) Updated dependencies. Standardized the build and test scripts. ([@ijlee2](https://github.com/ijlee2))
+
## 0.3.1
### Patch Changes
diff --git a/packages/json/README.md b/packages/json/README.md
index a723e7d5..256d2848 100644
--- a/packages/json/README.md
+++ b/packages/json/README.md
@@ -122,7 +122,7 @@ const { name, version } = packageJson;
## Compatibility
-* Node.js v16 or above
+- Node.js v16 or above
## Contributing
diff --git a/packages/json/package.json b/packages/json/package.json
index 291b770f..d476362d 100644
--- a/packages/json/package.json
+++ b/packages/json/package.json
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/json",
- "version": "0.3.1",
+ "version": "0.3.2",
"description": "Utilities for handling JSON",
"keywords": [
"codemod",
diff --git a/packages/tests/CHANGELOG.md b/packages/tests/CHANGELOG.md
index c491c0cb..095acb27 100644
--- a/packages/tests/CHANGELOG.md
+++ b/packages/tests/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog for @codemod-utils/tests
+## 0.2.3
+
+### Patch Changes
+
+- [#37](https://github.com/ijlee2/codemod-utils/pull/37) Updated dependencies. Standardized the build and test scripts. ([@ijlee2](https://github.com/ijlee2))
+
## 0.2.2
### Patch Changes
diff --git a/packages/tests/README.md b/packages/tests/README.md
index 279ec09e..396da8c0 100644
--- a/packages/tests/README.md
+++ b/packages/tests/README.md
@@ -106,7 +106,7 @@ To create the input and output directories easily, you can copy an existing proj
## Compatibility
-* Node.js v16 or above
+- Node.js v16 or above
## Contributing
diff --git a/packages/tests/package.json b/packages/tests/package.json
index 82d762a0..c7905754 100644
--- a/packages/tests/package.json
+++ b/packages/tests/package.json
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/tests",
- "version": "0.2.2",
+ "version": "0.2.3",
"description": "Utilities for tests",
"keywords": [
"codemod",