Skip to content

Commit

Permalink
feat: update lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Oct 16, 2024
1 parent 83c42a9 commit 8abdbf4
Show file tree
Hide file tree
Showing 2 changed files with 559 additions and 529 deletions.
5 changes: 2 additions & 3 deletions packages/generator/generators/repo-generator/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import { getGeneratorPath } from '@modern-js/generator-utils';
export default async (context: GeneratorContext, generator: GeneratorCore) => {
process.setMaxListeners(20);

// check prepare global
generator.logger.debug(`🚀 [Start Run Repo Generator]`);

// check prepare global
if (!(global as any).codesmith) {
generator.logger.warn(
'🟡 Please use the latest @modern-js/create version to run generator',
Expand All @@ -26,7 +27,5 @@ export default async (context: GeneratorContext, generator: GeneratorCore) => {
context.config,
);

generator.logger.debug(`🚀 [Start Run Repo Generator]`);

generator.logger.debug(`🚀 [End Run Repo Generator]`);
};
Loading

0 comments on commit 8abdbf4

Please sign in to comment.