@jujulego/jill 2.2.3 → 2.3.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.
- package/bin/jill.mjs +3 -0
- package/dist/489.mjs +2 -0
- package/dist/489.mjs.map +1 -0
- package/dist/828.mjs +2 -0
- package/dist/828.mjs.map +1 -0
- package/dist/839.mjs +2 -0
- package/dist/839.mjs.map +1 -0
- package/dist/ajv.config.d.ts +1 -1
- package/dist/commands/each.d.ts +5 -5
- package/dist/commands/exec.d.ts +4 -4
- package/dist/commands/group.d.ts +3 -3
- package/dist/commands/list.d.ts +3 -4
- package/dist/commands/run.d.ts +5 -5
- package/dist/commands/tree.d.ts +3 -4
- package/dist/commons/context.service.d.ts +4 -4
- package/dist/commons/git.service.d.ts +4 -3
- package/dist/commons/logger/thread.transport.d.ts +1 -1
- package/dist/commons/spinner.service.d.ts +3 -0
- package/dist/config/config-loader.d.ts +1 -1
- package/dist/config/config-options.d.ts +1 -1
- package/dist/config/utils.d.ts +1 -1
- package/dist/filters/affected.filter.d.ts +2 -2
- package/dist/filters/pipeline.d.ts +2 -2
- package/dist/filters/private.filter.d.ts +2 -2
- package/dist/filters/scripts.filter.d.ts +2 -2
- package/dist/index.d.ts +51 -51
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/ink.config.d.ts +2 -2
- package/dist/inversify.config.d.ts +1 -1
- package/dist/jill.application.d.ts +5 -5
- package/dist/main.mjs +2 -0
- package/dist/main.mjs.map +1 -0
- package/dist/middlewares/load-project.d.ts +5 -5
- package/dist/middlewares/load-workspace.d.ts +6 -5
- package/dist/modules/command.d.ts +2 -2
- package/dist/modules/ink-command.d.ts +4 -4
- package/dist/modules/middleware.d.ts +1 -1
- package/dist/modules/module.d.ts +1 -1
- package/dist/modules/plugin-loader.service.d.ts +2 -2
- package/dist/modules/plugin.d.ts +2 -2
- package/dist/modules/task-command.d.ts +3 -4
- package/dist/project/project.d.ts +3 -3
- package/dist/project/project.repository.d.ts +2 -2
- package/dist/project/workspace.d.ts +3 -3
- package/dist/runtime.mjs +2 -0
- package/dist/runtime.mjs.map +1 -0
- package/dist/tasks/command-task.d.ts +1 -1
- package/dist/tasks/script-task.d.ts +3 -3
- package/dist/tasks/task-expr.service.d.ts +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types.d.ts +5 -2
- package/dist/ui/global-spinner.d.ts +1 -2
- package/dist/ui/group-task-spinner.d.ts +1 -2
- package/dist/ui/layout.d.ts +1 -1
- package/dist/ui/list.d.ts +1 -2
- package/dist/ui/task-manager-spinner.d.ts +1 -2
- package/dist/ui/task-name.d.ts +1 -2
- package/dist/ui/task-spinner.d.ts +1 -2
- package/dist/ui/workspace-tree.d.ts +2 -2
- package/dist/utils/import.d.ts +3 -0
- package/dist/utils/json.d.ts +1 -1
- package/dist/utils/worker-cache.d.ts +2 -2
- package/package.json +54 -49
- package/bin/jill.js +0 -3
- package/dist/508.js +0 -2
- package/dist/508.js.map +0 -1
- package/dist/670.js +0 -2
- package/dist/670.js.map +0 -1
- package/dist/828.js +0 -2
- package/dist/828.js.map +0 -1
- package/dist/832.js +0 -2
- package/dist/832.js.map +0 -1
- package/dist/962.js +0 -9
- package/dist/962.js.LICENSE.txt +0 -75
- package/dist/962.js.map +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +0 -1
- package/dist/main.js +0 -2
- package/dist/main.js.map +0 -1
- package/dist/runtime.js +0 -2
- package/dist/runtime.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type Logger } from '@/src/commons/logger.service';
|
|
2
|
-
import { Workspace } from './workspace';
|
|
3
|
-
import { type PackageManager } from './types';
|
|
1
|
+
import { type Logger } from '@/src/commons/logger.service.ts';
|
|
2
|
+
import { Workspace } from './workspace.ts';
|
|
3
|
+
import { type PackageManager } from './types.ts';
|
|
4
4
|
export interface ProjectOptions {
|
|
5
5
|
packageManager?: PackageManager | undefined;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Logger } from '@/src/commons/logger.service';
|
|
2
|
-
import { Project, type ProjectOptions } from './project';
|
|
1
|
+
import { Logger } from '@/src/commons/logger.service.ts';
|
|
2
|
+
import { Project, type ProjectOptions } from './project.ts';
|
|
3
3
|
export interface IsProjectRoot {
|
|
4
4
|
hasManifest: boolean;
|
|
5
5
|
hasLockFile: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type TaskOptions } from '@jujulego/tasks';
|
|
2
2
|
import { type Package } from 'normalize-package-data';
|
|
3
|
-
import { CommandTask } from '@/src/tasks/command-task';
|
|
4
|
-
import { ScriptTask } from '@/src/tasks/script-task';
|
|
5
|
-
import { type Project } from './project';
|
|
3
|
+
import { CommandTask } from '@/src/tasks/command-task.ts';
|
|
4
|
+
import { ScriptTask } from '@/src/tasks/script-task.ts';
|
|
5
|
+
import { type Project } from './project.ts';
|
|
6
6
|
export type WorkspaceDepsMode = 'all' | 'prod' | 'none';
|
|
7
7
|
export interface WorkspaceRunOptions extends Omit<TaskOptions, 'logger'> {
|
|
8
8
|
buildDeps?: WorkspaceDepsMode;
|
package/dist/runtime.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e,r,o={},t={};function i(e){var r=t[e];if(void 0!==r)return r.exports;var s=t[e]={exports:{}};return o[e](s,s.exports,i),s.exports}i.m=o,i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var o in r)i.o(r,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,o)=>(i.f[o](e,r),r)),[])),i.u=e=>e+".mjs",i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);export default i;e={666:0},r=r=>{var o,t,{ids:s,modules:a,runtime:f}=r,n=0;for(o in a)i.o(a,o)&&(i.m[o]=a[o]);for(f&&f(i);n<s.length;n++)t=s[n],i.o(e,t)&&e[t]&&e[t][0](),e[s[n]]=0},i.f.j=(o,t)=>{var s=i.o(e,o)?e[o]:void 0;if(0!==s)if(s)t.push(s[1]);else if(666!=o){var a=import("./"+i.u(o)).then(r,(r=>{throw 0!==e[o]&&(e[o]=void 0),r}));a=Promise.race([a,new Promise((r=>s=e[o]=[r]))]),t.push(s[1]=a)}else e[o]=0},i.C=r;
|
|
2
|
+
//# sourceMappingURL=runtime.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.mjs","mappings":"IAKIA,EAIAC,E,KCRAC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CAGAJ,EAAoBO,EAAID,ECxBxBN,EAAoBQ,EAAKH,IACxB,IAAII,EAASJ,GAAUA,EAAOK,WAC7B,IAAOL,EAAiB,QACxB,IAAM,EAEP,OADAL,EAAoBW,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdT,EAAoBW,EAAI,CAACP,EAASS,KACjC,IAAI,IAAIC,KAAOD,EACXb,EAAoBe,EAAEF,EAAYC,KAASd,EAAoBe,EAAEX,EAASU,IAC5EE,OAAOC,eAAeb,EAASU,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDd,EAAoBoB,EAAI,CAAC,EAGzBpB,EAAoBqB,EAAKC,GACjBC,QAAQC,IAAIR,OAAOS,KAAKzB,EAAoBoB,GAAGM,QAAO,CAACC,EAAUb,KACvEd,EAAoBoB,EAAEN,GAAKQ,EAASK,GAC7BA,IACL,KCNJ3B,EAAoB4B,EAAKN,GAEZA,EAAU,OCHvBtB,EAAoBe,EAAI,CAACc,EAAKC,IAAUd,OAAOe,UAAUC,eAAeC,KAAKJ,EAAKC,kBCAnE9B,EPKXH,EAAkB,CACrB,IAAK,GAGFC,EAAgBoC,IACnB,IAGIjC,EAAUqB,GAHV,IAACa,EAAG,QAAEC,EAAO,QAAEC,GAAWH,EAGPI,EAAI,EAC3B,IAAIrC,KAAYmC,EACZpC,EAAoBe,EAAEqB,EAASnC,KACjCD,EAAoBO,EAAEN,GAAYmC,EAAQnC,IAI5C,IADGoC,GAASA,EAAQrC,GACfsC,EAAIH,EAAII,OAAQD,IACpBhB,EAAUa,EAAIG,GACXtC,EAAoBe,EAAElB,EAAiByB,IAAYzB,EAAgByB,IACrEzB,EAAgByB,GAAS,KAE1BzB,EAAgBsC,EAAIG,IAAM,CAC3B,EAIDtC,EAAoBoB,EAAEoB,EAAI,CAAClB,EAASK,KAElC,IAAIc,EAAqBzC,EAAoBe,EAAElB,EAAiByB,GAAWzB,EAAgByB,QAAWnB,EACtG,GAA0B,IAAvBsC,EAGF,GAAGA,EACFd,EAASe,KAAKD,EAAmB,SAEjC,GAAG,KAAOnB,EAAS,CAElB,IAAIqB,EAAUC,OAAO,KAAO5C,EAAoB4B,EAAEN,IAAUuB,KAAK/C,GAAeuB,IAE/E,MADgC,IAA7BxB,EAAgByB,KAAgBzB,EAAgByB,QAAWnB,GACxDkB,CAAC,IAEJsB,EAAUpB,QAAQuB,KAAK,CAACH,EAAS,IAAIpB,SAASwB,GAAaN,EAAqB5C,EAAgByB,GAAW,CAACyB,OAChHpB,EAASe,KAAKD,EAAmB,GAAKE,EACvC,MAAO9C,EAAgByB,GAAW,CAEpC,EAGFtB,EAAoBgD,EAAIlD","sources":["webpack://@jujulego/jill/webpack/runtime/import chunk loading","webpack://@jujulego/jill/webpack/bootstrap","webpack://@jujulego/jill/webpack/runtime/compat get default export","webpack://@jujulego/jill/webpack/runtime/define property getters","webpack://@jujulego/jill/webpack/runtime/ensure chunk","webpack://@jujulego/jill/webpack/runtime/get javascript chunk filename","webpack://@jujulego/jill/webpack/runtime/hasOwnProperty shorthand","webpack://@jujulego/jill/webpack/runtime/export webpack runtime"],"sourcesContent":["// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t666: 0\n};\n\nvar installChunk = (data) => {\n\tvar {ids, modules, runtime} = data;\n\t// add \"modules\" to the modules object,\n\t// then flag all \"ids\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tfor(moduleId in modules) {\n\t\tif(__webpack_require__.o(modules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = modules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\tfor(;i < ids.length; i++) {\n\t\tchunkId = ids[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[ids[i]] = 0;\n\t}\n\n}\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// import() chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[1]);\n\t\t\t} else {\n\t\t\t\tif(666 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = import(\"./\" + __webpack_require__.u(chunkId)).then(installChunk, (e) => {\n\t\t\t\t\t\tif(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t});\n\t\t\t\t\tvar promise = Promise.race([promise, new Promise((resolve) => (installedChunkData = installedChunks[chunkId] = [resolve]))])\n\t\t\t\t\tpromises.push(installedChunkData[1] = promise);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n__webpack_require__.C = installChunk;\n\n// no on chunks loaded","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".mjs\";\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","export default __webpack_require__;"],"names":["installedChunks","installChunk","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","f","e","chunkId","Promise","all","keys","reduce","promises","u","obj","prop","prototype","hasOwnProperty","call","data","ids","modules","runtime","i","length","j","installedChunkData","push","promise","import","then","race","resolve","C"],"sourceRoot":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpawnTask, type SpawnTaskOptions, type TaskContext } from '@jujulego/tasks';
|
|
2
|
-
import { type Workspace } from '@/src/project/workspace';
|
|
2
|
+
import { type Workspace } from '@/src/project/workspace.ts';
|
|
3
3
|
export interface CommandContext extends TaskContext {
|
|
4
4
|
workspace: Workspace;
|
|
5
5
|
command: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GroupTask, type Task, type TaskContext, type TaskOptions } from '@jujulego/tasks';
|
|
2
|
-
import { type Workspace } from '@/src/project/workspace';
|
|
2
|
+
import { type Workspace } from '@/src/project/workspace.ts';
|
|
3
3
|
export interface ScriptContext extends TaskContext {
|
|
4
4
|
workspace: Workspace;
|
|
5
5
|
script: string;
|
|
@@ -9,12 +9,12 @@ export declare class ScriptTask extends GroupTask<ScriptContext> {
|
|
|
9
9
|
readonly workspace: Workspace;
|
|
10
10
|
readonly script: string;
|
|
11
11
|
readonly args: string[];
|
|
12
|
-
private _scriptTasks
|
|
12
|
+
private _scriptTasks?;
|
|
13
13
|
constructor(workspace: Workspace, script: string, args: string[], opts?: TaskOptions);
|
|
14
14
|
private _runScript;
|
|
15
15
|
prepare(): Promise<void>;
|
|
16
16
|
protected _orchestrate(): AsyncGenerator<Task, void, undefined>;
|
|
17
17
|
protected _stop(): void;
|
|
18
18
|
complexity(cache?: Map<string, number>): number;
|
|
19
|
-
get project(): import("
|
|
19
|
+
get project(): import("../index.ts").Project;
|
|
20
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Task } from '@jujulego/tasks';
|
|
2
|
-
import { Logger } from '@/src/commons/logger.service';
|
|
3
|
-
import { type Workspace, type WorkspaceRunOptions } from '@/src/project/workspace';
|
|
2
|
+
import { Logger } from '@/src/commons/logger.service.ts';
|
|
3
|
+
import { type Workspace, type WorkspaceRunOptions } from '@/src/project/workspace.ts';
|
|
4
4
|
export interface TaskNode {
|
|
5
5
|
script: string;
|
|
6
6
|
}
|