@intlayer/chokidar 7.0.3 → 7.0.4-canary.0
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/dist/cjs/index.cjs +4 -2
- package/dist/cjs/utils/runParallel/bin.cjs +55 -0
- package/dist/cjs/utils/runParallel/bin.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/bootstrap.cjs +24 -0
- package/dist/cjs/utils/runParallel/bootstrap.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/index.cjs +111 -0
- package/dist/cjs/utils/runParallel/index.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/pidTree.cjs +145 -0
- package/dist/cjs/utils/runParallel/pidTree.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/ps.cjs +49 -0
- package/dist/cjs/utils/runParallel/ps.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/runTask.cjs +155 -0
- package/dist/cjs/utils/runParallel/runTask.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/spawnPosix.cjs +60 -0
- package/dist/cjs/utils/runParallel/spawnPosix.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/spawnWin32.cjs +44 -0
- package/dist/cjs/utils/runParallel/spawnWin32.cjs.map +1 -0
- package/dist/cjs/utils/runParallel/wmic.cjs +52 -0
- package/dist/cjs/utils/runParallel/wmic.cjs.map +1 -0
- package/dist/esm/index.mjs +3 -2
- package/dist/esm/utils/runParallel/bin.mjs +53 -0
- package/dist/esm/utils/runParallel/bin.mjs.map +1 -0
- package/dist/esm/utils/runParallel/bootstrap.mjs +23 -0
- package/dist/esm/utils/runParallel/bootstrap.mjs.map +1 -0
- package/dist/esm/utils/runParallel/index.mjs +109 -0
- package/dist/esm/utils/runParallel/index.mjs.map +1 -0
- package/dist/esm/utils/runParallel/pidTree.mjs +143 -0
- package/dist/esm/utils/runParallel/pidTree.mjs.map +1 -0
- package/dist/esm/utils/runParallel/ps.mjs +47 -0
- package/dist/esm/utils/runParallel/ps.mjs.map +1 -0
- package/dist/esm/utils/runParallel/runTask.mjs +153 -0
- package/dist/esm/utils/runParallel/runTask.mjs.map +1 -0
- package/dist/esm/utils/runParallel/spawnPosix.mjs +58 -0
- package/dist/esm/utils/runParallel/spawnPosix.mjs.map +1 -0
- package/dist/esm/utils/runParallel/spawnWin32.mjs +42 -0
- package/dist/esm/utils/runParallel/spawnWin32.mjs.map +1 -0
- package/dist/esm/utils/runParallel/wmic.mjs +50 -0
- package/dist/esm/utils/runParallel/wmic.mjs.map +1 -0
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -2
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +3 -3
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +3 -3
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +2 -2
- package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts +2 -2
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -2
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +2 -2
- package/dist/types/index.d.ts +3 -2
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -2
- package/dist/types/utils/runParallel/bin.d.ts +15 -0
- package/dist/types/utils/runParallel/bin.d.ts.map +1 -0
- package/dist/types/utils/runParallel/bootstrap.d.ts +5 -0
- package/dist/types/utils/runParallel/bootstrap.d.ts.map +1 -0
- package/dist/types/utils/runParallel/index.d.ts +14 -0
- package/dist/types/utils/runParallel/index.d.ts.map +1 -0
- package/dist/types/utils/runParallel/pidTree.d.ts +24 -0
- package/dist/types/utils/runParallel/pidTree.d.ts.map +1 -0
- package/dist/types/utils/runParallel/ps.d.ts +11 -0
- package/dist/types/utils/runParallel/ps.d.ts.map +1 -0
- package/dist/types/utils/runParallel/runTask.d.ts +26 -0
- package/dist/types/utils/runParallel/runTask.d.ts.map +1 -0
- package/dist/types/utils/runParallel/spawnPosix.d.ts +21 -0
- package/dist/types/utils/runParallel/spawnPosix.d.ts.map +1 -0
- package/dist/types/utils/runParallel/spawnWin32.d.ts +21 -0
- package/dist/types/utils/runParallel/spawnWin32.d.ts.map +1 -0
- package/dist/types/utils/runParallel/wmic.d.ts +11 -0
- package/dist/types/utils/runParallel/wmic.d.ts.map +1 -0
- package/package.json +18 -18
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runTask.d.ts","names":[],"sources":["../../../../src/utils/runParallel/runTask.ts"],"sourcesContent":[],"mappings":";UA8EU,UAAA;EAAA,IAAA,EAAA,MAAA;EAWA,IAAA,EAAA,MAAA,GAAA,IAAc;EAyBX,MAAA,CAAA,EAAA,MAyJZ,GAAA,IAAA;;UAlLS,cAAA,CA4BC;EAAR,MAAA,EA3BO,MAAA,CAAO,cA2Bd;EAAO,MAAA,CAAA,EA1BC,MAAA,CAAO,cA0BR;;;;;;;;;;;;;;cAHG,qCAEF,mBACR,QAAQ"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChildProcess, SpawnOptions } from "node:child_process";
|
|
2
|
+
|
|
3
|
+
//#region src/utils/runParallel/spawnPosix.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Launches a new process with the given command.
|
|
7
|
+
* This is almost same as `child_process.spawn`.
|
|
8
|
+
*
|
|
9
|
+
* This returns a `ChildProcess` instance.
|
|
10
|
+
* `kill` method of the instance kills the new process and its sub processes.
|
|
11
|
+
*
|
|
12
|
+
* @param command - The command to run.
|
|
13
|
+
* @param args - List of string arguments.
|
|
14
|
+
* @param options - Options.
|
|
15
|
+
* @returns A ChildProcess instance of new process.
|
|
16
|
+
* @private
|
|
17
|
+
*/
|
|
18
|
+
declare const spawnPosix: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { spawnPosix };
|
|
21
|
+
//# sourceMappingURL=spawnPosix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spawnPosix.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnPosix.ts"],"sourcesContent":[],"mappings":";;;;;AAkFA;;;;;;;;;;;;cAAa,uDAGF,iBACR"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChildProcess, SpawnOptions } from "node:child_process";
|
|
2
|
+
|
|
3
|
+
//#region src/utils/runParallel/spawnWin32.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Launches a new process with the given command.
|
|
7
|
+
* This is almost same as `child_process.spawn`.
|
|
8
|
+
*
|
|
9
|
+
* This returns a `ChildProcess` instance.
|
|
10
|
+
* `kill` method of the instance kills the new process and its sub processes forcibly.
|
|
11
|
+
*
|
|
12
|
+
* @param command - The command to run.
|
|
13
|
+
* @param args - List of string arguments.
|
|
14
|
+
* @param options - Options.
|
|
15
|
+
* @returns A ChildProcess instance of new process.
|
|
16
|
+
* @private
|
|
17
|
+
*/
|
|
18
|
+
declare const spawnWin32: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { spawnWin32 };
|
|
21
|
+
//# sourceMappingURL=spawnWin32.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spawnWin32.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnWin32.ts"],"sourcesContent":[],"mappings":";;;;;AA+CA;;;;;;;;;;;;cAAa,uDAGF,iBACR"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/utils/runParallel/wmic.d.ts
|
|
2
|
+
type ProcessList = [number, number][];
|
|
3
|
+
type ProcessListCallback = (err: Error | null, list?: ProcessList) => void;
|
|
4
|
+
/**
|
|
5
|
+
* Gets the list of all the pids of the system through the wmic command.
|
|
6
|
+
* @param callback Callback function with error and process list.
|
|
7
|
+
*/
|
|
8
|
+
declare const wmic: (callback: ProcessListCallback) => void;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { wmic };
|
|
11
|
+
//# sourceMappingURL=wmic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wmic.d.ts","names":[],"sources":["../../../../src/utils/runParallel/wmic.ts"],"sourcesContent":[],"mappings":";KAIK,WAAA;KACA,mBAAA,GADW,CAAA,GAAA,EACiB,KADjB,GAAA,IAAA,EAAA,IAAA,CAAA,EACsC,WADtC,EAAA,GAAA,IAAA;AAAA;AAOhB;;;cAAa,iBAAkB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/chokidar",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4-canary.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.",
|
|
6
6
|
"keywords": [
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@intlayer/api": "
|
|
75
|
-
"@intlayer/config": "
|
|
76
|
-
"@intlayer/core": "
|
|
77
|
-
"@intlayer/dictionaries-entry": "
|
|
78
|
-
"@intlayer/remote-dictionaries-entry": "
|
|
79
|
-
"@intlayer/types": "
|
|
80
|
-
"@intlayer/unmerged-dictionaries-entry": "
|
|
74
|
+
"@intlayer/api": "workspace:*",
|
|
75
|
+
"@intlayer/config": "workspace:*",
|
|
76
|
+
"@intlayer/core": "workspace:*",
|
|
77
|
+
"@intlayer/dictionaries-entry": "workspace:*",
|
|
78
|
+
"@intlayer/remote-dictionaries-entry": "workspace:*",
|
|
79
|
+
"@intlayer/types": "workspace:*",
|
|
80
|
+
"@intlayer/unmerged-dictionaries-entry": "workspace:*",
|
|
81
81
|
"chokidar": "3.6.0",
|
|
82
82
|
"crypto-js": "4.2.0",
|
|
83
83
|
"deep-equal": "2.2.3",
|
|
@@ -90,22 +90,22 @@
|
|
|
90
90
|
"@types/crypto-js": "4.2.2",
|
|
91
91
|
"@types/deep-equal": "1.0.4",
|
|
92
92
|
"@types/node": "24.9.2",
|
|
93
|
-
"@utils/ts-config": "
|
|
94
|
-
"@utils/ts-config-types": "
|
|
95
|
-
"@utils/tsdown-config": "
|
|
93
|
+
"@utils/ts-config": "workspace:*",
|
|
94
|
+
"@utils/ts-config-types": "workspace:*",
|
|
95
|
+
"@utils/tsdown-config": "workspace:*",
|
|
96
96
|
"rimraf": "6.0.1",
|
|
97
97
|
"tsdown": "0.15.11",
|
|
98
98
|
"typescript": "5.9.3",
|
|
99
99
|
"vitest": "4.0.5"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
|
-
"@intlayer/api": "
|
|
103
|
-
"@intlayer/config": "
|
|
104
|
-
"@intlayer/core": "
|
|
105
|
-
"@intlayer/dictionaries-entry": "
|
|
106
|
-
"@intlayer/remote-dictionaries-entry": "
|
|
107
|
-
"@intlayer/types": "
|
|
108
|
-
"@intlayer/unmerged-dictionaries-entry": "
|
|
102
|
+
"@intlayer/api": "workspace:*",
|
|
103
|
+
"@intlayer/config": "workspace:*",
|
|
104
|
+
"@intlayer/core": "workspace:*",
|
|
105
|
+
"@intlayer/dictionaries-entry": "workspace:*",
|
|
106
|
+
"@intlayer/remote-dictionaries-entry": "workspace:*",
|
|
107
|
+
"@intlayer/types": "workspace:*",
|
|
108
|
+
"@intlayer/unmerged-dictionaries-entry": "workspace:*",
|
|
109
109
|
"fast-glob": "3.3.3"
|
|
110
110
|
},
|
|
111
111
|
"engines": {
|