mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix: geoip模块dts异常及prepublish.sh不调用的问题
This commit is contained in:
1 parent
a1aeb521fe
commit
02c1866963
5 files changed
+10
-7
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ if (CI && (GITHUB_REF !== 'refs/heads/master' || GITHUB_EVENT_NAME !== 'push'))
|
||||
await Promise.all(folders.map(async (name) => {
|
||||
let meta: PackageJson;
|
||||
try {
|
||||
meta = require(`../${name}/package`);
|
||||
meta = require(`../${name}/package.json`);
|
||||
if (!meta.private) {
|
||||
const version = await latest(meta.name);
|
||||
if (gt(meta.version, version)) {
|
||||
|
||||
Reference in new issue
Block a user