diff --git a/src/generators.mjs b/src/generators.mjs index 768a48b..efdc858 100644 --- a/src/generators.mjs +++ b/src/generators.mjs @@ -42,7 +42,7 @@ const createGenerator = input => { for (const generatorName of options.generators) { const { dependsOn, generate } = availableGenerators[generatorName]; - // If the generator dependency has not yet been reslved, we resolve + // If the generator dependency has not yet been resolved, we resolve // the dependency first before running the current generator if (dependsOn && !cachedGenerators.has(dependsOn)) { await runGenerators({ ...options, generators: [dependsOn] }); diff --git a/src/generators/types.d.ts b/src/generators/types.d.ts index ab1a7df..7dd2d6b 100644 --- a/src/generators/types.d.ts +++ b/src/generators/types.d.ts @@ -28,7 +28,7 @@ export interface GeneratorMetadata { * If a given generator has no "before" generator, it will be considered a top-level * generator, and run in parallel. * - * Assume you pass to the `createGenerator`: ['json', 'html'] as ther generators, + * Assume you pass to the `createGenerator`: ['json', 'html'] as the generators, * this means both the 'json' and the 'html' generators will be executed and generate their * own outputs in parallel. If the 'html' generator depends on the 'react' generator, then * the 'react' generator will be executed first, then the 'html' generator. diff --git a/src/parser.mjs b/src/parser.mjs index e624447..1942799 100644 --- a/src/parser.mjs +++ b/src/parser.mjs @@ -111,7 +111,7 @@ const createParser = () => { // This is the cutover index of the subtree that we should get // of all the Nodes within the AST tree that belong to this section - // If `next` is equals the current heading, it means ther's no next heading + // If `next` is equals the current heading, it means there's no next heading // and we are reaching the end of the document, hence the cutover should be the end of // the document itself. const stop =