@midgar/midgar
Advanced tools
Comparing version 1.0.0-alpha.4.0 to 1.0.0-alpha.4.1
{ | ||
"name": "@midgar/midgar", | ||
"version": "1.0.0-alpha.4.0", | ||
"version": "1.0.0-alpha.4.1", | ||
"description": "MVCS node js framework", | ||
@@ -10,3 +10,2 @@ "main": "./src/index.js", | ||
"test": "mocha --require esm test/*.js --exit", | ||
"nodemontest": "nodemon --exec \"npm run test\"", | ||
"drone": "drone exec --secret-file=.drone-secret", | ||
@@ -13,0 +12,0 @@ "coverage": "nyc -i esm --reporter=lcov --reporter=text-summary npm run test", |
## En développement ne pas utiliser en production | ||
[](https://drone.midgar.io/Midgar/midgar) | ||
[](https://sonar.midgar.io/dashboard?id=Midgar-midgar) | ||
[](https://sonar.midgar.io/dashboard?id=midgar-midgar) | ||
@@ -63,3 +63,3 @@ # Midgar | ||
*/ | ||
export default class BlogPlugin extends Plugin { | ||
export default class BlogPlugin extends Plugin { | ||
/** | ||
@@ -66,0 +66,0 @@ * Init plugin |
@@ -124,3 +124,3 @@ import path from 'path' | ||
if (await mid.addPlugin(plugin)) { | ||
console.log(plugin + ' added to plugins.js !') | ||
console.log(plugin + ' added to plugins.json !') | ||
} | ||
@@ -127,0 +127,0 @@ } |
@@ -137,3 +137,3 @@ import path from 'path' | ||
// Set path relative to Midgar config directory | ||
packagePath = path.joint(this.configPath, pluginsConfig[name].path) | ||
packagePath = path.join(this.mid.configPath, pluginsConfig[name].path) | ||
local = true | ||
@@ -140,0 +140,0 @@ } |
68879