@package-pal/core 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +419 -264
- package/index.js.map +22 -20
- package/package.json +2 -2
- package/index.d.ts +0 -18
- package/index.d.ts.map +0 -1
- package/lib/api.d.ts +0 -45
- package/lib/api.d.ts.map +0 -1
- package/lib/configuration/functions/check-bun.d.ts +0 -2
- package/lib/configuration/functions/check-bun.d.ts.map +0 -1
- package/lib/configuration/functions/get-default-logger.d.ts +0 -4
- package/lib/configuration/functions/get-default-logger.d.ts.map +0 -1
- package/lib/configuration/functions/is-root-dir.d.ts +0 -2
- package/lib/configuration/functions/is-root-dir.d.ts.map +0 -1
- package/lib/configuration/functions/load-config.d.ts +0 -3
- package/lib/configuration/functions/load-config.d.ts.map +0 -1
- package/lib/configuration/functions/parse-config.d.ts +0 -27
- package/lib/configuration/functions/parse-config.d.ts.map +0 -1
- package/lib/configuration/functions/search-config-path.d.ts +0 -2
- package/lib/configuration/functions/search-config-path.d.ts.map +0 -1
- package/lib/configuration/functions/validate-config-path.d.ts +0 -6
- package/lib/configuration/functions/validate-config-path.d.ts.map +0 -1
- package/lib/configuration/functions/z-loose-function.d.ts +0 -3
- package/lib/configuration/functions/z-loose-function.d.ts.map +0 -1
- package/lib/configuration/functions/z-loose-object-without-index-signature.d.ts +0 -4
- package/lib/configuration/functions/z-loose-object-without-index-signature.d.ts.map +0 -1
- package/lib/configuration/schemas/config.d.ts +0 -121
- package/lib/configuration/schemas/config.d.ts.map +0 -1
- package/lib/configuration/types/activated-config.d.ts +0 -5
- package/lib/configuration/types/activated-config.d.ts.map +0 -1
- package/lib/configuration/types/config-validation-result.d.ts +0 -10
- package/lib/configuration/types/config-validation-result.d.ts.map +0 -1
- package/lib/configuration/types/config.d.ts +0 -25
- package/lib/configuration/types/config.d.ts.map +0 -1
- package/lib/configuration/types/logger.d.ts +0 -7
- package/lib/configuration/types/logger.d.ts.map +0 -1
- package/lib/configuration/types/packages-ready-callback-props.d.ts +0 -7
- package/lib/configuration/types/packages-ready-callback-props.d.ts.map +0 -1
- package/lib/configuration/types/process-package-callback-props.d.ts +0 -10
- package/lib/configuration/types/process-package-callback-props.d.ts.map +0 -1
- package/lib/configuration/types/subprocess-callback.d.ts +0 -2
- package/lib/configuration/types/subprocess-callback.d.ts.map +0 -1
- package/lib/configuration/types/supported-config-type.d.ts +0 -11
- package/lib/configuration/types/supported-config-type.d.ts.map +0 -1
- package/lib/graph/functions/dfs-traverse-graph-paths.d.ts +0 -3
- package/lib/graph/functions/dfs-traverse-graph-paths.d.ts.map +0 -1
- package/lib/graph/functions/dfs-traverse-graph.d.ts +0 -4
- package/lib/graph/functions/dfs-traverse-graph.d.ts.map +0 -1
- package/lib/graph/functions/extract-subgraph.d.ts +0 -3
- package/lib/graph/functions/extract-subgraph.d.ts.map +0 -1
- package/lib/graph/functions/generate-graphs.d.ts +0 -8
- package/lib/graph/functions/generate-graphs.d.ts.map +0 -1
- package/lib/graph/functions/generate-package-circular-dependency-paths.d.ts +0 -5
- package/lib/graph/functions/generate-package-circular-dependency-paths.d.ts.map +0 -1
- package/lib/graph/functions/generate-topological-ranking-range.d.ts +0 -3
- package/lib/graph/functions/generate-topological-ranking-range.d.ts.map +0 -1
- package/lib/graph/functions/generate-topological-ranking.d.ts +0 -2
- package/lib/graph/functions/generate-topological-ranking.d.ts.map +0 -1
- package/lib/graph/functions/generate-topological-sorted-groups.d.ts +0 -5
- package/lib/graph/functions/generate-topological-sorted-groups.d.ts.map +0 -1
- package/lib/graph/functions/is-disjoint.d.ts +0 -3
- package/lib/graph/functions/is-disjoint.d.ts.map +0 -1
- package/lib/graph/functions/is-ranked-greater-than-or-equal.d.ts +0 -3
- package/lib/graph/functions/is-ranked-greater-than-or-equal.d.ts.map +0 -1
- package/lib/graph/functions/is-subgraph.d.ts +0 -3
- package/lib/graph/functions/is-subgraph.d.ts.map +0 -1
- package/lib/graph/types/package-graph.d.ts +0 -3
- package/lib/graph/types/package-graph.d.ts.map +0 -1
- package/lib/graph/types/package-graphs.d.ts +0 -6
- package/lib/graph/types/package-graphs.d.ts.map +0 -1
- package/lib/graph/types/package-node.d.ts +0 -6
- package/lib/graph/types/package-node.d.ts.map +0 -1
- package/lib/graph/types/package-order.d.ts +0 -14
- package/lib/graph/types/package-order.d.ts.map +0 -1
- package/lib/package/functions/load-packages.d.ts +0 -4
- package/lib/package/functions/load-packages.d.ts.map +0 -1
- package/lib/package/functions/parse-package.d.ts +0 -3
- package/lib/package/functions/parse-package.d.ts.map +0 -1
- package/lib/package/functions/scan-package-paths.d.ts +0 -2
- package/lib/package/functions/scan-package-paths.d.ts.map +0 -1
- package/lib/package/functions/scan-packages.d.ts +0 -4
- package/lib/package/functions/scan-packages.d.ts.map +0 -1
- package/lib/package/functions/update-package-version.d.ts +0 -5
- package/lib/package/functions/update-package-version.d.ts.map +0 -1
- package/lib/package/types/package-data.d.ts +0 -11
- package/lib/package/types/package-data.d.ts.map +0 -1
- package/lib/types/bump-package-version-options.d.ts +0 -11
- package/lib/types/bump-package-version-options.d.ts.map +0 -1
- package/lib/types/bump-version-type.d.ts +0 -12
- package/lib/types/bump-version-type.d.ts.map +0 -1
- package/lib/types/config-options.d.ts +0 -5
- package/lib/types/config-options.d.ts.map +0 -1
- package/lib/types/get-config-options.d.ts +0 -5
- package/lib/types/get-config-options.d.ts.map +0 -1
- package/lib/types/get-package-circular-dependency-paths-options.d.ts +0 -6
- package/lib/types/get-package-circular-dependency-paths-options.d.ts.map +0 -1
- package/lib/types/get-package-data-options.d.ts +0 -4
- package/lib/types/get-package-data-options.d.ts.map +0 -1
- package/lib/types/get-package-graph-options.d.ts +0 -5
- package/lib/types/get-package-graph-options.d.ts.map +0 -1
- package/lib/types/get-package-order-options.d.ts +0 -5
- package/lib/types/get-package-order-options.d.ts.map +0 -1
- package/lib/types/package-data-options.d.ts +0 -5
- package/lib/types/package-data-options.d.ts.map +0 -1
- package/lib/types/package-graphs-options.d.ts +0 -5
- package/lib/types/package-graphs-options.d.ts.map +0 -1
- package/lib/types/package-name-options.d.ts +0 -4
- package/lib/types/package-name-options.d.ts.map +0 -1
- package/lib/types/package-order-options.d.ts +0 -5
- package/lib/types/package-order-options.d.ts.map +0 -1
- package/lib/types/watch-packages-options.d.ts +0 -6
- package/lib/types/watch-packages-options.d.ts.map +0 -1
- package/lib/watch/functions/filter-files-modified-since.d.ts +0 -2
- package/lib/watch/functions/filter-files-modified-since.d.ts.map +0 -1
- package/lib/watch/functions/get-commands-for-shell.d.ts +0 -2
- package/lib/watch/functions/get-commands-for-shell.d.ts.map +0 -1
- package/lib/watch/functions/get-line-buffered-writer.d.ts +0 -2
- package/lib/watch/functions/get-line-buffered-writer.d.ts.map +0 -1
- package/lib/watch/functions/normalise-watched-file-path.d.ts +0 -2
- package/lib/watch/functions/normalise-watched-file-path.d.ts.map +0 -1
- package/lib/watch/functions/read-stream.d.ts +0 -2
- package/lib/watch/functions/read-stream.d.ts.map +0 -1
- package/lib/watch/functions/run-async.d.ts +0 -3
- package/lib/watch/functions/run-async.d.ts.map +0 -1
- package/lib/watch/functions/run-subprocess.d.ts +0 -11
- package/lib/watch/functions/run-subprocess.d.ts.map +0 -1
- package/lib/watch/functions/watch-package-changes.d.ts +0 -8
- package/lib/watch/functions/watch-package-changes.d.ts.map +0 -1
- package/lib/watch/types/change-action.d.ts +0 -8
- package/lib/watch/types/change-action.d.ts.map +0 -1
- package/lib/watch/types/exit-state.d.ts +0 -8
- package/lib/watch/types/exit-state.d.ts.map +0 -1
- package/lib/watch/types/package-changes.d.ts +0 -2
- package/lib/watch/types/package-changes.d.ts.map +0 -1
- package/lib/watch/types/run-async-type.d.ts +0 -7
- package/lib/watch/types/run-async-type.d.ts.map +0 -1
- package/lib/watch/types/spawn-options.d.ts +0 -4
- package/lib/watch/types/spawn-options.d.ts.map +0 -1
- package/lib/watch/types/std-type.d.ts +0 -7
- package/lib/watch/types/std-type.d.ts.map +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare const parseConfig: (path: string) => Promise<{
|
|
2
|
-
packages?: string | string[] | undefined;
|
|
3
|
-
version?: {
|
|
4
|
-
preId?: string | undefined;
|
|
5
|
-
exact?: boolean | undefined;
|
|
6
|
-
} | undefined;
|
|
7
|
-
watch?: {
|
|
8
|
-
debounceMs?: number | undefined;
|
|
9
|
-
hooks?: {
|
|
10
|
-
onBeforeProcessPackage?: Function | undefined;
|
|
11
|
-
onProcessPackage?: Function | undefined;
|
|
12
|
-
onProcessPackageError?: Function | undefined;
|
|
13
|
-
onAfterProcessPackage?: Function | undefined;
|
|
14
|
-
onBeforePackagesReady?: Function | undefined;
|
|
15
|
-
onPackagesReady?: Function | undefined;
|
|
16
|
-
onAfterPackagesReady?: Function | undefined;
|
|
17
|
-
} | undefined;
|
|
18
|
-
subprocess?: {
|
|
19
|
-
partialProcessing?: boolean | undefined;
|
|
20
|
-
parallelProcessing?: boolean | undefined;
|
|
21
|
-
matchLongRunningOutputAsReady?: string | null | undefined;
|
|
22
|
-
matchLongRunningOutputAsErrored?: string | null | undefined;
|
|
23
|
-
} | undefined;
|
|
24
|
-
} | undefined;
|
|
25
|
-
logLevel?: "error" | "debug" | "info" | "warn" | "silent" | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
//# sourceMappingURL=parse-config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-config.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/functions/parse-config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,GAAU,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;EAU7C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-config-path.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/functions/search-config-path.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,gBAAgB,GAAU,eAAe,MAAM,gCA4B3D,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ConfigValidationResult } from '../types/config-validation-result.ts';
|
|
2
|
-
export declare const CONFIG_SUPPORTED_BASE_NAME: "ppal.config";
|
|
3
|
-
export declare const CONFIG_SUPPORTED_TYPES: ("ts" | "cts" | "mts" | "js" | "cjs" | "mjs")[];
|
|
4
|
-
export declare const CONFIG_SUPPORTED_NAMES: ("ppal.config.ts" | "ppal.config.cts" | "ppal.config.mts" | "ppal.config.js" | "ppal.config.cjs" | "ppal.config.mjs")[];
|
|
5
|
-
export declare const validateConfigPath: (path: string) => ConfigValidationResult;
|
|
6
|
-
//# sourceMappingURL=validate-config-path.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-config-path.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/functions/validate-config-path.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAGnF,eAAO,MAAM,0BAA0B,EAAG,aAAsB,CAAC;AAEjE,eAAO,MAAM,sBAAsB,iDAAqC,CAAC;AAEzE,eAAO,MAAM,sBAAsB,yHAAuF,CAAC;AAE3H,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,sBAiBjD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"z-loose-function.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/functions/z-loose-function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAE7B,eAAO,MAAM,cAAc,QAAO,CAAC,CAAC,WAAW,CAAC,QAAQ,CAavD,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
import type * as core from 'zod/v4/core';
|
|
3
|
-
export declare const zLooseObjectWithoutIndexSignature: <T extends core.$ZodLooseShape = Record<never, core.SomeType>>(shape: T, params?: string | core.$ZodObjectParams) => z.ZodMiniObject<T>;
|
|
4
|
-
//# sourceMappingURL=z-loose-object-without-index-signature.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"z-loose-object-without-index-signature.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/functions/z-loose-object-without-index-signature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,KAAK,IAAI,MAAM,aAAa,CAAC;AAEzC,eAAO,MAAM,iCAAiC,GAAI,CAAC,SAAS,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,EAC7G,OAAO,CAAC,EACR,SAAS,MAAM,GAAG,IAAI,CAAC,gBAAgB,KACrC,CAAC,CAAC,aAAa,CAAC,CAAC,CAEnB,CAAC"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const LogLevel: z.ZodMiniEnum<{
|
|
3
|
-
error: "error";
|
|
4
|
-
debug: "debug";
|
|
5
|
-
info: "info";
|
|
6
|
-
warn: "warn";
|
|
7
|
-
silent: "silent";
|
|
8
|
-
}>;
|
|
9
|
-
export declare const Config: z.ZodMiniObject<{
|
|
10
|
-
/**
|
|
11
|
-
* Tell PackagePal where to look for package.json files. Default: `'packages/*'`.
|
|
12
|
-
* @example
|
|
13
|
-
* // ppal.config.json
|
|
14
|
-
* {
|
|
15
|
-
* "packages": "packages/*"
|
|
16
|
-
* }
|
|
17
|
-
*/
|
|
18
|
-
packages: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
19
|
-
/**
|
|
20
|
-
* Versioning strategy.
|
|
21
|
-
*/
|
|
22
|
-
version: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
23
|
-
/**
|
|
24
|
-
* Pre-release identifier to use when bumping versions. Default: `''`.
|
|
25
|
-
* @example
|
|
26
|
-
* // ppal.config.json
|
|
27
|
-
* {
|
|
28
|
-
* "preId": "beta"
|
|
29
|
-
* }
|
|
30
|
-
*/
|
|
31
|
-
preId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
32
|
-
/**
|
|
33
|
-
* If true, all dependencies will be bumped to the new version exactly (no ranges or wildcards).
|
|
34
|
-
*/
|
|
35
|
-
exact: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
36
|
-
}, z.core.$strip>>;
|
|
37
|
-
/**
|
|
38
|
-
* Configuration for watching packages and triggering tasks on change.
|
|
39
|
-
*/
|
|
40
|
-
watch: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
41
|
-
/**
|
|
42
|
-
* Delay (in milliseconds) before triggering after detecting a change.
|
|
43
|
-
* @default 500
|
|
44
|
-
*/
|
|
45
|
-
debounceMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
46
|
-
/**
|
|
47
|
-
* Lifecycle hooks to tap into different stages of topological package processing and readiness.
|
|
48
|
-
*/
|
|
49
|
-
hooks: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
50
|
-
/**
|
|
51
|
-
* Called before each package is processed.
|
|
52
|
-
*/
|
|
53
|
-
onBeforeProcessPackage: z.ZodMiniOptional<z.ZodMiniType<Function, unknown, z.core.$ZodTypeInternals<Function, unknown>>>;
|
|
54
|
-
/**
|
|
55
|
-
* Called to process each package.
|
|
56
|
-
*/
|
|
57
|
-
onProcessPackage: z.ZodMiniOptional<z.ZodMiniType<Function, unknown, z.core.$ZodTypeInternals<Function, unknown>>>;
|
|
58
|
-
/**
|
|
59
|
-
* Called if an error occurs while processing a package.
|
|
60
|
-
*/
|
|
61
|
-
onProcessPackageError: z.ZodMiniOptional<z.ZodMiniType<Function, unknown, z.core.$ZodTypeInternals<Function, unknown>>>;
|
|
62
|
-
/**
|
|
63
|
-
* Called after each package is successfully processed.
|
|
64
|
-
*/
|
|
65
|
-
onAfterProcessPackage: z.ZodMiniOptional<z.ZodMiniType<Function, unknown, z.core.$ZodTypeInternals<Function, unknown>>>;
|
|
66
|
-
/**
|
|
67
|
-
* Called after all packages have been processed, before packages ready.
|
|
68
|
-
*/
|
|
69
|
-
onBeforePackagesReady: z.ZodMiniOptional<z.ZodMiniType<Function, unknown, z.core.$ZodTypeInternals<Function, unknown>>>;
|
|
70
|
-
/**
|
|
71
|
-
* Called after all packages have been processed.
|
|
72
|
-
*/
|
|
73
|
-
onPackagesReady: z.ZodMiniOptional<z.ZodMiniType<Function, unknown, z.core.$ZodTypeInternals<Function, unknown>>>;
|
|
74
|
-
/**
|
|
75
|
-
* Called after all packages have been processed, after packages ready.
|
|
76
|
-
*/
|
|
77
|
-
onAfterPackagesReady: z.ZodMiniOptional<z.ZodMiniType<Function, unknown, z.core.$ZodTypeInternals<Function, unknown>>>;
|
|
78
|
-
}, z.core.$strip>>;
|
|
79
|
-
/**
|
|
80
|
-
* Subprocess behavior options when running package commands.
|
|
81
|
-
*/
|
|
82
|
-
subprocess: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
83
|
-
/**
|
|
84
|
-
* If true, keep previous processes alive on changes when possible.
|
|
85
|
-
* @default false
|
|
86
|
-
*/
|
|
87
|
-
partialProcessing: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
88
|
-
/**
|
|
89
|
-
* If true, enables parallel processing of (non-dependent) packages.
|
|
90
|
-
* @default true
|
|
91
|
-
*/
|
|
92
|
-
parallelProcessing: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
93
|
-
/**
|
|
94
|
-
* A string that indicates a long-running subprocess is "ready" - from stdout or stderr.
|
|
95
|
-
* @example
|
|
96
|
-
* { "matchLongRunningOutputAsReady": "Listening on port" }
|
|
97
|
-
*/
|
|
98
|
-
matchLongRunningOutputAsReady: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
99
|
-
/**
|
|
100
|
-
* A string that indicates a long-running subprocess has errored - from stdout or stderr.
|
|
101
|
-
* @example
|
|
102
|
-
* { "matchLongRunningOutputAsErrored": "ERROR" }
|
|
103
|
-
*/
|
|
104
|
-
matchLongRunningOutputAsErrored: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
105
|
-
}, z.core.$strip>>;
|
|
106
|
-
}, z.core.$strip>>;
|
|
107
|
-
/**
|
|
108
|
-
* Controls the verbosity of logs.
|
|
109
|
-
* @default "info"
|
|
110
|
-
* @example
|
|
111
|
-
* { "logLevel": "debug" }
|
|
112
|
-
*/
|
|
113
|
-
logLevel: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
114
|
-
error: "error";
|
|
115
|
-
debug: "debug";
|
|
116
|
-
info: "info";
|
|
117
|
-
warn: "warn";
|
|
118
|
-
silent: "silent";
|
|
119
|
-
}>>;
|
|
120
|
-
}, z.core.$strip>;
|
|
121
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/schemas/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAI9B,eAAO,MAAM,QAAQ;;;;;;EAMnB,CAAC;AAEH,eAAO,MAAM,MAAM;IAClB;;;;;;;OAOG;;IAEH;;OAEG;;QAEF;;;;;;;WAOG;;QAEH;;WAEG;;;IAGJ;;OAEG;;QAEF;;;WAGG;;QAEH;;WAEG;;YAEF;;eAEG;;YAEH;;eAEG;;YAEH;;eAEG;;YAEH;;eAEG;;YAEH;;eAEG;;YAEH;;eAEG;;YAEH;;eAEG;;;QAGJ;;WAEG;;YAEF;;;eAGG;;YAEH;;;eAGG;;YAEH;;;;eAIG;;YAEH;;;;eAIG;;;;IAIL;;;;;OAKG;;;;;;;;iBAEF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activated-config.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/activated-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SupportedConfigType } from './supported-config-type.ts';
|
|
2
|
-
export type ConfigValidationResult = {
|
|
3
|
-
valid: false;
|
|
4
|
-
errorMessage: string;
|
|
5
|
-
} | {
|
|
6
|
-
valid: true;
|
|
7
|
-
name: string;
|
|
8
|
-
type: SupportedConfigType;
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=config-validation-result.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-validation-result.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/config-validation-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,sBAAsB,GAAG;IACpC,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACrB,GAAG;IACH,KAAK,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,mBAAmB,CAAC;CAC1B,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Prettify } from '@package-pal/util';
|
|
2
|
-
import type * as z from 'zod/mini';
|
|
3
|
-
import type { LogLevel, Config as ConfigSchema } from '../schemas/config.ts';
|
|
4
|
-
import type { Logger } from './logger.ts';
|
|
5
|
-
import type { PackagesReadyCallbackProps } from './packages-ready-callback-props.ts';
|
|
6
|
-
import type { ProcessPackageCallbackProps } from './process-package-callback-props.ts';
|
|
7
|
-
import type { SubprocessCallback } from './subprocess-callback.ts';
|
|
8
|
-
export type SchemaLogLevel = Prettify<z.infer<typeof LogLevel>>;
|
|
9
|
-
export type SchemaConfig = z.infer<typeof ConfigSchema>;
|
|
10
|
-
export interface NonSchemaConfig {
|
|
11
|
-
logger?: Logger;
|
|
12
|
-
watch?: {
|
|
13
|
-
hooks?: {
|
|
14
|
-
onBeforeProcessPackage?: SubprocessCallback<ProcessPackageCallbackProps>;
|
|
15
|
-
onProcessPackage?: SubprocessCallback<ProcessPackageCallbackProps>;
|
|
16
|
-
onProcessPackageError?: SubprocessCallback<ProcessPackageCallbackProps>;
|
|
17
|
-
onAfterProcessPackage?: SubprocessCallback<ProcessPackageCallbackProps>;
|
|
18
|
-
onBeforePackagesReady?: SubprocessCallback<PackagesReadyCallbackProps>;
|
|
19
|
-
onPackagesReady?: SubprocessCallback<PackagesReadyCallbackProps>;
|
|
20
|
-
onAfterPackagesReady?: SubprocessCallback<PackagesReadyCallbackProps>;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export type Config = Prettify<Readonly<SchemaConfig & NonSchemaConfig>, true>;
|
|
25
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,KAAK,CAAC,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,EACX,QAAQ,EAAE,MAAM,IAAI,YAAY,EAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEhE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,MAAM,WAAW,eAAe;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE;YACjB,sBAAsB,CAAC,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,CAAC;YACzE,gBAAgB,CAAC,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,CAAC;YACnE,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,CAAC;YACxE,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,CAAC;YACxE,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC;YACvE,eAAe,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC;YACjE,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC;SACtE,CAAC;KAAE,CAAC;CACL;AAED,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,YAAY,GAAG,eAAe,CAAC,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/logger.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACtB,KAAK,CACJ,GAAG,IAAI,EAAE,OAAO,EAAE,GAChB,IAAI,CAAC;IACR,IAAI,CACH,GAAG,IAAI,EAAE,OAAO,EAAE,GAChB,IAAI,CAAC;IACR,IAAI,CACH,GAAG,IAAI,EAAE,OAAO,EAAE,GAChB,IAAI,CAAC;IACR,KAAK,CACJ,GAAG,IAAI,EAAE,OAAO,EAAE,GAChB,IAAI,CAAC;CACR"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { PackageChanges } from '../../watch/types/package-changes.ts';
|
|
2
|
-
export interface PackagesReadyCallbackProps {
|
|
3
|
-
signal: AbortSignal;
|
|
4
|
-
totalChanges: PackageChanges;
|
|
5
|
-
totalProcessOrder: string[][];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=packages-ready-callback-props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"packages-ready-callback-props.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/packages-ready-callback-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAE3E,MAAM,WAAW,0BAA0B;IAC1C,MAAM,EAAE,WAAW,CAAC;IACpB,YAAY,EAAE,cAAc,CAAC;IAC7B,iBAAiB,EAAE,MAAM,EAAE,EAAE,CAAC;CAC9B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PackageChanges } from '../../watch/types/package-changes.ts';
|
|
2
|
-
export interface ProcessPackageCallbackProps {
|
|
3
|
-
name: string;
|
|
4
|
-
dir: string;
|
|
5
|
-
filePaths: string[];
|
|
6
|
-
signal: AbortSignal;
|
|
7
|
-
totalChanges: PackageChanges;
|
|
8
|
-
totalProcessOrder: string[][];
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=process-package-callback-props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-package-callback-props.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/process-package-callback-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAE3E,MAAM,WAAW,2BAA2B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,WAAW,CAAC;IACpB,YAAY,EAAE,cAAc,CAAC;IAC7B,iBAAiB,EAAE,MAAM,EAAE,EAAE,CAAC;CAC9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subprocess-callback.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/subprocess-callback.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ValueOf } from '@package-pal/util';
|
|
2
|
-
export declare const SupportedConfigType: {
|
|
3
|
-
readonly TS: "ts";
|
|
4
|
-
readonly CTS: "cts";
|
|
5
|
-
readonly MTS: "mts";
|
|
6
|
-
readonly JS: "js";
|
|
7
|
-
readonly CJS: "cjs";
|
|
8
|
-
readonly MJS: "mjs";
|
|
9
|
-
};
|
|
10
|
-
export type SupportedConfigType = ValueOf<typeof SupportedConfigType>;
|
|
11
|
-
//# sourceMappingURL=supported-config-type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supported-config-type.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/configuration/types/supported-config-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,eAAO,MAAM,mBAAmB;;;;;;;CAOtB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dfs-traverse-graph-paths.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/dfs-traverse-graph-paths.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAc,OAAO,YAAY,EAAE,sBAAsB,MAAM,GAAG,MAAM,EAAE,KAAG,SAAS,CAAC,MAAM,EAAE,CA0DhI,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { PackageData } from '../../package/types/package-data.ts';
|
|
2
|
-
import type { PackageGraph } from '../types/package-graph.ts';
|
|
3
|
-
export declare const dfsTraverseGraph: (graph: PackageGraph, traverseFromPackages: string | string[]) => Generator<Readonly<PackageData>, void, undefined>;
|
|
4
|
-
//# sourceMappingURL=dfs-traverse-graph.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dfs-traverse-graph.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/dfs-traverse-graph.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,eAAO,MAAM,gBAAgB,GAAc,OAAO,YAAY,EAAE,sBAAsB,MAAM,GAAG,MAAM,EAAE,KAAG,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,CAyBzJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-subgraph.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/extract-subgraph.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,eAAO,MAAM,eAAe,GAAI,OAAO,YAAY,EAAE,cAAc,MAAM,GAAG,MAAM,EAAE,iBAenF,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Logger } from '../../configuration/types/logger.ts';
|
|
2
|
-
import type { PackageData } from '../../package/types/package-data.ts';
|
|
3
|
-
import type { PackageGraph } from '../types/package-graph.ts';
|
|
4
|
-
export declare const generateGraphs: (packages: PackageData[], logger: Logger) => {
|
|
5
|
-
dependencies: PackageGraph;
|
|
6
|
-
dependents: PackageGraph;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=generate-graphs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-graphs.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/generate-graphs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AA+C9D,eAAO,MAAM,cAAc,GAAI,UAAU,WAAW,EAAE,EAAE,QAAQ,MAAM;;;CA0BrE,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Logger } from '../../configuration/types/logger.ts';
|
|
2
|
-
import type { PackageGraphs } from '../types/package-graphs.ts';
|
|
3
|
-
import type { PackageOrder } from '../types/package-order.ts';
|
|
4
|
-
export declare const generatePackageCircularDependencyPaths: ({ dependents }: PackageGraphs, packageSorted: PackageOrder, logger: Logger) => string[][];
|
|
5
|
-
//# sourceMappingURL=generate-package-circular-dependency-paths.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-package-circular-dependency-paths.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/generate-package-circular-dependency-paths.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAElE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAuE9D,eAAO,MAAM,sCAAsC,GAClD,gBAAgB,aAAa,EAC7B,eAAe,YAAY,EAC3B,QAAQ,MAAM,eAmBd,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-topological-ranking-range.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/generate-topological-ranking-range.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,eAAO,MAAM,+BAA+B,GAAI,OAAO,YAAY,EAAE,SAAS,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,8BAwBxG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-topological-ranking.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/generate-topological-ranking.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,GAAI,qBAAqB,MAAM,EAAE,EAAE,KASvD,WAAW,CAAC,MAAM,EAAE,MAAM,CAC5C,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Logger } from '../../configuration/types/logger.ts';
|
|
2
|
-
import type { PackageGraph } from '../types/package-graph.ts';
|
|
3
|
-
import type { PackageOrder } from '../types/package-order.ts';
|
|
4
|
-
export declare const generateTopologicalSortedGroups: (packageGraph: PackageGraph, logger: Logger) => PackageOrder;
|
|
5
|
-
//# sourceMappingURL=generate-topological-sorted-groups.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-topological-sorted-groups.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/generate-topological-sorted-groups.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAW9D,eAAO,MAAM,+BAA+B,GAAI,cAAc,YAAY,EAAE,QAAQ,MAAM,KAAG,YAwD5F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-disjoint.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/is-disjoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,eAAO,MAAM,UAAU,GAAI,GAAG,YAAY,EAAE,GAAG,YAAY,KAAG,OAQ7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-ranked-greater-than-or-equal.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/is-ranked-greater-than-or-equal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,eAAO,MAAM,0BAA0B,GACtC,GAAG,YAAY,EAAE,GAAG,YAAY,EAAE,SAAS,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,YAYtE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-subgraph.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/functions/is-subgraph.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AA2B9D,eAAO,MAAM,UAAU,GAAI,GAAG,YAAY,EAAE,GAAG,YAAY,YAmB1D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-graph.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/types/package-graph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-graphs.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/types/package-graphs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,aAAa;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,YAAY,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-node.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/types/package-node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAEvE,MAAM,WAAW,WAAW;IAC3B,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;CACxC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface PackageOrder {
|
|
2
|
-
/**
|
|
3
|
-
* A topological sorted list of groups of packages.
|
|
4
|
-
* Each group is formed of independent packages, allowing for parallelized operations.
|
|
5
|
-
* Every following group is dependent on the previous groups.
|
|
6
|
-
* Packages with circular dependencies are excluded.
|
|
7
|
-
*/
|
|
8
|
-
groups: string[][];
|
|
9
|
-
/**
|
|
10
|
-
* All packages found to contain any circular dependencies.
|
|
11
|
-
*/
|
|
12
|
-
circular: string[];
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=package-order.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-order.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/graph/types/package-order.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC5B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;CACnB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Logger } from '../../configuration/types/logger.ts';
|
|
2
|
-
import type { PackageData } from '../types/package-data.ts';
|
|
3
|
-
export declare const loadPackages: (packagePatterns: string[], logger: Logger) => Promise<PackageData[]>;
|
|
4
|
-
//# sourceMappingURL=load-packages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"load-packages.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/package/functions/load-packages.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,eAAO,MAAM,YAAY,GAAU,iBAAiB,MAAM,EAAE,EAAE,QAAQ,MAAM,2BAoB3E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-package.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/package/functions/parse-package.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,WAAW,GAAG,SA4BvE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scan-package-paths.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/package/functions/scan-package-paths.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,GAAI,UAAU,MAAM,EAAE,0BAKlD,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Logger } from '../../configuration/types/logger.ts';
|
|
2
|
-
import type { PackageData } from '../types/package-data.ts';
|
|
3
|
-
export declare const scanPackages: (patterns: string[], logger: Logger) => AsyncIterable<PackageData>;
|
|
4
|
-
//# sourceMappingURL=scan-packages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scan-packages.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/package/functions/scan-packages.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAI5D,eAAO,MAAM,YAAY,GAAoB,UAAU,MAAM,EAAE,EAAE,QAAQ,MAAM,KAAG,aAAa,CAAC,WAAW,CAqB1G,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Logger } from '../../configuration/types/logger.ts';
|
|
2
|
-
import type { PackageGraphs } from '../../graph/types/package-graphs.ts';
|
|
3
|
-
import type { BumpVersionType } from '../../types/bump-version-type.ts';
|
|
4
|
-
export declare const updatePackageVersion: (packageName: string, type: BumpVersionType, packageGraphs: PackageGraphs, preId: string | undefined, exact: boolean, logger: Logger) => Promise<void>;
|
|
5
|
-
//# sourceMappingURL=update-package-version.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-package-version.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/package/functions/update-package-version.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAElE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAyExE,eAAO,MAAM,oBAAoB,GAChC,aAAa,MAAM,EAAE,MAAM,eAAe,EAAE,eAAe,aAAa,EAAE,OAAO,MAAM,GAAG,SAAS,EAAE,OAAO,OAAO,EAAE,QAAQ,MAAM,KACjI,OAAO,CAAC,IAAI,CA6Dd,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface PackageData {
|
|
2
|
-
rawContent: string;
|
|
3
|
-
name: string;
|
|
4
|
-
path: string;
|
|
5
|
-
dir: string;
|
|
6
|
-
version?: string;
|
|
7
|
-
dependencies?: Record<string, string>;
|
|
8
|
-
peerDependencies?: Record<string, string>;
|
|
9
|
-
devDependencies?: Record<string, string>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=package-data.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-data.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/package/types/package-data.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACzC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Prettify } from '@package-pal/util';
|
|
2
|
-
import type { BumpVersionType } from './bump-version-type.ts';
|
|
3
|
-
import type { ConfigOptions } from './config-options.ts';
|
|
4
|
-
import type { PackageGraphsOptions } from './package-graphs-options.ts';
|
|
5
|
-
import type { PackageNameOptions } from './package-name-options.ts';
|
|
6
|
-
export type BumpPackageVersionOptions = Readonly<Prettify<ConfigOptions & PackageGraphsOptions & PackageNameOptions & {
|
|
7
|
-
type: BumpVersionType;
|
|
8
|
-
preId?: string;
|
|
9
|
-
exact?: boolean;
|
|
10
|
-
}>>;
|
|
11
|
-
//# sourceMappingURL=bump-package-version-options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bump-package-version-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/bump-package-version-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,GAAG,oBAAoB,GAAG,kBAAkB,GAAG;IACrH,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ValueOf } from '@package-pal/util';
|
|
2
|
-
export declare const BumpVersionType: {
|
|
3
|
-
readonly Major: "major";
|
|
4
|
-
readonly Minor: "minor";
|
|
5
|
-
readonly Patch: "patch";
|
|
6
|
-
readonly Premajor: "premajor";
|
|
7
|
-
readonly Preminor: "preminor";
|
|
8
|
-
readonly Prepatch: "prepatch";
|
|
9
|
-
readonly Prerelease: "prerelease";
|
|
10
|
-
};
|
|
11
|
-
export type BumpVersionType = ValueOf<typeof BumpVersionType>;
|
|
12
|
-
//# sourceMappingURL=bump-version-type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bump-version-type.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/bump-version-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;;;;;CAQlB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,eAAe,CAAC,CAAC"}
|