create-unibest 4.0.4 → 4.0.5
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { green as green6, yellow as yellow5 } from "kolorist";
|
|
|
6
6
|
import minimist from "minimist";
|
|
7
7
|
|
|
8
8
|
// package.json
|
|
9
|
-
var version = "4.0.
|
|
9
|
+
var version = "4.0.5";
|
|
10
10
|
var package_default = {
|
|
11
11
|
name: "create-unibest",
|
|
12
12
|
type: "module",
|
|
@@ -97,7 +97,7 @@ import path from "path";
|
|
|
97
97
|
import { fileURLToPath } from "url";
|
|
98
98
|
var __filename = fileURLToPath(import.meta.url);
|
|
99
99
|
var __dirname = path.dirname(__filename);
|
|
100
|
-
var FEATURES_DIR = path.resolve(__dirname, "..", "
|
|
100
|
+
var FEATURES_DIR = path.resolve(__dirname, "..", "features");
|
|
101
101
|
async function loadFeatureHooks(featureName) {
|
|
102
102
|
const hooksPath = path.join(FEATURES_DIR, featureName, "hooks.ts");
|
|
103
103
|
if (!fs.existsSync(hooksPath)) {
|
|
@@ -120,7 +120,7 @@ import path2, { dirname } from "path";
|
|
|
120
120
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
121
121
|
var __filename2 = fileURLToPath2(import.meta.url);
|
|
122
122
|
var __dirname2 = dirname(__filename2);
|
|
123
|
-
var FEATURES_PATH = path2.join(__dirname2, "..", "
|
|
123
|
+
var FEATURES_PATH = path2.join(__dirname2, "..", "features");
|
|
124
124
|
var FeatureInjector = class {
|
|
125
125
|
constructor(projectPath) {
|
|
126
126
|
this.projectPath = projectPath;
|