@jujulego/jill 2.1.0-alpha.6 → 2.2.0-alpha.1

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 (57) hide show
  1. package/dist/205.js +2 -0
  2. package/dist/205.js.map +1 -0
  3. package/dist/434.js +9 -0
  4. package/dist/{801.js.LICENSE.txt → 434.js.LICENSE.txt} +0 -0
  5. package/dist/434.js.map +1 -0
  6. package/dist/{services/ajv.config.d.ts → ajv.config.d.ts} +0 -0
  7. package/dist/bases/command.d.ts +17 -0
  8. package/dist/bases/ink-command.d.ts +11 -0
  9. package/dist/bases/middleware.d.ts +8 -0
  10. package/dist/commands/each.d.ts +22 -14
  11. package/dist/commands/group.d.ts +18 -8
  12. package/dist/commands/list.d.ts +20 -21
  13. package/dist/commands/run.d.ts +19 -6
  14. package/dist/commands/tree.d.ts +7 -3
  15. package/dist/commons/git.service.d.ts +61 -0
  16. package/dist/{services → commons}/logger.service.d.ts +0 -0
  17. package/dist/{services → commons}/spinner.service.d.ts +0 -0
  18. package/dist/config/config-loader.d.ts +4 -0
  19. package/dist/config/config-options.d.ts +5 -0
  20. package/dist/config/types.d.ts +7 -0
  21. package/dist/config/utils.d.ts +5 -0
  22. package/dist/filters/affected.filter.d.ts +1 -0
  23. package/dist/index.d.ts +15 -13
  24. package/dist/index.js +1 -1
  25. package/dist/index.js.map +1 -1
  26. package/dist/ink.config.d.ts +3 -0
  27. package/dist/inversify.config.d.ts +8 -0
  28. package/dist/main.d.ts +5 -1
  29. package/dist/main.js +1 -1
  30. package/dist/main.js.map +1 -1
  31. package/dist/middlewares/load-project.d.ts +17 -4
  32. package/dist/middlewares/load-workspace.d.ts +16 -3
  33. package/dist/{services/plugins → plugins}/plugin-loader.service.d.ts +3 -3
  34. package/dist/{services/plugins → plugins}/types.d.ts +1 -1
  35. package/dist/{services/plugins → plugins}/utils.d.ts +0 -0
  36. package/dist/project/constants.d.ts +1 -0
  37. package/dist/project/project.d.ts +1 -0
  38. package/dist/project/workspace.d.ts +2 -0
  39. package/dist/{services → tasks}/task-expr.service.d.ts +3 -0
  40. package/dist/{services → tasks}/task-manager.config.d.ts +0 -0
  41. package/dist/tsconfig.build.tsbuildinfo +1 -1
  42. package/dist/types.d.ts +4 -0
  43. package/package.json +6 -6
  44. package/dist/784.js +0 -2
  45. package/dist/784.js.map +0 -1
  46. package/dist/801.js +0 -9
  47. package/dist/801.js.map +0 -1
  48. package/dist/commands/index.d.ts +0 -40
  49. package/dist/git.d.ts +0 -16
  50. package/dist/middlewares/config-options.d.ts +0 -5
  51. package/dist/middlewares/setup-ink.d.ts +0 -1
  52. package/dist/services/config/explorer.d.ts +0 -4
  53. package/dist/services/config/loader.d.ts +0 -4
  54. package/dist/services/config/types.d.ts +0 -5
  55. package/dist/services/config/validator.d.ts +0 -4
  56. package/dist/services/inversify.config.d.ts +0 -11
  57. package/dist/utils/yargs.d.ts +0 -9
@@ -1,40 +0,0 @@
1
- /// <reference types="yargs" />
2
- export declare const commands: (import("yargs").CommandModule<unknown, unknown> | import("yargs").CommandModule<unknown, {
3
- script: string;
4
- } & {
5
- "deps-mode": "all";
6
- } & {
7
- private: boolean | undefined;
8
- } & {
9
- affected: string | undefined;
10
- } & {
11
- "affected-rev-sort": string | undefined;
12
- } & {
13
- "affected-rev-fallback": string;
14
- }> | import("yargs").CommandModule<unknown, {
15
- script: import("..").TaskNode | import("..").GroupNode;
16
- } & {
17
- "deps-mode": import("..").WorkspaceDepsMode;
18
- }> | import("yargs").CommandModule<unknown, {
19
- private: boolean | undefined;
20
- } & {
21
- "with-script": string[] | undefined;
22
- } & {
23
- affected: string | undefined;
24
- } & {
25
- "affected-rev-sort": string | undefined;
26
- } & {
27
- "affected-rev-fallback": string;
28
- } & {
29
- attrs: never[] | ("version" | "name" | "root" | "slug")[];
30
- } & {
31
- headers: boolean | undefined;
32
- } & {
33
- long: boolean | undefined;
34
- } & {
35
- json: boolean | undefined;
36
- }> | import("yargs").CommandModule<unknown, {
37
- script: string;
38
- } & {
39
- "deps-mode": "all";
40
- }>)[];
package/dist/git.d.ts DELETED
@@ -1,16 +0,0 @@
1
- import { SpawnTask, SpawnTaskOptions, TaskContext, TaskManager } from '@jujulego/tasks';
2
- import { Logger } from '@/src/services/logger.service';
3
- export interface GitContext extends TaskContext {
4
- command: string;
5
- }
6
- export declare class Git {
7
- static readonly manager: TaskManager;
8
- static readonly logger: Logger;
9
- static command(cmd: string, args: string[], options?: SpawnTaskOptions): SpawnTask<GitContext>;
10
- static branch(args: string[], options?: SpawnTaskOptions): SpawnTask<GitContext>;
11
- static diff(args: string[], options?: SpawnTaskOptions): SpawnTask<GitContext>;
12
- static tag(args: string[], options?: SpawnTaskOptions): SpawnTask<GitContext>;
13
- static isAffected(reference: string, args?: string[], opts?: SpawnTaskOptions): Promise<boolean>;
14
- static listBranches(args?: string[], opts?: SpawnTaskOptions): Promise<string[]>;
15
- static listTags(args?: string[], opts?: SpawnTaskOptions): Promise<string[]>;
16
- }
@@ -1,5 +0,0 @@
1
- export declare const configOptions: import("@/src/utils/yargs").Middleware<unknown, {
2
- verbose: number;
3
- } & {
4
- jobs: number;
5
- }>;
@@ -1 +0,0 @@
1
- export declare const setupInk: import("@/src/utils/yargs").Middleware<unknown, unknown>;
@@ -1,4 +0,0 @@
1
- import { cosmiconfig } from 'cosmiconfig';
2
- import { interfaces as int } from 'inversify';
3
- export type ConfigExplorer = ReturnType<typeof cosmiconfig>;
4
- export declare const CONFIG_EXPLORER: int.ServiceIdentifier<ConfigExplorer>;
@@ -1,4 +0,0 @@
1
- import { interfaces as int } from 'inversify';
2
- import { Config } from './types';
3
- export declare const CONFIG: int.ServiceIdentifier<Config>;
4
- export declare function configLoader(): Promise<Config>;
@@ -1,5 +0,0 @@
1
- export interface Config {
2
- jobs?: number;
3
- plugins?: string[];
4
- verbose?: 'info' | 'verbose' | 'debug';
5
- }
@@ -1,4 +0,0 @@
1
- import { interfaces } from 'inversify';
2
- import { ValidateFunction } from 'ajv';
3
- import { Config } from './types';
4
- export declare const CONFIG_VALIDATOR: interfaces.ServiceIdentifier<ValidateFunction<Config>>;
@@ -1,11 +0,0 @@
1
- import ink from 'ink';
2
- import { Container, interfaces } from 'inversify';
3
- import 'reflect-metadata';
4
- export declare const INK_APP: interfaces.ServiceIdentifier<ink.Instance>;
5
- export declare const SERVICES_CONFIG: interfaces.ServiceIdentifier<ServicesConfig>;
6
- export declare const CURRENT: unique symbol;
7
- export interface ServicesConfig {
8
- jobs?: number;
9
- }
10
- export declare const container: Container;
11
- export declare const lazyInject: (serviceIdentifier: string | symbol | interfaces.Newable<any> | interfaces.Abstract<any>) => (proto: any, key: string) => void;
@@ -1,9 +0,0 @@
1
- import { Arguments, Argv, CommandModule } from 'yargs';
2
- import { Awaitable } from '../types';
3
- export interface Middleware<T = unknown, U = T> {
4
- builder?: (yargs: Argv<T>) => Awaitable<Argv<U>>;
5
- handler(args: Arguments<U>): Awaitable<void>;
6
- }
7
- export declare function defineCommand<T, U>(command: CommandModule<T, U>): CommandModule<T, U>;
8
- export declare function defineMiddleware<T, U>(middleware: Middleware<T, U>): Middleware<T, U>;
9
- export declare function applyMiddlewares<T>(yargs: Argv<T>, middlewares: Middleware[]): Promise<Argv<T>>;