@codependix/file-imports 0.0.46 → 0.0.48
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/CHANGELOG.md +10 -0
- package/README.md +17 -17
- package/dist/src/index.js +14 -28
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 0.0.48 (2026-10-26)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for codependix-file-imports to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.0.47 (2026-10-24)
|
|
6
|
+
|
|
7
|
+
### 📦 Build
|
|
8
|
+
|
|
9
|
+
- **ic-suite,presentation:** 👷 infer the vite build target instead of @nx/vite:build ([#1823](https://github.com/organizzolini/codebase/pull/1823))
|
|
10
|
+
|
|
1
11
|
## 0.0.46 (2026-10-23)
|
|
2
12
|
|
|
3
13
|
This was a version bump only for codependix-file-imports to align it with other projects, there were no code changes.
|
package/README.md
CHANGED
|
@@ -260,13 +260,13 @@ None.
|
|
|
260
260
|
### Project
|
|
261
261
|
|
|
262
262
|

|
|
263
|
-

|
|
264
264
|

|
|
265
265
|

|
|
266
266
|
|
|
267
267
|
### Measured Targets
|
|
268
268
|
|
|
269
|
-

|
|
270
270
|
|
|
271
271
|
### TypeScript
|
|
272
272
|
|
|
@@ -313,16 +313,16 @@ None.
|
|
|
313
313
|
### JSON
|
|
314
314
|
|
|
315
315
|

|
|
316
|
-

|
|
317
|
+

|
|
318
|
+

|
|
319
|
+

|
|
320
|
+

|
|
321
321
|

|
|
322
|
-

|
|
323
323
|

|
|
324
|
-

|
|
325
|
+

|
|
326
326
|

|
|
327
327
|
|
|
328
328
|
### YAML
|
|
@@ -448,20 +448,20 @@ None.
|
|
|
448
448
|
### Markdown
|
|
449
449
|
|
|
450
450
|

|
|
451
|
-

|
|
452
452
|

|
|
453
|
-

|
|
454
|
+

|
|
455
455
|

|
|
456
456
|

|
|
457
457
|

|
|
458
|
-

|
|
459
|
+

|
|
460
|
+

|
|
461
461
|

|
|
462
462
|

|
|
463
463
|

|
|
464
|
-

|
|
465
465
|

|
|
466
466
|

|
|
467
467
|

|
package/dist/src/index.js
CHANGED
|
@@ -2,23 +2,20 @@ import { Injectable as e, Module as t } from "@nestjs/common";
|
|
|
2
2
|
import { existsSync as n, readFileSync as r, readdirSync as i } from "node:fs";
|
|
3
3
|
import a from "node:path";
|
|
4
4
|
import o from "typescript";
|
|
5
|
-
|
|
5
|
+
// \0rolldown/runtime.js
|
|
6
6
|
var s = "_This workspace has no internal file imports, in any project._", c = "graph LR";
|
|
7
|
-
|
|
8
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateMetadata.js
|
|
7
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/decorateMetadata.js
|
|
9
8
|
function __decorateMetadata(e, t) {
|
|
10
9
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
|
|
11
10
|
}
|
|
12
|
-
|
|
13
|
-
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
11
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/decorate.js
|
|
14
12
|
function __decorate(e, t, n, r) {
|
|
15
13
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
16
14
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
17
15
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
18
16
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
19
17
|
}
|
|
20
|
-
|
|
21
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts
|
|
18
|
+
// src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts
|
|
22
19
|
var l = class FileImportsWorkspaceGraphService {
|
|
23
20
|
constructor() {}
|
|
24
21
|
compareEdges(e, t) {
|
|
@@ -57,8 +54,7 @@ var l = class FileImportsWorkspaceGraphService {
|
|
|
57
54
|
}
|
|
58
55
|
};
|
|
59
56
|
l = __decorate([e(), __decorateMetadata("design:paramtypes", [])], l);
|
|
60
|
-
|
|
61
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.module.ts
|
|
57
|
+
// src/modules/file-imports-workspace-graph/file-imports-workspace-graph.module.ts
|
|
62
58
|
var u = class FileImportsWorkspaceGraphModule {};
|
|
63
59
|
u = __decorate([t({
|
|
64
60
|
controllers: [],
|
|
@@ -66,8 +62,7 @@ u = __decorate([t({
|
|
|
66
62
|
imports: [],
|
|
67
63
|
providers: [l]
|
|
68
64
|
})], u);
|
|
69
|
-
|
|
70
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.constants.ts
|
|
65
|
+
// src/modules/python/python-import-parser.constants.ts
|
|
71
66
|
var d = /^from\s+(?<dots>\.*)(?<modulePath>[\w.]*)\s+import\s+.+$/u, f = /^import\s+(?<specifiers>.+)$/u, p = /^(?<modulePath>[\w.]+)/u, m = /^(?:from|import)\b/u, h = class PythonImportParserService {
|
|
72
67
|
constructor() {}
|
|
73
68
|
collectStatement(e, t) {
|
|
@@ -141,8 +136,7 @@ var d = /^from\s+(?<dots>\.*)(?<modulePath>[\w.]*)\s+import\s+.+$/u, f = /^impor
|
|
|
141
136
|
}
|
|
142
137
|
};
|
|
143
138
|
h = __decorate([e(), __decorateMetadata("design:paramtypes", [])], h);
|
|
144
|
-
|
|
145
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.constants.ts
|
|
139
|
+
// src/modules/python/python.constants.ts
|
|
146
140
|
var g = "__init__.py", _ = "graph LR", v = "_This project has no internal file imports._", y = /* @__PURE__ */ new Set([
|
|
147
141
|
".git",
|
|
148
142
|
".mypy_cache",
|
|
@@ -181,8 +175,7 @@ var g = "__init__.py", _ = "graph LR", v = "_This project has no internal file i
|
|
|
181
175
|
}
|
|
182
176
|
};
|
|
183
177
|
x = __decorate([e(), __decorateMetadata("design:paramtypes", [])], x);
|
|
184
|
-
|
|
185
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts
|
|
178
|
+
// src/modules/python/python-import-graph.service.ts
|
|
186
179
|
var S = class PythonImportGraphService {
|
|
187
180
|
pythonImportParserService;
|
|
188
181
|
pythonProjectService;
|
|
@@ -259,8 +252,7 @@ var S = class PythonImportGraphService {
|
|
|
259
252
|
}
|
|
260
253
|
};
|
|
261
254
|
S = __decorate([e(), __decorateMetadata("design:paramtypes", [h === void 0 ? Object : h, x === void 0 ? Object : x])], S);
|
|
262
|
-
|
|
263
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts
|
|
255
|
+
// src/modules/python/python.service.ts
|
|
264
256
|
var C = class PythonService {
|
|
265
257
|
pythonImportGraphService;
|
|
266
258
|
pythonProjectService;
|
|
@@ -278,8 +270,7 @@ var C = class PythonService {
|
|
|
278
270
|
}
|
|
279
271
|
};
|
|
280
272
|
C = __decorate([e(), __decorateMetadata("design:paramtypes", [S === void 0 ? Object : S, x === void 0 ? Object : x])], C);
|
|
281
|
-
|
|
282
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.module.ts
|
|
273
|
+
// src/modules/python/python.module.ts
|
|
283
274
|
var w = class PythonModule {};
|
|
284
275
|
w = __decorate([t({
|
|
285
276
|
controllers: [],
|
|
@@ -292,8 +283,7 @@ w = __decorate([t({
|
|
|
292
283
|
C
|
|
293
284
|
]
|
|
294
285
|
})], w);
|
|
295
|
-
|
|
296
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.constants.ts
|
|
286
|
+
// src/modules/typescript/typescript.constants.ts
|
|
297
287
|
var T = ".d.ts", E = "graph LR", D = "_This project has no internal file imports._", O = "tsconfig.json", TypescriptProjectConfigurationError = class extends Error {
|
|
298
288
|
constructor(e) {
|
|
299
289
|
super(`Could not read ${e.configurationPath}: ${e.messages.join("; ")}`), this.name = "TypescriptProjectConfigurationError";
|
|
@@ -336,8 +326,7 @@ var T = ".d.ts", E = "graph LR", D = "_This project has no internal file imports
|
|
|
336
326
|
}
|
|
337
327
|
};
|
|
338
328
|
k = __decorate([e(), __decorateMetadata("design:paramtypes", [])], k);
|
|
339
|
-
|
|
340
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts
|
|
329
|
+
// src/modules/typescript/typescript-import-graph.service.ts
|
|
341
330
|
var A = class TypescriptImportGraphService {
|
|
342
331
|
typescriptProjectService;
|
|
343
332
|
constructor(e) {
|
|
@@ -416,8 +405,7 @@ var A = class TypescriptImportGraphService {
|
|
|
416
405
|
}
|
|
417
406
|
};
|
|
418
407
|
A = __decorate([e(), __decorateMetadata("design:paramtypes", [k === void 0 ? Object : k])], A);
|
|
419
|
-
|
|
420
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts
|
|
408
|
+
// src/modules/typescript/typescript.service.ts
|
|
421
409
|
var j = class TypescriptService {
|
|
422
410
|
typescriptImportGraphService;
|
|
423
411
|
typescriptProjectService;
|
|
@@ -438,8 +426,7 @@ var j = class TypescriptService {
|
|
|
438
426
|
}
|
|
439
427
|
};
|
|
440
428
|
j = __decorate([e(), __decorateMetadata("design:paramtypes", [A === void 0 ? Object : A, k === void 0 ? Object : k])], j);
|
|
441
|
-
|
|
442
|
-
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.module.ts
|
|
429
|
+
// src/modules/typescript/typescript.module.ts
|
|
443
430
|
var M = class TypescriptModule {};
|
|
444
431
|
M = __decorate([t({
|
|
445
432
|
controllers: [],
|
|
@@ -451,5 +438,4 @@ M = __decorate([t({
|
|
|
451
438
|
j
|
|
452
439
|
]
|
|
453
440
|
})], M);
|
|
454
|
-
//#endregion
|
|
455
441
|
export { c as FILE_IMPORTS_WORKSPACE_GRAPH_MERMAID_HEADER, s as FILE_IMPORTS_WORKSPACE_GRAPH_UNCONNECTED, u as FileImportsWorkspaceGraphModule, l as FileImportsWorkspaceGraphService, S as PythonImportGraphService, h as PythonImportParserService, w as PythonModule, x as PythonProjectService, C as PythonService, A as TypescriptImportGraphService, M as TypescriptModule, k as TypescriptProjectService, j as TypescriptService };
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@golevelup/ts-vitest": "^4.0.0",
|
|
13
13
|
"@nestjs/testing": "^12.0.1",
|
|
14
|
-
"@nx/eslint-plugin": "^
|
|
14
|
+
"@nx/eslint-plugin": "^24.0.0",
|
|
15
15
|
"@swc/helpers": "^0.5.21",
|
|
16
16
|
"@types/node": "^26.5.1",
|
|
17
17
|
"@vitest/coverage-v8": "^5.0.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"strict": true
|
|
61
61
|
},
|
|
62
62
|
"types": "./dist/src/index.d.ts",
|
|
63
|
-
"version": "0.0.
|
|
63
|
+
"version": "0.0.48"
|
|
64
64
|
}
|