@ark/fs 0.23.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/out/fs.js +1 -1
  2. package/package.json +1 -1
package/out/fs.js CHANGED
@@ -103,7 +103,7 @@ export const findPackageAncestors = (fromDir) => {
103
103
  };
104
104
  export const readPackageJsonAncestors = (fromDir) => findPackageAncestors(fromDir).map(dir => readPackageJson(dir));
105
105
  export const fromPackageRoot = (...joinWith) => join(assertPackageRoot(dirOfCaller()), ...joinWith);
106
- export const readPackageJson = (startDir) => readJson(join(assertPackageRoot(startDir), "package.json"));
106
+ export const readPackageJson = (startDir = dirOfCaller()) => readJson(join(assertPackageRoot(startDir), "package.json"));
107
107
  export const getSourceControlPaths = () =>
108
108
  // include tracked and untracked files as long as they are not ignored
109
109
  getShellOutput("git ls-files --exclude-standard --cached --others")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ark/fs",
3
- "version": "0.23.0",
3
+ "version": "0.26.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "David Blass",