jiek 1.1.13 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +34 -84
- package/bin/jiek-build.js +16 -0
- package/dist/cli-only-build.cjs +743 -0
- package/dist/cli-only-build.d.cts +91 -0
- package/dist/cli-only-build.d.ts +91 -0
- package/dist/cli-only-build.js +735 -0
- package/dist/cli.cjs +211 -560
- package/dist/cli.d.cts +0 -69
- package/dist/cli.d.ts +0 -69
- package/dist/cli.js +211 -560
- package/dist/index.d.cts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/rollup/index.cjs +86 -46
- package/dist/rollup/index.js +86 -44
- package/package.json +54 -11
- package/src/cli-only-build.ts +7 -0
- package/src/cli.ts +1 -7
- package/src/commands/base.ts +13 -3
- package/src/commands/build.ts +197 -39
- package/src/commands/descriptions.ts +12 -0
- package/src/commands/meta.ts +5 -0
- package/src/rollup/base.ts +40 -0
- package/src/rollup/index.ts +106 -37
- package/src/utils/filterSupport.ts +2 -6
@@ -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 '
|
10
|
-
import { getWD } from '
|
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
|