@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.
Files changed (139) hide show
  1. package/index.js +419 -264
  2. package/index.js.map +22 -20
  3. package/package.json +2 -2
  4. package/index.d.ts +0 -18
  5. package/index.d.ts.map +0 -1
  6. package/lib/api.d.ts +0 -45
  7. package/lib/api.d.ts.map +0 -1
  8. package/lib/configuration/functions/check-bun.d.ts +0 -2
  9. package/lib/configuration/functions/check-bun.d.ts.map +0 -1
  10. package/lib/configuration/functions/get-default-logger.d.ts +0 -4
  11. package/lib/configuration/functions/get-default-logger.d.ts.map +0 -1
  12. package/lib/configuration/functions/is-root-dir.d.ts +0 -2
  13. package/lib/configuration/functions/is-root-dir.d.ts.map +0 -1
  14. package/lib/configuration/functions/load-config.d.ts +0 -3
  15. package/lib/configuration/functions/load-config.d.ts.map +0 -1
  16. package/lib/configuration/functions/parse-config.d.ts +0 -27
  17. package/lib/configuration/functions/parse-config.d.ts.map +0 -1
  18. package/lib/configuration/functions/search-config-path.d.ts +0 -2
  19. package/lib/configuration/functions/search-config-path.d.ts.map +0 -1
  20. package/lib/configuration/functions/validate-config-path.d.ts +0 -6
  21. package/lib/configuration/functions/validate-config-path.d.ts.map +0 -1
  22. package/lib/configuration/functions/z-loose-function.d.ts +0 -3
  23. package/lib/configuration/functions/z-loose-function.d.ts.map +0 -1
  24. package/lib/configuration/functions/z-loose-object-without-index-signature.d.ts +0 -4
  25. package/lib/configuration/functions/z-loose-object-without-index-signature.d.ts.map +0 -1
  26. package/lib/configuration/schemas/config.d.ts +0 -121
  27. package/lib/configuration/schemas/config.d.ts.map +0 -1
  28. package/lib/configuration/types/activated-config.d.ts +0 -5
  29. package/lib/configuration/types/activated-config.d.ts.map +0 -1
  30. package/lib/configuration/types/config-validation-result.d.ts +0 -10
  31. package/lib/configuration/types/config-validation-result.d.ts.map +0 -1
  32. package/lib/configuration/types/config.d.ts +0 -25
  33. package/lib/configuration/types/config.d.ts.map +0 -1
  34. package/lib/configuration/types/logger.d.ts +0 -7
  35. package/lib/configuration/types/logger.d.ts.map +0 -1
  36. package/lib/configuration/types/packages-ready-callback-props.d.ts +0 -7
  37. package/lib/configuration/types/packages-ready-callback-props.d.ts.map +0 -1
  38. package/lib/configuration/types/process-package-callback-props.d.ts +0 -10
  39. package/lib/configuration/types/process-package-callback-props.d.ts.map +0 -1
  40. package/lib/configuration/types/subprocess-callback.d.ts +0 -2
  41. package/lib/configuration/types/subprocess-callback.d.ts.map +0 -1
  42. package/lib/configuration/types/supported-config-type.d.ts +0 -11
  43. package/lib/configuration/types/supported-config-type.d.ts.map +0 -1
  44. package/lib/graph/functions/dfs-traverse-graph-paths.d.ts +0 -3
  45. package/lib/graph/functions/dfs-traverse-graph-paths.d.ts.map +0 -1
  46. package/lib/graph/functions/dfs-traverse-graph.d.ts +0 -4
  47. package/lib/graph/functions/dfs-traverse-graph.d.ts.map +0 -1
  48. package/lib/graph/functions/extract-subgraph.d.ts +0 -3
  49. package/lib/graph/functions/extract-subgraph.d.ts.map +0 -1
  50. package/lib/graph/functions/generate-graphs.d.ts +0 -8
  51. package/lib/graph/functions/generate-graphs.d.ts.map +0 -1
  52. package/lib/graph/functions/generate-package-circular-dependency-paths.d.ts +0 -5
  53. package/lib/graph/functions/generate-package-circular-dependency-paths.d.ts.map +0 -1
  54. package/lib/graph/functions/generate-topological-ranking-range.d.ts +0 -3
  55. package/lib/graph/functions/generate-topological-ranking-range.d.ts.map +0 -1
  56. package/lib/graph/functions/generate-topological-ranking.d.ts +0 -2
  57. package/lib/graph/functions/generate-topological-ranking.d.ts.map +0 -1
  58. package/lib/graph/functions/generate-topological-sorted-groups.d.ts +0 -5
  59. package/lib/graph/functions/generate-topological-sorted-groups.d.ts.map +0 -1
  60. package/lib/graph/functions/is-disjoint.d.ts +0 -3
  61. package/lib/graph/functions/is-disjoint.d.ts.map +0 -1
  62. package/lib/graph/functions/is-ranked-greater-than-or-equal.d.ts +0 -3
  63. package/lib/graph/functions/is-ranked-greater-than-or-equal.d.ts.map +0 -1
  64. package/lib/graph/functions/is-subgraph.d.ts +0 -3
  65. package/lib/graph/functions/is-subgraph.d.ts.map +0 -1
  66. package/lib/graph/types/package-graph.d.ts +0 -3
  67. package/lib/graph/types/package-graph.d.ts.map +0 -1
  68. package/lib/graph/types/package-graphs.d.ts +0 -6
  69. package/lib/graph/types/package-graphs.d.ts.map +0 -1
  70. package/lib/graph/types/package-node.d.ts +0 -6
  71. package/lib/graph/types/package-node.d.ts.map +0 -1
  72. package/lib/graph/types/package-order.d.ts +0 -14
  73. package/lib/graph/types/package-order.d.ts.map +0 -1
  74. package/lib/package/functions/load-packages.d.ts +0 -4
  75. package/lib/package/functions/load-packages.d.ts.map +0 -1
  76. package/lib/package/functions/parse-package.d.ts +0 -3
  77. package/lib/package/functions/parse-package.d.ts.map +0 -1
  78. package/lib/package/functions/scan-package-paths.d.ts +0 -2
  79. package/lib/package/functions/scan-package-paths.d.ts.map +0 -1
  80. package/lib/package/functions/scan-packages.d.ts +0 -4
  81. package/lib/package/functions/scan-packages.d.ts.map +0 -1
  82. package/lib/package/functions/update-package-version.d.ts +0 -5
  83. package/lib/package/functions/update-package-version.d.ts.map +0 -1
  84. package/lib/package/types/package-data.d.ts +0 -11
  85. package/lib/package/types/package-data.d.ts.map +0 -1
  86. package/lib/types/bump-package-version-options.d.ts +0 -11
  87. package/lib/types/bump-package-version-options.d.ts.map +0 -1
  88. package/lib/types/bump-version-type.d.ts +0 -12
  89. package/lib/types/bump-version-type.d.ts.map +0 -1
  90. package/lib/types/config-options.d.ts +0 -5
  91. package/lib/types/config-options.d.ts.map +0 -1
  92. package/lib/types/get-config-options.d.ts +0 -5
  93. package/lib/types/get-config-options.d.ts.map +0 -1
  94. package/lib/types/get-package-circular-dependency-paths-options.d.ts +0 -6
  95. package/lib/types/get-package-circular-dependency-paths-options.d.ts.map +0 -1
  96. package/lib/types/get-package-data-options.d.ts +0 -4
  97. package/lib/types/get-package-data-options.d.ts.map +0 -1
  98. package/lib/types/get-package-graph-options.d.ts +0 -5
  99. package/lib/types/get-package-graph-options.d.ts.map +0 -1
  100. package/lib/types/get-package-order-options.d.ts +0 -5
  101. package/lib/types/get-package-order-options.d.ts.map +0 -1
  102. package/lib/types/package-data-options.d.ts +0 -5
  103. package/lib/types/package-data-options.d.ts.map +0 -1
  104. package/lib/types/package-graphs-options.d.ts +0 -5
  105. package/lib/types/package-graphs-options.d.ts.map +0 -1
  106. package/lib/types/package-name-options.d.ts +0 -4
  107. package/lib/types/package-name-options.d.ts.map +0 -1
  108. package/lib/types/package-order-options.d.ts +0 -5
  109. package/lib/types/package-order-options.d.ts.map +0 -1
  110. package/lib/types/watch-packages-options.d.ts +0 -6
  111. package/lib/types/watch-packages-options.d.ts.map +0 -1
  112. package/lib/watch/functions/filter-files-modified-since.d.ts +0 -2
  113. package/lib/watch/functions/filter-files-modified-since.d.ts.map +0 -1
  114. package/lib/watch/functions/get-commands-for-shell.d.ts +0 -2
  115. package/lib/watch/functions/get-commands-for-shell.d.ts.map +0 -1
  116. package/lib/watch/functions/get-line-buffered-writer.d.ts +0 -2
  117. package/lib/watch/functions/get-line-buffered-writer.d.ts.map +0 -1
  118. package/lib/watch/functions/normalise-watched-file-path.d.ts +0 -2
  119. package/lib/watch/functions/normalise-watched-file-path.d.ts.map +0 -1
  120. package/lib/watch/functions/read-stream.d.ts +0 -2
  121. package/lib/watch/functions/read-stream.d.ts.map +0 -1
  122. package/lib/watch/functions/run-async.d.ts +0 -3
  123. package/lib/watch/functions/run-async.d.ts.map +0 -1
  124. package/lib/watch/functions/run-subprocess.d.ts +0 -11
  125. package/lib/watch/functions/run-subprocess.d.ts.map +0 -1
  126. package/lib/watch/functions/watch-package-changes.d.ts +0 -8
  127. package/lib/watch/functions/watch-package-changes.d.ts.map +0 -1
  128. package/lib/watch/types/change-action.d.ts +0 -8
  129. package/lib/watch/types/change-action.d.ts.map +0 -1
  130. package/lib/watch/types/exit-state.d.ts +0 -8
  131. package/lib/watch/types/exit-state.d.ts.map +0 -1
  132. package/lib/watch/types/package-changes.d.ts +0 -2
  133. package/lib/watch/types/package-changes.d.ts.map +0 -1
  134. package/lib/watch/types/run-async-type.d.ts +0 -7
  135. package/lib/watch/types/run-async-type.d.ts.map +0 -1
  136. package/lib/watch/types/spawn-options.d.ts +0 -4
  137. package/lib/watch/types/spawn-options.d.ts.map +0 -1
  138. package/lib/watch/types/std-type.d.ts +0 -7
  139. package/lib/watch/types/std-type.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"config-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/config-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAElF,MAAM,WAAW,aAAa;IAAG,MAAM,EAAE,eAAe,CAAA;CAAE"}
@@ -1,5 +0,0 @@
1
- import type { Prettify } from '@package-pal/util';
2
- export type GetConfigOptions = Readonly<Prettify<{
3
- overrideConfigPath?: string;
4
- }>>;
5
- //# sourceMappingURL=get-config-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-config-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/get-config-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,QAAQ,CAAC;IAAE,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import type { Prettify } from '@package-pal/util';
2
- import type { ConfigOptions } from './config-options.ts';
3
- import type { PackageGraphsOptions } from './package-graphs-options.ts';
4
- import type { PackageOrderOptions } from './package-order-options.ts';
5
- export type GetPackageCircularDependencyPathsOptions = Readonly<Prettify<ConfigOptions & PackageGraphsOptions & PackageOrderOptions>>;
6
- //# sourceMappingURL=get-package-circular-dependency-paths-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-package-circular-dependency-paths-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/get-package-circular-dependency-paths-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,wCAAwC,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,GAAG,oBAAoB,GAAG,mBAAmB,CAAC,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Prettify } from '@package-pal/util';
2
- import type { ConfigOptions } from './config-options.ts';
3
- export type GetPackageDataOptions = Readonly<Prettify<ConfigOptions>>;
4
- //# sourceMappingURL=get-package-data-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-package-data-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/get-package-data-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { Prettify } from '@package-pal/util';
2
- import type { ConfigOptions } from './config-options.ts';
3
- import type { PackageDataOptions } from './package-data-options.ts';
4
- export type GetPackageGraphOptions = Readonly<Prettify<ConfigOptions & PackageDataOptions>>;
5
- //# sourceMappingURL=get-package-graph-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-package-graph-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/get-package-graph-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,GAAG,kBAAkB,CAAC,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { Prettify } from '@package-pal/util';
2
- import type { ConfigOptions } from './config-options.ts';
3
- import type { PackageGraphsOptions } from './package-graphs-options.ts';
4
- export type GetPackageOrderOptions = Readonly<Prettify<ConfigOptions & PackageGraphsOptions>>;
5
- //# sourceMappingURL=get-package-order-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-package-order-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/get-package-order-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,GAAG,oBAAoB,CAAC,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { PackageData } from '../package/types/package-data.ts';
2
- export interface PackageDataOptions {
3
- packageData: PackageData[];
4
- }
5
- //# sourceMappingURL=package-data-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-data-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/package-data-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,MAAM,WAAW,kBAAkB;IAAG,WAAW,EAAE,WAAW,EAAE,CAAA;CAAE"}
@@ -1,5 +0,0 @@
1
- import type { PackageGraphs } from '../graph/types/package-graphs.ts';
2
- export interface PackageGraphsOptions {
3
- packageGraphs: PackageGraphs;
4
- }
5
- //# sourceMappingURL=package-graphs-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-graphs-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/package-graphs-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,WAAW,oBAAoB;IAAG,aAAa,EAAE,aAAa,CAAA;CAAE"}
@@ -1,4 +0,0 @@
1
- export interface PackageNameOptions {
2
- packageName: string;
3
- }
4
- //# sourceMappingURL=package-name-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-name-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/package-name-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAAG,WAAW,EAAE,MAAM,CAAA;CAAE"}
@@ -1,5 +0,0 @@
1
- import type { PackageOrder } from '../graph/types/package-order.ts';
2
- export interface PackageOrderOptions {
3
- packageOrder: PackageOrder;
4
- }
5
- //# sourceMappingURL=package-order-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-order-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/package-order-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,MAAM,WAAW,mBAAmB;IAAG,YAAY,EAAE,YAAY,CAAA;CAAE"}
@@ -1,6 +0,0 @@
1
- import type { Prettify } from '@package-pal/util';
2
- import type { ConfigOptions } from './config-options.ts';
3
- import type { PackageDataOptions } from './package-data-options.ts';
4
- import type { PackageGraphsOptions } from './package-graphs-options.ts';
5
- export type WatchPackagesOptions = Readonly<Prettify<ConfigOptions & PackageDataOptions & PackageGraphsOptions>>;
6
- //# sourceMappingURL=watch-packages-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watch-packages-options.d.ts","sourceRoot":"","sources":["../../../../packages/core/src/lib/types/watch-packages-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,QAAQ,CAAC,aAAa,GAAG,kBAAkB,GAAG,oBAAoB,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const filterFilesModifiedSince: (paths: string[], sinceMs: number) => string[];
2
- //# sourceMappingURL=filter-files-modified-since.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-files-modified-since.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/filter-files-modified-since.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,GAAI,OAAO,MAAM,EAAE,EAAE,SAAS,MAAM,aAKxE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const getCommandsForShell: (shellCommand: string) => string[];
2
- //# sourceMappingURL=get-commands-for-shell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-commands-for-shell.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/get-commands-for-shell.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,GAAI,cAAc,MAAM,aA4BvD,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const getLineBufferedWriter: (prefix: string, style?: (s: string) => string, write?: (chunk: string) => void) => (chunk: string) => void;
2
- //# sourceMappingURL=get-line-buffered-writer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-line-buffered-writer.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/get-line-buffered-writer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,GACjC,QAAQ,MAAM,EAAE,QAAO,CAAC,CAAC,EAAE,MAAM,KAAK,MAAiB,EAAE,QAAO,CAAC,KAAK,EAAE,MAAM,KAAK,IAAgD,MAI3H,OAAO,MAAM,SAUrB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const normaliseWatchedFilePath: (filePath: string) => string;
2
- //# sourceMappingURL=normalise-watched-file-path.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalise-watched-file-path.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/normalise-watched-file-path.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,wBAAwB,GAAI,UAAU,MAAM,WAaxD,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const readStream: (stream: ReadableStream<Uint8Array> | null, use: (chunk: string) => void) => Promise<void>;
2
- //# sourceMappingURL=read-stream.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"read-stream.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/read-stream.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAU,QAAQ,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EACzE,KAAK,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,kBAkB5B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { RunAsyncType } from '../types/run-async-type.ts';
2
- export declare const runAsync: <T>(type: RunAsyncType, tasks: (() => Promise<T>)[]) => Promise<T[]>;
3
- //# sourceMappingURL=run-async.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-async.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/run-async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,eAAO,MAAM,QAAQ,GAAU,CAAC,EAAE,MAAM,YAAY,EAAE,OAAO,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,iBAahF,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { Logger } from '../../configuration/types/logger.ts';
2
- import { StdType } from '../types/std-type.ts';
3
- export declare const runSubprocess: (opts: {
4
- debugName: string;
5
- shellCommand: string;
6
- cwd?: string;
7
- signal?: AbortSignal;
8
- logger: Logger;
9
- onStdChunk?: (chunk: string, type: StdType) => void;
10
- }) => Promise<"Completed" | "Errored" | "Cancelled">;
11
- //# sourceMappingURL=run-subprocess.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-subprocess.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/run-subprocess.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAElE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAc/C,eAAO,MAAM,aAAa,GAAU,MAAM;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACpD,mDA+DA,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { ActivatedWatchConfig } from '../../configuration/types/activated-config.ts';
2
- import type { Logger } from '../../configuration/types/logger.ts';
3
- import type { PackageGraphs } from '../../graph/types/package-graphs.ts';
4
- import type { PackageData } from '../../package/types/package-data.ts';
5
- export declare const watchPackageChanges: (packageData: PackageData[], packageGraphs: PackageGraphs, watchConfig: ActivatedWatchConfig, logger: Logger) => {
6
- close: () => void;
7
- };
8
- //# sourceMappingURL=watch-package-changes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watch-package-changes.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/functions/watch-package-changes.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AASlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAwQvE,eAAO,MAAM,mBAAmB,GAC/B,aAAa,WAAW,EAAE,EAC1B,eAAe,aAAa,EAC5B,aAAa,oBAAoB,EACjC,QAAQ,MAAM;;CAuHd,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { ValueOf } from '@package-pal/util';
2
- export declare const ChangeAction: {
3
- readonly Ignore: "Ignore";
4
- readonly Partial: "Partial";
5
- readonly Restart: "Restart";
6
- };
7
- export type ChangeAction = ValueOf<typeof ChangeAction>;
8
- //# sourceMappingURL=change-action.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"change-action.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/types/change-action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { ValueOf } from '@package-pal/util';
2
- export declare const ExitState: {
3
- readonly Completed: "Completed";
4
- readonly Errored: "Errored";
5
- readonly Cancelled: "Cancelled";
6
- };
7
- export type ExitState = ValueOf<typeof ExitState>;
8
- //# sourceMappingURL=exit-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exit-state.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/types/exit-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export type PackageChanges = Map<string, string[]>;
2
- //# sourceMappingURL=package-changes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-changes.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/types/package-changes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { ValueOf } from '@package-pal/util';
2
- export declare const RunAsyncType: {
3
- readonly Sequential: "Sequential";
4
- readonly Parallel: "Parallel";
5
- };
6
- export type RunAsyncType = ValueOf<typeof RunAsyncType>;
7
- //# sourceMappingURL=run-async-type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-async-type.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/types/run-async-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Prettify } from '@package-pal/util';
2
- import type { SpawnOptions } from 'bun';
3
- export type SpawnOptions<In extends SpawnOptions.Writable = 'ignore', Out extends SpawnOptions.Readable = 'pipe', Err extends SpawnOptions.Readable = 'inherit'> = Prettify<Omit<SpawnOptions.OptionsObject<In, Out, Err>, 'signal' | 'stdio' | 'stdout' | 'stderr'>>;
4
- //# sourceMappingURL=spawn-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spawn-options.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/types/spawn-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAExC,MAAM,MAAM,YAAY,CACvB,EAAE,SAAS,YAAY,CAAC,QAAQ,GAAG,QAAQ,EAC3C,GAAG,SAAS,YAAY,CAAC,QAAQ,GAAG,MAAM,EAC1C,GAAG,SAAS,YAAY,CAAC,QAAQ,GAAG,SAAS,IAC1C,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { ValueOf } from '@package-pal/util';
2
- export declare const StdType: {
3
- readonly Out: "Out";
4
- readonly Err: "Err";
5
- };
6
- export type StdType = ValueOf<typeof StdType>;
7
- //# sourceMappingURL=std-type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"std-type.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/lib/watch/types/std-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,eAAO,MAAM,OAAO;;;CAGV,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,OAAO,CAAC,CAAC"}