Skip to content

Commit 10ff3ff

Browse files
author
Kurt Medley
committed
Fixing type. Release notes
1 parent 7225fa3 commit 10ff3ff

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

RELEASE-NOTES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- Adds `lint-staged` to handle formatting staged files with prettier.
1010
- Adds pre-commit hook via `husky` to verify changes and execute `lint-staged`
1111
- Adds GitHub actions work-flow to build and test the initializer with changes
12-
- Adds end-to-end (e2e) tests that can be manually executed (`npm run test:e2e) to ensure each template is properly scaffolded, installed, and built without error.
12+
- Adds end-to-end (e2e) tests that can be manually executed (`npm run test:e2e`) to ensure each template is properly scaffolded, installed, and built without error.
1313

1414
## 2.7.0 - 2024/04/23
1515

src/bin/main.mts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
packageNameFilter,
88
validateTemplateOption,
99
getUserTeam,
10-
getIntializerVersion,
10+
getInitializerVersion,
1111
} from '../util.mjs';
1212

1313
import { createPackage } from '../api.mjs';
@@ -18,7 +18,7 @@ const program = new Command();
1818
program
1919
.name('create-package')
2020
.description('An NPM initializer that scaffolds new NPM packages')
21-
.version(await getIntializerVersion());
21+
.version(await getInitializerVersion());
2222

2323
program
2424
.command('interactive')

src/util.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const Defaults = {
3131
/**
3232
* Gets the version of `@rei/create-package`.
3333
*/
34-
export async function getIntializerVersion() {
34+
export async function getInitializerVersion() {
3535
const packageJson = await readFile(
3636
path.resolve(BASE_DIR, 'package.json'),
3737
'utf8',

0 commit comments

Comments
 (0)