Skip to content

Commit 79b27fc

Browse files
committedJan 19, 2020
Updated dependencies
And made changes to codebase affected by breaking changes in updates
1 parent 3395e30 commit 79b27fc

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed
 

‎package.json

+9-10
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,18 @@
3030
"node": ">=8.0"
3131
},
3232
"dependencies": {
33-
"commander": "^2.20.0",
34-
"consola": "^2.6.0",
35-
"fs-extra": "^7.0.1",
36-
"getopts": "^2.2.4",
37-
"globby": "^9.2.0",
33+
"commander": "^4.1.0",
34+
"consola": "^2.11.3",
35+
"fs-extra": "^8.1.0",
36+
"getopts": "^2.2.5",
37+
"globby": "^11.0.0",
3838
"inquirer": "^6.3.1",
39-
"temp": "^0.9.0",
40-
"webpack": "^4.30.0",
41-
"which": "^1.3.1"
39+
"temp": "^0.9.1",
40+
"which": "^2.0.2"
4241
},
4342
"devDependencies": {
44-
"@osjs/eslint-config": "^1.0.0",
45-
"eslint": "^5.16.0"
43+
"@osjs/eslint-config": "^1.0.2",
44+
"eslint": "^6.8.0"
4645
},
4746
"author": "Anders Evenrud <andersevenrud@gmail.com>",
4847
"license": "BSD-2-Clause",

‎src/tasks/discover.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const globby = require('globby');
3535
const isSymlink = file => fs.lstat(file)
3636
.then(stat => stat.isSymbolicLink());
3737

38-
const clean = (copyFiles, dir) => globby(dir, {deep: false, onlyDirectories: true})
38+
const clean = (copyFiles, dir) => globby(dir, {deep: 1, onlyDirectories: true})
3939
.then(files => Promise.all(files.map(file => {
4040
return isSymlink(file)
4141
.then(sym => {

‎src/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const {spawn} = require('child_process');
3535
const commander = require('commander');
3636

3737
const npmPackages = async (root) => {
38-
const globs = await globby(root + '/**/package.json', {deep: 2});
38+
const globs = await globby(root + '/**/package.json', {deep: 3});
3939
const metafilename = dir => path.resolve(dir, 'metadata.json');
4040

4141
const promises = globs.map(filename => fs.readJson(filename)

0 commit comments

Comments
 (0)
Please sign in to comment.