@jujulego/jill 3.0.0-alpha.10 → 3.0.0-alpha.11

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.
@@ -1,22 +1,22 @@
1
- ;{try{(function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7ada4dcb-9119-4efb-b84d-27267b464ba9",e._sentryDebugIdIdentifier="sentry-dbid-7ada4dcb-9119-4efb-b84d-27267b464ba9");})();}catch(e){}};!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"3.0.0-alpha.10"};}catch(e){}}();import { _ } from '@swc/helpers/_/_apply_decs_2203_r';
1
+ ;{try{(function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="489abf40-53e3-4839-8716-1118931ea019",e._sentryDebugIdIdentifier="sentry-dbid-489abf40-53e3-4839-8716-1118931ea019");})();}catch(e){}};!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"3.0.0-alpha.11"};}catch(e){}}();import { _ } from '@swc/helpers/_/_apply_decs_2203_r';
2
2
  import { inject$, asyncScope$ } from '@kyrielle/injector';
3
3
  import { withLabel } from '@kyrielle/logger';
4
4
  import { var$, pipe$ } from 'kyrielle';
5
- import { L as LOGGER, C as CWD, a as ConfigService, b as cliParser, j as jobCommandPlan, d as command, e as command$1, f as command$2, g as command$3, h as command$4, i as instrument } from './main.js';
5
+ import { t as trace, a as commandName, b as command, w as withPlan, L as LOGGER, C as CWD, d as ConfigService, e as cliParser, f as command$1, g as command$2, h as command$3, i as command$4, j as command$5, k as instrument } from './main.js';
6
6
  import '@sentry/node';
7
7
  import 'node:process';
8
8
  import 'yargs/helpers';
9
- import '@jujulego/tasks';
10
- import 'node:stream/consumers';
9
+ import '@kyrielle/workload';
10
+ import 'node:path';
11
11
  import 'node:fs';
12
12
  import 'path-scurry';
13
- import 'assert';
14
- import 'node:stream';
15
- import 'moo';
16
- import 'node:path';
17
13
  import 'glob';
18
14
  import 'normalize-package-data';
19
15
  import 'semver';
16
+ import 'assert';
17
+ import 'node:stream';
18
+ import 'node:stream/consumers';
19
+ import 'moo';
20
20
  import 'node:child_process';
21
21
  import 'chalk';
22
22
  import 'slugify';
@@ -27,6 +27,36 @@ import 'node:os';
27
27
  import 'cosmiconfig';
28
28
  import 'chalk-template';
29
29
 
30
+ function jobCommandPlan(module, job$) {
31
+ if ('prepare' in module) {
32
+ const prepare = trace(module.prepare, {
33
+ name: commandName(module),
34
+ op: 'cli.prepare'
35
+ });
36
+ return command({
37
+ ...module,
38
+ builder (base) {
39
+ const parser = withPlan(base);
40
+ if (module.builder) {
41
+ return module.builder(parser);
42
+ } else {
43
+ return parser;
44
+ }
45
+ },
46
+ async handler (args) {
47
+ if (!args.plan) {
48
+ job$.mutate(await prepare(args) ?? null);
49
+ }
50
+ }
51
+ });
52
+ } else {
53
+ return command({
54
+ ...module,
55
+ handler: ()=>undefined
56
+ });
57
+ }
58
+ }
59
+
30
60
  var _dec, _initProto;
31
61
  _dec = instrument('PlannerService.plan');
32
62
  class PlannerService {
@@ -52,7 +82,7 @@ class PlannerService {
52
82
  await asyncScope$(async ()=>{
53
83
  asyncScope$().set(CWD, cwd);
54
84
  asyncScope$().set(ConfigService, new ConfigService()); // <= injects an empty ConfigService, forcing config discovery
55
- const parser = pipe$(cliParser(), jobCommandPlan(command, job$), jobCommandPlan(command$1, job$), jobCommandPlan(command$2, job$), jobCommandPlan(command$3, job$), jobCommandPlan(command$4, job$));
85
+ const parser = pipe$(cliParser(), jobCommandPlan(command$1, job$), jobCommandPlan(command$2, job$), jobCommandPlan(command$3, job$), jobCommandPlan(command$4, job$), jobCommandPlan(command$5, job$));
56
86
  await parser.parseAsync(argv);
57
87
  });
58
88
  return job$.defer() ?? null;
@@ -1 +1 @@
1
- {"version":3,"file":"planner.service.js","sources":["../src/services/planner.service.ts"],"sourcesContent":["import type { Job$ } from '@jujulego/tasks';\nimport { asyncScope$, inject$ } from '@kyrielle/injector';\nimport { withLabel } from '@kyrielle/logger';\nimport { pipe$, var$ } from 'kyrielle';\nimport * as commands from '../commands.js';\nimport { ConfigService } from '../config/config.service.js';\nimport { cliParser } from '../parser.js';\nimport { CWD, LOGGER } from '../tokens.js';\nimport { instrument } from '../utils/sentry.js';\nimport { jobCommandPlan } from '../wrappers/job-command-plan.js';\n\nexport class PlannerService {\n // Attributes\n private readonly _logger = inject$(LOGGER).child(withLabel('planner'));\n\n // Methods\n /**\n * Returns a task set if any task should be run by given command.\n * Tasks that do not execute tasks will return `null`\n */\n @instrument('PlannerService.plan')\n async plan(args: string[], cwd: string): Promise<Job$ | null> {\n this._logger.debug(`interpreting jill ${args.join(' ')}`);\n\n const argv = args.map(arg => arg.replace(/^[\"'](.+)[\"']$/, '$1'));\n const job$ = var$<Job$ | null>(null);\n\n await asyncScope$(async () => {\n asyncScope$().set(CWD, cwd);\n asyncScope$().set(ConfigService, new ConfigService()); // <= injects an empty ConfigService, forcing config discovery\n\n const parser = pipe$(\n cliParser(),\n jobCommandPlan(commands.each, job$),\n jobCommandPlan(commands.exec, job$),\n jobCommandPlan(commands.list, job$),\n jobCommandPlan(commands.run, job$),\n jobCommandPlan(commands.tree, job$),\n );\n\n await parser.parseAsync(argv);\n });\n\n return job$.defer() ?? null;\n }\n}\n"],"names":["instrument","PlannerService","plan","_logger","inject$","LOGGER","child","withLabel","args","cwd","debug","join","argv","map","arg","replace","job$","var$","asyncScope$","set","CWD","ConfigService","parser","p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AA,CAAAA,CAAY,KAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;YAChBA,UAAAA,CAAAA,EAAAA,CAAcC,GAAG,CAACC,GAAAA,CAAAA,CAAKX,GAAAA,CAAAA,CAAAA;AACvBS,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,UAAAA,CAAAA,CAAAA,CAAAA,CAAcC,GAAG,CAACE,aAAAA,CAAAA,CAAe,GAAA,CAAIA;YAErC,MAAMC,MAAAA,CAAAA,CAAAA,CAASC,KAAAA,CACbC,SAAAA,EAAAA,CAAAA,CACAC,cAAAA,CAAeC,OAAa,CAAA,CAAEV,IAAAA,CAAAA,CAAAA,CAC9BS,cAAAA,CAAeC,OAAAA,CAAAA,CAAa,EAAEV,GAAAA,CAAAA,CAAAA,CAAAA,CAC9BS,eAAeC,OAAAA,CAAAA,CAAa,CAAA,CAAEV,IAAAA,CAAAA,CAAAA,CAC9BS,cAAAA,CAAeC,OAAAA,CAAAA,CAAY,EAAEV,GAAAA,CAAAA,CAAAA,EAC7BS,cAAAA,CAAeC,SAAa,CAAA,CAAEV,GAAAA,CAAAA,CAAAA,CAAAA,CAAAA;YAGhC,MAAMM,MAAAA,CAAOK,UAAU,CAACf,IAAAA,CAAAA,CAAAA;AAC1B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAEA,OAAOI,GAAAA,CAAAA,CAAKY,KAAK,CAAA,CAAA,IAAM,IAAA,CAAA;AACzB,CAAA,CAAA,CAAA,CAAA,CAAA;AACF,CAAA;;"}
1
+ {"version":3,"file":"planner.service.js","sources":["../src/wrappers/job-command-plan.ts","../src/services/planner.service.ts"],"sourcesContent":["import type { Job$ } from '@kyrielle/workload';\nimport type { Mutator } from 'kyrielle';\nimport type { Argv, CommandModule } from 'yargs';\nimport type { LoggerArgs } from '../middlewares/with-logger.js';\nimport { type PlanModeArgs, withPlan } from '../middlewares/with-plan.js';\nimport { trace } from '../utils/sentry.js';\nimport { commandName } from '../utils/yargs.js';\nimport { command } from './command.js';\nimport type { JobCommandModule } from './job-command.js';\n\nexport function jobCommandPlan<T, U>(module: CommandModule<T, U>, job$: Mutator<Job$ | null>): <V extends T>(parser: Argv<V>) => Argv<V>;\nexport function jobCommandPlan<T extends PlanModeArgs>(module: JobCommandModule<T>, job$: Mutator<Job$ | null>): <V extends LoggerArgs>(parser: Argv<V>) => Argv<V>;\nexport function jobCommandPlan(module: CommandModule | JobCommandModule, job$: Mutator<Job$ | null>) {\n if ('prepare' in module) {\n const prepare = trace(module.prepare, { name: commandName(module), op: 'cli.prepare' });\n\n return command<LoggerArgs, PlanModeArgs>({\n ...module,\n builder(base) {\n const parser = withPlan(base);\n\n if (module.builder) {\n return module.builder(parser);\n } else {\n return parser;\n }\n },\n async handler(args) {\n if (!args.plan) {\n job$.mutate(await prepare(args) ?? null);\n }\n }\n });\n } else {\n return command({\n ...module,\n handler: () => undefined\n });\n }\n}\n\n","import { asyncScope$, inject$ } from '@kyrielle/injector';\nimport { withLabel } from '@kyrielle/logger';\nimport type { Job$ } from '@kyrielle/workload';\nimport { pipe$, var$ } from 'kyrielle';\nimport * as commands from '../commands.js';\nimport { ConfigService } from '../config/config.service.js';\nimport { cliParser } from '../parser.js';\nimport { CWD, LOGGER } from '../tokens.js';\nimport { instrument } from '../utils/sentry.js';\nimport { jobCommandPlan } from '../wrappers/job-command-plan.js';\n\nexport class PlannerService {\n // Attributes\n private readonly _logger = inject$(LOGGER).child(withLabel('planner'));\n\n // Methods\n /**\n * Returns a task set if any task should be run by given command.\n * Tasks that do not execute tasks will return `null`\n */\n @instrument('PlannerService.plan')\n async plan(args: string[], cwd: string): Promise<Job$ | null> {\n this._logger.debug(`interpreting jill ${args.join(' ')}`);\n\n const argv = args.map(arg => arg.replace(/^[\"'](.+)[\"']$/, '$1'));\n const job$ = var$<Job$ | null>(null);\n\n await asyncScope$(async () => {\n asyncScope$().set(CWD, cwd);\n asyncScope$().set(ConfigService, new ConfigService()); // <= injects an empty ConfigService, forcing config discovery\n\n const parser = pipe$(\n cliParser(),\n jobCommandPlan(commands.each, job$),\n jobCommandPlan(commands.exec, job$),\n jobCommandPlan(commands.list, job$),\n jobCommandPlan(commands.run, job$),\n jobCommandPlan(commands.tree, job$),\n );\n\n await parser.parseAsync(argv);\n });\n\n return job$.defer() ?? null;\n }\n}\n"],"names":["jobCommandPlan","module","job$","prepare","trace","name","commandName","op","command","builder","base","parser","withPlan","handler","args","plan","mutate","undefined","instrument","PlannerService","_logger","inject$","LOGGER","child","withLabel","cwd","debug","join","argv","map","arg","replace","var$","asyncScope$","set","CWD","ConfigService","pipe$","cliParser","commands","parseAsync","defer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYO,QAAA,CAASA,cAAAA,CAAeC,MAAwC,CAAA,CAAEC,IAA0B,CAAA,CAAA,CAAA;AACjG,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAI,CAAA,OAAA,KAAaD,MAAAA,CAAAA,CAAQ,CAAA;AACvB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,KAAA,CAAME,OAAAA,CAAAA,CAAAA,CAAUC,KAAAA,CAAMH,MAAAA,CAAOE,OAAO,CAAA,CAAE,CAAA;AAAEE,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,IAAAA,CAAAA,CAAMC,WAAAA,CAAYL,MAAAA,CAAAA,CAAAA;YAASM,EAAAA,CAAAA,CAAI,CAAA,GAAA,CAAA,OAAA,CAAA;AAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAErF,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,CAAOC,OAAAA,CAAkC,CAAA;AACvC,CAAA,CAAA,CAAA,CAAA,CAAA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CAAa,CAAA,CAAErC,IAAAA,CAAAA,CAAAA,CAC9BF,cAAAA,CAAeuC,OAAAA,CAAAA,CAAY,EAAErC,GAAAA,CAAAA,CAAAA,EAC7BF,cAAAA,CAAeuC,SAAa,CAAA,CAAErC,GAAAA,CAAAA,CAAAA,CAAAA,CAAAA;YAGhC,MAAMS,MAAAA,CAAO6B,UAAU,CAACZ,IAAAA,CAAAA,CAAAA;AAC1B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;QAEA,OAAO1B,GAAAA,CAAAA,CAAKuC,KAAK,CAAA,CAAA,IAAM,IAAA,CAAA;AACzB,CAAA,CAAA,CAAA,CAAA,CAAA;AACF,CAAA;;"}
package/dist/tree.ink.js CHANGED
@@ -1,4 +1,4 @@
1
- ;{try{(function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e5081671-0dd5-4f14-9624-ddfe4781129d",e._sentryDebugIdIdentifier="sentry-dbid-e5081671-0dd5-4f14-9624-ddfe4781129d");})();}catch(e){}};!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"3.0.0-alpha.10"};}catch(e){}}();import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ ;{try{(function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e4e8daca-edf1-420a-b0a0-5ef945984af7",e._sentryDebugIdIdentifier="sentry-dbid-e4e8daca-edf1-420a-b0a0-5ef945984af7");})();}catch(e){}};!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"3.0.0-alpha.11"};}catch(e){}}();import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { var$, once$, pipe$, filter$, source$, waitFor$ } from 'kyrielle';
3
3
  import { Text, Newline } from 'ink';
4
4
  import Spinner from 'ink-spinner';
@@ -10,18 +10,18 @@ import '@kyrielle/logger';
10
10
  import './main.js';
11
11
  import 'node:process';
12
12
  import 'yargs/helpers';
13
- import '@jujulego/tasks';
13
+ import '@kyrielle/workload';
14
+ import 'node:path';
14
15
  import '@swc/helpers/_/_apply_decs_2203_r';
15
- import 'node:stream/consumers';
16
16
  import 'node:fs';
17
17
  import 'path-scurry';
18
- import 'assert';
19
- import 'node:stream';
20
- import 'moo';
21
- import 'node:path';
22
18
  import 'glob';
23
19
  import 'normalize-package-data';
24
20
  import 'semver';
21
+ import 'assert';
22
+ import 'node:stream';
23
+ import 'node:stream/consumers';
24
+ import 'moo';
25
25
  import 'node:child_process';
26
26
  import 'chalk';
27
27
  import 'slugify';