Skip to content

Commit

Permalink
Merge branch 'hotfix/resolve-imports' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
msudgh committed Dec 27, 2024
2 parents e6aee70 + 273cb22 commit e3ce889
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 29 deletions.
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pnpm run build
pnpm run test:coverage
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Obsidian Vaults Manager",
"type": "commonjs",
"version": "0.5.0",
"license": "MIT",
"license": "GPL-3.0-only",
"author": "Masoud Ghorbani",
"homepage": "https://github.com/msudgh/ovm",
"bugs": "https://github.com/msudgh/ovm/issues",
Expand Down
4 changes: 3 additions & 1 deletion src/commands/plugins/install.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Args, Flags, flush } from '@oclif/core'
import { FactoryCommandWithVaults } from '../../providers/command'
import { action } from '../../services/install'
import installService from '../../services/install'

const { action } = installService

/**
* Install command installs specified plugins in vaults.
Expand Down
4 changes: 3 additions & 1 deletion src/commands/plugins/prune.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { flush } from '@oclif/core'
import { FactoryCommandWithVaults } from '../../providers/command'
import { action } from '../../services/prune'
import pruneService from '../../services/prune'

const { action } = pruneService

/**
* Prune command list and remove plugins that aren't referred in config file.
Expand Down
4 changes: 3 additions & 1 deletion src/commands/plugins/uninstall.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Args, flush } from '@oclif/core'
import { FactoryCommandWithVaults } from '../../providers/command'
import { action } from '../../services/uninstall'
import uninstallService from '../../services/uninstall'

const { action } = uninstallService

/**
* Uninstall command removes specified plugins from vaults.
Expand Down
4 changes: 3 additions & 1 deletion src/commands/reports/stats.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Flags, flush } from '@oclif/core'
import { FactoryCommandWithVaults } from '../../providers/command'
import { action } from '../../services/stats'
import statsService from '../../services/stats'

const { action } = statsService

export default class Stats extends FactoryCommandWithVaults {
static readonly aliases = ['rs', 'reports stats']
Expand Down
4 changes: 3 additions & 1 deletion src/commands/vaults/run.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Args, Flags, flush } from '@oclif/core'
import { FactoryCommandWithVaults } from '../../providers/command'
import { action } from '../../services/run'
import runService from '../../services/run'

const { action } = runService

export default class Run extends FactoryCommandWithVaults {
static readonly aliases = ['r', 'run', 'vr', 'vaults run']
Expand Down
4 changes: 2 additions & 2 deletions src/services/prune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ const pruneVaultIterator = async (
const action = async (
_args: ArgInput,
flags: FactoryFlagsWithVaults<PruneFlags>,
iterator: PruneCommandIterator,
callback: PruneCommandCallback,
iterator: PruneCommandIterator = () => {},
callback: PruneCommandCallback = () => {},
): Promise<void> => {
const {
success: loadConfigSuccess,
Expand Down

0 comments on commit e3ce889

Please sign in to comment.