@akemona-org/strapi-generate 3.12.4 → 3.13.0

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.
Files changed (2) hide show
  1. package/lib/target.js +6 -8
  2. package/package.json +3 -3
package/lib/target.js CHANGED
@@ -259,15 +259,13 @@ function parseTarget(target, scope, cb) {
259
259
  if (!subGenerator && !module.match(/^strapi-generate-/)) {
260
260
  try {
261
261
  if (process.mainModule.filename.indexOf('yarn') !== -1) {
262
- subGenerator = require(path.resolve(
263
- process.mainModule.paths[2],
264
- 'strapi-generate-' + module
265
- ));
262
+ subGenerator = require(
263
+ path.resolve(process.mainModule.paths[2], 'strapi-generate-' + module)
264
+ );
266
265
  } else {
267
- subGenerator = require(path.resolve(
268
- process.mainModule.paths[1],
269
- 'strapi-generate-' + module
270
- ));
266
+ subGenerator = require(
267
+ path.resolve(process.mainModule.paths[1], 'strapi-generate-' + module)
268
+ );
271
269
  }
272
270
  } catch (e1) {
273
271
  requireError = e1;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.12.4",
6
+ "version": "3.13.0",
7
7
  "description": "Master of ceremonies for the Strapi generators.",
8
8
  "homepage": "https://strapi.akemona.com",
9
9
  "keywords": [
@@ -19,7 +19,7 @@
19
19
  "test": "echo \"no tests yet\""
20
20
  },
21
21
  "dependencies": {
22
- "@akemona-org/strapi-utils": "3.12.4",
22
+ "@akemona-org/strapi-utils": "3.13.0",
23
23
  "async": "^2.6.2",
24
24
  "fs-extra": "^9.1.0",
25
25
  "lodash": "4.17.21",
@@ -49,5 +49,5 @@
49
49
  "npm": ">=6.0.0"
50
50
  },
51
51
  "license": "SEE LICENSE IN LICENSE",
52
- "gitHead": "edf7db826c8babebcfa519e136874ba729667f8b"
52
+ "gitHead": "8bb7b41ae9cc2110f94b9338f0ec2df437e49161"
53
53
  }