@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.
- package/CHANGELOG.md +1562 -0
- package/{IO → io}/Path.Test.js +0 -8
- package/{IO → io}/Path.Test.js.map +1 -1
- package/package.json +2 -2
- package/IO/PcfControlManifest.d.ts +0 -79
- package/IO/PcfControlManifest.d.ts.map +0 -1
- package/IO/PcfControlManifest.js +0 -103
- package/IO/PcfControlManifest.js.map +0 -1
- package/IO/vNext/FileCache.d.ts +0 -46
- package/IO/vNext/FileCache.d.ts.map +0 -1
- package/IO/vNext/FileCache.js +0 -94
- package/IO/vNext/FileCache.js.map +0 -1
- package/IO/vNext/FileSystem.d.ts +0 -107
- package/IO/vNext/FileSystem.d.ts.map +0 -1
- package/IO/vNext/FileSystem.js +0 -148
- package/IO/vNext/FileSystem.js.map +0 -1
- package/IO/vNext/FileTracker.d.ts +0 -73
- package/IO/vNext/FileTracker.d.ts.map +0 -1
- package/IO/vNext/FileTracker.js +0 -116
- package/IO/vNext/FileTracker.js.map +0 -1
- package/IO/vNext/Interfaces/IFileCache.d.ts +0 -56
- package/IO/vNext/Interfaces/IFileCache.d.ts.map +0 -1
- package/IO/vNext/Interfaces/IFileCache.js +0 -3
- package/IO/vNext/Interfaces/IFileCache.js.map +0 -1
- package/IO/vNext/Interfaces/IFileSystem.d.ts +0 -102
- package/IO/vNext/Interfaces/IFileSystem.d.ts.map +0 -1
- package/IO/vNext/Interfaces/IFileSystem.js +0 -4
- package/IO/vNext/Interfaces/IFileSystem.js.map +0 -1
- package/IO/vNext/Interfaces/IFileTracker.d.ts +0 -15
- package/IO/vNext/Interfaces/IFileTracker.d.ts.map +0 -1
- package/IO/vNext/Interfaces/IFileTracker.js +0 -4
- package/IO/vNext/Interfaces/IFileTracker.js.map +0 -1
- /package/{Cli → cli}/Program.d.ts +0 -0
- /package/{Cli → cli}/Program.d.ts.map +0 -0
- /package/{Cli → cli}/Program.js +0 -0
- /package/{Cli → cli}/Program.js.map +0 -0
- /package/{Cli → cli}/ProgramArgs.d.ts +0 -0
- /package/{Cli → cli}/ProgramArgs.d.ts.map +0 -0
- /package/{Cli → cli}/ProgramArgs.js +0 -0
- /package/{Cli → cli}/ProgramArgs.js.map +0 -0
- /package/{Cli → cli}/ProgramCommandResult.d.ts +0 -0
- /package/{Cli → cli}/ProgramCommandResult.d.ts.map +0 -0
- /package/{Cli → cli}/ProgramCommandResult.js +0 -0
- /package/{Cli → cli}/ProgramCommandResult.js.map +0 -0
- /package/{Cli → cli}/ProgramCommands.d.ts +0 -0
- /package/{Cli → cli}/ProgramCommands.d.ts.map +0 -0
- /package/{Cli → cli}/ProgramCommands.js +0 -0
- /package/{Cli → cli}/ProgramCommands.js.map +0 -0
- /package/{Cli → cli}/ProgramConfig.d.ts +0 -0
- /package/{Cli → cli}/ProgramConfig.d.ts.map +0 -0
- /package/{Cli → cli}/ProgramConfig.js +0 -0
- /package/{Cli → cli}/ProgramConfig.js.map +0 -0
- /package/{Cli → cli}/ProgramDoneFn.d.ts +0 -0
- /package/{Cli → cli}/ProgramDoneFn.d.ts.map +0 -0
- /package/{Cli → cli}/ProgramDoneFn.js +0 -0
- /package/{Cli → cli}/ProgramDoneFn.js.map +0 -0
- /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.d.ts +0 -0
- /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.d.ts.map +0 -0
- /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.js +0 -0
- /package/{Cli/Abstracts → cli/abstracts}/ProgramCommandBase.js.map +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramBuilder.d.ts +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramBuilder.d.ts.map +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramBuilder.js +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramBuilder.js.map +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.d.ts +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.d.ts.map +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.js +0 -0
- /package/{Cli/Builders → cli/builders}/ProgramCommandBuilder.js.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.d.ts +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.d.ts.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.js +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArg.js.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.d.ts +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.d.ts.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.js +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgOptions.js.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.d.ts +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.d.ts.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.js +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramArgs.js.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.d.ts +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.d.ts.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.js +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommand.js.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.d.ts +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.d.ts.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.js +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramCommands.js.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.d.ts +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.d.ts.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.js +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramConfig.js.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.d.ts +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.d.ts.map +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.js +0 -0
- /package/{Cli/Interfaces → cli/interfaces}/IProgramInit.js.map +0 -0
- /package/{Compiler → compiler}/TypeScript.d.ts +0 -0
- /package/{Compiler → compiler}/TypeScript.d.ts.map +0 -0
- /package/{Compiler → compiler}/TypeScript.js +0 -0
- /package/{Compiler → compiler}/TypeScript.js.map +0 -0
- /package/{Decorators → decorators}/EnumerableDecorator.d.ts +0 -0
- /package/{Decorators → decorators}/EnumerableDecorator.d.ts.map +0 -0
- /package/{Decorators → decorators}/EnumerableDecorator.js +0 -0
- /package/{Decorators → decorators}/EnumerableDecorator.js.map +0 -0
- /package/{DI → di}/Container.d.ts +0 -0
- /package/{DI → di}/Container.d.ts.map +0 -0
- /package/{DI → di}/Container.js +0 -0
- /package/{DI → di}/Container.js.map +0 -0
- /package/{DI → di}/Inject.d.ts +0 -0
- /package/{DI → di}/Inject.d.ts.map +0 -0
- /package/{DI → di}/Inject.js +0 -0
- /package/{DI → di}/Inject.js.map +0 -0
- /package/{Events → events}/AsyncEventEmitter.d.ts +0 -0
- /package/{Events → events}/AsyncEventEmitter.d.ts.map +0 -0
- /package/{Events → events}/AsyncEventEmitter.js +0 -0
- /package/{Events → events}/AsyncEventEmitter.js.map +0 -0
- /package/{Index.d.ts → index.d.ts} +0 -0
- /package/{Index.d.ts.map → index.d.ts.map} +0 -0
- /package/{Index.js → index.js} +0 -0
- /package/{Index.js.map → index.js.map} +0 -0
- /package/{Intl → intl}/Languages.d.ts +0 -0
- /package/{Intl → intl}/Languages.d.ts.map +0 -0
- /package/{Intl → intl}/Languages.js +0 -0
- /package/{Intl → intl}/Languages.js.map +0 -0
- /package/{IO → io}/CustomElementManifest.d.ts +0 -0
- /package/{IO → io}/CustomElementManifest.d.ts.map +0 -0
- /package/{IO → io}/CustomElementManifest.js +0 -0
- /package/{IO → io}/CustomElementManifest.js.map +0 -0
- /package/{IO → io}/Directory.d.ts +0 -0
- /package/{IO → io}/Directory.d.ts.map +0 -0
- /package/{IO → io}/Directory.js +0 -0
- /package/{IO → io}/Directory.js.map +0 -0
- /package/{IO → io}/Encoding.d.ts +0 -0
- /package/{IO → io}/Encoding.d.ts.map +0 -0
- /package/{IO → io}/Encoding.js +0 -0
- /package/{IO → io}/Encoding.js.map +0 -0
- /package/{IO → io}/File.d.ts +0 -0
- /package/{IO → io}/File.d.ts.map +0 -0
- /package/{IO → io}/File.js +0 -0
- /package/{IO → io}/File.js.map +0 -0
- /package/{IO → io}/FileCache.d.ts +0 -0
- /package/{IO → io}/FileCache.d.ts.map +0 -0
- /package/{IO → io}/FileCache.js +0 -0
- /package/{IO → io}/FileCache.js.map +0 -0
- /package/{IO → io}/FileLockfile.d.ts +0 -0
- /package/{IO → io}/FileLockfile.d.ts.map +0 -0
- /package/{IO → io}/FileLockfile.js +0 -0
- /package/{IO → io}/FileLockfile.js.map +0 -0
- /package/{IO → io}/FileManifest.d.ts +0 -0
- /package/{IO → io}/FileManifest.d.ts.map +0 -0
- /package/{IO → io}/FileManifest.js +0 -0
- /package/{IO → io}/FileManifest.js.map +0 -0
- /package/{IO → io}/FileSystem.d.ts +0 -0
- /package/{IO → io}/FileSystem.d.ts.map +0 -0
- /package/{IO → io}/FileSystem.js +0 -0
- /package/{IO → io}/FileSystem.js.map +0 -0
- /package/{IO → io}/FileSystemInfo.d.ts +0 -0
- /package/{IO → io}/FileSystemInfo.d.ts.map +0 -0
- /package/{IO → io}/FileSystemInfo.js +0 -0
- /package/{IO → io}/FileSystemInfo.js.map +0 -0
- /package/{IO → io}/FileSystemWatcher.d.ts +0 -0
- /package/{IO → io}/FileSystemWatcher.d.ts.map +0 -0
- /package/{IO → io}/FileSystemWatcher.js +0 -0
- /package/{IO → io}/FileSystemWatcher.js.map +0 -0
- /package/{IO → io}/FileTracker.d.ts +0 -0
- /package/{IO → io}/FileTracker.d.ts.map +0 -0
- /package/{IO → io}/FileTracker.js +0 -0
- /package/{IO → io}/FileTracker.js.map +0 -0
- /package/{IO → io}/Glob.d.ts +0 -0
- /package/{IO → io}/Glob.d.ts.map +0 -0
- /package/{IO → io}/Glob.js +0 -0
- /package/{IO → io}/Glob.js.map +0 -0
- /package/{IO → io}/Json.d.ts +0 -0
- /package/{IO → io}/Json.d.ts.map +0 -0
- /package/{IO → io}/Json.js +0 -0
- /package/{IO → io}/Json.js.map +0 -0
- /package/{IO → io}/Path.Test.d.ts +0 -0
- /package/{IO → io}/Path.Test.d.ts.map +0 -0
- /package/{IO → io}/Path.d.ts +0 -0
- /package/{IO → io}/Path.d.ts.map +0 -0
- /package/{IO → io}/Path.js +0 -0
- /package/{IO → io}/Path.js.map +0 -0
- /package/{IO → io}/Po.d.ts +0 -0
- /package/{IO → io}/Po.d.ts.map +0 -0
- /package/{IO → io}/Po.js +0 -0
- /package/{IO → io}/Po.js.map +0 -0
- /package/{IO → io}/Resx.d.ts +0 -0
- /package/{IO → io}/Resx.d.ts.map +0 -0
- /package/{IO → io}/Resx.js +0 -0
- /package/{IO → io}/Resx.js.map +0 -0
- /package/{IO → io}/SymbolicLink.d.ts +0 -0
- /package/{IO → io}/SymbolicLink.d.ts.map +0 -0
- /package/{IO → io}/SymbolicLink.js +0 -0
- /package/{IO → io}/SymbolicLink.js.map +0 -0
- /package/{IO → io}/Template.d.ts +0 -0
- /package/{IO → io}/Template.d.ts.map +0 -0
- /package/{IO → io}/Template.js +0 -0
- /package/{IO → io}/Template.js.map +0 -0
- /package/{IO → io}/TemporaryDirectory.d.ts +0 -0
- /package/{IO → io}/TemporaryDirectory.d.ts.map +0 -0
- /package/{IO → io}/TemporaryDirectory.js +0 -0
- /package/{IO → io}/TemporaryDirectory.js.map +0 -0
- /package/{IO → io}/TemporaryFile.d.ts +0 -0
- /package/{IO → io}/TemporaryFile.d.ts.map +0 -0
- /package/{IO → io}/TemporaryFile.js +0 -0
- /package/{IO → io}/TemporaryFile.js.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IDirectory.d.ts +0 -0
- /package/{IO/Interfaces → io/interfaces}/IDirectory.d.ts.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IDirectory.js +0 -0
- /package/{IO/Interfaces → io/interfaces}/IDirectory.js.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFile.d.ts +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFile.d.ts.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFile.js +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFile.js.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileCache.d.ts +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileCache.d.ts.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileCache.js +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileCache.js.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileSystem.d.ts +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileSystem.d.ts.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileSystem.js +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileSystem.js.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileTracker.d.ts +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileTracker.d.ts.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileTracker.js +0 -0
- /package/{IO/Interfaces → io/interfaces}/IFileTracker.js.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IPath.d.ts +0 -0
- /package/{IO/Interfaces → io/interfaces}/IPath.d.ts.map +0 -0
- /package/{IO/Interfaces → io/interfaces}/IPath.js +0 -0
- /package/{IO/Interfaces → io/interfaces}/IPath.js.map +0 -0
- /package/{IO/Reader → io/reader}/TextFileReader.d.ts +0 -0
- /package/{IO/Reader → io/reader}/TextFileReader.d.ts.map +0 -0
- /package/{IO/Reader → io/reader}/TextFileReader.js +0 -0
- /package/{IO/Reader → io/reader}/TextFileReader.js.map +0 -0
- /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.d.ts +0 -0
- /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.d.ts.map +0 -0
- /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.js +0 -0
- /package/{IO/Reader/Interfaces → io/reader/interfaces}/IFileReader.js.map +0 -0
- /package/{IO/Writer → io/writer}/TextFileWriter.d.ts +0 -0
- /package/{IO/Writer → io/writer}/TextFileWriter.d.ts.map +0 -0
- /package/{IO/Writer → io/writer}/TextFileWriter.js +0 -0
- /package/{IO/Writer → io/writer}/TextFileWriter.js.map +0 -0
- /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.d.ts +0 -0
- /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.d.ts.map +0 -0
- /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.js +0 -0
- /package/{IO/Writer/Interfaces → io/writer/interfaces}/IFileWriter.js.map +0 -0
- /package/{Logging → logging}/LogLevel.d.ts +0 -0
- /package/{Logging → logging}/LogLevel.d.ts.map +0 -0
- /package/{Logging → logging}/LogLevel.js +0 -0
- /package/{Logging → logging}/LogLevel.js.map +0 -0
- /package/{Logging → logging}/Logger.d.ts +0 -0
- /package/{Logging → logging}/Logger.d.ts.map +0 -0
- /package/{Logging → logging}/Logger.js +0 -0
- /package/{Logging → logging}/Logger.js.map +0 -0
- /package/{Logging → logging}/LoggerConfig.d.ts +0 -0
- /package/{Logging → logging}/LoggerConfig.d.ts.map +0 -0
- /package/{Logging → logging}/LoggerConfig.js +0 -0
- /package/{Logging → logging}/LoggerConfig.js.map +0 -0
- /package/{Logging → logging}/LoggerScope.d.ts +0 -0
- /package/{Logging → logging}/LoggerScope.d.ts.map +0 -0
- /package/{Logging → logging}/LoggerScope.js +0 -0
- /package/{Logging → logging}/LoggerScope.js.map +0 -0
- /package/{Logging → logging}/LoggerSuppressor.d.ts +0 -0
- /package/{Logging → logging}/LoggerSuppressor.d.ts.map +0 -0
- /package/{Logging → logging}/LoggerSuppressor.js +0 -0
- /package/{Logging → logging}/LoggerSuppressor.js.map +0 -0
- /package/{Logging → logging}/LoggerUtils.Test.d.ts +0 -0
- /package/{Logging → logging}/LoggerUtils.Test.d.ts.map +0 -0
- /package/{Logging → logging}/LoggerUtils.Test.js +0 -0
- /package/{Logging → logging}/LoggerUtils.Test.js.map +0 -0
- /package/{Logging → logging}/LoggerUtils.d.ts +0 -0
- /package/{Logging → logging}/LoggerUtils.d.ts.map +0 -0
- /package/{Logging → logging}/LoggerUtils.js +0 -0
- /package/{Logging → logging}/LoggerUtils.js.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.d.ts +0 -0
- /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.d.ts.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.js +0 -0
- /package/{Logging/Appenders → logging/appenders}/LogLevelAppender.js.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/MessageAppender.d.ts +0 -0
- /package/{Logging/Appenders → logging/appenders}/MessageAppender.d.ts.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/MessageAppender.js +0 -0
- /package/{Logging/Appenders → logging/appenders}/MessageAppender.js.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/TagAppender.d.ts +0 -0
- /package/{Logging/Appenders → logging/appenders}/TagAppender.d.ts.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/TagAppender.js +0 -0
- /package/{Logging/Appenders → logging/appenders}/TagAppender.js.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.d.ts +0 -0
- /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.d.ts.map +0 -0
- /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.js +0 -0
- /package/{Logging/Appenders → logging/appenders}/TimeStampAppender.js.map +0 -0
- /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.d.ts +0 -0
- /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.d.ts.map +0 -0
- /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.js +0 -0
- /package/{Logging/Appenders/Abstracts → logging/appenders/abstracts}/Appender.js.map +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.d.ts +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.d.ts.map +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.js +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppender.js.map +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.d.ts +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.d.ts.map +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.js +0 -0
- /package/{Logging/Appenders/Interfaces → logging/appenders/interfaces}/IAppenderConfig.js.map +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.d.ts +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.d.ts.map +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.js +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/AppenderTerminalColors.js.map +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.d.ts +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.d.ts.map +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.js +0 -0
- /package/{Logging/Appenders/Styles → logging/appenders/styles}/LogLevelAppenderStyle.js.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.d.ts +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.d.ts.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.js +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogEntry.js.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.d.ts +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.d.ts.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.js +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILogOptions.js.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.d.ts +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.d.ts.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.js +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScope.js.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.d.ts +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.d.ts.map +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.js +0 -0
- /package/{Logging/Interfaces → logging/interfaces}/ILoggerScopeConfig.js.map +0 -0
- /package/{Logging/vNext → logging/vnext}/ConsoleLogger.d.ts +0 -0
- /package/{Logging/vNext → logging/vnext}/ConsoleLogger.d.ts.map +0 -0
- /package/{Logging/vNext → logging/vnext}/ConsoleLogger.js +0 -0
- /package/{Logging/vNext → logging/vnext}/ConsoleLogger.js.map +0 -0
- /package/{Logging/vNext → logging/vnext}/LoggerExtensions.d.ts +0 -0
- /package/{Logging/vNext → logging/vnext}/LoggerExtensions.d.ts.map +0 -0
- /package/{Logging/vNext → logging/vnext}/LoggerExtensions.js +0 -0
- /package/{Logging/vNext → logging/vnext}/LoggerExtensions.js.map +0 -0
- /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.d.ts +0 -0
- /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.d.ts.map +0 -0
- /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.js +0 -0
- /package/{Logging/vNext/Interfaces → logging/vnext/interfaces}/ILogger.js.map +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.d.ts +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.d.ts.map +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.js +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/Style.js.map +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.d.ts +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.d.ts.map +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.js +0 -0
- /package/{Logging/vNext/Styles → logging/vnext/styles}/StyleDirectives.js.map +0 -0
- /package/{System → system}/Args.d.ts +0 -0
- /package/{System → system}/Args.d.ts.map +0 -0
- /package/{System → system}/Args.js +0 -0
- /package/{System → system}/Args.js.map +0 -0
- /package/{System → system}/Array.d.ts +0 -0
- /package/{System → system}/Array.d.ts.map +0 -0
- /package/{System → system}/Array.js +0 -0
- /package/{System → system}/Array.js.map +0 -0
- /package/{System → system}/Assign.d.ts +0 -0
- /package/{System → system}/Assign.d.ts.map +0 -0
- /package/{System → system}/Assign.js +0 -0
- /package/{System → system}/Assign.js.map +0 -0
- /package/{System → system}/Boolean.d.ts +0 -0
- /package/{System → system}/Boolean.d.ts.map +0 -0
- /package/{System → system}/Boolean.js +0 -0
- /package/{System → system}/Boolean.js.map +0 -0
- /package/{System → system}/Error.d.ts +0 -0
- /package/{System → system}/Error.d.ts.map +0 -0
- /package/{System → system}/Error.js +0 -0
- /package/{System → system}/Error.js.map +0 -0
- /package/{System → system}/Errors.d.ts +0 -0
- /package/{System → system}/Errors.d.ts.map +0 -0
- /package/{System → system}/Errors.js +0 -0
- /package/{System → system}/Errors.js.map +0 -0
- /package/{System → system}/Formatter.d.ts +0 -0
- /package/{System → system}/Formatter.d.ts.map +0 -0
- /package/{System → system}/Formatter.js +0 -0
- /package/{System → system}/Formatter.js.map +0 -0
- /package/{System → system}/Guard.d.ts +0 -0
- /package/{System → system}/Guard.d.ts.map +0 -0
- /package/{System → system}/Guard.js +0 -0
- /package/{System → system}/Guard.js.map +0 -0
- /package/{System → system}/List.d.ts +0 -0
- /package/{System → system}/List.d.ts.map +0 -0
- /package/{System → system}/List.js +0 -0
- /package/{System → system}/List.js.map +0 -0
- /package/{System → system}/Number.d.ts +0 -0
- /package/{System → system}/Number.d.ts.map +0 -0
- /package/{System → system}/Number.js +0 -0
- /package/{System → system}/Number.js.map +0 -0
- /package/{System → system}/Process.d.ts +0 -0
- /package/{System → system}/Process.d.ts.map +0 -0
- /package/{System → system}/Process.js +0 -0
- /package/{System → system}/Process.js.map +0 -0
- /package/{System → system}/Require.d.ts +0 -0
- /package/{System → system}/Require.d.ts.map +0 -0
- /package/{System → system}/Require.js +0 -0
- /package/{System → system}/Require.js.map +0 -0
- /package/{System → system}/Stopwatch.d.ts +0 -0
- /package/{System → system}/Stopwatch.d.ts.map +0 -0
- /package/{System → system}/Stopwatch.js +0 -0
- /package/{System → system}/Stopwatch.js.map +0 -0
- /package/{System → system}/String.d.ts +0 -0
- /package/{System → system}/String.d.ts.map +0 -0
- /package/{System → system}/String.js +0 -0
- /package/{System → system}/String.js.map +0 -0
- /package/{System → system}/Time.d.ts +0 -0
- /package/{System → system}/Time.d.ts.map +0 -0
- /package/{System → system}/Time.js +0 -0
- /package/{System → system}/Time.js.map +0 -0
- /package/{System → system}/Version.d.ts +0 -0
- /package/{System → system}/Version.d.ts.map +0 -0
- /package/{System → system}/Version.js +0 -0
- /package/{System → system}/Version.js.map +0 -0
- /package/{System/Interfaces → system/interfaces}/IType.d.ts +0 -0
- /package/{System/Interfaces → system/interfaces}/IType.d.ts.map +0 -0
- /package/{System/Interfaces → system/interfaces}/IType.js +0 -0
- /package/{System/Interfaces → system/interfaces}/IType.js.map +0 -0
- /package/{System/Interfaces → system/interfaces}/IUnknown.d.ts +0 -0
- /package/{System/Interfaces → system/interfaces}/IUnknown.d.ts.map +0 -0
- /package/{System/Interfaces → system/interfaces}/IUnknown.js +0 -0
- /package/{System/Interfaces → system/interfaces}/IUnknown.js.map +0 -0
- /package/{Terminal → terminal}/Terminal.d.ts +0 -0
- /package/{Terminal → terminal}/Terminal.d.ts.map +0 -0
- /package/{Terminal → terminal}/Terminal.js +0 -0
- /package/{Terminal → terminal}/Terminal.js.map +0 -0
- /package/{Terminal → terminal}/TerminalColorType.d.ts +0 -0
- /package/{Terminal → terminal}/TerminalColorType.d.ts.map +0 -0
- /package/{Terminal → terminal}/TerminalColorType.js +0 -0
- /package/{Terminal → terminal}/TerminalColorType.js.map +0 -0
- /package/{Terminal → terminal}/TerminalColors.d.ts +0 -0
- /package/{Terminal → terminal}/TerminalColors.d.ts.map +0 -0
- /package/{Terminal → terminal}/TerminalColors.js +0 -0
- /package/{Terminal → terminal}/TerminalColors.js.map +0 -0
- /package/{Terminal → terminal}/TerminalSymbolType.d.ts +0 -0
- /package/{Terminal → terminal}/TerminalSymbolType.d.ts.map +0 -0
- /package/{Terminal → terminal}/TerminalSymbolType.js +0 -0
- /package/{Terminal → terminal}/TerminalSymbolType.js.map +0 -0
- /package/{Terminal → terminal}/TerminalSymbols.d.ts +0 -0
- /package/{Terminal → terminal}/TerminalSymbols.d.ts.map +0 -0
- /package/{Terminal → terminal}/TerminalSymbols.js +0 -0
- /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"}
|
package/IO/vNext/FileTracker.js
DELETED
|
@@ -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 +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 +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 +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
|
/package/{Cli → cli}/Program.js
RENAMED
|
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
|
|
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
|
/package/{DI → di}/Container.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/{DI → di}/Inject.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/{DI → di}/Inject.js
RENAMED
|
File without changes
|
/package/{DI → di}/Inject.js.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|