@bemoje/monorepo 1.2.1 → 1.2.2

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 (125) hide show
  1. package/lib/index.cjs +19 -5219
  2. package/lib/index.d.cts +2765 -26
  3. package/lib/index.d.ts +2765 -26
  4. package/lib/index.js +14 -5217
  5. package/package.json +178 -298
  6. package/lib/MonoRepo.cjs +0 -7370
  7. package/lib/MonoRepo.d.cts +0 -10
  8. package/lib/MonoRepo.d.ts +0 -10
  9. package/lib/MonoRepo.js +0 -7361
  10. package/lib/code/AbstractCode.cjs +0 -5568
  11. package/lib/code/AbstractCode.d.cts +0 -30
  12. package/lib/code/AbstractCode.d.ts +0 -30
  13. package/lib/code/AbstractCode.js +0 -5562
  14. package/lib/code/CodeBlock.cjs +0 -5614
  15. package/lib/code/CodeBlock.d.cts +0 -22
  16. package/lib/code/CodeBlock.d.ts +0 -22
  17. package/lib/code/CodeBlock.js +0 -5608
  18. package/lib/code/TsCode.cjs +0 -7370
  19. package/lib/code/TsCode.d.cts +0 -10
  20. package/lib/code/TsCode.d.ts +0 -10
  21. package/lib/code/TsCode.js +0 -7361
  22. package/lib/code/imports/ImportKeywords.cjs +0 -5652
  23. package/lib/code/imports/ImportKeywords.d.cts +0 -10
  24. package/lib/code/imports/ImportKeywords.d.ts +0 -10
  25. package/lib/code/imports/ImportKeywords.js +0 -5646
  26. package/lib/code/imports/ImportSpecifiers.cjs +0 -5708
  27. package/lib/code/imports/ImportSpecifiers.d.cts +0 -10
  28. package/lib/code/imports/ImportSpecifiers.d.ts +0 -10
  29. package/lib/code/imports/ImportSpecifiers.js +0 -5702
  30. package/lib/code/imports/ImportStatement.cjs +0 -7372
  31. package/lib/code/imports/ImportStatement.d.cts +0 -10
  32. package/lib/code/imports/ImportStatement.d.ts +0 -10
  33. package/lib/code/imports/ImportStatement.js +0 -7363
  34. package/lib/code/imports/ModuleSpecifier.cjs +0 -7372
  35. package/lib/code/imports/ModuleSpecifier.d.cts +0 -10
  36. package/lib/code/imports/ModuleSpecifier.d.ts +0 -10
  37. package/lib/code/imports/ModuleSpecifier.js +0 -7363
  38. package/lib/common/AbstractBase.cjs +0 -638
  39. package/lib/common/AbstractBase.d.cts +0 -3
  40. package/lib/common/AbstractBase.d.ts +0 -3
  41. package/lib/common/AbstractBase.js +0 -634
  42. package/lib/file/File.cjs +0 -5496
  43. package/lib/file/File.d.cts +0 -10
  44. package/lib/file/File.d.ts +0 -10
  45. package/lib/file/File.js +0 -5490
  46. package/lib/file/TestFile.cjs +0 -7368
  47. package/lib/file/TestFile.d.cts +0 -10
  48. package/lib/file/TestFile.d.ts +0 -10
  49. package/lib/file/TestFile.js +0 -7359
  50. package/lib/file/TsFile.cjs +0 -7368
  51. package/lib/file/TsFile.d.cts +0 -10
  52. package/lib/file/TsFile.d.ts +0 -10
  53. package/lib/file/TsFile.js +0 -7359
  54. package/lib/methods/findWorkspacePackageName.cjs +0 -86
  55. package/lib/methods/findWorkspacePackageName.d.cts +0 -6
  56. package/lib/methods/findWorkspacePackageName.d.ts +0 -6
  57. package/lib/methods/findWorkspacePackageName.js +0 -78
  58. package/lib/methods/getAllImports.cjs +0 -20
  59. package/lib/methods/getAllImports.d.cts +0 -17
  60. package/lib/methods/getAllImports.d.ts +0 -17
  61. package/lib/methods/getAllImports.js +0 -18
  62. package/lib/methods/getAllWorkspacePackageJsonPaths.cjs +0 -57
  63. package/lib/methods/getAllWorkspacePackageJsonPaths.d.cts +0 -6
  64. package/lib/methods/getAllWorkspacePackageJsonPaths.d.ts +0 -6
  65. package/lib/methods/getAllWorkspacePackageJsonPaths.js +0 -49
  66. package/lib/methods/getAllWorkspacePackageJsons.cjs +0 -66
  67. package/lib/methods/getAllWorkspacePackageJsons.d.cts +0 -6
  68. package/lib/methods/getAllWorkspacePackageJsons.d.ts +0 -6
  69. package/lib/methods/getAllWorkspacePackageJsons.js +0 -58
  70. package/lib/methods/getAllWorkspacePackageNames.cjs +0 -75
  71. package/lib/methods/getAllWorkspacePackageNames.d.cts +0 -6
  72. package/lib/methods/getAllWorkspacePackageNames.d.ts +0 -6
  73. package/lib/methods/getAllWorkspacePackageNames.js +0 -67
  74. package/lib/methods/getAllWorkspacePaths.cjs +0 -50
  75. package/lib/methods/getAllWorkspacePaths.d.cts +0 -6
  76. package/lib/methods/getAllWorkspacePaths.d.ts +0 -6
  77. package/lib/methods/getAllWorkspacePaths.js +0 -42
  78. package/lib/methods/getImportsRecursively.cjs +0 -7577
  79. package/lib/methods/getImportsRecursively.d.cts +0 -37
  80. package/lib/methods/getImportsRecursively.d.ts +0 -37
  81. package/lib/methods/getImportsRecursively.js +0 -7566
  82. package/lib/methods/getRepoPackageJson.cjs +0 -40
  83. package/lib/methods/getRepoPackageJson.d.cts +0 -6
  84. package/lib/methods/getRepoPackageJson.d.ts +0 -6
  85. package/lib/methods/getRepoPackageJson.js +0 -32
  86. package/lib/methods/getRepoPackageJsonPath.cjs +0 -34
  87. package/lib/methods/getRepoPackageJsonPath.d.cts +0 -6
  88. package/lib/methods/getRepoPackageJsonPath.d.ts +0 -6
  89. package/lib/methods/getRepoPackageJsonPath.js +0 -26
  90. package/lib/repo/Workspace.cjs +0 -7370
  91. package/lib/repo/Workspace.d.cts +0 -10
  92. package/lib/repo/Workspace.d.ts +0 -10
  93. package/lib/repo/Workspace.js +0 -7361
  94. package/lib/util/SemanticExtnamePrefix.cjs +0 -13
  95. package/lib/util/SemanticExtnamePrefix.d.cts +0 -14
  96. package/lib/util/SemanticExtnamePrefix.d.ts +0 -14
  97. package/lib/util/SemanticExtnamePrefix.js +0 -11
  98. package/lib/util/SemanticExtnamePrefixDescriptions.cjs +0 -13
  99. package/lib/util/SemanticExtnamePrefixDescriptions.d.cts +0 -15
  100. package/lib/util/SemanticExtnamePrefixDescriptions.d.ts +0 -15
  101. package/lib/util/SemanticExtnamePrefixDescriptions.js +0 -11
  102. package/lib/util/SemanticExtnamePrefixes.cjs +0 -18
  103. package/lib/util/SemanticExtnamePrefixes.d.cts +0 -97
  104. package/lib/util/SemanticExtnamePrefixes.d.ts +0 -97
  105. package/lib/util/SemanticExtnamePrefixes.js +0 -14
  106. package/lib/util/getRepoRootDirpath.cjs +0 -30
  107. package/lib/util/getRepoRootDirpath.d.cts +0 -6
  108. package/lib/util/getRepoRootDirpath.d.ts +0 -6
  109. package/lib/util/getRepoRootDirpath.js +0 -22
  110. package/lib/util/getWorkspaceDirpaths.cjs +0 -42
  111. package/lib/util/getWorkspaceDirpaths.d.cts +0 -6
  112. package/lib/util/getWorkspaceDirpaths.d.ts +0 -6
  113. package/lib/util/getWorkspaceDirpaths.js +0 -34
  114. package/lib/util/hasExtnamePrefix.cjs +0 -27
  115. package/lib/util/hasExtnamePrefix.d.cts +0 -38
  116. package/lib/util/hasExtnamePrefix.d.ts +0 -38
  117. package/lib/util/hasExtnamePrefix.js +0 -25
  118. package/lib/util/resolveModuleImportPath.cjs +0 -51
  119. package/lib/util/resolveModuleImportPath.d.cts +0 -8
  120. package/lib/util/resolveModuleImportPath.d.ts +0 -8
  121. package/lib/util/resolveModuleImportPath.js +0 -42
  122. package/lib/util/semverVersionBump.cjs +0 -30
  123. package/lib/util/semverVersionBump.d.cts +0 -22
  124. package/lib/util/semverVersionBump.d.ts +0 -22
  125. package/lib/util/semverVersionBump.js +0 -28
@@ -1,37 +0,0 @@
1
- /**
2
- * Recursively retrieves all imports for the given entry points, categorizing them into external, builtin, and internal dependencies.
3
- *
4
- * @param entryPoints - An array of entry point file paths to analyze.
5
- * @returns An object containing the file paths of all imports and categorized dependencies.
6
- */
7
- declare function getImportsRecursively(entryPoints: string[]): Promise<Result>;
8
- type Result = {
9
- /**
10
- * All file paths of the imports found recursively, in discovery order, starting from the entry points, including circular reference stops.
11
- */
12
- filepaths: string[];
13
- /**
14
- * All workspace imports found recursively. Includes all `local` imports plus for any other worksapce imports discovered.
15
- */
16
- recursive: {
17
- /** External dependencies */
18
- external: string[];
19
- /** Built-in node dependencies */
20
- builtin: string[];
21
- /** Other repo workspaces */
22
- internal: string[];
23
- };
24
- /**
25
- * Only workspace imports found in the same workspace as the entry points.
26
- */
27
- local: {
28
- /** External dependencies */
29
- external: string[];
30
- /** Built-in node dependencies */
31
- builtin: string[];
32
- /** Other repo workspaces */
33
- internal: string[];
34
- };
35
- };
36
-
37
- export { getImportsRecursively };
@@ -1,37 +0,0 @@
1
- /**
2
- * Recursively retrieves all imports for the given entry points, categorizing them into external, builtin, and internal dependencies.
3
- *
4
- * @param entryPoints - An array of entry point file paths to analyze.
5
- * @returns An object containing the file paths of all imports and categorized dependencies.
6
- */
7
- declare function getImportsRecursively(entryPoints: string[]): Promise<Result>;
8
- type Result = {
9
- /**
10
- * All file paths of the imports found recursively, in discovery order, starting from the entry points, including circular reference stops.
11
- */
12
- filepaths: string[];
13
- /**
14
- * All workspace imports found recursively. Includes all `local` imports plus for any other worksapce imports discovered.
15
- */
16
- recursive: {
17
- /** External dependencies */
18
- external: string[];
19
- /** Built-in node dependencies */
20
- builtin: string[];
21
- /** Other repo workspaces */
22
- internal: string[];
23
- };
24
- /**
25
- * Only workspace imports found in the same workspace as the entry points.
26
- */
27
- local: {
28
- /** External dependencies */
29
- external: string[];
30
- /** Built-in node dependencies */
31
- builtin: string[];
32
- /** Other repo workspaces */
33
- internal: string[];
34
- };
35
- };
36
-
37
- export { getImportsRecursively };