@oorabona/release-it-preset 1.0.0-rc.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,7 +18,7 @@ Most release workflows fall into one of three traps: too much manual work (plain
18
18
 
19
19
  `@oorabona/release-it-preset` occupies the productive middle ground for solo and small-team JavaScript package maintainers who want:
20
20
 
21
- - **Human-readable changelogs.** Keep a Changelog format (Added/Fixed/Changed/Removed/Security) generated automatically from conventional commits — no manual entry writing, no machine-format diffs.
21
+ - **Human-readable changelogs.** Keep a Changelog format (Added/Changed/Deprecated/Removed/Fixed/Security) generated automatically from conventional commits — no manual entry writing, no machine-format diffs. `[YANKED]` markers in version headings are preserved transparently; apply them manually post-release per the [Keep a Changelog spec](https://keepachangelog.com/en/1.1.0/).
22
22
  - **OIDC publishing without CI plumbing.** Import the reusable `publish.yml` workflow in three lines. OIDC trusted publishing with npm provenance ships on day one, no `NPM_TOKEN` secret required.
23
23
  - **Diagnostic confidence before release.** Run `release-it-preset doctor` to surface every misconfiguration — git auth, npm auth, changelog hygiene, branch requirements — before anything breaks in CI.
24
24
  - **Recovery presets for the real world.** Dedicated `republish` and `retry-publish` configs handle the scenarios other tools pretend don't happen.
@@ -745,7 +745,10 @@ node node_modules/@oorabona/release-it-preset/dist/scripts/populate-unreleased-c
745
745
  Supported commit types:
746
746
  - `feat`, `feature`, `add` → Added
747
747
  - `fix`, `bugfix` → Fixed
748
+ - `deprecate`, `deprecated`, `deprecation` → Deprecated
748
749
  - `perf`, `refactor`, `style`, `docs`, `test`, `chore`, `build` → Changed
750
+ - `remove`, `removed`, `delete`, `deleted` → Removed
751
+ - `security` → Security
749
752
  - `ci`, `release`, `hotfix` → Ignored
750
753
 
751
754
  Add `[skip-changelog]` to commit message to exclude it.
@@ -66,9 +66,10 @@ export const CHANGELOG_DEFAULTS = {
66
66
  */
67
67
  export const CHANGELOG_SECTIONS = {
68
68
  ADDED: '### Added',
69
- FIXED: '### Fixed',
70
69
  CHANGED: '### Changed',
70
+ DEPRECATED: '### Deprecated',
71
71
  REMOVED: '### Removed',
72
+ FIXED: '### Fixed',
72
73
  SECURITY: '### Security',
73
74
  BREAKING: '### ⚠️ BREAKING CHANGES',
74
75
  };
@@ -18,6 +18,9 @@ export const BUILTIN_TYPE_MAP = {
18
18
  add: '### Added',
19
19
  fix: '### Fixed',
20
20
  bugfix: '### Fixed',
21
+ deprecate: '### Deprecated',
22
+ deprecated: '### Deprecated',
23
+ deprecation: '### Deprecated',
21
24
  security: '### Security',
22
25
  perf: '### Changed',
23
26
  refactor: '### Changed',
@@ -178,9 +178,10 @@ export function parseCommitsWithMultiplePrefixes(gitOutput, repoUrl, typeMap = B
178
178
  const sections = [];
179
179
  const standardSectionOrder = [
180
180
  '### Added',
181
- '### Fixed',
182
181
  '### Changed',
182
+ '### Deprecated',
183
183
  '### Removed',
184
+ '### Fixed',
184
185
  '### Security',
185
186
  ];
186
187
  // Collect any custom section names not in the standard order
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oorabona/release-it-preset",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0",
4
4
  "description": "Shared release-it preset with OIDC trusted publishing, smart npm dist-tag selection, and monorepo per-package changelog support",
5
5
  "type": "module",
6
6
  "keywords": [