Skip to content

Commit 4914edf

Browse files
committed
fix: build error
1 parent 659dab5 commit 4914edf

File tree

3 files changed

+4
-39
lines changed

3 files changed

+4
-39
lines changed

CHANGELOG.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@types/node": "^20.17.8",
3535
"eslint": "^9.7.0",
3636
"neostandard": "^0.12.0",
37-
"node-karin": "1.1.0",
37+
"node-karin": "1.1.1",
3838
"tsc-alias": "^1.8.10",
3939
"tsx": "^4.19.2",
4040
"typescript": "^5.5.3"

src/apps/update.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import fs from 'node:fs'
22
import path from 'node:path'
3-
import { changelog, checkGitPluginUpdate, checkPkgUpdate, getCommit, getGitPlugins, getNpmPlugins, getPkgVersion, karin, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg } from 'node-karin'
3+
import { changelog, checkGitPluginUpdate, checkPkgUpdate, getCommit, getPlugins, getPkgVersion, karin, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg } from 'node-karin'
44

55
const cache: string[] = []
66

77
const getAll = async () => {
88
if (cache.length) return cache
9-
const git = await getGitPlugins(false)
10-
const npm = await getNpmPlugins()
9+
const git = await getPlugins('git', false)
10+
const npm = await getPlugins('npm', false)
1111
const list = [
1212
'npm:node-karin',
1313
...git.map(name => `git:${name}`),

0 commit comments

Comments
 (0)