Skip to content

Commit

Permalink
use common npx stable version syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 committed Dec 7, 2024
1 parent 7713853 commit 26157fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You can also not install the tool and use it ad-hoc.
# ad-hoc
npx @cap-js-community/mtx-tool
# ad-hoc with fixed version, e.g. for stable pipelines
npx @cap-js-community/mtx-tool@v0.9.0
npx @cap-js-community/mtx-tool@0.9.0
```

## Support, Feedback, Contributing
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can also not install the tool and use it ad-hoc.
# ad-hoc
npx @cap-js-community/mtx-tool
# ad-hoc with fixed version, e.g. for stable pipelines
npx @cap-js-community/mtx-tool@v0.9.0
npx @cap-js-community/mtx-tool@0.9.0
```

## Content
Expand Down
2 changes: 1 addition & 1 deletion test/consistency.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe("consistency tests", () => {
const readmeInstall = /(## Install or Upgrade\n\n[\s\S]*?)\n##/g.exec(readme)[1];

const changelogVersion = /^## v(\d+\.\d+\.\d+) - \d\d\d\d-\d\d-\d\d/gm.exec(changelog)[1];
const readmeVersion = /@cap-js-community\/mtx-tool@v(\d+\.\d+\.\d+)/g.exec(readmeInstall)[1];
const readmeVersion = /@cap-js-community\/mtx-tool@(\d+\.\d+\.\d+)/g.exec(readmeInstall)[1];

expect(readmeVersion).toEqual(changelogVersion);
});
Expand Down

0 comments on commit 26157fe

Please sign in to comment.