Skip to content

Commit

Permalink
release: [email protected] [skip ci]
Browse files Browse the repository at this point in the history
## [2.0.0](https://github.com/Xunnamius/unified-utils/compare/[email protected]@2.0.0) (2023-11-30)

### 💥 BREAKING CHANGES 💥

* End-of-life node versions (14 and 16) are no longer supported

* These packages are only guaranteed to work with the _latest_ remark/unified packages

#### ✨ Features

* Add `excludeHeadingText` functionality ([b887b05](b887b05))

#### ⚙️ Build system

* **package:** add strip-ansi devdep; force update of unified-args to 11.0.1 ([150abb4](150abb4))
* Update all plugins to work with unified@>=11 ([fe98b3c](fe98b3c))

#### 🧙🏿 Refactored

* **package:** bumped minimum node version to maintained ([364aced](364aced))
  • Loading branch information
Xunnamius committed Nov 30, 2023
1 parent 1ab1b4f commit 5b02485
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 38 deletions.
103 changes: 68 additions & 35 deletions packages/remark-capitalize-headings/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,83 +4,116 @@ All notable changes to this project will be documented in this auto-generated
file. The format is based on [Conventional Commits][1]; this project adheres to
[Semantic Versioning][2].

### [1.0.3][3] (2023-01-29)
## [2.0.0][3] (2023-11-30)

### 💥 Breaking Changes 💥

- End-of-life node versions (14 and 16) are no longer supported

- These packages are only guaranteed to work with the _latest_ remark/unified
packages

#### ✨ Features

- Add `excludeHeadingText` functionality ([b887b05][4])

#### ⚙️ Build System

- **package:** add strip-ansi devdep; force update of unified-args to 11.0.1
([150abb4][5])
- Update all plugins to work with unified@>=11 ([fe98b3c][6])

#### 🧙🏿 Refactored

- **package:** bumped minimum node version to maintained ([364aced][7])

### [1.0.3][8] (2023-01-29)

#### ⚙️ Build System

- Stabilize build process ([6994784][4])
- Stabilize build process ([6994784][9])

### [1.0.2][5] (2023-01-04)
### [1.0.2][10] (2023-01-04)

#### ⚙️ Build System

- **packages:** update maintainence badge ([4cbf746][6])
- **packages:** update maintainence badge ([4cbf746][11])

#### 🔥 Reverted

- _"test: replace remark-remove-comments with
@xunnamius/remark-remove-comments"_ ([2395903][7])
@xunnamius/remark-remove-comments"_ ([2395903][12])

### [1.0.1][8] (2022-12-06)
### [1.0.1][13] (2022-12-06)

#### 🪄 Fixes

- **packages/remark-capitalize-headings:** use easier to understand examples
([1311199][9])
([1311199][14])

## [1.0.0][10] (2022-10-28)
## [1.0.0][15] (2022-10-28)

#### ✨ Features

- **packages/remark-capitalize-headings:** add new package ([97e7ef3][11])
- **packages/remark-capitalize-headings:** add new package ([97e7ef3][16])

#### ⚙️ Build System

- Add all-contributors ([84bff68][12])
- **lint-staged:** add doctoc to pre-commit build process ([fa4f9ee][13])
- **package:** add doctoc to npm format script ([112d42c][14])
- **package:** defer to jest.config.js for coverage options ([05cd09e][15])
- **package:** fix npm test script jest invocations ([a2ccf80][16])
- **package:** update core npm format script ([c9d61ba][17])
- **package:** use actual test ignore regex pattern ([6358888][18])
- Update core build toolchain ([19243d6][19])
- Update core lint npm script; add lint:all npm script ([bd84d8f][20])
- Add all-contributors ([84bff68][17])
- **lint-staged:** add doctoc to pre-commit build process ([fa4f9ee][18])
- **package:** add doctoc to npm format script ([112d42c][19])
- **package:** defer to jest.config.js for coverage options ([05cd09e][20])
- **package:** fix npm test script jest invocations ([a2ccf80][21])
- **package:** update core npm format script ([c9d61ba][22])
- **package:** use actual test ignore regex pattern ([6358888][23])
- Update core build toolchain ([19243d6][24])
- Update core lint npm script; add lint:all npm script ([bd84d8f][25])

[1]: https://conventionalcommits.org
[2]: https://semver.org
[3]:
https://github.com/Xunnamius/unified-utils/compare/[email protected].2...remark-capitalize-headings@1.0.3
https://github.com/Xunnamius/unified-utils/compare/[email protected].3...remark-capitalize-headings@2.0.0
[4]:
https://github.com/Xunnamius/unified-utils/commit/69947844f42e618f336aeeb9af1d6c9f4ee1e82b
https://github.com/Xunnamius/unified-utils/commit/b887b05deaa81f5c600e0a30c8bf949cafde54b9
[5]:
https://github.com/Xunnamius/unified-utils/compare/[email protected]@1.0.2
https://github.com/Xunnamius/unified-utils/commit/150abb424fd30e84336ddf8b1f443d75a04c30a1
[6]:
https://github.com/Xunnamius/unified-utils/commit/4cbf746b78c3bb369c3b27228ec582c3a3e47c54
https://github.com/Xunnamius/unified-utils/commit/fe98b3c7f06f4356bed713d2edb7d6f7f749617b
[7]:
https://github.com/Xunnamius/unified-utils/commit/23959035752e76f19ec4440cd762b4594fdb93bf
https://github.com/Xunnamius/unified-utils/commit/364aced3f0c8d4e56df8cde24419d13f568cb68f
[8]:
https://github.com/Xunnamius/unified-utils/compare/[email protected].0[email protected].1
https://github.com/Xunnamius/unified-utils/compare/[email protected].2[email protected].3
[9]:
https://github.com/Xunnamius/unified-utils/commit/1311199e584bd9a867e448ab69e8507c3e768183
https://github.com/Xunnamius/unified-utils/commit/69947844f42e618f336aeeb9af1d6c9f4ee1e82b
[10]:
https://github.com/Xunnamius/unified-utils/compare/05cd09e0cf13f18fa56f6156516bcf546b1238e6...[email protected].0
https://github.com/Xunnamius/unified-utils/compare/[email protected]...[email protected].2
[11]:
https://github.com/Xunnamius/unified-utils/commit/97e7ef33888a54b4fadff9a67684e3f63ed3786c
https://github.com/Xunnamius/unified-utils/commit/4cbf746b78c3bb369c3b27228ec582c3a3e47c54
[12]:
https://github.com/Xunnamius/unified-utils/commit/84bff68339c7a742c104c0f2545fe62b28c8b473
https://github.com/Xunnamius/unified-utils/commit/23959035752e76f19ec4440cd762b4594fdb93bf
[13]:
https://github.com/Xunnamius/unified-utils/commit/fa4f9ee3f9cd922875cf077f6d8b74105f0ba55e
https://github.com/Xunnamius/unified-utils/compare/[email protected]@1.0.1
[14]:
https://github.com/Xunnamius/unified-utils/commit/112d42c6999f758ff618f4e116eb7cf38c09f77c
https://github.com/Xunnamius/unified-utils/commit/1311199e584bd9a867e448ab69e8507c3e768183
[15]:
https://github.com/Xunnamius/unified-utils/commit/05cd09e0cf13f18fa56f6156516bcf546b1238e6
https://github.com/Xunnamius/unified-utils/compare/05cd09e0cf13f18fa56f6156516bcf546b1238e6[email protected]
[16]:
https://github.com/Xunnamius/unified-utils/commit/a2ccf801276c84e54d3fc1afaad574f78408d86f
https://github.com/Xunnamius/unified-utils/commit/97e7ef33888a54b4fadff9a67684e3f63ed3786c
[17]:
https://github.com/Xunnamius/unified-utils/commit/c9d61bacbd52bc76b05abd3426474bf0176c3cd9
https://github.com/Xunnamius/unified-utils/commit/84bff68339c7a742c104c0f2545fe62b28c8b473
[18]:
https://github.com/Xunnamius/unified-utils/commit/63588887a7377f3ee7488b19c87f1f2bf1faa811
https://github.com/Xunnamius/unified-utils/commit/fa4f9ee3f9cd922875cf077f6d8b74105f0ba55e
[19]:
https://github.com/Xunnamius/unified-utils/commit/19243d623ba14cfd629c5e4632e6a75de508592b
https://github.com/Xunnamius/unified-utils/commit/112d42c6999f758ff618f4e116eb7cf38c09f77c
[20]:
https://github.com/Xunnamius/unified-utils/commit/05cd09e0cf13f18fa56f6156516bcf546b1238e6
[21]:
https://github.com/Xunnamius/unified-utils/commit/a2ccf801276c84e54d3fc1afaad574f78408d86f
[22]:
https://github.com/Xunnamius/unified-utils/commit/c9d61bacbd52bc76b05abd3426474bf0176c3cd9
[23]:
https://github.com/Xunnamius/unified-utils/commit/63588887a7377f3ee7488b19c87f1f2bf1faa811
[24]:
https://github.com/Xunnamius/unified-utils/commit/19243d623ba14cfd629c5e4632e6a75de508592b
[25]:
https://github.com/Xunnamius/unified-utils/commit/bd84d8fc1fb5c4d1828a16a47214a6730f34899a
4 changes: 2 additions & 2 deletions packages/remark-capitalize-headings/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ Options type for the remark-remove-url-trailing-slash plugin.
| Name | Type | Description |
| :------ | :------ | :------ |
| `excludeHeadingLevel?` | \{ [level in "h1" \| "h2" \| "h3" \| "h4" \| "h5" \| "h6"]?: boolean } | Headings of the specified `level` in `{ [level]: true }` will be excluded from capitalization entirely, where `h1` corresponds to `<h1>…</h1>`/`# …`, `h2` to `<h2>…</h2>`/`## …`, etc. > Excludes with `false` values are treated as if they were commented out. **`Default`** ```ts {} ``` |
| `excludeHeadingText?` | `string`[] | This option lets you avoid transforming specific parts of the header's text _before they've been transformed by title_. **`Default`** ```ts [] ``` |
| `excludeSectionRegExp?` | (`string` \| `RegExp`)[] | Entire sections with a stringified heading matching at least one of the given regular expression strings will be excluded from capitalization entirely. **`Default`** ```ts [] ``` |
| `replaceHeadingRegExp?` | \{ `[regExp: string]`: `string`; } | This option lets you manipulate non-excluded headers in their stringified form _after they've been transformed by title_ by leveraging mdast position data. This extra context is useful for tasks like capitalizing a word only if it appears at the end of a heading, or as part of a phrase, or to prevent a word from being capitalized. This option also supports using matching groups in during replacement. **`Default`** ```ts { "(?<=\\s)a(?=\\p{P})": "A" } ``` |
| `excludeHeadingText?` | `string`[] | This option lets you avoid transforming specific parts of the header's text _before they've been transformed by title_. **`Default`** ```ts [] ``` |

#### Defined in

[packages/remark-capitalize-headings/src/index.ts:12](https://github.com/Xunnamius/unified-utils/blob/7833113/packages/remark-capitalize-headings/src/index.ts#L12)
[packages/remark-capitalize-headings/src/index.ts:12](https://github.com/Xunnamius/unified-utils/blob/cc4d623/packages/remark-capitalize-headings/src/index.ts#L12)

## Functions

Expand Down
2 changes: 1 addition & 1 deletion packages/remark-capitalize-headings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark-capitalize-headings",
"version": "1.0.3",
"version": "2.0.0",
"description": "remark plugin that selectively transforms headings using vercel's title package",
"keywords": [
"unified",
Expand Down

0 comments on commit 5b02485

Please sign in to comment.