From e8f7256612b316d443a0e15ec7ce8f2667854e26 Mon Sep 17 00:00:00 2001 From: cookie777 <@gmail.com> Date: Tue, 14 Feb 2023 18:29:47 -0800 Subject: [PATCH 1/3] fix typo of PluginizedDependencyGraphExporter.swift --- .../Pluginized/PluginizedDependencyGraphExporter.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Generator/Sources/NeedleFramework/Generating/Pluginized/PluginizedDependencyGraphExporter.swift b/Generator/Sources/NeedleFramework/Generating/Pluginized/PluginizedDependencyGraphExporter.swift index 104c8ba..876b740 100644 --- a/Generator/Sources/NeedleFramework/Generating/Pluginized/PluginizedDependencyGraphExporter.swift +++ b/Generator/Sources/NeedleFramework/Generating/Pluginized/PluginizedDependencyGraphExporter.swift @@ -19,7 +19,7 @@ import Foundation import SourceParsingFramework /// The generation phase entry class that executes tasks to process dependency -/// graph components, inlcuding pluginized and non-core ones, into necessary +/// graph components, including pluginized and non-core ones, into necessary /// dependency providers and their registrations, then exports the contents to /// the destination path. class PluginizedDependencyGraphExporter { @@ -28,10 +28,10 @@ class PluginizedDependencyGraphExporter { /// code for the given components and pluginized components, and export /// the source code to the given destination path. /// - /// - parameter components: Array of Components to generate dependnecy + /// - parameter components: Array of Components to generate dependency /// providers for /// - parameter pluginizedComponents: Array of pluginized components to - /// generate plugin extensions and dependnecy providers for. + /// generate plugin extensions and dependency providers for. /// - parameter imports: The import statements. /// - parameter path: Path to file where we want the results written to. /// - parameter executor: The executor to use for concurrent computation of From a5224ddfa1db90634ea0dbf172797474882beaa4 Mon Sep 17 00:00:00 2001 From: cookie777 <@gmail.com> Date: Tue, 14 Feb 2023 18:30:02 -0800 Subject: [PATCH 2/3] fix typo of Component.swift --- Sources/NeedleFoundation/Component.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/NeedleFoundation/Component.swift b/Sources/NeedleFoundation/Component.swift index 075fe2a..1dc1128 100644 --- a/Sources/NeedleFoundation/Component.swift +++ b/Sources/NeedleFoundation/Component.swift @@ -30,7 +30,7 @@ public protocol Registration { /// directly. /// @CreateMock public protocol Scope: AnyObject { - /// The path to reach this component on the dependnecy graph. + /// The path to reach this component on the dependency graph. var path: [String] { get } /// The parent of this component. @@ -83,7 +83,7 @@ open class Component: Scope { /// The parent of this component. public let parent: Scope - /// The path to reach this scope on the dependnecy graph. + /// The path to reach this scope on the dependency graph. // Use `lazy var` to avoid computing the path repeatedly. Internally, // this is always accessed with the `__DependencyProviderRegistry`'s lock // acquired. @@ -207,7 +207,7 @@ open class Component: Scope { /// The parent of this component. public let parent: Scope - /// The path to reach this scope on the dependnecy graph. + /// The path to reach this scope on the dependency graph. // Use `lazy var` to avoid computing the path repeatedly. Internally, // this is always accessed with the `__DependencyProviderRegistry`'s lock // acquired. From 981632acf506747cc6a6223eff83ee2f37fd9e75 Mon Sep 17 00:00:00 2001 From: cookie777 <@gmail.com> Date: Tue, 14 Feb 2023 18:30:12 -0800 Subject: [PATCH 3/3] fix typo of Bootstrap.swift --- Sources/NeedleFoundation/Bootstrap.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/NeedleFoundation/Bootstrap.swift b/Sources/NeedleFoundation/Bootstrap.swift index cdf50a1..331d179 100644 --- a/Sources/NeedleFoundation/Bootstrap.swift +++ b/Sources/NeedleFoundation/Bootstrap.swift @@ -17,7 +17,7 @@ import Foundation /// An empty protocol that can be used for any components that require no -/// dependencies. This can be used as the dependnecy protocol of the root +/// dependencies. This can be used as the dependency protocol of the root /// component of a dependency graph. public protocol EmptyDependency: AnyObject {} @@ -31,7 +31,7 @@ public class EmptyDependencyProvider: EmptyDependency { public init(component: Scope) {} } -/// The base implementation of a component thet represents the root of +/// The base implementation of a component that represents the root of /// a dependency graph. A subclass defining the root scope should /// inherit from this class instead of the generic `Component` class. ///