yk_command 0.6.2 → 0.6.5

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 (177) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.idea/inspectionProfiles/Project_Default.xml +6 -0
  4. data/.idea/sonarlint/issuestore/index.pb +39 -33
  5. data/.idea/vcs.xml +2 -0
  6. data/.idea/yk_command.iml +58 -65
  7. data/.ruby-version +1 -1
  8. data/Gemfile +6 -3
  9. data/Gemfile.lock +11 -26
  10. data/debugProject/.DS_Store +0 -0
  11. data/lib/.DS_Store +0 -0
  12. data/lib/yk_command/.DS_Store +0 -0
  13. data/lib/yk_command/commands.rb +38 -20
  14. data/lib/yk_command/config/yk_config.rb +6 -7
  15. data/lib/yk_command/module/.DS_Store +0 -0
  16. data/lib/yk_command/module/module_handler.rb +48 -69
  17. data/lib/yk_command/module/template/.DS_Store +0 -0
  18. data/lib/yk_command/module/template/objc/.DS_Store +0 -0
  19. data/{.idea/sonarlint/issuestore/2/2/2264693887a1513e6c4ed16a6231e00d3045ec4e → lib/yk_command/module/template/objc/BusinessHeader.h} +0 -0
  20. data/lib/yk_command/module/template/objc/CategoryHeader.h +0 -2
  21. data/lib/yk_command/module/template/objc/Helper.h +16 -0
  22. data/lib/yk_command/module/template/objc/Helper.m +41 -0
  23. data/lib/yk_command/module/template/objc/RouterRegister.m +8 -15
  24. data/lib/yk_command/module/template/objc/ServiceRegister.m +4 -8
  25. data/lib/yk_command/module/template/swift/.DS_Store +0 -0
  26. data/lib/yk_command/module/template/swift/PrefixHeader_swift.swift +10 -0
  27. data/lib/yk_command/module/template/swift/RouterRegisterSwift.swift +23 -0
  28. data/lib/yk_command/module/template/swift/ServiceRegisterSwift.swift +20 -0
  29. data/lib/yk_command/module/template/swift/Tool.swift +53 -0
  30. data/lib/yk_command/module/yk_module.rb +2 -2
  31. data/lib/yk_command/project/.DS_Store +0 -0
  32. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/.gitignore +0 -0
  33. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/.travis.yml +0 -0
  34. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/CODE_OF_CONDUCT.md +0 -0
  35. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/LICENSE +0 -0
  36. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/NAME-osx.podspec +0 -0
  37. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/NAME.podspec +15 -15
  38. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/POD_LICENSE +0 -0
  39. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/POD_README.md +0 -0
  40. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/Pod/Assets/.gitkeep +0 -0
  41. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/Pod/Classes/.gitkeep +0 -0
  42. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/README.md +0 -0
  43. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/configure +0 -0
  44. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard +0 -0
  45. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
  46. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.h +0 -0
  47. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.m +0 -0
  48. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/CPDViewController.h +0 -0
  49. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.m +47 -0
  50. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
  51. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Info.plist +0 -0
  52. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Prefix.pch +0 -0
  53. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings +0 -0
  54. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/main.m +0 -0
  55. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
  56. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  57. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  58. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
  59. data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/Podfile +34 -0
  60. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/Tests-Info.plist +0 -0
  61. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/Tests-Prefix.pch +0 -0
  62. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/Tests.m +0 -0
  63. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/en.lproj/InfoPlist.strings +0 -0
  64. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/AppDelegate.swift +0 -0
  65. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
  66. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
  67. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/Info.plist +0 -0
  68. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/PROJECT.entitlements +0 -0
  69. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/ViewController.swift +0 -0
  70. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
  71. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  72. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
  73. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/Podfile +0 -0
  74. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/Tests/Info.plist +0 -0
  75. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/Tests/Tests.swift +0 -0
  76. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/AppDelegate.swift +0 -0
  77. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib +0 -0
  78. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
  79. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Example-Bridging-Header.h +4 -0
  80. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
  81. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Info.plist +0 -0
  82. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/STTestAppDelegate.swift +16 -0
  83. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Tests-Bridging-Header.h +4 -0
  84. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/ViewController.swift +51 -0
  85. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/YKEmptyOcFile.m +9 -0
  86. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj +41 -20
  87. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  88. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  89. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
  90. data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/Podfile +35 -0
  91. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/Tests/Info.plist +0 -0
  92. data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/Tests/Tests.swift +0 -0
  93. data/lib/yk_command/project/setup/ConfigureMacOSSwift.rb +1 -1
  94. data/lib/yk_command/project/setup/ConfigureiOS.rb +1 -2
  95. data/lib/yk_command/project/setup/TemplateConfigurator.rb +4 -4
  96. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/.gitignore +0 -0
  97. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/.travis.yml +0 -0
  98. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/CODE_OF_CONDUCT.md +0 -0
  99. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/LICENSE +0 -0
  100. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/NAME-osx.podspec +0 -0
  101. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/NAME.podspec +1 -1
  102. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/POD_LICENSE +0 -0
  103. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/POD_README.md +0 -0
  104. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/Pod/Assets/.gitkeep +0 -0
  105. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/Pod/Classes/.gitkeep +0 -0
  106. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/README.md +0 -0
  107. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/configure +0 -0
  108. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard +0 -0
  109. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
  110. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.h +0 -0
  111. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.m +0 -0
  112. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDViewController.h +0 -0
  113. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDViewController.m +0 -0
  114. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
  115. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Info.plist +0 -0
  116. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Prefix.pch +0 -0
  117. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings +0 -0
  118. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/main.m +0 -0
  119. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
  120. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  121. data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  122. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
  123. data/lib/yk_command/project/{YKProjectTemplate → simple_component_demo_template}/templates/ios/Example/Podfile +0 -0
  124. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/Tests-Info.plist +0 -0
  125. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/Tests-Prefix.pch +0 -0
  126. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/Tests.m +0 -0
  127. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/en.lproj/InfoPlist.strings +0 -0
  128. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/AppDelegate.swift +0 -0
  129. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
  130. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
  131. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/Info.plist +0 -0
  132. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/PROJECT.entitlements +0 -0
  133. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/ViewController.swift +0 -0
  134. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
  135. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  136. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
  137. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/Podfile +0 -0
  138. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/Tests/Info.plist +0 -0
  139. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/Tests/Tests.swift +0 -0
  140. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/AppDelegate.swift +0 -0
  141. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib +0 -0
  142. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard +19 -2
  143. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/EmptyOcFile.m +9 -0
  144. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
  145. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Info.plist +0 -0
  146. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Example-Bridging-Header.h +4 -0
  147. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Tests-Bridging-Header.h +4 -0
  148. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/ViewController.swift +3 -1
  149. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj +41 -20
  150. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  151. data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  152. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
  153. data/lib/yk_command/project/{YKProjectTemplate → simple_component_demo_template}/templates/swift/Example/Podfile +0 -0
  154. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/Tests/Info.plist +0 -0
  155. data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/Tests/Tests.swift +0 -0
  156. data/lib/yk_command/project/yk_project.rb +7 -2
  157. data/lib/yk_command/version.rb +1 -1
  158. metadata +141 -129
  159. data/.idea/sonarlint/issuestore/2/4/2461a61a84d866812e64ff95d40bd7836fb136ea +0 -0
  160. data/.idea/sonarlint/issuestore/2/e/2e113f2d3dc9bee6a98073d85966fbd9773c044f +0 -0
  161. data/.idea/sonarlint/issuestore/7/1/71fc201a1096db97453882ad1da5120a71f77bb5 +0 -0
  162. data/.idea/sonarlint/issuestore/7/e/7ed8a0c3d2507e911337de44fdef07f89e35091a +0 -0
  163. data/.idea/sonarlint/issuestore/9/5/95a45210972238034e9fed522811176fe20117d3 +0 -0
  164. data/.idea/sonarlint/issuestore/9/7/97c2c9c7adeb7fa2e6ffbf07cba2418868ac9739 +0 -0
  165. data/.idea/sonarlint/issuestore/a/d/ad7bffefc6248a8f673a10e668a82bdbbe38a3e3 +0 -0
  166. data/.idea/sonarlint/issuestore/e/5/e5580d669a0c327c5b0897ba7dd8465a3d4db45a +0 -0
  167. data/lib/yk_command/module/template/objc/RouterDefine.h +0 -14
  168. data/lib/yk_command/module/template/objc/ServiceProtocol.h +0 -15
  169. data/lib/yk_command/module/template/objc/demo/DemoViewController.h +0 -17
  170. data/lib/yk_command/module/template/objc/demo/DemoViewController.m +0 -28
  171. data/lib/yk_command/module/template/objc/demo/DemoViewModel.h +0 -14
  172. data/lib/yk_command/module/template/objc/demo/DemoViewModel.m +0 -19
  173. data/lib/yk_command/module/template/swift/RouterDefine.swift +0 -28
  174. data/lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDViewController.m +0 -60
  175. data/lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/ViewController.swift +0 -37
  176. data/lib/yk_command/project/simple_project_template/templates/ios/Example/Podfile +0 -19
  177. data/lib/yk_command/project/simple_project_template/templates/swift/Example/Podfile +0 -20
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yk_command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Major Tom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-23 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -230,33 +230,26 @@ executables:
230
230
  extensions: []
231
231
  extra_rdoc_files: []
232
232
  files:
233
+ - ".DS_Store"
233
234
  - ".YKPodSpecConfig.yml"
234
235
  - ".idea/.gitignore"
236
+ - ".idea/inspectionProfiles/Project_Default.xml"
235
237
  - ".idea/misc.xml"
236
238
  - ".idea/modules.xml"
237
239
  - ".idea/sonarlint/issuestore/0/d/0d7a5f844cb7a763c4b02c8788a45a497537e9d4"
238
240
  - ".idea/sonarlint/issuestore/1/9/19beed89439e4bbf29ca633ebffb0979a334a05d"
239
- - ".idea/sonarlint/issuestore/2/2/2264693887a1513e6c4ed16a6231e00d3045ec4e"
240
- - ".idea/sonarlint/issuestore/2/4/2461a61a84d866812e64ff95d40bd7836fb136ea"
241
- - ".idea/sonarlint/issuestore/2/e/2e113f2d3dc9bee6a98073d85966fbd9773c044f"
242
241
  - ".idea/sonarlint/issuestore/3/4/3423fb39097dbf652818678b749434eb36867bdf"
243
242
  - ".idea/sonarlint/issuestore/4/4/44b7fa1ba50397e71d88bd69389f1ec917165cfb"
244
243
  - ".idea/sonarlint/issuestore/4/6/460ee6442cf29ef54774da00475d1b5a4bd35a75"
245
244
  - ".idea/sonarlint/issuestore/5/1/512554f10221132e2995f116a1bc380edc569ec4"
246
245
  - ".idea/sonarlint/issuestore/6/e/6e1b71034e8e2f84d8f8236b269fef92a4a51797"
247
- - ".idea/sonarlint/issuestore/7/1/71fc201a1096db97453882ad1da5120a71f77bb5"
248
- - ".idea/sonarlint/issuestore/7/e/7ed8a0c3d2507e911337de44fdef07f89e35091a"
249
- - ".idea/sonarlint/issuestore/9/5/95a45210972238034e9fed522811176fe20117d3"
250
- - ".idea/sonarlint/issuestore/9/7/97c2c9c7adeb7fa2e6ffbf07cba2418868ac9739"
251
246
  - ".idea/sonarlint/issuestore/9/a/9ac8606ab5816ca6769cd53216a107d7d06ca971"
252
247
  - ".idea/sonarlint/issuestore/a/6/a67e5ecfa13044750ab8599881f66237821a8b38"
253
248
  - ".idea/sonarlint/issuestore/a/7/a7f1546c0b6a93fd23b7fc1506b2eb0d13e011c2"
254
- - ".idea/sonarlint/issuestore/a/d/ad7bffefc6248a8f673a10e668a82bdbbe38a3e3"
255
249
  - ".idea/sonarlint/issuestore/b/a/ba47c112fc95dd748a99abb0290610022df254a7"
256
250
  - ".idea/sonarlint/issuestore/b/e/be2bfbadd6efe69882507c3a03b1b96c46f3dcbe"
257
251
  - ".idea/sonarlint/issuestore/c/f/cf949c4c054253d95250aa9644f2b805b2aa0d2a"
258
252
  - ".idea/sonarlint/issuestore/d/5/d594a688a538c9bebe38deb974bd46055c65a93c"
259
- - ".idea/sonarlint/issuestore/e/5/e5580d669a0c327c5b0897ba7dd8465a3d4db45a"
260
253
  - ".idea/sonarlint/issuestore/e/e/ee825dc90668e04039ee525c5858c5736562c9f5"
261
254
  - ".idea/sonarlint/issuestore/f/6/f6e109e4c314cef09022792f4b88dd267a682d28"
262
255
  - ".idea/sonarlint/issuestore/index.pb"
@@ -271,10 +264,13 @@ files:
271
264
  - bin/console
272
265
  - bin/setup
273
266
  - bin/yk_command
267
+ - debugProject/.DS_Store
274
268
  - images/Xnip2022-04-26_17-25-30.jpg
275
269
  - images/Xnip2022-04-26_17-27-32.jpg
276
270
  - images/Xnip2022-04-26_17-30-36.jpg
271
+ - lib/.DS_Store
277
272
  - lib/yk_command.rb
273
+ - lib/yk_command/.DS_Store
278
274
  - lib/yk_command/analyze/analyze.rb
279
275
  - lib/yk_command/analyze/dependency_result.rb
280
276
  - lib/yk_command/analyze/request.rb
@@ -283,139 +279,155 @@ files:
283
279
  - lib/yk_command/component_manage/component_manage_platform.rb
284
280
  - lib/yk_command/config/yk_config.rb
285
281
  - lib/yk_command/gitlab/yk_gitlab.rb
282
+ - lib/yk_command/module/.DS_Store
286
283
  - lib/yk_command/module/module_handler.rb
284
+ - lib/yk_command/module/template/.DS_Store
285
+ - lib/yk_command/module/template/objc/.DS_Store
286
+ - lib/yk_command/module/template/objc/BusinessHeader.h
287
287
  - lib/yk_command/module/template/objc/CategoryHeader.h
288
+ - lib/yk_command/module/template/objc/Helper.h
289
+ - lib/yk_command/module/template/objc/Helper.m
288
290
  - lib/yk_command/module/template/objc/PrefixHeader.pch
289
- - lib/yk_command/module/template/objc/RouterDefine.h
290
291
  - lib/yk_command/module/template/objc/RouterRegister.h
291
292
  - lib/yk_command/module/template/objc/RouterRegister.m
292
- - lib/yk_command/module/template/objc/ServiceProtocol.h
293
293
  - lib/yk_command/module/template/objc/ServiceRegister.h
294
294
  - lib/yk_command/module/template/objc/ServiceRegister.m
295
295
  - lib/yk_command/module/template/objc/ToolsHeader.h
296
296
  - lib/yk_command/module/template/objc/VendorHeader.h
297
- - lib/yk_command/module/template/objc/demo/DemoViewController.h
298
- - lib/yk_command/module/template/objc/demo/DemoViewController.m
299
- - lib/yk_command/module/template/objc/demo/DemoViewModel.h
300
- - lib/yk_command/module/template/objc/demo/DemoViewModel.m
301
- - lib/yk_command/module/template/swift/RouterDefine.swift
297
+ - lib/yk_command/module/template/swift/.DS_Store
298
+ - lib/yk_command/module/template/swift/PrefixHeader_swift.swift
299
+ - lib/yk_command/module/template/swift/RouterRegisterSwift.swift
300
+ - lib/yk_command/module/template/swift/ServiceRegisterSwift.swift
301
+ - lib/yk_command/module/template/swift/Tool.swift
302
302
  - lib/yk_command/module/yk_module.rb
303
- - lib/yk_command/project/YKProjectTemplate/.gitignore
304
- - lib/yk_command/project/YKProjectTemplate/.travis.yml
305
- - lib/yk_command/project/YKProjectTemplate/CODE_OF_CONDUCT.md
306
- - lib/yk_command/project/YKProjectTemplate/LICENSE
307
- - lib/yk_command/project/YKProjectTemplate/NAME-osx.podspec
308
- - lib/yk_command/project/YKProjectTemplate/NAME.podspec
309
- - lib/yk_command/project/YKProjectTemplate/POD_LICENSE
310
- - lib/yk_command/project/YKProjectTemplate/POD_README.md
311
- - lib/yk_command/project/YKProjectTemplate/Pod/Assets/.gitkeep
312
- - lib/yk_command/project/YKProjectTemplate/Pod/Classes/.gitkeep
313
- - lib/yk_command/project/YKProjectTemplate/README.md
314
- - lib/yk_command/project/YKProjectTemplate/configure
315
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj
316
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
317
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
318
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard
319
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard
320
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDAppDelegate.h
321
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDAppDelegate.m
322
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDViewController.h
323
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDViewController.m
324
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
325
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/PROJECT-Info.plist
326
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/PROJECT-Prefix.pch
327
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings
328
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/main.m
329
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/Podfile
330
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/Tests/Tests-Info.plist
331
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/Tests/Tests-Prefix.pch
332
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/Tests/Tests.m
333
- - lib/yk_command/project/YKProjectTemplate/templates/ios/Example/Tests/en.lproj/InfoPlist.strings
334
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj
335
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
336
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
337
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT/AppDelegate.swift
338
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json
339
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard
340
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT/Info.plist
341
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT/PROJECT.entitlements
342
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/PROJECT/ViewController.swift
343
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/Podfile
344
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/Tests/Info.plist
345
- - lib/yk_command/project/YKProjectTemplate/templates/macos-swift/Example/Tests/Tests.swift
346
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj
347
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
348
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
349
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/AppDelegate.swift
350
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib
351
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard
352
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
353
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/Info.plist
354
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/ViewController.swift
355
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/Podfile
356
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/Tests/Info.plist
357
- - lib/yk_command/project/YKProjectTemplate/templates/swift/Example/Tests/Tests.swift
303
+ - lib/yk_command/project/.DS_Store
304
+ - lib/yk_command/project/full_component_demo_template/.gitignore
305
+ - lib/yk_command/project/full_component_demo_template/.travis.yml
306
+ - lib/yk_command/project/full_component_demo_template/CODE_OF_CONDUCT.md
307
+ - lib/yk_command/project/full_component_demo_template/LICENSE
308
+ - lib/yk_command/project/full_component_demo_template/NAME-osx.podspec
309
+ - lib/yk_command/project/full_component_demo_template/NAME.podspec
310
+ - lib/yk_command/project/full_component_demo_template/POD_LICENSE
311
+ - lib/yk_command/project/full_component_demo_template/POD_README.md
312
+ - lib/yk_command/project/full_component_demo_template/Pod/Assets/.gitkeep
313
+ - lib/yk_command/project/full_component_demo_template/Pod/Classes/.gitkeep
314
+ - lib/yk_command/project/full_component_demo_template/README.md
315
+ - lib/yk_command/project/full_component_demo_template/configure
316
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj
317
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
318
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
319
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
320
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard
321
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard
322
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.h
323
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.m
324
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.h
325
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.m
326
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
327
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Info.plist
328
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Prefix.pch
329
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings
330
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/main.m
331
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/Podfile
332
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/Tests-Info.plist
333
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/Tests-Prefix.pch
334
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/Tests.m
335
+ - lib/yk_command/project/full_component_demo_template/templates/ios/Example/Tests/en.lproj/InfoPlist.strings
336
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj
337
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
338
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
339
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/AppDelegate.swift
340
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json
341
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard
342
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/Info.plist
343
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/PROJECT.entitlements
344
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/PROJECT/ViewController.swift
345
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/Podfile
346
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/Tests/Info.plist
347
+ - lib/yk_command/project/full_component_demo_template/templates/macos-swift/Example/Tests/Tests.swift
348
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj
349
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
350
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
351
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
352
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/AppDelegate.swift
353
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib
354
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard
355
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Example-Bridging-Header.h
356
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
357
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Info.plist
358
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/STTestAppDelegate.swift
359
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Tests-Bridging-Header.h
360
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/ViewController.swift
361
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/YKEmptyOcFile.m
362
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/Podfile
363
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/Tests/Info.plist
364
+ - lib/yk_command/project/full_component_demo_template/templates/swift/Example/Tests/Tests.swift
358
365
  - lib/yk_command/project/setup/ConfigureMacOSSwift.rb
359
366
  - lib/yk_command/project/setup/ConfigureSwift.rb
360
367
  - lib/yk_command/project/setup/ConfigureiOS.rb
361
368
  - lib/yk_command/project/setup/MessageBank.rb
362
369
  - lib/yk_command/project/setup/ProjectManipulator.rb
363
370
  - lib/yk_command/project/setup/TemplateConfigurator.rb
364
- - lib/yk_command/project/simple_project_template/.gitignore
365
- - lib/yk_command/project/simple_project_template/.travis.yml
366
- - lib/yk_command/project/simple_project_template/CODE_OF_CONDUCT.md
367
- - lib/yk_command/project/simple_project_template/LICENSE
368
- - lib/yk_command/project/simple_project_template/NAME-osx.podspec
369
- - lib/yk_command/project/simple_project_template/NAME.podspec
370
- - lib/yk_command/project/simple_project_template/POD_LICENSE
371
- - lib/yk_command/project/simple_project_template/POD_README.md
372
- - lib/yk_command/project/simple_project_template/Pod/Assets/.gitkeep
373
- - lib/yk_command/project/simple_project_template/Pod/Classes/.gitkeep
374
- - lib/yk_command/project/simple_project_template/README.md
375
- - lib/yk_command/project/simple_project_template/configure
376
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj
377
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
378
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
379
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard
380
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard
381
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDAppDelegate.h
382
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDAppDelegate.m
383
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDViewController.h
384
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/CPDViewController.m
385
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
386
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/PROJECT-Info.plist
387
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/PROJECT-Prefix.pch
388
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings
389
- - lib/yk_command/project/simple_project_template/templates/ios/Example/PROJECT/main.m
390
- - lib/yk_command/project/simple_project_template/templates/ios/Example/Podfile
391
- - lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/Tests-Info.plist
392
- - lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/Tests-Prefix.pch
393
- - lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/Tests.m
394
- - lib/yk_command/project/simple_project_template/templates/ios/Example/Tests/en.lproj/InfoPlist.strings
395
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj
396
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
397
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
398
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/AppDelegate.swift
399
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json
400
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard
401
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/Info.plist
402
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/PROJECT.entitlements
403
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/PROJECT/ViewController.swift
404
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/Podfile
405
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/Tests/Info.plist
406
- - lib/yk_command/project/simple_project_template/templates/macos-swift/Example/Tests/Tests.swift
407
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj
408
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
409
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
410
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/AppDelegate.swift
411
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib
412
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard
413
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
414
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/Info.plist
415
- - lib/yk_command/project/simple_project_template/templates/swift/Example/PROJECT/ViewController.swift
416
- - lib/yk_command/project/simple_project_template/templates/swift/Example/Podfile
417
- - lib/yk_command/project/simple_project_template/templates/swift/Example/Tests/Info.plist
418
- - lib/yk_command/project/simple_project_template/templates/swift/Example/Tests/Tests.swift
371
+ - lib/yk_command/project/simple_component_demo_template/.gitignore
372
+ - lib/yk_command/project/simple_component_demo_template/.travis.yml
373
+ - lib/yk_command/project/simple_component_demo_template/CODE_OF_CONDUCT.md
374
+ - lib/yk_command/project/simple_component_demo_template/LICENSE
375
+ - lib/yk_command/project/simple_component_demo_template/NAME-osx.podspec
376
+ - lib/yk_command/project/simple_component_demo_template/NAME.podspec
377
+ - lib/yk_command/project/simple_component_demo_template/POD_LICENSE
378
+ - lib/yk_command/project/simple_component_demo_template/POD_README.md
379
+ - lib/yk_command/project/simple_component_demo_template/Pod/Assets/.gitkeep
380
+ - lib/yk_command/project/simple_component_demo_template/Pod/Classes/.gitkeep
381
+ - lib/yk_command/project/simple_component_demo_template/README.md
382
+ - lib/yk_command/project/simple_component_demo_template/configure
383
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj
384
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
385
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
386
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
387
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard
388
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard
389
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.h
390
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDAppDelegate.m
391
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.h
392
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.m
393
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
394
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Info.plist
395
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/PROJECT-Prefix.pch
396
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings
397
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT/main.m
398
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Podfile
399
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/Tests-Info.plist
400
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/Tests-Prefix.pch
401
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/Tests.m
402
+ - lib/yk_command/project/simple_component_demo_template/templates/ios/Example/Tests/en.lproj/InfoPlist.strings
403
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj
404
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
405
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
406
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/AppDelegate.swift
407
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json
408
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard
409
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/Info.plist
410
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/PROJECT.entitlements
411
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/PROJECT/ViewController.swift
412
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/Podfile
413
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/Tests/Info.plist
414
+ - lib/yk_command/project/simple_component_demo_template/templates/macos-swift/Example/Tests/Tests.swift
415
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj
416
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata
417
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
418
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme
419
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/AppDelegate.swift
420
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib
421
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard
422
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/EmptyOcFile.m
423
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json
424
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/Info.plist
425
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Example-Bridging-Header.h
426
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Tests-Bridging-Header.h
427
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/ViewController.swift
428
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/Podfile
429
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/Tests/Info.plist
430
+ - lib/yk_command/project/simple_component_demo_template/templates/swift/Example/Tests/Tests.swift
419
431
  - lib/yk_command/project/test_examples/kiwi.m
420
432
  - lib/yk_command/project/test_examples/quick.swift
421
433
  - lib/yk_command/project/test_examples/specta.m
@@ -447,7 +459,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
447
459
  - !ruby/object:Gem::Version
448
460
  version: '0'
449
461
  requirements: []
450
- rubygems_version: 3.1.6
462
+ rubygems_version: 3.3.7
451
463
  signing_key:
452
464
  specification_version: 4
453
465
  summary: a short summary, because RubyGems requires one.
@@ -1,14 +0,0 @@
1
- //
2
- // <%= @prefixed_module %>RouterDefine.h
3
- // <%= @project %>
4
- //
5
- // Created by <%= @author %> on <%= @date %>.
6
- //
7
- //
8
-
9
- #ifndef <%= @prefixed_module %>RouterDefine_h
10
- #define <%= @prefixed_module %>RouterDefine_h
11
-
12
- static NSString *kDemoRouterString = @"<%= @prefixed_module %>DemoPage";
13
-
14
- #endif /* <%= @prefixed_module %>RouterDefine_h */
@@ -1,15 +0,0 @@
1
- //
2
- // <%= @prefixed_module %>ServiceProtocol.h
3
- // <%= @project %>
4
- //
5
- // Created by <%= @author %> on <%= @date %>.
6
- //
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- @protocol <%= @prefixed_module %>ServiceProtocol <NSObject>
12
-
13
- - (void)replaceThisMethod;
14
-
15
- @end
@@ -1,17 +0,0 @@
1
- //
2
- // <%= @prefixed_module %>DemoViewController.h
3
- // <%= @project %>
4
- //
5
- // Created by <%= @author %> on <%= @date %>.
6
- //
7
- //
8
-
9
- #import <UIKit/UIKit.h>
10
-
11
- NS_ASSUME_NONNULL_BEGIN
12
-
13
- @interface <%= @prefixed_module %>DemoViewController : UIViewController
14
-
15
- @end
16
-
17
- NS_ASSUME_NONNULL_END
@@ -1,28 +0,0 @@
1
- //
2
- // <%= @prefixed_module %>DemoViewController.m
3
- // <%= @project %>
4
- //
5
- // Created by <%= @author %> on <%= @date %>.
6
- //
7
- //
8
-
9
-
10
- #import "<%= @prefixed_module %>DemoViewController.h"
11
-
12
- @interface <%= @prefixed_module %>DemoViewController ()
13
-
14
- @end
15
-
16
- @implementation <%= @prefixed_module %>DemoViewController
17
-
18
- - (void)viewDidLoad {
19
- [super viewDidLoad];
20
- // Do any additional setup after loading the view from its nib.
21
- NSLog(@"----- viewDidLoad -----");
22
- self.view.backgroundColor = [UIColor colorWithRed:0.3 green:0.4 blue:0.35 alpha:1.0];
23
- self.navigationItem.title = @"<%= @prefixed_module %>DemoViewController";
24
- }
25
-
26
-
27
-
28
- @end
@@ -1,14 +0,0 @@
1
- //
2
- // <%= @prefixed_module %>DemoViewModel.h
3
- // <%= @project %>
4
- //
5
- // Created by <%= @author %> on <%= @date %>.
6
- //
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- #import "<%= @prefixed_module %>ServiceProtocol.h"
12
- @interface <%= @prefixed_module %>DemoViewModel : NSObject <<%= @prefixed_module %>ServiceProtocol>
13
-
14
- @end
@@ -1,19 +0,0 @@
1
- //
2
- // <%= @prefixed_module %>DemoViewModel.m
3
- // <%= @project %>
4
- //
5
- // Created by <%= @author %> on <%= @date %>.
6
- //
7
- //
8
-
9
- #import "<%= @prefixed_module %>DemoViewModel.h"
10
-
11
-
12
- @implementation <%= @prefixed_module %>DemoViewModel
13
-
14
- - (void)replaceThisMethod {
15
- NSLog(@"----- replace me -----");
16
- }
17
-
18
-
19
- @end
@@ -1,28 +0,0 @@
1
-
2
- //
3
- // <%= @prefixed_module %>RouterDefine.swift
4
- // <%= @project %>
5
- //
6
- // Created by <%= @author %> on <%= @date %>.
7
- //
8
- //
9
-
10
-
11
- import Foundation
12
-
13
- public struct <%= @prefixed_module %>RouterConstants {
14
- static let <%= @prefixed_module %>DemoPage = "k<%= @prefixed_module %>DemoPage"
15
- /// 添加你自己的路由字符串常量 here ...
16
-
17
- }
18
-
19
- @objcMembers open class <%= @prefixed_module %>_Swift_RouterDefine: NSObject {
20
- private override init() {}
21
-
22
- public class func demoPage() -> String {
23
- <%= @prefixed_module %>RouterConstants.<%= @prefixed_module %>DemoPage
24
- }
25
-
26
- /// 添加你自己的路由定义 here ...
27
-
28
- }
@@ -1,60 +0,0 @@
1
- //
2
- // CPDViewController.m
3
- // PROJECT
4
- //
5
- // Created by PROJECT_OWNER on TODAYS_DATE.
6
- // Copyright (c) TODAYS_YEAR PROJECT_OWNER. All rights reserved.
7
- //
8
-
9
- #import "CPDViewController.h"
10
-
11
- #import <YKRouterComponent/YKRouterComponentHeader.h>
12
- #import <YKModuleServiceComponent/YKModuleServiceComponentHeader.h>
13
-
14
- #import <PROJECT/CPDPROJECTServiceProtocol.h>
15
-
16
- #import <PROJECT/CPDPROJECTRouterDefine.h>
17
-
18
- @interface CPDViewController ()
19
-
20
- @end
21
- @implementation CPDViewController
22
-
23
- - (void)viewDidLoad
24
- {
25
- [super viewDidLoad];
26
- // Do any additional setup after loading the view, typically from a nib.
27
- self.navigationItem.title = [NSString stringWithFormat:@"%@",@"PROJECT Demo"];
28
- }
29
-
30
-
31
- - (IBAction)routerEvent:(id)sender {
32
- NSLog(@"这里调用模块的路由");
33
- [self yk_openUrl:kDemoRouterString parameter:@{}];
34
-
35
-
36
- }
37
-
38
- - (IBAction)serviceEvent:(id)sender {
39
- NSLog(@"这里调用模块的服务");
40
- NSError *err;
41
- __kindof Class<CPDPROJECTServiceProtocol> cls =YKModuleServiceWithProtocol(@protocol(CPDPROJECTServiceProtocol), &err);
42
- if (!err) {
43
- NSObject <CPDPROJECTServiceProtocol>* obj = [[cls alloc] init];
44
- [obj replaceThisMethod];
45
- }
46
- }
47
-
48
- - (void)yk_openUrl:(NSString *)url parameter:(NSDictionary *__nullable)parameters {
49
-
50
- YKRouterUrlRequest* request = [YKRouterUrlRequest instanceWithBuilder:^(YKRouterUrlRequest * _Nonnull builder) {
51
- builder.url = url;
52
- builder.parameter = parameters;
53
- }];
54
- return [[YKRouterComponent shareInstance] ykOpenUrl:request complete:^(YKRouterUrlResponse * _Nonnull urlResponse) {
55
-
56
- }];
57
- }
58
-
59
-
60
- @end