Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose parser and writer option overrides #896

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
93a8ca9
fix: continue with commit when commitAll is true
wesleytodd Oct 2, 2020
d0673e7
fix: print version number that updater.writeVersion returns
brettdh Oct 11, 2020
dc34a9c
fix: Combining both release-as and prerelease now doesn't break package
kf6kjg Jun 1, 2021
e284dde
feat(tag): add an option to force tag replacement
pluce Nov 3, 2021
9370427
feat: expose parser and writer options
s-h-a-d-o-w Mar 21, 2022
7983f6e
fix: fallback to git tag if no version in package file
Djaler Mar 28, 2022
48b9edf
Use relative path in git ignore
vallsv May 7, 2022
8ab2b50
chore: Rename package to commit-and-tag-version
TimothyJones May 25, 2022
ad30e33
chore: Remove package-lock from .gitignore to make npm ci happy
TimothyJones May 25, 2022
3389354
build: Use npm registry in release workflow
TimothyJones May 25, 2022
3ad4d21
build: Correct package name in release script
TimothyJones May 25, 2022
b4741f5
docs: Update readme to remove version requirements in the docs (since…
TimothyJones May 25, 2022
1974279
chore(deps): update codecov/codecov-action action to v3
renovate-bot May 15, 2022
c28bf1f
chore(deps): update actions/checkout action to v3
renovate-bot May 25, 2022
ae9e86c
chore(deps): update actions/setup-node action to v3
renovate-bot May 25, 2022
df5a94a
Merge pull request #5 from posos-tech/master
TimothyJones May 25, 2022
d1c823f
Merge pull request #3 from absolute-version/renovate/actions-checkout…
TimothyJones May 25, 2022
5129609
Merge pull request #4 from absolute-version/renovate/actions-setup-no…
TimothyJones May 25, 2022
d2491bc
fix: Use relative path in git ignore
TimothyJones May 25, 2022
5ecfa2e
Merge pull request #8 from kf6kjg/fix_542
TimothyJones May 25, 2022
08a0121
Merge pull request #10 from wesleytodd/commit-all
TimothyJones May 25, 2022
f2e83bf
Merge pull request #11 from brettdh/fix-dry-run-version
TimothyJones May 25, 2022
57e7091
Merge pull request #2 from Djaler/fix-fallback-to-git-tag-version
TimothyJones May 25, 2022
fe5b919
chore(master): release 9.6.0
github-actions[bot] May 25, 2022
14e4917
Merge pull request #9 from absolute-version/release-please--branches-…
TimothyJones May 25, 2022
3acdd27
!build: Drop support for node 10 and 12, support node 16 and 18
TimothyJones May 25, 2022
2037aa4
chore(deps): update dependency mocha to v10
renovate-bot May 25, 2022
0f75115
build!: Drop support for node 10 and 12, support node 16 and 18
TimothyJones May 25, 2022
a704eca
docs: Clarify rename reasoning
TimothyJones May 25, 2022
9c5d33d
Merge pull request #13 from absolute-version/renovate/mocha-10.x
TimothyJones May 25, 2022
c83e36f
chore(deps): update dependency mock-fs to v5
renovate-bot May 25, 2022
869a208
docs: Correct title of readme
TimothyJones May 25, 2022
6a13af2
Merge pull request #15 from absolute-version/renovate/mock-fs-5.x
TimothyJones May 25, 2022
9fa0c1b
chore(deps): Update eslint packages to latest versions
TimothyJones May 25, 2022
f50bd16
chore: Update deps for eslint
TimothyJones May 25, 2022
d190c51
fix(deps): update dependency yargs to v17
renovate-bot May 25, 2022
c962747
Merge pull request #20 from absolute-version/renovate/yargs-17.x
TimothyJones May 25, 2022
c38d480
chore(master): release 10.0.0
github-actions[bot] May 25, 2022
1537b67
Merge pull request #14 from absolute-version/release-please--branches…
TimothyJones May 25, 2022
5eb8886
fix: No longer warn inappropriately when a custom updater is provided…
TimothyJones May 28, 2022
d3f581c
chore(master): release 10.0.1
github-actions[bot] May 28, 2022
7b7ed56
Merge pull request #24 from absolute-version/release-please--branches…
TimothyJones May 28, 2022
2442808
docs: tweak them a bit
s-h-a-d-o-w Aug 10, 2022
4bed054
Merge branch 'master' into feat/expose-parser-writer-opts
s-h-a-d-o-w Aug 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/ISSUE_TEMPLATE/ask-a-question.md
@@ -1,10 +1,7 @@
---
name: Ask a Question
about: '"How can I X?" – ask a question about how to use standard-version.'
title: ''
about: '"How can I X?" – ask a question about how to use commit-and-tag-version.'
title: ""
labels: question
assignees: ''

assignees: ""
---


12 changes: 5 additions & 7 deletions .github/ISSUE_TEMPLATE/bug-report.md
@@ -1,10 +1,9 @@
---
name: Bug Report
about: Use this template if something isn't working as expected.
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

**Describe the bug**
Expand All @@ -13,18 +12,17 @@ A clear and concise description of what the bug is.
**Current behavior**
A clear and concise description of the behavior.


**Expected behavior**
A clear and concise description of what you expected to happen.



**Environment**
- `standard-version` version(s): [e.g. v6.0.0, v8.0.0, master]

- `commit-and-tag-version` version(s): [e.g. v6.0.0, v8.0.0, master]
- Node/npm version: [e.g. Node 10/npm 6]
- OS: [e.g. OSX 10.13.4, Windows 10]

**Possible Solution**

<!--- If you have suggestions on a fix for the bug -->

**Additional context**
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Expand Up @@ -10,24 +10,24 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [10, 12, 14]
node: [14, 16, 18]
os: [ubuntu-latest, windows-latest]
env:
OS: ${{ matrix.os }}
NODE_VERSION: ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: git fetch --prune --unshallow
- run: git config --global user.name 'Actions'
- run: git config --global user.email 'dummy@example.org'
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm install --engine-strict
- run: npm test
- run: npm run coverage
- name: Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
env_vars: OS, NODE_VERSION
10 changes: 5 additions & 5 deletions .github/workflows/release-please.yml
Expand Up @@ -12,16 +12,16 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: standard-version
package-name: commit-and-tag-version
# The logic below handles the npm publication:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 12
registry-url: 'https://external-dot-oss-automation.appspot.com'
node-version: 16
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -14,4 +14,3 @@ npm-debug.log

# coverage
coverage
package-lock.json
41 changes: 40 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,45 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

### [10.0.1](https://github.com/absolute-version/commit-and-tag-version/compare/v10.0.0...v10.0.1) (2022-05-28)


### Bug Fixes

* No longer warn inappropriately when a custom updater is provided as an object ([5eb8886](https://github.com/absolute-version/commit-and-tag-version/commit/5eb8886a56c6b14c13544192edb3d0e18f91184a))

## [10.0.0](https://github.com/absolute-version/commit-and-tag-version/compare/v9.6.0...v10.0.0) (2022-05-25)


### ⚠ BREAKING CHANGES

* Drop support for node 10 and 12, support node 16 and 18

### Bug Fixes

* **deps:** update dependency yargs to v17 ([d190c51](https://github.com/absolute-version/commit-and-tag-version/commit/d190c51507026adefe640cdd75f0a643afd81b87))


### Build System

* Drop support for node 10 and 12, support node 16 and 18 ([0f75115](https://github.com/absolute-version/commit-and-tag-version/commit/0f751158c2df9cbf7a2c16bef55a5de084f0d17d))

## [9.6.0](https://github.com/absolute-version/commit-and-tag-version/compare/v9.5.0...v9.6.0) (2022-05-25)


### Features

* **tag:** add an option to force tag replacement ([df5a94a](https://github.com/absolute-version/commit-and-tag-version/commit/df5a94a978c6966e334ec0e4c9f082fae8deb4f9))


### Bug Fixes

* Combining both release-as and prerelease now doesn't break package ([5ecfa2e](https://github.com/absolute-version/commit-and-tag-version/commit/5ecfa2e250e134dbfd3ce8d3c6e9d3be28f6f2b8))
* Fallback to git tag if no version in package file ([57e7091](https://github.com/absolute-version/commit-and-tag-version/commit/57e70916c8afbce16347ed1f710984f5a483152a))
* No longer skips the commit if changelog and bump are both skipped but `commitAll` is set ([08a0121](https://github.com/absolute-version/commit-and-tag-version/commit/08a01212f0eea7ee5e454adf560755df67234d2f))
* Use relative path from .gitignore to avoid files matching inappropriately ([d2491bc](https://github.com/absolute-version/commit-and-tag-version/commit/d2491bc8b61a60cd438045ac409278f5b84621dd))
* When a custom updater reports a version other than the new computed semver, that version is now correctly reported in log output ([f2e83bf](https://github.com/absolute-version/commit-and-tag-version/commit/f2e83bfac711ac5ba4de940d654269af69fc7312))

## [9.5.0](https://github.com/conventional-changelog/standard-version/compare/v9.4.0...v9.5.0) (2022-05-15)

Expand Down