@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.
Files changed (2) hide show
  1. package/app.js +7 -4
  2. 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 = 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, ` VULKANO ${pkg.version}`, colors.reset);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulkano/core",
3
- "version": "0.8.0",
3
+ "version": "1.0.1",
4
4
  "description": "A MVC framework using Express 4",
5
5
  "license": "MIT",
6
6
  "author": "Vulkano Team",