Clean code

This commit is contained in:
Aurelsicoko 2018-04-13 14:27:50 +02:00
parent 0ac7c435f3
commit aaac5ba391
6 changed files with 6 additions and 8 deletions

View File

@ -55,8 +55,8 @@ module.exports = scope => {
'url': scope.website || ''
}],
'engines': {
'node': '>= 7.0.0',
'npm': '>= 3.0.0'
'node': '>= 9.0.0',
'npm': '>= 5.3.0'
},
'license': scope.license || 'MIT'
});

View File

@ -1 +0,0 @@
module.exports = {};

View File

@ -46,8 +46,8 @@
}
],
"engines": {
"node": ">= 7.0.0",
"npm": ">= 3.0.0"
"node": ">= 9.0.0",
"npm": ">= 5.3.0"
},
"license": "MIT"
}

View File

@ -509,8 +509,6 @@ module.exports = {
default:
}
// TODO:
// - Handle limit, skip, etc options
_.merge(acc.resolver[globalId], {
[association.alias]: async (obj, options, context) => {
// Construct parameters object to retrieve the correct related entries.

View File

@ -84,7 +84,7 @@ module.exports = async function() {
}
// Initialize array.
let previousDependencies = this.hook[hook].dependencies.map(x => x.replace('strapi-', '')) || [];;
let previousDependencies = this.hook[hook].dependencies.map(x => x.replace('strapi-', '')) || [];
// Add BEFORE middlewares to load and remove the current one
// to avoid that it waits itself.

View File

@ -129,6 +129,7 @@ watcher('📦 Linking strapi-plugin-content-type-builder...', 'npm link --no-op
watcher('🏗 Building...', 'npm run build');
shell.cd('../strapi-plugin-graphql');
watcher('', 'npm install ../strapi-utils');
shell.rm('-f', 'package-lock.json');
watcher('📦 Linking strapi-plugin-graphql...', 'npm link --no-optional', false);