@modern-js/repo-generator 0.0.0-next-20241015085202 → 0.0.0-next-20241016025808

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -37434,6 +37434,7 @@ var getGeneratorPath = (generator, distTag, paths) => {
37434
37434
  // src/index.ts
37435
37435
  var src_default = (context, generator) => __async(void 0, null, function* () {
37436
37436
  process.setMaxListeners(20);
37437
+ generator.logger.debug(`🚀 [Start Run Repo Generator]`);
37437
37438
  if (!global.codesmith) {
37438
37439
  generator.logger.warn(
37439
37440
  "🟡 Please use the latest @modern-js/create version to run generator"
@@ -37447,7 +37448,6 @@ var src_default = (context, generator) => __async(void 0, null, function* () {
37447
37448
  void 0,
37448
37449
  context.config
37449
37450
  );
37450
- generator.logger.debug(`🚀 [Start Run Repo Generator]`);
37451
37451
  generator.logger.debug(`🚀 [End Run Repo Generator]`);
37452
37452
  });
37453
37453
  /*! Bundled license information:
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20241015085202",
18
+ "version": "0.0.0-next-20241016025808",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -26,9 +26,9 @@
26
26
  "@modern-js/codesmith": "2.6.0",
27
27
  "@types/node": "^14",
28
28
  "typescript": "^5",
29
- "@modern-js/repo-next-generator": "0.0.0-next-20241015085202",
30
- "@scripts/build": "0.0.0-next-20241015085202",
31
- "@modern-js/generator-utils": "0.0.0-next-20241015085202"
29
+ "@modern-js/generator-utils": "0.0.0-next-20241016025808",
30
+ "@modern-js/repo-next-generator": "0.0.0-next-20241016025808",
31
+ "@scripts/build": "0.0.0-next-20241016025808"
32
32
  },
33
33
  "sideEffects": false,
34
34
  "publishConfig": {
package/src/index.ts CHANGED
@@ -8,8 +8,9 @@ import { getGeneratorPath } from '@modern-js/generator-utils';
8
8
  export default async (context: GeneratorContext, generator: GeneratorCore) => {
9
9
  process.setMaxListeners(20);
10
10
 
11
- // check prepare global
11
+ generator.logger.debug(`🚀 [Start Run Repo Generator]`);
12
12
 
13
+ // check prepare global
13
14
  if (!(global as any).codesmith) {
14
15
  generator.logger.warn(
15
16
  '🟡 Please use the latest @modern-js/create version to run generator',
@@ -26,7 +27,5 @@ export default async (context: GeneratorContext, generator: GeneratorCore) => {
26
27
  context.config,
27
28
  );
28
29
 
29
- generator.logger.debug(`🚀 [Start Run Repo Generator]`);
30
-
31
30
  generator.logger.debug(`🚀 [End Run Repo Generator]`);
32
31
  };