Skip to content

Commit

Permalink
- fix bug: srcdir contain keywrods that are filtered out, making a…
Browse files Browse the repository at this point in the history
… empty lib folder.

 - bump version
  • Loading branch information
zbryikt committed Dec 16, 2022
1 parent 666a9c1 commit 4dea670
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Logs

## v1.1.10

- fix bug: `srcdir` contain keywrods that are filtered out, making a empty lib folder.


## v1.1.9

- fix bug: `node_modules` lookup may fall into endless loop and halt the program.
Expand Down
1 change: 1 addition & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ cmds['default'] = {
}
base = path.join(base, '..');
}
root = path.relative('.', root);
}
info = JSON.parse(fs.readFileSync(path.join(root, "package.json")).toString());
id = info._id || info.name + "@" + info.version;
Expand Down
1 change: 1 addition & 0 deletions lib/main.ls
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ cmds.default =
root = path.resolve(path.join base, \node_modules, obj.name)
if fs.exists-sync(path.join(root, \package.json)) => break
base = path.join(base, \..)
root = path.relative('.', root)

info = JSON.parse(fs.read-file-sync path.join(root, "package.json") .toString!)
id = info._id or "#{info.name}@#{info.version}"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"cli.js"
],
"description": "Frontend dependency installer",
"version": "1.1.9",
"version": "1.1.10",
"homepage": "https://github.com/plotdb/fedep",
"repository": {
"type": "git",
Expand Down

0 comments on commit 4dea670

Please sign in to comment.