jiek 1.1.13 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,8 @@ import { filterPackagesFromDir } from '@pnpm/filter-workspace-packages'
6
6
  import { program } from 'commander'
7
7
  import { load } from 'js-yaml'
8
8
 
9
- import { getRoot } from './getRoot'
10
- import { getWD } from './getWD'
9
+ import { getRoot } from '#~/utils/getRoot.ts'
10
+ import { getWD } from '#~/utils/getWD.ts'
11
11
 
12
12
  export let type = ''
13
13
 
@@ -16,10 +16,6 @@ try {
16
16
  require.resolve('@pnpm/filter-workspace-packages')
17
17
  type = 'pnpm'
18
18
  } catch { /* empty */ }
19
- if (type !== '') {
20
- program
21
- .option('-f, --filter <filter>', 'filter packages, support fuzzy match and array. e.g. -f core,utils')
22
- }
23
19
 
24
20
  export interface ProjectsGraph {
25
21
  wd: string