dsh-lark-bot 0.9.1 → 0.9.2
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.
- package/README.md +4 -2
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/plugin.js +3 -1
- package/dist/plugin.js.map +1 -1
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -145,7 +145,9 @@ function findOwnPackageRoot(startDir) {
|
|
|
145
145
|
try {
|
|
146
146
|
const pkg = JSON.parse(readFileSync(pkgPath, "utf8"));
|
|
147
147
|
if (typeof pkg.name === "string" && isOwnPackageName(pkg.name)) {
|
|
148
|
-
|
|
148
|
+
const info = { name: pkg.name, root: dir };
|
|
149
|
+
if (typeof pkg.version === "string") info.version = pkg.version;
|
|
150
|
+
return info;
|
|
149
151
|
}
|
|
150
152
|
} catch {
|
|
151
153
|
}
|