Skip to content

Commit

Permalink
Fixing type. Release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt Medley committed May 26, 2024
1 parent 7225fa3 commit 10ff3ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- Adds `lint-staged` to handle formatting staged files with prettier.
- Adds pre-commit hook via `husky` to verify changes and execute `lint-staged`
- Adds GitHub actions work-flow to build and test the initializer with changes
- 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.
- 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.

## 2.7.0 - 2024/04/23

Expand Down
4 changes: 2 additions & 2 deletions src/bin/main.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
packageNameFilter,
validateTemplateOption,
getUserTeam,
getIntializerVersion,
getInitializerVersion,
} from '../util.mjs';

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

program
.command('interactive')
Expand Down
2 changes: 1 addition & 1 deletion src/util.mts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Defaults = {
/**
* Gets the version of `@rei/create-package`.
*/
export async function getIntializerVersion() {
export async function getInitializerVersion() {
const packageJson = await readFile(
path.resolve(BASE_DIR, 'package.json'),
'utf8',
Expand Down

0 comments on commit 10ff3ff

Please # to comment.