Skip to content

Commit

Permalink
Make a couple miscellaneous meta tweaks (#1500)
Browse files Browse the repository at this point in the history
- Update badges to Node.js 18.18
- Say "master" less
  • Loading branch information
72636c authored Mar 25, 2024
1 parent 4049ce9 commit 80d97ad
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![GitHub Release](https://github.com/seek-oss/skuba/workflows/Release/badge.svg?branch=master)](https://github.com/seek-oss/skuba/actions?query=workflow%3ARelease)
[![GitHub Validate](https://github.com/seek-oss/skuba/workflows/Validate/badge.svg?branch=master)](https://github.com/seek-oss/skuba/actions?query=workflow%3AValidate)
[![Node.js version](https://img.shields.io/badge/node-%3E%3D%2018.12-brightgreen)](https://nodejs.org/en/)
[![Node.js version](https://img.shields.io/badge/node-%3E%3D%2018.18-brightgreen)](https://nodejs.org/en/)
[![npm package](https://img.shields.io/npm/v/skuba)](https://www.npmjs.com/package/skuba)

---
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Installing dependencies...
✔ All done! Try running:

cd my-repo
git push --set-upstream origin master
git push --set-upstream origin main
```

You can now proceed to the [next steps](#next-steps).
Expand Down
2 changes: 1 addition & 1 deletion docs/development-api/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ import { Git } from 'skuba';

await Git.reset({
dir,
branch: 'master',
branch: 'main',
commitId: 'abcd1234',
hard: true,
});
Expand Down
2 changes: 1 addition & 1 deletion integration/git/new.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
".git/refs/tags": null,
".git/config": "[core]\nrepositoryformatversion = 0\nfilemode = true\nbare = true\nignorecase = true\nprecomposeunicode = true\n",
".git/description": "Unnamed repository; edit this file 'description' to name the repository.\n",
".git/HEAD": "ref: refs/heads/master\n"
".git/HEAD": "ref: refs/heads/main\n"
}
5 changes: 2 additions & 3 deletions packages/eslint-config-skuba/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# eslint-config-skuba

[![GitHub Release](https://github.com/seek-oss/eslint-config-skuba/workflows/Release/badge.svg?branch=master)](https://github.com/seek-oss/eslint-config-skuba/actions?query=workflow%3ARelease)
[![GitHub Validate](https://github.com/seek-oss/eslint-config-skuba/workflows/Validate/badge.svg?branch=master)](https://github.com/seek-oss/eslint-config-skuba/actions?query=workflow%3AValidate)
[![Powered by skuba](https://img.shields.io/badge/🤿%20skuba-powered-009DC4)](https://github.com/seek-oss/skuba)
[![Node.js version](https://img.shields.io/badge/node-%3E%3D%2018.18-brightgreen)](https://nodejs.org/en/)
[![npm package](https://img.shields.io/npm/v/eslint-config-skuba)](https://www.npmjs.com/package/eslint-config-skuba)

Shareable ESLint config for **[skuba]**.

Expand Down
10 changes: 5 additions & 5 deletions src/api/git/reset.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('soft', () => {
author,
});

await reset({ dir, branch: 'master', commitId: initialCommit });
await reset({ dir, branch: 'main', commitId: initialCommit });

const commits = await git.log({
fs,
Expand Down Expand Up @@ -69,7 +69,7 @@ describe('hard', () => {

await reset({
dir,
branch: 'master',
branch: 'main',
commitId: initialCommit,
hard: true,
});
Expand Down Expand Up @@ -98,7 +98,7 @@ describe('hard', () => {

await reset({
dir,
branch: 'master',
branch: 'main',
commitId: initialCommit,
hard: true,
});
Expand Down Expand Up @@ -128,7 +128,7 @@ describe('hard', () => {

await reset({
dir,
branch: 'master',
branch: 'main',
commitId: initialCommit,
hard: true,
});
Expand Down Expand Up @@ -166,7 +166,7 @@ describe('hard', () => {

await reset({
dir,
branch: 'master',
branch: 'main',
commitId: initialCommit,
hard: true,
});
Expand Down

0 comments on commit 80d97ad

Please sign in to comment.