Skip to content

Commit 4dea670

Browse files
committed
- fix bug: srcdir contain keywrods that are filtered out, making a empty lib folder.
- bump version
1 parent 666a9c1 commit 4dea670

5 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Logs
22

3+
## v1.1.10
4+
5+
- fix bug: `srcdir` contain keywrods that are filtered out, making a empty lib folder.
6+
7+
38
## v1.1.9
49

510
- fix bug: `node_modules` lookup may fall into endless loop and halt the program.

cli.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ cmds['default'] = {
8282
}
8383
base = path.join(base, '..');
8484
}
85+
root = path.relative('.', root);
8586
}
8687
info = JSON.parse(fs.readFileSync(path.join(root, "package.json")).toString());
8788
id = info._id || info.name + "@" + info.version;

lib/main.ls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ cmds.default =
4747
root = path.resolve(path.join base, \node_modules, obj.name)
4848
if fs.exists-sync(path.join(root, \package.json)) => break
4949
base = path.join(base, \..)
50+
root = path.relative('.', root)
5051

5152
info = JSON.parse(fs.read-file-sync path.join(root, "package.json") .toString!)
5253
id = info._id or "#{info.name}@#{info.version}"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"cli.js"
77
],
88
"description": "Frontend dependency installer",
9-
"version": "1.1.9",
9+
"version": "1.1.10",
1010
"homepage": "https://github.com/plotdb/fedep",
1111
"repository": {
1212
"type": "git",

0 commit comments

Comments
 (0)