From 612f13aa5511ef7fbadde8002c7ddaace9d9bfb2 Mon Sep 17 00:00:00 2001 From: David Schach <636977+dschach@users.noreply.github.com> Date: Wed, 29 Mar 2023 17:47:52 -0700 Subject: [PATCH] feat(auto-changelog): configure auto-changelog (#6) --- HISTORY.md | 43 ++++++++++++++++++++++++++++++++++++++++--- package.json | 10 +++++++++- 2 files changed, 49 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 614c775..65873b3 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,8 +1,45 @@ -### Changelog +# Changelog -All notable changes to this project will be documented in this file. Dates are displayed in UTC. +All notable changes to this project will be documented in this file. -#### 1.0.0 +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased](https://github.com/highlightjs/highlightjs-apex/compare/v1.1.0...HEAD) + +### Merged + +- feat: update to Spring 23 (API 57.0) [`#4`](https://github.com/highlightjs/highlightjs-apex/pull/4) + +### Commits + +- Create codeql.yml [`8f1af08`](https://github.com/highlightjs/highlightjs-apex/commit/8f1af08fa31f515393cc73ae9f29fa53d6b6eb42) +- Create dependabot.yml [`c5da832`](https://github.com/highlightjs/highlightjs-apex/commit/c5da8326601a3c8feff1fb835ff4011c968a6135) +- Readme typo [`faf2998`](https://github.com/highlightjs/highlightjs-apex/commit/faf2998257fbfa87cbe1a7138b2a0d32b8e7dcfa) + +## [v1.1.0](https://github.com/highlightjs/highlightjs-apex/compare/v1.0.0...v1.1.0) - 2022-06-02 + +### Commits + +- Release v1.1.0 [`06b9ea5`](https://github.com/highlightjs/highlightjs-apex/commit/06b9ea597d6042d385e4f6b0fccb71a0aa1b82e6) +- CDN version update [`9e267ab`](https://github.com/highlightjs/highlightjs-apex/commit/9e267abb5a013492e98169e91cbdce3b641aaa3e) +- README [`5cafe0c`](https://github.com/highlightjs/highlightjs-apex/commit/5cafe0c903d606f96412cee9302f25c645870281) + +## v1.0.0 - 2022-05-31 + +### Merged + +- NPM packaging [`#1`](https://github.com/highlightjs/highlightjs-apex/pull/1) + +### Commits - Initial release [`6541736`](https://github.com/highlightjs/highlightjs-apex/commit/6541736558de97458314f942ab048eb4f17b9d9b) +- CDN version update [`a1de575`](https://github.com/highlightjs/highlightjs-apex/commit/a1de57573cfa1d83029b635908c5d1bc70987c88) +- README [`1d14980`](https://github.com/highlightjs/highlightjs-apex/commit/1d14980b3c65a7edb2db38b8b41ca7487ac5660e) +- Update README.md [`c23f0b9`](https://github.com/highlightjs/highlightjs-apex/commit/c23f0b942c60151ab62223fe6352fb7a6605a483) +- README [`cc8ba72`](https://github.com/highlightjs/highlightjs-apex/commit/cc8ba727750a3d4dfa4325a01abb335dcbb2d21c) +- Changelog [`7630f8b`](https://github.com/highlightjs/highlightjs-apex/commit/7630f8bbeb31f6c7c708a91d6593658e56a03fbc) - Sample code update [`313d768`](https://github.com/highlightjs/highlightjs-apex/commit/313d7685eac440d47f9cfd7b4a70d2ab1b1d2796) +- revert gitignore [`5ba665f`](https://github.com/highlightjs/highlightjs-apex/commit/5ba665f56b2b3a01813848cc0eb95aee462ca8b4) +- Patch script [`ad35f1e`](https://github.com/highlightjs/highlightjs-apex/commit/ad35f1efd86a9544e2a115cc45a47aff6310a17e) +- README update [`5f00ee2`](https://github.com/highlightjs/highlightjs-apex/commit/5f00ee2ba998c3c09bdbce47a6fec7f7668e90cf) diff --git a/package.json b/package.json index c063772..74f2876 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,21 @@ "scripts": { "test": "./node_modules/.bin/mocha --reporter spec", "mocha": "mocha test/markup", - "changelog": "auto-changelog --output HISTORY.md --hide-credit -p --commit-limit false", + "changelog": "auto-changelog", "npm-patch": "npm version patch && npm publish" }, "repository": { "type": "git", "url": "git+https://github.com/highlightjs/highlightjs-apex.git" }, + "auto-changelog": { + "output": "HISTORY.md", + "template": "keepachangelog", + "unreleased": true, + "hideCredit": true, + "tagPrefix": "v", + "commitLimit": 1000 + }, "keywords": [ "Apex", "Salesforce",