Skip to content

Commit 6da8009

Browse files
authored
Merge pull request #34 from bleto/hotfix-chnage-dependencie-method
bugfix: change method from dependencie
2 parents 670f764 + 7f9914a commit 6da8009

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ergonode/vuems",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A simple mechanism to transform a monolithic Vue application into an application based on Micro Services architecture.",
55
"author": "Bletek Piotr <p.bletek@gmail.com>",
66
"license": "OSL-3.0",

src/helpers/tools.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import { resolve as resolvePath, join as joinPath } from 'path';
7-
import recursive from 'recursive-readdir-async';
7+
import { list } from 'recursive-readdir-async'
88
import { existsSync, remove, ensureSymlink, chmod } from 'fs-extra';
99
import { success } from 'consola';
1010
import { DEFAULTS, DIRECTORIES } from './constants';
@@ -46,7 +46,7 @@ export function findPaths({ modules, suffix, regExp }) {
4646
const fullPath = joinPath(path, suffix);
4747

4848
if (existsSync(fullPath)) {
49-
const files = await recursive.list(fullPath);
49+
const files = await list(fullPath);
5050

5151
return (
5252
files.filter(({ fullname }) => regExp.test(fullname)) || null
@@ -73,7 +73,7 @@ export function prepareSymlinks({ npmModules, vendorDir, nodeModulesDir }) {
7373
if (existsSync(src)) {
7474
await remove(dst);
7575
await ensureSymlink(src, dst, 'junction');
76-
const files = await recursive.list(dst);
76+
const files = await list(dst);
7777

7878
await Promise.all(
7979
files.map(({ fullname }) => chmod(fullname, 0o644)),

0 commit comments

Comments
 (0)