@vulkano/core 0.8.0 → 1.0.1
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/app.js +7 -4
- package/package.json +1 -1
package/app.js
CHANGED
|
@@ -32,12 +32,15 @@ if (!global.ABS_PATH) {
|
|
|
32
32
|
if (!global.APP_PATH) {
|
|
33
33
|
global.APP_PATH = path.resolve(rootProject, './app');
|
|
34
34
|
if (!fs.existsSync(APP_PATH)) {
|
|
35
|
-
global.APP_PATH = path.resolve(rootProject, './');
|
|
35
|
+
global.APP_PATH = path.resolve(rootProject, './vulkano');
|
|
36
|
+
if (!fs.existsSync(APP_PATH)) {
|
|
37
|
+
global.APP_PATH = path.resolve(rootProject, './');
|
|
38
|
+
}
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
if (!fs.existsSync(APP_PATH)) {
|
|
40
|
-
console.log('the global var APP_PATH or directory not found', APP_PATH);
|
|
43
|
+
console.log('the global var APP_PATH or the vulkano directory not found', APP_PATH);
|
|
41
44
|
global.APP_PATH = path.resolve(__dirname, './');
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -118,7 +121,7 @@ delete allConfig.local;
|
|
|
118
121
|
app.config = allConfig;
|
|
119
122
|
|
|
120
123
|
// Package Config
|
|
121
|
-
app.pkg =
|
|
124
|
+
app.pkg = appPkg;
|
|
122
125
|
|
|
123
126
|
// Include all components
|
|
124
127
|
require('./bootstrap/services')();
|
|
@@ -167,7 +170,7 @@ function startVulkano() {
|
|
|
167
170
|
console.log('');
|
|
168
171
|
console.log(colors.fg.cyan, ' 🌋', colors.reset);
|
|
169
172
|
console.log(colors.fg.cyan, ` APP VERSION ${appPkg.version}`, colors.reset);
|
|
170
|
-
console.log(colors.fg.cyan, `
|
|
173
|
+
console.log(colors.fg.cyan, ` @VULKANO/CORE ${pkg.version}`, colors.reset);
|
|
171
174
|
console.log('');
|
|
172
175
|
console.log(colors.fg.blue, '🔗 https://github.com/vulkanojs/vulkano', colors.reset);
|
|
173
176
|
console.log(colors.fg.cyan, '☕ https://buymeacoffee.com/argordmel', colors.reset);
|