@bemoje/monorepo 1.2.0 → 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.
- package/lib/index.cjs +2496 -213
- package/lib/index.d.cts +2765 -26
- package/lib/index.d.ts +2765 -26
- package/lib/index.js +2469 -30
- package/package.json +178 -297
- package/lib/MonoRepo.cjs +0 -142
- package/lib/MonoRepo.d.cts +0 -10
- package/lib/MonoRepo.d.ts +0 -10
- package/lib/MonoRepo.js +0 -134
- package/lib/code/AbstractCode.cjs +0 -77
- package/lib/code/AbstractCode.d.cts +0 -30
- package/lib/code/AbstractCode.d.ts +0 -30
- package/lib/code/AbstractCode.js +0 -74
- package/lib/code/CodeBlock.cjs +0 -51
- package/lib/code/CodeBlock.d.cts +0 -22
- package/lib/code/CodeBlock.d.ts +0 -22
- package/lib/code/CodeBlock.js +0 -48
- package/lib/code/TsCode.cjs +0 -90
- package/lib/code/TsCode.d.cts +0 -10
- package/lib/code/TsCode.d.ts +0 -10
- package/lib/code/TsCode.js +0 -87
- package/lib/code/imports/ImportKeywords.cjs +0 -42
- package/lib/code/imports/ImportKeywords.d.cts +0 -10
- package/lib/code/imports/ImportKeywords.d.ts +0 -10
- package/lib/code/imports/ImportKeywords.js +0 -39
- package/lib/code/imports/ImportSpecifiers.cjs +0 -98
- package/lib/code/imports/ImportSpecifiers.d.cts +0 -10
- package/lib/code/imports/ImportSpecifiers.d.ts +0 -10
- package/lib/code/imports/ImportSpecifiers.js +0 -95
- package/lib/code/imports/ImportStatement.cjs +0 -89
- package/lib/code/imports/ImportStatement.d.cts +0 -10
- package/lib/code/imports/ImportStatement.d.ts +0 -10
- package/lib/code/imports/ImportStatement.js +0 -86
- package/lib/code/imports/ModuleSpecifier.cjs +0 -77
- package/lib/code/imports/ModuleSpecifier.d.cts +0 -10
- package/lib/code/imports/ModuleSpecifier.d.ts +0 -10
- package/lib/code/imports/ModuleSpecifier.js +0 -74
- package/lib/common/AbstractBase.cjs +0 -77
- package/lib/common/AbstractBase.d.cts +0 -3
- package/lib/common/AbstractBase.d.ts +0 -3
- package/lib/common/AbstractBase.js +0 -74
- package/lib/file/File.cjs +0 -118
- package/lib/file/File.d.cts +0 -10
- package/lib/file/File.d.ts +0 -10
- package/lib/file/File.js +0 -91
- package/lib/file/TestFile.cjs +0 -42
- package/lib/file/TestFile.d.cts +0 -10
- package/lib/file/TestFile.d.ts +0 -10
- package/lib/file/TestFile.js +0 -39
- package/lib/file/TsFile.cjs +0 -46
- package/lib/file/TsFile.d.cts +0 -10
- package/lib/file/TsFile.d.ts +0 -10
- package/lib/file/TsFile.js +0 -43
- package/lib/methods/findWorkspacePackageName.cjs +0 -17
- package/lib/methods/findWorkspacePackageName.d.cts +0 -6
- package/lib/methods/findWorkspacePackageName.d.ts +0 -6
- package/lib/methods/findWorkspacePackageName.js +0 -14
- package/lib/methods/getAllImports.cjs +0 -18
- package/lib/methods/getAllImports.d.cts +0 -17
- package/lib/methods/getAllImports.d.ts +0 -17
- package/lib/methods/getAllImports.js +0 -16
- package/lib/methods/getAllWorkspacePackageJsonPaths.cjs +0 -20
- package/lib/methods/getAllWorkspacePackageJsonPaths.d.cts +0 -6
- package/lib/methods/getAllWorkspacePackageJsonPaths.d.ts +0 -6
- package/lib/methods/getAllWorkspacePackageJsonPaths.js +0 -13
- package/lib/methods/getAllWorkspacePackageJsons.cjs +0 -20
- package/lib/methods/getAllWorkspacePackageJsons.d.cts +0 -6
- package/lib/methods/getAllWorkspacePackageJsons.d.ts +0 -6
- package/lib/methods/getAllWorkspacePackageJsons.js +0 -13
- package/lib/methods/getAllWorkspacePackageNames.cjs +0 -15
- package/lib/methods/getAllWorkspacePackageNames.d.cts +0 -6
- package/lib/methods/getAllWorkspacePackageNames.d.ts +0 -6
- package/lib/methods/getAllWorkspacePackageNames.js +0 -12
- package/lib/methods/getAllWorkspacePaths.cjs +0 -23
- package/lib/methods/getAllWorkspacePaths.d.cts +0 -6
- package/lib/methods/getAllWorkspacePaths.d.ts +0 -6
- package/lib/methods/getAllWorkspacePaths.js +0 -16
- package/lib/methods/getImportsRecursively.cjs +0 -176
- package/lib/methods/getImportsRecursively.d.cts +0 -37
- package/lib/methods/getImportsRecursively.d.ts +0 -37
- package/lib/methods/getImportsRecursively.js +0 -168
- package/lib/methods/getRepoPackageJson.cjs +0 -17
- package/lib/methods/getRepoPackageJson.d.cts +0 -6
- package/lib/methods/getRepoPackageJson.d.ts +0 -6
- package/lib/methods/getRepoPackageJson.js +0 -10
- package/lib/methods/getRepoPackageJsonPath.cjs +0 -17
- package/lib/methods/getRepoPackageJsonPath.d.cts +0 -6
- package/lib/methods/getRepoPackageJsonPath.d.ts +0 -6
- package/lib/methods/getRepoPackageJsonPath.js +0 -10
- package/lib/repo/Workspace.cjs +0 -383
- package/lib/repo/Workspace.d.cts +0 -10
- package/lib/repo/Workspace.d.ts +0 -10
- package/lib/repo/Workspace.js +0 -376
- package/lib/util/SemanticExtnamePrefix.cjs +0 -12
- package/lib/util/SemanticExtnamePrefix.d.cts +0 -14
- package/lib/util/SemanticExtnamePrefix.d.ts +0 -14
- package/lib/util/SemanticExtnamePrefix.js +0 -12
- package/lib/util/SemanticExtnamePrefixDescriptions.cjs +0 -12
- package/lib/util/SemanticExtnamePrefixDescriptions.d.cts +0 -15
- package/lib/util/SemanticExtnamePrefixDescriptions.d.ts +0 -15
- package/lib/util/SemanticExtnamePrefixDescriptions.js +0 -12
- package/lib/util/SemanticExtnamePrefixes.cjs +0 -9
- package/lib/util/SemanticExtnamePrefixes.d.cts +0 -97
- package/lib/util/SemanticExtnamePrefixes.d.ts +0 -97
- package/lib/util/SemanticExtnamePrefixes.js +0 -6
- package/lib/util/getRepoRootDirpath.cjs +0 -30
- package/lib/util/getRepoRootDirpath.d.cts +0 -6
- package/lib/util/getRepoRootDirpath.d.ts +0 -6
- package/lib/util/getRepoRootDirpath.js +0 -21
- package/lib/util/getWorkspaceDirpaths.cjs +0 -27
- package/lib/util/getWorkspaceDirpaths.d.cts +0 -6
- package/lib/util/getWorkspaceDirpaths.d.ts +0 -6
- package/lib/util/getWorkspaceDirpaths.js +0 -19
- package/lib/util/hasExtnamePrefix.cjs +0 -18
- package/lib/util/hasExtnamePrefix.d.cts +0 -38
- package/lib/util/hasExtnamePrefix.d.ts +0 -38
- package/lib/util/hasExtnamePrefix.js +0 -11
- package/lib/util/resolveModuleImportPath.cjs +0 -34
- package/lib/util/resolveModuleImportPath.d.cts +0 -8
- package/lib/util/resolveModuleImportPath.d.ts +0 -8
- package/lib/util/resolveModuleImportPath.js +0 -26
- package/lib/util/semverVersionBump.cjs +0 -28
- package/lib/util/semverVersionBump.d.cts +0 -22
- package/lib/util/semverVersionBump.d.ts +0 -22
- package/lib/util/semverVersionBump.js +0 -26
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bemoje/monorepo",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Monorepo workspace management, package discovery, and TypeScript code processing utilities.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
5
7
|
"keywords": [
|
|
6
8
|
"monorepo",
|
|
7
9
|
"workspace",
|
|
@@ -11,25 +13,15 @@
|
|
|
11
13
|
"code-processing",
|
|
12
14
|
"utilities"
|
|
13
15
|
],
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"es-toolkit": "^1.45.1",
|
|
16
|
-
"fs-extra": "^11.3.4",
|
|
17
|
-
"glob": "^11.1.0",
|
|
18
|
-
"mnemonist": "^0.40.3",
|
|
19
|
-
"onetime": "^7.0.0",
|
|
20
|
-
"upath": "^2.0.1",
|
|
21
|
-
"typescript": "^5.5.4",
|
|
22
|
-
"depcheck": "^1.4.7",
|
|
23
|
-
"@types/fs-extra": "^11.0.4"
|
|
24
|
-
},
|
|
25
|
-
"type": "module",
|
|
26
|
-
"sideEffects": false,
|
|
27
|
-
"publishConfig": {
|
|
28
|
-
"access": "public"
|
|
29
|
-
},
|
|
30
16
|
"main": "./lib/index.cjs",
|
|
31
17
|
"module": "./lib/index.js",
|
|
32
18
|
"types": "./lib/index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"./lib/index.js",
|
|
21
|
+
"./lib/index.d.ts",
|
|
22
|
+
"./lib/index.cjs",
|
|
23
|
+
"./lib/index.d.cts"
|
|
24
|
+
],
|
|
33
25
|
"exports": {
|
|
34
26
|
".": {
|
|
35
27
|
"import": {
|
|
@@ -43,440 +35,329 @@
|
|
|
43
35
|
},
|
|
44
36
|
"./MonoRepo": {
|
|
45
37
|
"import": {
|
|
46
|
-
"types": "./lib/
|
|
47
|
-
"default": "./lib/
|
|
38
|
+
"types": "./lib/index.d.ts",
|
|
39
|
+
"default": "./lib/index.js"
|
|
48
40
|
},
|
|
49
41
|
"require": {
|
|
50
|
-
"types": "./lib/
|
|
51
|
-
"default": "./lib/
|
|
42
|
+
"types": "./lib/index.d.cts",
|
|
43
|
+
"default": "./lib/index.cjs"
|
|
52
44
|
}
|
|
53
45
|
},
|
|
54
|
-
"./
|
|
46
|
+
"./AbstractCode": {
|
|
55
47
|
"import": {
|
|
56
|
-
"types": "./lib/
|
|
57
|
-
"default": "./lib/
|
|
48
|
+
"types": "./lib/index.d.ts",
|
|
49
|
+
"default": "./lib/index.js"
|
|
58
50
|
},
|
|
59
51
|
"require": {
|
|
60
|
-
"types": "./lib/
|
|
61
|
-
"default": "./lib/
|
|
52
|
+
"types": "./lib/index.d.cts",
|
|
53
|
+
"default": "./lib/index.cjs"
|
|
62
54
|
}
|
|
63
55
|
},
|
|
64
|
-
"./
|
|
56
|
+
"./CodeBlock": {
|
|
65
57
|
"import": {
|
|
66
|
-
"types": "./lib/
|
|
67
|
-
"default": "./lib/
|
|
58
|
+
"types": "./lib/index.d.ts",
|
|
59
|
+
"default": "./lib/index.js"
|
|
68
60
|
},
|
|
69
61
|
"require": {
|
|
70
|
-
"types": "./lib/
|
|
71
|
-
"default": "./lib/
|
|
62
|
+
"types": "./lib/index.d.cts",
|
|
63
|
+
"default": "./lib/index.cjs"
|
|
72
64
|
}
|
|
73
65
|
},
|
|
74
|
-
"./
|
|
66
|
+
"./TsCode": {
|
|
75
67
|
"import": {
|
|
76
|
-
"types": "./lib/
|
|
77
|
-
"default": "./lib/
|
|
68
|
+
"types": "./lib/index.d.ts",
|
|
69
|
+
"default": "./lib/index.js"
|
|
78
70
|
},
|
|
79
71
|
"require": {
|
|
80
|
-
"types": "./lib/
|
|
81
|
-
"default": "./lib/
|
|
72
|
+
"types": "./lib/index.d.cts",
|
|
73
|
+
"default": "./lib/index.cjs"
|
|
82
74
|
}
|
|
83
75
|
},
|
|
84
|
-
"./
|
|
76
|
+
"./ImportKeywords": {
|
|
85
77
|
"import": {
|
|
86
|
-
"types": "./lib/
|
|
87
|
-
"default": "./lib/
|
|
78
|
+
"types": "./lib/index.d.ts",
|
|
79
|
+
"default": "./lib/index.js"
|
|
88
80
|
},
|
|
89
81
|
"require": {
|
|
90
|
-
"types": "./lib/
|
|
91
|
-
"default": "./lib/
|
|
82
|
+
"types": "./lib/index.d.cts",
|
|
83
|
+
"default": "./lib/index.cjs"
|
|
92
84
|
}
|
|
93
85
|
},
|
|
94
|
-
"./
|
|
86
|
+
"./ImportSpecifiers": {
|
|
95
87
|
"import": {
|
|
96
|
-
"types": "./lib/
|
|
97
|
-
"default": "./lib/
|
|
88
|
+
"types": "./lib/index.d.ts",
|
|
89
|
+
"default": "./lib/index.js"
|
|
98
90
|
},
|
|
99
91
|
"require": {
|
|
100
|
-
"types": "./lib/
|
|
101
|
-
"default": "./lib/
|
|
92
|
+
"types": "./lib/index.d.cts",
|
|
93
|
+
"default": "./lib/index.cjs"
|
|
102
94
|
}
|
|
103
95
|
},
|
|
104
|
-
"./
|
|
96
|
+
"./ImportStatement": {
|
|
105
97
|
"import": {
|
|
106
|
-
"types": "./lib/
|
|
107
|
-
"default": "./lib/
|
|
98
|
+
"types": "./lib/index.d.ts",
|
|
99
|
+
"default": "./lib/index.js"
|
|
108
100
|
},
|
|
109
101
|
"require": {
|
|
110
|
-
"types": "./lib/
|
|
111
|
-
"default": "./lib/
|
|
102
|
+
"types": "./lib/index.d.cts",
|
|
103
|
+
"default": "./lib/index.cjs"
|
|
112
104
|
}
|
|
113
105
|
},
|
|
114
|
-
"./
|
|
106
|
+
"./ModuleSpecifier": {
|
|
115
107
|
"import": {
|
|
116
|
-
"types": "./lib/
|
|
117
|
-
"default": "./lib/
|
|
108
|
+
"types": "./lib/index.d.ts",
|
|
109
|
+
"default": "./lib/index.js"
|
|
118
110
|
},
|
|
119
111
|
"require": {
|
|
120
|
-
"types": "./lib/
|
|
121
|
-
"default": "./lib/
|
|
112
|
+
"types": "./lib/index.d.cts",
|
|
113
|
+
"default": "./lib/index.cjs"
|
|
122
114
|
}
|
|
123
115
|
},
|
|
124
|
-
"./
|
|
116
|
+
"./AbstractBase": {
|
|
125
117
|
"import": {
|
|
126
|
-
"types": "./lib/
|
|
127
|
-
"default": "./lib/
|
|
118
|
+
"types": "./lib/index.d.ts",
|
|
119
|
+
"default": "./lib/index.js"
|
|
128
120
|
},
|
|
129
121
|
"require": {
|
|
130
|
-
"types": "./lib/
|
|
131
|
-
"default": "./lib/
|
|
122
|
+
"types": "./lib/index.d.cts",
|
|
123
|
+
"default": "./lib/index.cjs"
|
|
132
124
|
}
|
|
133
125
|
},
|
|
134
|
-
"./
|
|
126
|
+
"./File": {
|
|
135
127
|
"import": {
|
|
136
|
-
"types": "./lib/
|
|
137
|
-
"default": "./lib/
|
|
128
|
+
"types": "./lib/index.d.ts",
|
|
129
|
+
"default": "./lib/index.js"
|
|
138
130
|
},
|
|
139
131
|
"require": {
|
|
140
|
-
"types": "./lib/
|
|
141
|
-
"default": "./lib/
|
|
132
|
+
"types": "./lib/index.d.cts",
|
|
133
|
+
"default": "./lib/index.cjs"
|
|
142
134
|
}
|
|
143
135
|
},
|
|
144
|
-
"./
|
|
136
|
+
"./TestFile": {
|
|
145
137
|
"import": {
|
|
146
|
-
"types": "./lib/
|
|
147
|
-
"default": "./lib/
|
|
138
|
+
"types": "./lib/index.d.ts",
|
|
139
|
+
"default": "./lib/index.js"
|
|
148
140
|
},
|
|
149
141
|
"require": {
|
|
150
|
-
"types": "./lib/
|
|
151
|
-
"default": "./lib/
|
|
142
|
+
"types": "./lib/index.d.cts",
|
|
143
|
+
"default": "./lib/index.cjs"
|
|
152
144
|
}
|
|
153
145
|
},
|
|
154
|
-
"./
|
|
146
|
+
"./TsFile": {
|
|
155
147
|
"import": {
|
|
156
|
-
"types": "./lib/
|
|
157
|
-
"default": "./lib/
|
|
148
|
+
"types": "./lib/index.d.ts",
|
|
149
|
+
"default": "./lib/index.js"
|
|
158
150
|
},
|
|
159
151
|
"require": {
|
|
160
|
-
"types": "./lib/
|
|
161
|
-
"default": "./lib/
|
|
152
|
+
"types": "./lib/index.d.cts",
|
|
153
|
+
"default": "./lib/index.cjs"
|
|
162
154
|
}
|
|
163
155
|
},
|
|
164
|
-
"./
|
|
156
|
+
"./findWorkspacePackageName": {
|
|
165
157
|
"import": {
|
|
166
|
-
"types": "./lib/
|
|
167
|
-
"default": "./lib/
|
|
158
|
+
"types": "./lib/index.d.ts",
|
|
159
|
+
"default": "./lib/index.js"
|
|
168
160
|
},
|
|
169
161
|
"require": {
|
|
170
|
-
"types": "./lib/
|
|
171
|
-
"default": "./lib/
|
|
162
|
+
"types": "./lib/index.d.cts",
|
|
163
|
+
"default": "./lib/index.cjs"
|
|
172
164
|
}
|
|
173
165
|
},
|
|
174
|
-
"./
|
|
166
|
+
"./getAllImports": {
|
|
175
167
|
"import": {
|
|
176
|
-
"types": "./lib/
|
|
177
|
-
"default": "./lib/
|
|
168
|
+
"types": "./lib/index.d.ts",
|
|
169
|
+
"default": "./lib/index.js"
|
|
178
170
|
},
|
|
179
171
|
"require": {
|
|
180
|
-
"types": "./lib/
|
|
181
|
-
"default": "./lib/
|
|
172
|
+
"types": "./lib/index.d.cts",
|
|
173
|
+
"default": "./lib/index.cjs"
|
|
182
174
|
}
|
|
183
175
|
},
|
|
184
|
-
"./
|
|
176
|
+
"./getAllWorkspacePackageJsonPaths": {
|
|
185
177
|
"import": {
|
|
186
|
-
"types": "./lib/
|
|
187
|
-
"default": "./lib/
|
|
178
|
+
"types": "./lib/index.d.ts",
|
|
179
|
+
"default": "./lib/index.js"
|
|
188
180
|
},
|
|
189
181
|
"require": {
|
|
190
|
-
"types": "./lib/
|
|
191
|
-
"default": "./lib/
|
|
182
|
+
"types": "./lib/index.d.cts",
|
|
183
|
+
"default": "./lib/index.cjs"
|
|
192
184
|
}
|
|
193
185
|
},
|
|
194
|
-
"./
|
|
186
|
+
"./getAllWorkspacePackageJsons": {
|
|
195
187
|
"import": {
|
|
196
|
-
"types": "./lib/
|
|
197
|
-
"default": "./lib/
|
|
188
|
+
"types": "./lib/index.d.ts",
|
|
189
|
+
"default": "./lib/index.js"
|
|
198
190
|
},
|
|
199
191
|
"require": {
|
|
200
|
-
"types": "./lib/
|
|
201
|
-
"default": "./lib/
|
|
192
|
+
"types": "./lib/index.d.cts",
|
|
193
|
+
"default": "./lib/index.cjs"
|
|
202
194
|
}
|
|
203
195
|
},
|
|
204
|
-
"./
|
|
196
|
+
"./getAllWorkspacePackageNames": {
|
|
205
197
|
"import": {
|
|
206
|
-
"types": "./lib/
|
|
207
|
-
"default": "./lib/
|
|
198
|
+
"types": "./lib/index.d.ts",
|
|
199
|
+
"default": "./lib/index.js"
|
|
208
200
|
},
|
|
209
201
|
"require": {
|
|
210
|
-
"types": "./lib/
|
|
211
|
-
"default": "./lib/
|
|
202
|
+
"types": "./lib/index.d.cts",
|
|
203
|
+
"default": "./lib/index.cjs"
|
|
212
204
|
}
|
|
213
205
|
},
|
|
214
|
-
"./
|
|
206
|
+
"./getAllWorkspacePaths": {
|
|
215
207
|
"import": {
|
|
216
|
-
"types": "./lib/
|
|
217
|
-
"default": "./lib/
|
|
208
|
+
"types": "./lib/index.d.ts",
|
|
209
|
+
"default": "./lib/index.js"
|
|
218
210
|
},
|
|
219
211
|
"require": {
|
|
220
|
-
"types": "./lib/
|
|
221
|
-
"default": "./lib/
|
|
212
|
+
"types": "./lib/index.d.cts",
|
|
213
|
+
"default": "./lib/index.cjs"
|
|
222
214
|
}
|
|
223
215
|
},
|
|
224
|
-
"./
|
|
216
|
+
"./getImportsRecursively": {
|
|
225
217
|
"import": {
|
|
226
|
-
"types": "./lib/
|
|
227
|
-
"default": "./lib/
|
|
218
|
+
"types": "./lib/index.d.ts",
|
|
219
|
+
"default": "./lib/index.js"
|
|
228
220
|
},
|
|
229
221
|
"require": {
|
|
230
|
-
"types": "./lib/
|
|
231
|
-
"default": "./lib/
|
|
222
|
+
"types": "./lib/index.d.cts",
|
|
223
|
+
"default": "./lib/index.cjs"
|
|
232
224
|
}
|
|
233
225
|
},
|
|
234
|
-
"./
|
|
226
|
+
"./getRepoPackageJson": {
|
|
235
227
|
"import": {
|
|
236
|
-
"types": "./lib/
|
|
237
|
-
"default": "./lib/
|
|
228
|
+
"types": "./lib/index.d.ts",
|
|
229
|
+
"default": "./lib/index.js"
|
|
238
230
|
},
|
|
239
231
|
"require": {
|
|
240
|
-
"types": "./lib/
|
|
241
|
-
"default": "./lib/
|
|
232
|
+
"types": "./lib/index.d.cts",
|
|
233
|
+
"default": "./lib/index.cjs"
|
|
242
234
|
}
|
|
243
235
|
},
|
|
244
|
-
"./
|
|
236
|
+
"./getRepoPackageJsonPath": {
|
|
245
237
|
"import": {
|
|
246
|
-
"types": "./lib/
|
|
247
|
-
"default": "./lib/
|
|
238
|
+
"types": "./lib/index.d.ts",
|
|
239
|
+
"default": "./lib/index.js"
|
|
248
240
|
},
|
|
249
241
|
"require": {
|
|
250
|
-
"types": "./lib/
|
|
251
|
-
"default": "./lib/
|
|
242
|
+
"types": "./lib/index.d.cts",
|
|
243
|
+
"default": "./lib/index.cjs"
|
|
252
244
|
}
|
|
253
245
|
},
|
|
254
|
-
"./
|
|
246
|
+
"./Workspace": {
|
|
255
247
|
"import": {
|
|
256
|
-
"types": "./lib/
|
|
257
|
-
"default": "./lib/
|
|
248
|
+
"types": "./lib/index.d.ts",
|
|
249
|
+
"default": "./lib/index.js"
|
|
258
250
|
},
|
|
259
251
|
"require": {
|
|
260
|
-
"types": "./lib/
|
|
261
|
-
"default": "./lib/
|
|
252
|
+
"types": "./lib/index.d.cts",
|
|
253
|
+
"default": "./lib/index.cjs"
|
|
262
254
|
}
|
|
263
255
|
},
|
|
264
|
-
"./
|
|
256
|
+
"./SemanticExtnamePrefix": {
|
|
265
257
|
"import": {
|
|
266
|
-
"types": "./lib/
|
|
267
|
-
"default": "./lib/
|
|
258
|
+
"types": "./lib/index.d.ts",
|
|
259
|
+
"default": "./lib/index.js"
|
|
268
260
|
},
|
|
269
261
|
"require": {
|
|
270
|
-
"types": "./lib/
|
|
271
|
-
"default": "./lib/
|
|
262
|
+
"types": "./lib/index.d.cts",
|
|
263
|
+
"default": "./lib/index.cjs"
|
|
272
264
|
}
|
|
273
265
|
},
|
|
274
|
-
"./
|
|
266
|
+
"./SemanticExtnamePrefixDescriptions": {
|
|
275
267
|
"import": {
|
|
276
|
-
"types": "./lib/
|
|
277
|
-
"default": "./lib/
|
|
268
|
+
"types": "./lib/index.d.ts",
|
|
269
|
+
"default": "./lib/index.js"
|
|
278
270
|
},
|
|
279
271
|
"require": {
|
|
280
|
-
"types": "./lib/
|
|
281
|
-
"default": "./lib/
|
|
272
|
+
"types": "./lib/index.d.cts",
|
|
273
|
+
"default": "./lib/index.cjs"
|
|
282
274
|
}
|
|
283
275
|
},
|
|
284
|
-
"./
|
|
276
|
+
"./SemanticExtnamePrefixes": {
|
|
285
277
|
"import": {
|
|
286
|
-
"types": "./lib/
|
|
287
|
-
"default": "./lib/
|
|
278
|
+
"types": "./lib/index.d.ts",
|
|
279
|
+
"default": "./lib/index.js"
|
|
288
280
|
},
|
|
289
281
|
"require": {
|
|
290
|
-
"types": "./lib/
|
|
291
|
-
"default": "./lib/
|
|
282
|
+
"types": "./lib/index.d.cts",
|
|
283
|
+
"default": "./lib/index.cjs"
|
|
292
284
|
}
|
|
293
285
|
},
|
|
294
|
-
"./
|
|
286
|
+
"./getRepoRootDirpath": {
|
|
295
287
|
"import": {
|
|
296
|
-
"types": "./lib/
|
|
297
|
-
"default": "./lib/
|
|
288
|
+
"types": "./lib/index.d.ts",
|
|
289
|
+
"default": "./lib/index.js"
|
|
298
290
|
},
|
|
299
291
|
"require": {
|
|
300
|
-
"types": "./lib/
|
|
301
|
-
"default": "./lib/
|
|
292
|
+
"types": "./lib/index.d.cts",
|
|
293
|
+
"default": "./lib/index.cjs"
|
|
302
294
|
}
|
|
303
295
|
},
|
|
304
|
-
"./
|
|
296
|
+
"./getWorkspaceDirpaths": {
|
|
305
297
|
"import": {
|
|
306
|
-
"types": "./lib/
|
|
307
|
-
"default": "./lib/
|
|
298
|
+
"types": "./lib/index.d.ts",
|
|
299
|
+
"default": "./lib/index.js"
|
|
308
300
|
},
|
|
309
301
|
"require": {
|
|
310
|
-
"types": "./lib/
|
|
311
|
-
"default": "./lib/
|
|
302
|
+
"types": "./lib/index.d.cts",
|
|
303
|
+
"default": "./lib/index.cjs"
|
|
312
304
|
}
|
|
313
305
|
},
|
|
314
|
-
"./
|
|
306
|
+
"./hasExtnamePrefix": {
|
|
315
307
|
"import": {
|
|
316
|
-
"types": "./lib/
|
|
317
|
-
"default": "./lib/
|
|
308
|
+
"types": "./lib/index.d.ts",
|
|
309
|
+
"default": "./lib/index.js"
|
|
318
310
|
},
|
|
319
311
|
"require": {
|
|
320
|
-
"types": "./lib/
|
|
321
|
-
"default": "./lib/
|
|
312
|
+
"types": "./lib/index.d.cts",
|
|
313
|
+
"default": "./lib/index.cjs"
|
|
322
314
|
}
|
|
323
315
|
},
|
|
324
|
-
"./
|
|
316
|
+
"./resolveModuleImportPath": {
|
|
325
317
|
"import": {
|
|
326
|
-
"types": "./lib/
|
|
327
|
-
"default": "./lib/
|
|
318
|
+
"types": "./lib/index.d.ts",
|
|
319
|
+
"default": "./lib/index.js"
|
|
328
320
|
},
|
|
329
321
|
"require": {
|
|
330
|
-
"types": "./lib/
|
|
331
|
-
"default": "./lib/
|
|
322
|
+
"types": "./lib/index.d.cts",
|
|
323
|
+
"default": "./lib/index.cjs"
|
|
332
324
|
}
|
|
333
325
|
},
|
|
334
|
-
"./
|
|
326
|
+
"./semverVersionBump": {
|
|
335
327
|
"import": {
|
|
336
|
-
"types": "./lib/
|
|
337
|
-
"default": "./lib/
|
|
328
|
+
"types": "./lib/index.d.ts",
|
|
329
|
+
"default": "./lib/index.js"
|
|
338
330
|
},
|
|
339
331
|
"require": {
|
|
340
|
-
"types": "./lib/
|
|
341
|
-
"default": "./lib/
|
|
332
|
+
"types": "./lib/index.d.cts",
|
|
333
|
+
"default": "./lib/index.cjs"
|
|
342
334
|
}
|
|
343
335
|
}
|
|
344
336
|
},
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
"
|
|
359
|
-
"./lib/code/CodeBlock.d.ts",
|
|
360
|
-
"./lib/code/CodeBlock.cjs",
|
|
361
|
-
"./lib/code/CodeBlock.d.cts",
|
|
362
|
-
"./lib/code/TsCode.js",
|
|
363
|
-
"./lib/code/TsCode.d.ts",
|
|
364
|
-
"./lib/code/TsCode.cjs",
|
|
365
|
-
"./lib/code/TsCode.d.cts",
|
|
366
|
-
"./lib/code/imports/ImportKeywords.js",
|
|
367
|
-
"./lib/code/imports/ImportKeywords.d.ts",
|
|
368
|
-
"./lib/code/imports/ImportKeywords.cjs",
|
|
369
|
-
"./lib/code/imports/ImportKeywords.d.cts",
|
|
370
|
-
"./lib/code/imports/ImportSpecifiers.js",
|
|
371
|
-
"./lib/code/imports/ImportSpecifiers.d.ts",
|
|
372
|
-
"./lib/code/imports/ImportSpecifiers.cjs",
|
|
373
|
-
"./lib/code/imports/ImportSpecifiers.d.cts",
|
|
374
|
-
"./lib/code/imports/ImportStatement.js",
|
|
375
|
-
"./lib/code/imports/ImportStatement.d.ts",
|
|
376
|
-
"./lib/code/imports/ImportStatement.cjs",
|
|
377
|
-
"./lib/code/imports/ImportStatement.d.cts",
|
|
378
|
-
"./lib/code/imports/ModuleSpecifier.js",
|
|
379
|
-
"./lib/code/imports/ModuleSpecifier.d.ts",
|
|
380
|
-
"./lib/code/imports/ModuleSpecifier.cjs",
|
|
381
|
-
"./lib/code/imports/ModuleSpecifier.d.cts",
|
|
382
|
-
"./lib/common/AbstractBase.js",
|
|
383
|
-
"./lib/common/AbstractBase.d.ts",
|
|
384
|
-
"./lib/common/AbstractBase.cjs",
|
|
385
|
-
"./lib/common/AbstractBase.d.cts",
|
|
386
|
-
"./lib/file/File.js",
|
|
387
|
-
"./lib/file/File.d.ts",
|
|
388
|
-
"./lib/file/File.cjs",
|
|
389
|
-
"./lib/file/File.d.cts",
|
|
390
|
-
"./lib/file/TestFile.js",
|
|
391
|
-
"./lib/file/TestFile.d.ts",
|
|
392
|
-
"./lib/file/TestFile.cjs",
|
|
393
|
-
"./lib/file/TestFile.d.cts",
|
|
394
|
-
"./lib/file/TsFile.js",
|
|
395
|
-
"./lib/file/TsFile.d.ts",
|
|
396
|
-
"./lib/file/TsFile.cjs",
|
|
397
|
-
"./lib/file/TsFile.d.cts",
|
|
398
|
-
"./lib/methods/findWorkspacePackageName.js",
|
|
399
|
-
"./lib/methods/findWorkspacePackageName.d.ts",
|
|
400
|
-
"./lib/methods/findWorkspacePackageName.cjs",
|
|
401
|
-
"./lib/methods/findWorkspacePackageName.d.cts",
|
|
402
|
-
"./lib/methods/getAllImports.js",
|
|
403
|
-
"./lib/methods/getAllImports.d.ts",
|
|
404
|
-
"./lib/methods/getAllImports.cjs",
|
|
405
|
-
"./lib/methods/getAllImports.d.cts",
|
|
406
|
-
"./lib/methods/getAllWorkspacePackageJsonPaths.js",
|
|
407
|
-
"./lib/methods/getAllWorkspacePackageJsonPaths.d.ts",
|
|
408
|
-
"./lib/methods/getAllWorkspacePackageJsonPaths.cjs",
|
|
409
|
-
"./lib/methods/getAllWorkspacePackageJsonPaths.d.cts",
|
|
410
|
-
"./lib/methods/getAllWorkspacePackageJsons.js",
|
|
411
|
-
"./lib/methods/getAllWorkspacePackageJsons.d.ts",
|
|
412
|
-
"./lib/methods/getAllWorkspacePackageJsons.cjs",
|
|
413
|
-
"./lib/methods/getAllWorkspacePackageJsons.d.cts",
|
|
414
|
-
"./lib/methods/getAllWorkspacePackageNames.js",
|
|
415
|
-
"./lib/methods/getAllWorkspacePackageNames.d.ts",
|
|
416
|
-
"./lib/methods/getAllWorkspacePackageNames.cjs",
|
|
417
|
-
"./lib/methods/getAllWorkspacePackageNames.d.cts",
|
|
418
|
-
"./lib/methods/getAllWorkspacePaths.js",
|
|
419
|
-
"./lib/methods/getAllWorkspacePaths.d.ts",
|
|
420
|
-
"./lib/methods/getAllWorkspacePaths.cjs",
|
|
421
|
-
"./lib/methods/getAllWorkspacePaths.d.cts",
|
|
422
|
-
"./lib/methods/getImportsRecursively.js",
|
|
423
|
-
"./lib/methods/getImportsRecursively.d.ts",
|
|
424
|
-
"./lib/methods/getImportsRecursively.cjs",
|
|
425
|
-
"./lib/methods/getImportsRecursively.d.cts",
|
|
426
|
-
"./lib/methods/getRepoPackageJson.js",
|
|
427
|
-
"./lib/methods/getRepoPackageJson.d.ts",
|
|
428
|
-
"./lib/methods/getRepoPackageJson.cjs",
|
|
429
|
-
"./lib/methods/getRepoPackageJson.d.cts",
|
|
430
|
-
"./lib/methods/getRepoPackageJsonPath.js",
|
|
431
|
-
"./lib/methods/getRepoPackageJsonPath.d.ts",
|
|
432
|
-
"./lib/methods/getRepoPackageJsonPath.cjs",
|
|
433
|
-
"./lib/methods/getRepoPackageJsonPath.d.cts",
|
|
434
|
-
"./lib/repo/Workspace.js",
|
|
435
|
-
"./lib/repo/Workspace.d.ts",
|
|
436
|
-
"./lib/repo/Workspace.cjs",
|
|
437
|
-
"./lib/repo/Workspace.d.cts",
|
|
438
|
-
"./lib/util/SemanticExtnamePrefix.js",
|
|
439
|
-
"./lib/util/SemanticExtnamePrefix.d.ts",
|
|
440
|
-
"./lib/util/SemanticExtnamePrefix.cjs",
|
|
441
|
-
"./lib/util/SemanticExtnamePrefix.d.cts",
|
|
442
|
-
"./lib/util/SemanticExtnamePrefixDescriptions.js",
|
|
443
|
-
"./lib/util/SemanticExtnamePrefixDescriptions.d.ts",
|
|
444
|
-
"./lib/util/SemanticExtnamePrefixDescriptions.cjs",
|
|
445
|
-
"./lib/util/SemanticExtnamePrefixDescriptions.d.cts",
|
|
446
|
-
"./lib/util/SemanticExtnamePrefixes.js",
|
|
447
|
-
"./lib/util/SemanticExtnamePrefixes.d.ts",
|
|
448
|
-
"./lib/util/SemanticExtnamePrefixes.cjs",
|
|
449
|
-
"./lib/util/SemanticExtnamePrefixes.d.cts",
|
|
450
|
-
"./lib/util/getRepoRootDirpath.js",
|
|
451
|
-
"./lib/util/getRepoRootDirpath.d.ts",
|
|
452
|
-
"./lib/util/getRepoRootDirpath.cjs",
|
|
453
|
-
"./lib/util/getRepoRootDirpath.d.cts",
|
|
454
|
-
"./lib/util/getWorkspaceDirpaths.js",
|
|
455
|
-
"./lib/util/getWorkspaceDirpaths.d.ts",
|
|
456
|
-
"./lib/util/getWorkspaceDirpaths.cjs",
|
|
457
|
-
"./lib/util/getWorkspaceDirpaths.d.cts",
|
|
458
|
-
"./lib/util/hasExtnamePrefix.js",
|
|
459
|
-
"./lib/util/hasExtnamePrefix.d.ts",
|
|
460
|
-
"./lib/util/hasExtnamePrefix.cjs",
|
|
461
|
-
"./lib/util/hasExtnamePrefix.d.cts",
|
|
462
|
-
"./lib/util/resolveModuleImportPath.js",
|
|
463
|
-
"./lib/util/resolveModuleImportPath.d.ts",
|
|
464
|
-
"./lib/util/resolveModuleImportPath.cjs",
|
|
465
|
-
"./lib/util/resolveModuleImportPath.d.cts",
|
|
466
|
-
"./lib/util/semverVersionBump.js",
|
|
467
|
-
"./lib/util/semverVersionBump.d.ts",
|
|
468
|
-
"./lib/util/semverVersionBump.cjs",
|
|
469
|
-
"./lib/util/semverVersionBump.d.cts"
|
|
470
|
-
],
|
|
471
|
-
"repository": {
|
|
472
|
-
"type": "git",
|
|
473
|
-
"url": "git+https://github.com/bemoje/mono.git",
|
|
474
|
-
"directory": "libs/monorepo"
|
|
337
|
+
"dependencies": {
|
|
338
|
+
"ansi-colors": "^4.1.3",
|
|
339
|
+
"es-toolkit": "^1.45.1",
|
|
340
|
+
"fs-extra": "^11.3.4",
|
|
341
|
+
"glob": "^11.1.0",
|
|
342
|
+
"mnemonist": "^0.40.3",
|
|
343
|
+
"onetime": "^7.0.0",
|
|
344
|
+
"upath": "^2.0.1",
|
|
345
|
+
"depcheck": "^1.4.7",
|
|
346
|
+
"typescript": "^5.5.4",
|
|
347
|
+
"@types/fs-extra": "^11.0.4"
|
|
348
|
+
},
|
|
349
|
+
"publishConfig": {
|
|
350
|
+
"access": "public"
|
|
475
351
|
},
|
|
352
|
+
"license": "MIT",
|
|
476
353
|
"author": {
|
|
477
354
|
"name": "Benjamin Møller Jensen",
|
|
478
355
|
"email": "bemoje@bemoje.net",
|
|
479
356
|
"url": "https://github.com/bemoje/"
|
|
480
357
|
},
|
|
481
|
-
"
|
|
358
|
+
"repository": {
|
|
359
|
+
"type": "git",
|
|
360
|
+
"url": "git+https://github.com/bemoje/mono.git",
|
|
361
|
+
"directory": "libs/monorepo"
|
|
362
|
+
}
|
|
482
363
|
}
|