@breadstone-infrastructure/utilities 0.0.226 → 0.0.228

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 (438) hide show
  1. package/CHANGELOG.md +1562 -0
  2. package/{IO → io}/Path.Test.js +0 -8
  3. package/{IO → io}/Path.Test.js.map +1 -1
  4. package/package.json +2 -2
  5. package/IO/PcfControlManifest.d.ts +0 -79
  6. package/IO/PcfControlManifest.d.ts.map +0 -1
  7. package/IO/PcfControlManifest.js +0 -103
  8. package/IO/PcfControlManifest.js.map +0 -1
  9. package/IO/vNext/FileCache.d.ts +0 -46
  10. package/IO/vNext/FileCache.d.ts.map +0 -1
  11. package/IO/vNext/FileCache.js +0 -94
  12. package/IO/vNext/FileCache.js.map +0 -1
  13. package/IO/vNext/FileSystem.d.ts +0 -107
  14. package/IO/vNext/FileSystem.d.ts.map +0 -1
  15. package/IO/vNext/FileSystem.js +0 -148
  16. package/IO/vNext/FileSystem.js.map +0 -1
  17. package/IO/vNext/FileTracker.d.ts +0 -73
  18. package/IO/vNext/FileTracker.d.ts.map +0 -1
  19. package/IO/vNext/FileTracker.js +0 -116
  20. package/IO/vNext/FileTracker.js.map +0 -1
  21. package/IO/vNext/Interfaces/IFileCache.d.ts +0 -56
  22. package/IO/vNext/Interfaces/IFileCache.d.ts.map +0 -1
  23. package/IO/vNext/Interfaces/IFileCache.js +0 -3
  24. package/IO/vNext/Interfaces/IFileCache.js.map +0 -1
  25. package/IO/vNext/Interfaces/IFileSystem.d.ts +0 -102
  26. package/IO/vNext/Interfaces/IFileSystem.d.ts.map +0 -1
  27. package/IO/vNext/Interfaces/IFileSystem.js +0 -4
  28. package/IO/vNext/Interfaces/IFileSystem.js.map +0 -1
  29. package/IO/vNext/Interfaces/IFileTracker.d.ts +0 -15
  30. package/IO/vNext/Interfaces/IFileTracker.d.ts.map +0 -1
  31. package/IO/vNext/Interfaces/IFileTracker.js +0 -4
  32. package/IO/vNext/Interfaces/IFileTracker.js.map +0 -1
  33. /package/{Cli → cli}/Program.d.ts +0 -0
  34. /package/{Cli → cli}/Program.d.ts.map +0 -0
  35. /package/{Cli → cli}/Program.js +0 -0
  36. /package/{Cli → cli}/Program.js.map +0 -0
  37. /package/{Cli → cli}/ProgramArgs.d.ts +0 -0
  38. /package/{Cli → cli}/ProgramArgs.d.ts.map +0 -0
  39. /package/{Cli → cli}/ProgramArgs.js +0 -0
  40. /package/{Cli → cli}/ProgramArgs.js.map +0 -0
  41. /package/{Cli → cli}/ProgramCommandResult.d.ts +0 -0
  42. /package/{Cli → cli}/ProgramCommandResult.d.ts.map +0 -0
  43. /package/{Cli → cli}/ProgramCommandResult.js +0 -0
  44. /package/{Cli → cli}/ProgramCommandResult.js.map +0 -0
  45. /package/{Cli → cli}/ProgramCommands.d.ts +0 -0
  46. /package/{Cli → cli}/ProgramCommands.d.ts.map +0 -0
  47. /package/{Cli → cli}/ProgramCommands.js +0 -0
  48. /package/{Cli → cli}/ProgramCommands.js.map +0 -0
  49. /package/{Cli → cli}/ProgramConfig.d.ts +0 -0
  50. /package/{Cli → cli}/ProgramConfig.d.ts.map +0 -0
  51. /package/{Cli → cli}/ProgramConfig.js +0 -0
  52. /package/{Cli → cli}/ProgramConfig.js.map +0 -0
  53. /package/{Cli → cli}/ProgramDoneFn.d.ts +0 -0
  54. /package/{Cli → cli}/ProgramDoneFn.d.ts.map +0 -0
  55. /package/{Cli → cli}/ProgramDoneFn.js +0 -0
  56. /package/{Cli → cli}/ProgramDoneFn.js.map +0 -0
  57. /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.d.ts +0 -0
  58. /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.d.ts.map +0 -0
  59. /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.js +0 -0
  60. /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.js.map +0 -0
  61. /package/{Cli/Builders → cli/builders}/ProgramBuilder.d.ts +0 -0
  62. /package/{Cli/Builders → cli/builders}/ProgramBuilder.d.ts.map +0 -0
  63. /package/{Cli/Builders → cli/builders}/ProgramBuilder.js +0 -0
  64. /package/{Cli/Builders → cli/builders}/ProgramBuilder.js.map +0 -0
  65. /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.d.ts +0 -0
  66. /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.d.ts.map +0 -0
  67. /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.js +0 -0
  68. /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.js.map +0 -0
  69. /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.d.ts +0 -0
  70. /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.d.ts.map +0 -0
  71. /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.js +0 -0
  72. /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.js.map +0 -0
  73. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.d.ts +0 -0
  74. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.d.ts.map +0 -0
  75. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.js +0 -0
  76. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.js.map +0 -0
  77. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.d.ts +0 -0
  78. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.d.ts.map +0 -0
  79. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.js +0 -0
  80. /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.js.map +0 -0
  81. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.d.ts +0 -0
  82. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.d.ts.map +0 -0
  83. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.js +0 -0
  84. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.js.map +0 -0
  85. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.d.ts +0 -0
  86. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.d.ts.map +0 -0
  87. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.js +0 -0
  88. /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.js.map +0 -0
  89. /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.d.ts +0 -0
  90. /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.d.ts.map +0 -0
  91. /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.js +0 -0
  92. /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.js.map +0 -0
  93. /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.d.ts +0 -0
  94. /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.d.ts.map +0 -0
  95. /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.js +0 -0
  96. /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.js.map +0 -0
  97. /package/{Compiler → compiler}/TypeScript.d.ts +0 -0
  98. /package/{Compiler → compiler}/TypeScript.d.ts.map +0 -0
  99. /package/{Compiler → compiler}/TypeScript.js +0 -0
  100. /package/{Compiler → compiler}/TypeScript.js.map +0 -0
  101. /package/{Decorators → decorators}/EnumerableDecorator.d.ts +0 -0
  102. /package/{Decorators → decorators}/EnumerableDecorator.d.ts.map +0 -0
  103. /package/{Decorators → decorators}/EnumerableDecorator.js +0 -0
  104. /package/{Decorators → decorators}/EnumerableDecorator.js.map +0 -0
  105. /package/{DI → di}/Container.d.ts +0 -0
  106. /package/{DI → di}/Container.d.ts.map +0 -0
  107. /package/{DI → di}/Container.js +0 -0
  108. /package/{DI → di}/Container.js.map +0 -0
  109. /package/{DI → di}/Inject.d.ts +0 -0
  110. /package/{DI → di}/Inject.d.ts.map +0 -0
  111. /package/{DI → di}/Inject.js +0 -0
  112. /package/{DI → di}/Inject.js.map +0 -0
  113. /package/{Events → events}/AsyncEventEmitter.d.ts +0 -0
  114. /package/{Events → events}/AsyncEventEmitter.d.ts.map +0 -0
  115. /package/{Events → events}/AsyncEventEmitter.js +0 -0
  116. /package/{Events → events}/AsyncEventEmitter.js.map +0 -0
  117. /package/{Index.d.ts → index.d.ts} +0 -0
  118. /package/{Index.d.ts.map → index.d.ts.map} +0 -0
  119. /package/{Index.js → index.js} +0 -0
  120. /package/{Index.js.map → index.js.map} +0 -0
  121. /package/{Intl → intl}/Languages.d.ts +0 -0
  122. /package/{Intl → intl}/Languages.d.ts.map +0 -0
  123. /package/{Intl → intl}/Languages.js +0 -0
  124. /package/{Intl → intl}/Languages.js.map +0 -0
  125. /package/{IO → io}/CustomElementManifest.d.ts +0 -0
  126. /package/{IO → io}/CustomElementManifest.d.ts.map +0 -0
  127. /package/{IO → io}/CustomElementManifest.js +0 -0
  128. /package/{IO → io}/CustomElementManifest.js.map +0 -0
  129. /package/{IO → io}/Directory.d.ts +0 -0
  130. /package/{IO → io}/Directory.d.ts.map +0 -0
  131. /package/{IO → io}/Directory.js +0 -0
  132. /package/{IO → io}/Directory.js.map +0 -0
  133. /package/{IO → io}/Encoding.d.ts +0 -0
  134. /package/{IO → io}/Encoding.d.ts.map +0 -0
  135. /package/{IO → io}/Encoding.js +0 -0
  136. /package/{IO → io}/Encoding.js.map +0 -0
  137. /package/{IO → io}/File.d.ts +0 -0
  138. /package/{IO → io}/File.d.ts.map +0 -0
  139. /package/{IO → io}/File.js +0 -0
  140. /package/{IO → io}/File.js.map +0 -0
  141. /package/{IO → io}/FileCache.d.ts +0 -0
  142. /package/{IO → io}/FileCache.d.ts.map +0 -0
  143. /package/{IO → io}/FileCache.js +0 -0
  144. /package/{IO → io}/FileCache.js.map +0 -0
  145. /package/{IO → io}/FileLockfile.d.ts +0 -0
  146. /package/{IO → io}/FileLockfile.d.ts.map +0 -0
  147. /package/{IO → io}/FileLockfile.js +0 -0
  148. /package/{IO → io}/FileLockfile.js.map +0 -0
  149. /package/{IO → io}/FileManifest.d.ts +0 -0
  150. /package/{IO → io}/FileManifest.d.ts.map +0 -0
  151. /package/{IO → io}/FileManifest.js +0 -0
  152. /package/{IO → io}/FileManifest.js.map +0 -0
  153. /package/{IO → io}/FileSystem.d.ts +0 -0
  154. /package/{IO → io}/FileSystem.d.ts.map +0 -0
  155. /package/{IO → io}/FileSystem.js +0 -0
  156. /package/{IO → io}/FileSystem.js.map +0 -0
  157. /package/{IO → io}/FileSystemInfo.d.ts +0 -0
  158. /package/{IO → io}/FileSystemInfo.d.ts.map +0 -0
  159. /package/{IO → io}/FileSystemInfo.js +0 -0
  160. /package/{IO → io}/FileSystemInfo.js.map +0 -0
  161. /package/{IO → io}/FileSystemWatcher.d.ts +0 -0
  162. /package/{IO → io}/FileSystemWatcher.d.ts.map +0 -0
  163. /package/{IO → io}/FileSystemWatcher.js +0 -0
  164. /package/{IO → io}/FileSystemWatcher.js.map +0 -0
  165. /package/{IO → io}/FileTracker.d.ts +0 -0
  166. /package/{IO → io}/FileTracker.d.ts.map +0 -0
  167. /package/{IO → io}/FileTracker.js +0 -0
  168. /package/{IO → io}/FileTracker.js.map +0 -0
  169. /package/{IO → io}/Glob.d.ts +0 -0
  170. /package/{IO → io}/Glob.d.ts.map +0 -0
  171. /package/{IO → io}/Glob.js +0 -0
  172. /package/{IO → io}/Glob.js.map +0 -0
  173. /package/{IO → io}/Json.d.ts +0 -0
  174. /package/{IO → io}/Json.d.ts.map +0 -0
  175. /package/{IO → io}/Json.js +0 -0
  176. /package/{IO → io}/Json.js.map +0 -0
  177. /package/{IO → io}/Path.Test.d.ts +0 -0
  178. /package/{IO → io}/Path.Test.d.ts.map +0 -0
  179. /package/{IO → io}/Path.d.ts +0 -0
  180. /package/{IO → io}/Path.d.ts.map +0 -0
  181. /package/{IO → io}/Path.js +0 -0
  182. /package/{IO → io}/Path.js.map +0 -0
  183. /package/{IO → io}/Po.d.ts +0 -0
  184. /package/{IO → io}/Po.d.ts.map +0 -0
  185. /package/{IO → io}/Po.js +0 -0
  186. /package/{IO → io}/Po.js.map +0 -0
  187. /package/{IO → io}/Resx.d.ts +0 -0
  188. /package/{IO → io}/Resx.d.ts.map +0 -0
  189. /package/{IO → io}/Resx.js +0 -0
  190. /package/{IO → io}/Resx.js.map +0 -0
  191. /package/{IO → io}/SymbolicLink.d.ts +0 -0
  192. /package/{IO → io}/SymbolicLink.d.ts.map +0 -0
  193. /package/{IO → io}/SymbolicLink.js +0 -0
  194. /package/{IO → io}/SymbolicLink.js.map +0 -0
  195. /package/{IO → io}/Template.d.ts +0 -0
  196. /package/{IO → io}/Template.d.ts.map +0 -0
  197. /package/{IO → io}/Template.js +0 -0
  198. /package/{IO → io}/Template.js.map +0 -0
  199. /package/{IO → io}/TemporaryDirectory.d.ts +0 -0
  200. /package/{IO → io}/TemporaryDirectory.d.ts.map +0 -0
  201. /package/{IO → io}/TemporaryDirectory.js +0 -0
  202. /package/{IO → io}/TemporaryDirectory.js.map +0 -0
  203. /package/{IO → io}/TemporaryFile.d.ts +0 -0
  204. /package/{IO → io}/TemporaryFile.d.ts.map +0 -0
  205. /package/{IO → io}/TemporaryFile.js +0 -0
  206. /package/{IO → io}/TemporaryFile.js.map +0 -0
  207. /package/{IO/Interfaces → io/interfaces}/IDirectory.d.ts +0 -0
  208. /package/{IO/Interfaces → io/interfaces}/IDirectory.d.ts.map +0 -0
  209. /package/{IO/Interfaces → io/interfaces}/IDirectory.js +0 -0
  210. /package/{IO/Interfaces → io/interfaces}/IDirectory.js.map +0 -0
  211. /package/{IO/Interfaces → io/interfaces}/IFile.d.ts +0 -0
  212. /package/{IO/Interfaces → io/interfaces}/IFile.d.ts.map +0 -0
  213. /package/{IO/Interfaces → io/interfaces}/IFile.js +0 -0
  214. /package/{IO/Interfaces → io/interfaces}/IFile.js.map +0 -0
  215. /package/{IO/Interfaces → io/interfaces}/IFileCache.d.ts +0 -0
  216. /package/{IO/Interfaces → io/interfaces}/IFileCache.d.ts.map +0 -0
  217. /package/{IO/Interfaces → io/interfaces}/IFileCache.js +0 -0
  218. /package/{IO/Interfaces → io/interfaces}/IFileCache.js.map +0 -0
  219. /package/{IO/Interfaces → io/interfaces}/IFileSystem.d.ts +0 -0
  220. /package/{IO/Interfaces → io/interfaces}/IFileSystem.d.ts.map +0 -0
  221. /package/{IO/Interfaces → io/interfaces}/IFileSystem.js +0 -0
  222. /package/{IO/Interfaces → io/interfaces}/IFileSystem.js.map +0 -0
  223. /package/{IO/Interfaces → io/interfaces}/IFileTracker.d.ts +0 -0
  224. /package/{IO/Interfaces → io/interfaces}/IFileTracker.d.ts.map +0 -0
  225. /package/{IO/Interfaces → io/interfaces}/IFileTracker.js +0 -0
  226. /package/{IO/Interfaces → io/interfaces}/IFileTracker.js.map +0 -0
  227. /package/{IO/Interfaces → io/interfaces}/IPath.d.ts +0 -0
  228. /package/{IO/Interfaces → io/interfaces}/IPath.d.ts.map +0 -0
  229. /package/{IO/Interfaces → io/interfaces}/IPath.js +0 -0
  230. /package/{IO/Interfaces → io/interfaces}/IPath.js.map +0 -0
  231. /package/{IO/Reader → io/reader}/TextFileReader.d.ts +0 -0
  232. /package/{IO/Reader → io/reader}/TextFileReader.d.ts.map +0 -0
  233. /package/{IO/Reader → io/reader}/TextFileReader.js +0 -0
  234. /package/{IO/Reader → io/reader}/TextFileReader.js.map +0 -0
  235. /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.d.ts +0 -0
  236. /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.d.ts.map +0 -0
  237. /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.js +0 -0
  238. /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.js.map +0 -0
  239. /package/{IO/Writer → io/writer}/TextFileWriter.d.ts +0 -0
  240. /package/{IO/Writer → io/writer}/TextFileWriter.d.ts.map +0 -0
  241. /package/{IO/Writer → io/writer}/TextFileWriter.js +0 -0
  242. /package/{IO/Writer → io/writer}/TextFileWriter.js.map +0 -0
  243. /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.d.ts +0 -0
  244. /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.d.ts.map +0 -0
  245. /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.js +0 -0
  246. /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.js.map +0 -0
  247. /package/{Logging → logging}/LogLevel.d.ts +0 -0
  248. /package/{Logging → logging}/LogLevel.d.ts.map +0 -0
  249. /package/{Logging → logging}/LogLevel.js +0 -0
  250. /package/{Logging → logging}/LogLevel.js.map +0 -0
  251. /package/{Logging → logging}/Logger.d.ts +0 -0
  252. /package/{Logging → logging}/Logger.d.ts.map +0 -0
  253. /package/{Logging → logging}/Logger.js +0 -0
  254. /package/{Logging → logging}/Logger.js.map +0 -0
  255. /package/{Logging → logging}/LoggerConfig.d.ts +0 -0
  256. /package/{Logging → logging}/LoggerConfig.d.ts.map +0 -0
  257. /package/{Logging → logging}/LoggerConfig.js +0 -0
  258. /package/{Logging → logging}/LoggerConfig.js.map +0 -0
  259. /package/{Logging → logging}/LoggerScope.d.ts +0 -0
  260. /package/{Logging → logging}/LoggerScope.d.ts.map +0 -0
  261. /package/{Logging → logging}/LoggerScope.js +0 -0
  262. /package/{Logging → logging}/LoggerScope.js.map +0 -0
  263. /package/{Logging → logging}/LoggerSuppressor.d.ts +0 -0
  264. /package/{Logging → logging}/LoggerSuppressor.d.ts.map +0 -0
  265. /package/{Logging → logging}/LoggerSuppressor.js +0 -0
  266. /package/{Logging → logging}/LoggerSuppressor.js.map +0 -0
  267. /package/{Logging → logging}/LoggerUtils.Test.d.ts +0 -0
  268. /package/{Logging → logging}/LoggerUtils.Test.d.ts.map +0 -0
  269. /package/{Logging → logging}/LoggerUtils.Test.js +0 -0
  270. /package/{Logging → logging}/LoggerUtils.Test.js.map +0 -0
  271. /package/{Logging → logging}/LoggerUtils.d.ts +0 -0
  272. /package/{Logging → logging}/LoggerUtils.d.ts.map +0 -0
  273. /package/{Logging → logging}/LoggerUtils.js +0 -0
  274. /package/{Logging → logging}/LoggerUtils.js.map +0 -0
  275. /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.d.ts +0 -0
  276. /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.d.ts.map +0 -0
  277. /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.js +0 -0
  278. /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.js.map +0 -0
  279. /package/{Logging/Appenders → logging/appenders}/MessageAppender.d.ts +0 -0
  280. /package/{Logging/Appenders → logging/appenders}/MessageAppender.d.ts.map +0 -0
  281. /package/{Logging/Appenders → logging/appenders}/MessageAppender.js +0 -0
  282. /package/{Logging/Appenders → logging/appenders}/MessageAppender.js.map +0 -0
  283. /package/{Logging/Appenders → logging/appenders}/TagAppender.d.ts +0 -0
  284. /package/{Logging/Appenders → logging/appenders}/TagAppender.d.ts.map +0 -0
  285. /package/{Logging/Appenders → logging/appenders}/TagAppender.js +0 -0
  286. /package/{Logging/Appenders → logging/appenders}/TagAppender.js.map +0 -0
  287. /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.d.ts +0 -0
  288. /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.d.ts.map +0 -0
  289. /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.js +0 -0
  290. /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.js.map +0 -0
  291. /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.d.ts +0 -0
  292. /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.d.ts.map +0 -0
  293. /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.js +0 -0
  294. /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.js.map +0 -0
  295. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.d.ts +0 -0
  296. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.d.ts.map +0 -0
  297. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.js +0 -0
  298. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.js.map +0 -0
  299. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.d.ts +0 -0
  300. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.d.ts.map +0 -0
  301. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.js +0 -0
  302. /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.js.map +0 -0
  303. /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.d.ts +0 -0
  304. /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.d.ts.map +0 -0
  305. /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.js +0 -0
  306. /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.js.map +0 -0
  307. /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.d.ts +0 -0
  308. /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.d.ts.map +0 -0
  309. /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.js +0 -0
  310. /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.js.map +0 -0
  311. /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.d.ts +0 -0
  312. /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.d.ts.map +0 -0
  313. /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.js +0 -0
  314. /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.js.map +0 -0
  315. /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.d.ts +0 -0
  316. /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.d.ts.map +0 -0
  317. /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.js +0 -0
  318. /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.js.map +0 -0
  319. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.d.ts +0 -0
  320. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.d.ts.map +0 -0
  321. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.js +0 -0
  322. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.js.map +0 -0
  323. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.d.ts +0 -0
  324. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.d.ts.map +0 -0
  325. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.js +0 -0
  326. /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.js.map +0 -0
  327. /package/{Logging/vNext → logging/vnext}/ConsoleLogger.d.ts +0 -0
  328. /package/{Logging/vNext → logging/vnext}/ConsoleLogger.d.ts.map +0 -0
  329. /package/{Logging/vNext → logging/vnext}/ConsoleLogger.js +0 -0
  330. /package/{Logging/vNext → logging/vnext}/ConsoleLogger.js.map +0 -0
  331. /package/{Logging/vNext → logging/vnext}/LoggerExtensions.d.ts +0 -0
  332. /package/{Logging/vNext → logging/vnext}/LoggerExtensions.d.ts.map +0 -0
  333. /package/{Logging/vNext → logging/vnext}/LoggerExtensions.js +0 -0
  334. /package/{Logging/vNext → logging/vnext}/LoggerExtensions.js.map +0 -0
  335. /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.d.ts +0 -0
  336. /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.d.ts.map +0 -0
  337. /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.js +0 -0
  338. /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.js.map +0 -0
  339. /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.d.ts +0 -0
  340. /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.d.ts.map +0 -0
  341. /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.js +0 -0
  342. /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.js.map +0 -0
  343. /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.d.ts +0 -0
  344. /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.d.ts.map +0 -0
  345. /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.js +0 -0
  346. /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.js.map +0 -0
  347. /package/{System → system}/Args.d.ts +0 -0
  348. /package/{System → system}/Args.d.ts.map +0 -0
  349. /package/{System → system}/Args.js +0 -0
  350. /package/{System → system}/Args.js.map +0 -0
  351. /package/{System → system}/Array.d.ts +0 -0
  352. /package/{System → system}/Array.d.ts.map +0 -0
  353. /package/{System → system}/Array.js +0 -0
  354. /package/{System → system}/Array.js.map +0 -0
  355. /package/{System → system}/Assign.d.ts +0 -0
  356. /package/{System → system}/Assign.d.ts.map +0 -0
  357. /package/{System → system}/Assign.js +0 -0
  358. /package/{System → system}/Assign.js.map +0 -0
  359. /package/{System → system}/Boolean.d.ts +0 -0
  360. /package/{System → system}/Boolean.d.ts.map +0 -0
  361. /package/{System → system}/Boolean.js +0 -0
  362. /package/{System → system}/Boolean.js.map +0 -0
  363. /package/{System → system}/Error.d.ts +0 -0
  364. /package/{System → system}/Error.d.ts.map +0 -0
  365. /package/{System → system}/Error.js +0 -0
  366. /package/{System → system}/Error.js.map +0 -0
  367. /package/{System → system}/Errors.d.ts +0 -0
  368. /package/{System → system}/Errors.d.ts.map +0 -0
  369. /package/{System → system}/Errors.js +0 -0
  370. /package/{System → system}/Errors.js.map +0 -0
  371. /package/{System → system}/Formatter.d.ts +0 -0
  372. /package/{System → system}/Formatter.d.ts.map +0 -0
  373. /package/{System → system}/Formatter.js +0 -0
  374. /package/{System → system}/Formatter.js.map +0 -0
  375. /package/{System → system}/Guard.d.ts +0 -0
  376. /package/{System → system}/Guard.d.ts.map +0 -0
  377. /package/{System → system}/Guard.js +0 -0
  378. /package/{System → system}/Guard.js.map +0 -0
  379. /package/{System → system}/List.d.ts +0 -0
  380. /package/{System → system}/List.d.ts.map +0 -0
  381. /package/{System → system}/List.js +0 -0
  382. /package/{System → system}/List.js.map +0 -0
  383. /package/{System → system}/Number.d.ts +0 -0
  384. /package/{System → system}/Number.d.ts.map +0 -0
  385. /package/{System → system}/Number.js +0 -0
  386. /package/{System → system}/Number.js.map +0 -0
  387. /package/{System → system}/Process.d.ts +0 -0
  388. /package/{System → system}/Process.d.ts.map +0 -0
  389. /package/{System → system}/Process.js +0 -0
  390. /package/{System → system}/Process.js.map +0 -0
  391. /package/{System → system}/Require.d.ts +0 -0
  392. /package/{System → system}/Require.d.ts.map +0 -0
  393. /package/{System → system}/Require.js +0 -0
  394. /package/{System → system}/Require.js.map +0 -0
  395. /package/{System → system}/Stopwatch.d.ts +0 -0
  396. /package/{System → system}/Stopwatch.d.ts.map +0 -0
  397. /package/{System → system}/Stopwatch.js +0 -0
  398. /package/{System → system}/Stopwatch.js.map +0 -0
  399. /package/{System → system}/String.d.ts +0 -0
  400. /package/{System → system}/String.d.ts.map +0 -0
  401. /package/{System → system}/String.js +0 -0
  402. /package/{System → system}/String.js.map +0 -0
  403. /package/{System → system}/Time.d.ts +0 -0
  404. /package/{System → system}/Time.d.ts.map +0 -0
  405. /package/{System → system}/Time.js +0 -0
  406. /package/{System → system}/Time.js.map +0 -0
  407. /package/{System → system}/Version.d.ts +0 -0
  408. /package/{System → system}/Version.d.ts.map +0 -0
  409. /package/{System → system}/Version.js +0 -0
  410. /package/{System → system}/Version.js.map +0 -0
  411. /package/{System/Interfaces → system/interfaces}/IType.d.ts +0 -0
  412. /package/{System/Interfaces → system/interfaces}/IType.d.ts.map +0 -0
  413. /package/{System/Interfaces → system/interfaces}/IType.js +0 -0
  414. /package/{System/Interfaces → system/interfaces}/IType.js.map +0 -0
  415. /package/{System/Interfaces → system/interfaces}/IUnknown.d.ts +0 -0
  416. /package/{System/Interfaces → system/interfaces}/IUnknown.d.ts.map +0 -0
  417. /package/{System/Interfaces → system/interfaces}/IUnknown.js +0 -0
  418. /package/{System/Interfaces → system/interfaces}/IUnknown.js.map +0 -0
  419. /package/{Terminal → terminal}/Terminal.d.ts +0 -0
  420. /package/{Terminal → terminal}/Terminal.d.ts.map +0 -0
  421. /package/{Terminal → terminal}/Terminal.js +0 -0
  422. /package/{Terminal → terminal}/Terminal.js.map +0 -0
  423. /package/{Terminal → terminal}/TerminalColorType.d.ts +0 -0
  424. /package/{Terminal → terminal}/TerminalColorType.d.ts.map +0 -0
  425. /package/{Terminal → terminal}/TerminalColorType.js +0 -0
  426. /package/{Terminal → terminal}/TerminalColorType.js.map +0 -0
  427. /package/{Terminal → terminal}/TerminalColors.d.ts +0 -0
  428. /package/{Terminal → terminal}/TerminalColors.d.ts.map +0 -0
  429. /package/{Terminal → terminal}/TerminalColors.js +0 -0
  430. /package/{Terminal → terminal}/TerminalColors.js.map +0 -0
  431. /package/{Terminal → terminal}/TerminalSymbolType.d.ts +0 -0
  432. /package/{Terminal → terminal}/TerminalSymbolType.d.ts.map +0 -0
  433. /package/{Terminal → terminal}/TerminalSymbolType.js +0 -0
  434. /package/{Terminal → terminal}/TerminalSymbolType.js.map +0 -0
  435. /package/{Terminal → terminal}/TerminalSymbols.d.ts +0 -0
  436. /package/{Terminal → terminal}/TerminalSymbols.d.ts.map +0 -0
  437. /package/{Terminal → terminal}/TerminalSymbols.js +0 -0
  438. /package/{Terminal → terminal}/TerminalSymbols.js.map +0 -0
@@ -1,73 +0,0 @@
1
- import type { IFileTracker } from './Interfaces/IFileTracker';
2
- /**
3
- * FileTracker manages and cleans up generated files based on a manifest.
4
- * It also provides utility methods for writing and tracking files cleanly.
5
- *
6
- * @public
7
- */
8
- export declare class FileTracker implements IFileTracker {
9
- private readonly _rootDir;
10
- private readonly _manifest;
11
- /**
12
- * Constructs a new instance of the `FileTracker` class.
13
- *
14
- * @public
15
- * @param rootDir The root directory where files will be tracked.
16
- * @param manifestFilename The name of the manifest file (default is '.filetracker.json').
17
- */
18
- constructor(rootDir: string, manifestFilename?: string);
19
- /**
20
- * Loads the previous manifest to determine which files were generated in the last run.
21
- * This is necessary for cleanup operations.
22
- *
23
- * @public
24
- */
25
- loadPreviousManifest(): Promise<void>;
26
- /**
27
- * Adds a file to the manifest as a generated file.
28
- * The path is resolved relative to the root directory.
29
- *
30
- * @public
31
- * @param relativePath Path relative to the root directory
32
- */
33
- addGeneratedFile(relativePath: string): void;
34
- /**
35
- * Cleans up files that were generated in previous runs but not in the current run.
36
- * This helps to remove stale files that are no longer needed.
37
- *
38
- * @public
39
- */
40
- cleanup(): Promise<void>;
41
- /**
42
- * Saves the current manifest, which includes all files tracked in this run.
43
- * This should be called after all file operations are complete.
44
- *
45
- * @public
46
- */
47
- saveManifest(): Promise<void>;
48
- /**
49
- * Writes a file to disk and tracks it in the manifest.
50
- *
51
- * @public
52
- * @param relativePath Path relative to the root directory
53
- * @param content File content
54
- * @param options Optional write options
55
- */
56
- writeFile(relativePath: string, content: string): Promise<void>;
57
- /**
58
- * Executes a custom file-writing callback and tracks the file.
59
- *
60
- * @public
61
- * @param relativePath Path relative to the root directory
62
- * @param writer A callback that receives the absolute path to write content
63
- */
64
- trackFile(relativePath: string, writer: (absolutePath: string) => Promise<void>): Promise<void>;
65
- /**
66
- * Ensures that the directory for the given file path exists.
67
- *
68
- * @private
69
- * @param fullFilePath The full path of the file to ensure its directory exists.
70
- */
71
- private ensureDirectoryExists;
72
- }
73
- //# sourceMappingURL=FileTracker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileTracker.d.ts","sourceRoot":"","sources":["../../../src/IO/vNext/FileTracker.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAO9D;;;;;GAKG;AACH,qBAAa,WAAY,YAAW,YAAY;IAI5C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IAMzC;;;;;;OAMG;gBACgB,OAAO,EAAE,MAAM,EAAE,gBAAgB,GAAE,MAA4B;IAWlF;;;;;OAKG;IACU,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIlD;;;;;;OAMG;IACI,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;IAKnD;;;;;OAKG;IACU,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrC;;;;;OAKG;IACU,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAI1C;;;;;;;OAOG;IACU,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAO5E;;;;;;OAMG;IACU,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAO5G;;;;;OAKG;YACW,qBAAqB;CAUtC"}
@@ -1,116 +0,0 @@
1
- "use strict";
2
- // #region Imports
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FileTracker = void 0;
5
- const FileManifest_1 = require("../FileManifest");
6
- const Path_1 = require("../Path");
7
- const File_1 = require("../File");
8
- const Directory_1 = require("../Directory");
9
- // #endregion
10
- /**
11
- * FileTracker manages and cleans up generated files based on a manifest.
12
- * It also provides utility methods for writing and tracking files cleanly.
13
- *
14
- * @public
15
- */
16
- class FileTracker {
17
- // #region Fields
18
- _rootDir;
19
- _manifest;
20
- // #endregion
21
- // #region Ctor
22
- /**
23
- * Constructs a new instance of the `FileTracker` class.
24
- *
25
- * @public
26
- * @param rootDir The root directory where files will be tracked.
27
- * @param manifestFilename The name of the manifest file (default is '.filetracker.json').
28
- */
29
- constructor(rootDir, manifestFilename = '.filetracker.json') {
30
- this._rootDir = Path_1.Path.resolve(rootDir);
31
- this._manifest = new FileManifest_1.FileManifest({
32
- manifestPath: Path_1.Path.combine(this._rootDir, manifestFilename)
33
- });
34
- }
35
- // #endregion
36
- // #region Methods
37
- /**
38
- * Loads the previous manifest to determine which files were generated in the last run.
39
- * This is necessary for cleanup operations.
40
- *
41
- * @public
42
- */
43
- async loadPreviousManifest() {
44
- await this._manifest.load();
45
- }
46
- /**
47
- * Adds a file to the manifest as a generated file.
48
- * The path is resolved relative to the root directory.
49
- *
50
- * @public
51
- * @param relativePath Path relative to the root directory
52
- */
53
- addGeneratedFile(relativePath) {
54
- const fullPath = Path_1.Path.resolve(this._rootDir, relativePath);
55
- this._manifest.add(fullPath);
56
- }
57
- /**
58
- * Cleans up files that were generated in previous runs but not in the current run.
59
- * This helps to remove stale files that are no longer needed.
60
- *
61
- * @public
62
- */
63
- async cleanup() {
64
- await this._manifest.cleanup();
65
- }
66
- /**
67
- * Saves the current manifest, which includes all files tracked in this run.
68
- * This should be called after all file operations are complete.
69
- *
70
- * @public
71
- */
72
- async saveManifest() {
73
- await this._manifest.save();
74
- }
75
- /**
76
- * Writes a file to disk and tracks it in the manifest.
77
- *
78
- * @public
79
- * @param relativePath Path relative to the root directory
80
- * @param content File content
81
- * @param options Optional write options
82
- */
83
- async writeFile(relativePath, content) {
84
- const fullPath = Path_1.Path.resolve(this._rootDir, relativePath);
85
- await this.ensureDirectoryExists(fullPath);
86
- await File_1.File.writeAllTextAsync(fullPath, content);
87
- this.addGeneratedFile(relativePath);
88
- }
89
- /**
90
- * Executes a custom file-writing callback and tracks the file.
91
- *
92
- * @public
93
- * @param relativePath Path relative to the root directory
94
- * @param writer A callback that receives the absolute path to write content
95
- */
96
- async trackFile(relativePath, writer) {
97
- const fullPath = Path_1.Path.resolve(this._rootDir, relativePath);
98
- await this.ensureDirectoryExists(fullPath);
99
- await writer(fullPath);
100
- this.addGeneratedFile(relativePath);
101
- }
102
- /**
103
- * Ensures that the directory for the given file path exists.
104
- *
105
- * @private
106
- * @param fullFilePath The full path of the file to ensure its directory exists.
107
- */
108
- async ensureDirectoryExists(fullFilePath) {
109
- const dir = Path_1.Path.getDirectoryName(fullFilePath);
110
- if (!Directory_1.Directory.exists(dir)) {
111
- await Directory_1.Directory.createAsync(dir);
112
- }
113
- }
114
- }
115
- exports.FileTracker = FileTracker;
116
- //# sourceMappingURL=FileTracker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileTracker.js","sourceRoot":"","sources":["../../../src/IO/vNext/FileTracker.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;AAElB,kDAA+C;AAE/C,kCAA+B;AAC/B,kCAA+B;AAC/B,4CAAyC;AAEzC,aAAa;AAEb;;;;;GAKG;AACH,MAAa,WAAW;IAEpB,iBAAiB;IAEA,QAAQ,CAAS;IACjB,SAAS,CAAe;IAEzC,aAAa;IAEb,eAAe;IAEf;;;;;;OAMG;IACH,YAAmB,OAAe,EAAE,mBAA2B,mBAAmB;QAC9E,IAAI,CAAC,QAAQ,GAAG,WAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,IAAI,2BAAY,CAAC;YAC9B,YAAY,EAAE,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,gBAAgB,CAAC;SAC9D,CAAC,CAAC;IACP,CAAC;IAED,aAAa;IAEb,kBAAkB;IAElB;;;;;OAKG;IACI,KAAK,CAAC,oBAAoB;QAC7B,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC;IAED;;;;;;OAMG;IACI,gBAAgB,CAAC,YAAoB;QACxC,MAAM,QAAQ,GAAG,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAC3D,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACjC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,OAAO;QAChB,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;IACnC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,YAAY;QACrB,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,SAAS,CAAC,YAAoB,EAAE,OAAe;QACxD,MAAM,QAAQ,GAAG,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAC3D,MAAM,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC;QAC3C,MAAM,WAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IACxC,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,SAAS,CAAC,YAAoB,EAAE,MAA+C;QACxF,MAAM,QAAQ,GAAG,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAC3D,MAAM,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC;QAC3C,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAC;QACvB,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IACxC,CAAC;IAED;;;;;OAKG;IACK,KAAK,CAAC,qBAAqB,CAAC,YAAoB;QACpD,MAAM,GAAG,GAAG,WAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;QAEhD,IAAI,CAAC,qBAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;YACzB,MAAM,qBAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QACrC,CAAC;IACL,CAAC;CAIJ;AApHD,kCAoHC"}
@@ -1,56 +0,0 @@
1
- /**
2
- * Interface for configuring the file cache.
3
- *
4
- * @public
5
- */
6
- export interface IFileCacheOptions {
7
- /**
8
- * The directory path where cached files are stored.
9
- */
10
- dirPath: string;
11
- /**
12
- * Flag indicating whether caching is enabled.
13
- */
14
- enabled?: boolean;
15
- }
16
- /**
17
- * Interface defining the operations of the file cache.
18
- *
19
- * @public
20
- */
21
- export interface IFileCache {
22
- /**
23
- * Checks if a directory is cached.
24
- *
25
- * @public
26
- * @param dirPath - The directory to check.
27
- * @returns A promise resolving to `true` if the directory is cached, otherwise `false`.
28
- */
29
- isDirectoryCached(dirPath: string): Promise<boolean>;
30
- /**
31
- * Checks if a file is cached.
32
- * If not and caching is enabled, the file will be cached.
33
- *
34
- * @public
35
- * @param file - The file to check.
36
- * @returns A promise resolving to `true` if the file is cached, otherwise `false`.
37
- */
38
- isFileCached(file: string): Promise<boolean>;
39
- /**
40
- * Gets the token of a file.
41
- * The token is used to identify the file in the cache.
42
- *
43
- * @public
44
- * @param file - The file for which to generate a token.
45
- * @returns The token of the file.
46
- */
47
- getFileToken(file: string): string;
48
- /**
49
- * Deletes a file from the cache.
50
- *
51
- * @public
52
- * @param token - The token of the file to delete.
53
- */
54
- deleteFile(token: string): void;
55
- }
56
- //# sourceMappingURL=IFileCache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IFileCache.d.ts","sourceRoot":"","sources":["../../../../src/IO/vNext/Interfaces/IFileCache.ts"],"names":[],"mappings":"AACA;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAI9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CAIrB;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IAIvB;;;;;;OAMG;IACH,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAErD;;;;;;;OAOG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAE7C;;;;;;;OAOG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAEnC;;;;;OAKG;IACH,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAInC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IFileCache.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IFileCache.js","sourceRoot":"","sources":["../../../../src/IO/vNext/Interfaces/IFileCache.ts"],"names":[],"mappings":""}
@@ -1,102 +0,0 @@
1
- import type { JSONObject } from '../../Json.js';
2
- import type { IResxEntry } from '../../Resx.js';
3
- /**
4
- * Interface for abstracting file system operations.
5
- *
6
- * @public
7
- */
8
- export interface IFileSystem {
9
- /**
10
- * Finds files matching a specified glob pattern.
11
- *
12
- * @public
13
- * @param pattern - The glob pattern to search for.
14
- * @returns An array of file paths matching the pattern.
15
- */
16
- glob(pattern: string | Array<string>): Array<string>;
17
- /**
18
- * Reads the content of a file as a string.
19
- *
20
- * @public
21
- * @param filePath - The absolute path to the file.
22
- * @returns The file's content as a string.
23
- */
24
- readAllText(filePath: string): string;
25
- /**
26
- * Writes the specified content to a file.
27
- * Creates the file if it doesn't exist, and overwrites if it does.
28
- *
29
- * @public
30
- * @param filePath - The absolute path to the file.
31
- * @param content - The content to write to the file.
32
- */
33
- writeAllText(filePath: string, content: string): void;
34
- /**
35
- * Reads all entries from a .resx file and parses them into an array.
36
- * Each entry contains a key, value, and optional comment.
37
- *
38
- * @public
39
- * @param filePath - The absolute path to the .resx file.
40
- * @returns An array of objects representing .resx entries.
41
- */
42
- readAllResx(filePath: string): Array<IResxEntry>;
43
- /**
44
- * Reads all JSON from a file.
45
- *
46
- * @public
47
- * @param filePath - The path to the file.
48
- * @returns The JSON content of the file.
49
- */
50
- readAllJson(filePath: string): JSONObject;
51
- /**
52
- * Retrieves the file name without its extension.
53
- *
54
- * @public
55
- * @param filePath - The absolute path to the file.
56
- * @returns The file name without the extension.
57
- */
58
- getFileNameWithoutExtension(filePath: string): string;
59
- /**
60
- * Retrieves the file name from a file path.
61
- *
62
- * @public
63
- * @param filePath - The absolute path to the file.
64
- * @returns The file name.
65
- */
66
- getFileName(filePath: string): string;
67
- /**
68
- * Extracts the locale from a file name, falling back to a default locale if none is found.
69
- *
70
- * @public
71
- * @param filePath - The absolute path to the file.
72
- * @param defaultLocale - The default locale to use if no locale is found.
73
- * @returns The locale extracted from the file name.
74
- */
75
- getLocale(filePath: string, defaultLocale?: string): string;
76
- /**
77
- * Checks if a file exists.
78
- *
79
- * @public
80
- * @param filePath - The path to the file.
81
- * @returns `true` if the file exists, or `false` otherwise
82
- */
83
- exists(filePath: string): boolean;
84
- /**
85
- * Checks if a file or directory exists and returns its type.
86
- *
87
- * @public
88
- * @param filePath - The path to the file.
89
- * @returns 'file' if it is a file, 'directory' if it is a directory, or 'unknown' if it does not exist or is neither.
90
- */
91
- isFileOrDirectory(inputPath: string): 'file' | 'directory' | 'unknown';
92
- /**
93
- * Changes the extension of a file path.
94
- *
95
- * @public
96
- * @param filePath - The file path to change.
97
- * @param extension - The new extension to use.
98
- * @returns The file path with the new extension.
99
- */
100
- changeExtension(filePath: string, extension: string): string;
101
- }
102
- //# sourceMappingURL=IFileSystem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IFileSystem.d.ts","sourceRoot":"","sources":["../../../../src/IO/vNext/Interfaces/IFileSystem.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAIxB;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAErD;;;;;;OAMG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAEtC;;;;;;;OAOG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtD;;;;;;;OAOG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC;IAE1C;;;;;;OAMG;IACH,2BAA2B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAEtD;;;;;;OAMG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAEtC;;;;;;;OAOG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE5D;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IAElC;;;;;;OAMG;IACH,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;IAEvE;;;;;;;OAOG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;CAIhE"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // #region Imports
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- //# sourceMappingURL=IFileSystem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IFileSystem.js","sourceRoot":"","sources":["../../../../src/IO/vNext/Interfaces/IFileSystem.ts"],"names":[],"mappings":";AAAA,kBAAkB"}
@@ -1,15 +0,0 @@
1
- import type { WriteFileOptions } from 'fs';
2
- /**
3
- * Interface defining the contract for tracking generated files.
4
- *
5
- * @public
6
- */
7
- export interface IFileTracker {
8
- loadPreviousManifest(): Promise<void>;
9
- addGeneratedFile(relativePath: string): void;
10
- cleanup(): Promise<void>;
11
- saveManifest(): Promise<void>;
12
- writeFile(relativePath: string, content: string, options?: WriteFileOptions): Promise<void>;
13
- trackFile(relativePath: string, writer: (absolutePath: string) => Promise<void>): Promise<void>;
14
- }
15
- //# sourceMappingURL=IFileTracker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IFileTracker.d.ts","sourceRoot":"","sources":["../../../../src/IO/vNext/Interfaces/IFileTracker.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,IAAI,CAAC;AAI3C;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5F,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnG"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
- // #region Imports
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- //# sourceMappingURL=IFileTracker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IFileTracker.js","sourceRoot":"","sources":["../../../../src/IO/vNext/Interfaces/IFileTracker.ts"],"names":[],"mappings":";AAAA,kBAAkB"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes