Skip to content

Commit

Permalink
Tagged 0.5.0 (#40)
Browse files Browse the repository at this point in the history
* chore: Standardized format

* chore: Updated CONTRIBUTING

* Tagged 0.5.0

---------

Co-authored-by: ijlee2 <[email protected]>
  • Loading branch information
ijlee2 and ijlee2 authored Jun 21, 2023
1 parent fed5264 commit 76b7832
Show file tree
Hide file tree
Showing 27 changed files with 98 additions and 43 deletions.
10 changes: 0 additions & 10 deletions .changeset/dirty-ducks-serve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-bats-raise.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/ten-bikes-smoke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tricky-countries-deliver.md

This file was deleted.

31 changes: 29 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,47 @@ Here are some guidelines to help you and everyone else.
</details>


<details>

<summary>Add changeset to pull request</code></summary>

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
```

</details>


<details>

<summary>Publish packages (for admins)</summary>

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=<YOUR_PERSONAL_ACCESS_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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "workspace-root",
"version": "0.4.2",
"version": "0.5.0",
"private": true,
"description": "Workspace root for @codemod-utils",
"repository": {
Expand Down
10 changes: 10 additions & 0 deletions packages/ast/javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ast/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ast/javascript/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 10 additions & 0 deletions packages/ast/template/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ast/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ast/template/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/blueprints/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/blueprints/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/blueprints/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/blueprints",
"version": "0.2.0",
"version": "0.2.1",
"description": "Utilities for blueprints",
"keywords": [
"codemod",
Expand Down
6 changes: 6 additions & 0 deletions packages/ember-cli-string/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
2 changes: 1 addition & 1 deletion packages/ember-cli-string/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ doubleColonize('ui/button');

## Compatibility

* Node.js v16 or above
- Node.js v16 or above


## Contributing
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-cli-string/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 10 additions & 0 deletions packages/files/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function migrationStrategyForComponentClasses(options) {

## Compatibility

* Node.js v16 or above
- Node.js v16 or above


## Contributing
Expand Down
2 changes: 1 addition & 1 deletion packages/files/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/files",
"version": "0.4.1",
"version": "0.5.0",
"description": "Utilities for handling files",
"keywords": [
"codemod",
Expand Down
6 changes: 6 additions & 0 deletions packages/json/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const { name, version } = packageJson;
## Compatibility
* Node.js v16 or above
- Node.js v16 or above
## Contributing
Expand Down
2 changes: 1 addition & 1 deletion packages/json/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/json",
"version": "0.3.1",
"version": "0.3.2",
"description": "Utilities for handling JSON",
"keywords": [
"codemod",
Expand Down
6 changes: 6 additions & 0 deletions packages/tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codemod-utils/tests",
"version": "0.2.2",
"version": "0.2.3",
"description": "Utilities for tests",
"keywords": [
"codemod",
Expand Down

0 comments on commit 76b7832

Please sign in to comment.