@gasket/plugin-logger
Advanced tools
Comparing version 7.0.0-next.7 to 7.0.0-next.8
/* eslint-disable no-console, no-sync */ | ||
const { name } = require('../package.json'); | ||
const { name, version } = require('../package.json'); | ||
@@ -26,4 +26,7 @@ function createChildLogger(parent, metadata) { | ||
hooks: { | ||
create(gasket, context) { | ||
context.gasketConfig.addPlugin('pluginLogger', '@gasket/plugin-logger'); | ||
create(gasket, { pkg, gasketConfig }) { | ||
gasketConfig.addPlugin('pluginLogger', '@gasket/plugin-logger'); | ||
pkg.add('dependencies', { | ||
[name]: `^${version}` | ||
}); | ||
}, | ||
@@ -30,0 +33,0 @@ init(gasket) { |
{ | ||
"name": "@gasket/plugin-logger", | ||
"version": "7.0.0-next.7", | ||
"version": "7.0.0-next.8", | ||
"description": "Gasket plugin for logging", | ||
@@ -37,5 +37,5 @@ "main": "lib", | ||
"devDependencies": { | ||
"@gasket/engine": "^7.0.0-next.7", | ||
"@gasket/plugin-https": "^7.0.0-next.7", | ||
"@gasket/plugin-metadata": "^7.0.0-next.7", | ||
"@gasket/engine": "^7.0.0-next.8", | ||
"@gasket/plugin-https": "^7.0.0-next.8", | ||
"@gasket/plugin-metadata": "^7.0.0-next.8", | ||
"cross-env": "^7.0.3", | ||
@@ -60,3 +60,3 @@ "eslint": "^8.56.0", | ||
}, | ||
"gitHead": "de14ea652e392f002c291d1e441ccf836f5fddb2" | ||
"gitHead": "99e0acffa8b51393ede3dc6b9bf5cd5e0391216d" | ||
} |
6729
90