mona 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.ruby-version +1 -0
  4. data/.standard.yml +3 -0
  5. data/CHANGELOG.md +5 -0
  6. data/CODE_OF_CONDUCT.md +84 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +193 -0
  9. data/Rakefile +8 -0
  10. data/example/Gemfile +1 -0
  11. data/example/Gemfile.lock +51 -0
  12. data/example/Monafile.rb +16 -0
  13. data/example/bounded_contexts/cart/cart_app/Package.rb +11 -0
  14. data/example/bounded_contexts/cart/cart_app/bin/console +11 -0
  15. data/example/bounded_contexts/cart/cart_app/package/cart_app.rb +2 -0
  16. data/example/bounded_contexts/cart/cart_core/Package.rb +12 -0
  17. data/example/bounded_contexts/cart/cart_core/bin/console +9 -0
  18. data/example/bounded_contexts/cart/cart_core/package/cart_core.rb +2 -0
  19. data/example/bounded_contexts/cart/cart_datasets/Package.rb +10 -0
  20. data/example/bounded_contexts/cart/cart_datasets/bin/console +9 -0
  21. data/example/bounded_contexts/cart/cart_datasets/package/cart_datasets.rb +2 -0
  22. data/example/bounded_contexts/orders/orders_app/Package.rb +12 -0
  23. data/example/bounded_contexts/orders/orders_app/bin/console +9 -0
  24. data/example/bounded_contexts/orders/orders_app/package/orders_app.rb +2 -0
  25. data/example/bounded_contexts/orders/orders_core/Package.rb +13 -0
  26. data/example/bounded_contexts/orders/orders_core/bin/console +9 -0
  27. data/example/bounded_contexts/orders/orders_core/package/orders_core.rb +2 -0
  28. data/example/bounded_contexts/orders/orders_datasets/Package.rb +11 -0
  29. data/example/bounded_contexts/orders/orders_datasets/bin/console +9 -0
  30. data/example/bounded_contexts/orders/orders_datasets/package/orders_datasets.rb +2 -0
  31. data/example/bounded_contexts/orders/orders_query_api/Package.rb +13 -0
  32. data/example/bounded_contexts/orders/orders_query_api/bin/console +9 -0
  33. data/example/bounded_contexts/orders/orders_query_api/package/cart_query_api.rb +2 -0
  34. data/example/bounded_contexts/orders/paypal_client/Package.rb +9 -0
  35. data/example/bounded_contexts/orders/paypal_client/bin/console +9 -0
  36. data/example/bounded_contexts/orders/paypal_client/package/paypal_client.rb +2 -0
  37. data/example/bounded_contexts/shared/db_connection/Package.rb +10 -0
  38. data/example/bounded_contexts/shared/db_connection/bin/console +9 -0
  39. data/example/bounded_contexts/shared/db_connection/package/db_connection.rb +2 -0
  40. data/example/bounded_contexts/shared/test_utils/Package.rb +9 -0
  41. data/example/bounded_contexts/shared/test_utils/bin/console +9 -0
  42. data/example/bounded_contexts/shared/test_utils/package/test_utils.rb +2 -0
  43. data/example/bounded_contexts/storefront/storefront_app/Package.rb +11 -0
  44. data/example/bounded_contexts/storefront/storefront_app/bin/console +9 -0
  45. data/example/bounded_contexts/storefront/storefront_app/package/storefront_app.rb +2 -0
  46. data/example/bounded_contexts/storefront/storefront_core/Package.rb +11 -0
  47. data/example/bounded_contexts/storefront/storefront_core/bin/console +9 -0
  48. data/example/bounded_contexts/storefront/storefront_core/package/storefront_core.rb +2 -0
  49. data/example/bounded_contexts/storefront/storefront_datasets/Package.rb +11 -0
  50. data/example/bounded_contexts/storefront/storefront_datasets/bin/console +9 -0
  51. data/example/bounded_contexts/storefront/storefront_datasets/package/storefront_datasets.rb +2 -0
  52. data/example/configs/cart_app/default.yml +4 -0
  53. data/example/configs/cart_app/test.yml +3 -0
  54. data/example/configs/orders_app/default.yml +4 -0
  55. data/example/configs/orders_app/test.yml +2 -0
  56. data/exe/mona +15 -0
  57. data/lib/mona/config/loader.rb +74 -0
  58. data/lib/mona/config/manager.rb +20 -0
  59. data/lib/mona/config.rb +23 -0
  60. data/lib/mona/loaders/base.rb +63 -0
  61. data/lib/mona/loaders/zeitwerk.rb +77 -0
  62. data/lib/mona/package/builder.rb +27 -0
  63. data/lib/mona/package/dependency_bypasser.rb +43 -0
  64. data/lib/mona/package/factory.rb +95 -0
  65. data/lib/mona/package/find_root.rb +33 -0
  66. data/lib/mona/package/indexer.rb +30 -0
  67. data/lib/mona/package/initializer.rb +46 -0
  68. data/lib/mona/package/list.rb +10 -0
  69. data/lib/mona/package/repo.rb +63 -0
  70. data/lib/mona/package.rb +51 -0
  71. data/lib/mona/project/builder.rb +20 -0
  72. data/lib/mona/project/factory.rb +115 -0
  73. data/lib/mona/project/find_root.rb +31 -0
  74. data/lib/mona/project/initializer.rb +26 -0
  75. data/lib/mona/project.rb +43 -0
  76. data/lib/mona/task/manager.rb +36 -0
  77. data/lib/mona/task.rb +21 -0
  78. data/lib/mona/version.rb +5 -0
  79. data/lib/mona.rb +110 -0
  80. data/mona.gemspec +54 -0
  81. data/sig/mona.rbs +4 -0
  82. metadata +296 -0
metadata ADDED
@@ -0,0 +1,296 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mona
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.3
5
+ platform: ruby
6
+ authors:
7
+ - Nikita Kononov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-11-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sorbet-runtime
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.5.11164
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.5.11164
27
+ - !ruby/object:Gem::Dependency
28
+ name: dry-auto_inject
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: dry-core
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: dry-configurable
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: dry-container
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.11.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.11.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: dry-system
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.0.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: zeitwerk
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.6.12
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.6.12
111
+ - !ruby/object:Gem::Dependency
112
+ name: thor
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: bundler
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.2'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rake
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '13.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '13.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '3.0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '3.0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: pry
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ description: " A Ruby gem for efficiently managing dependencies within a monorepository.
182
+ \n\n GitHub Repository: https://github.com/droidlabs/mono_repo_deps\n"
183
+ email:
184
+ - vocrsz@gmail.com
185
+ executables:
186
+ - mona
187
+ extensions: []
188
+ extra_rdoc_files: []
189
+ files:
190
+ - ".rspec"
191
+ - ".ruby-version"
192
+ - ".standard.yml"
193
+ - CHANGELOG.md
194
+ - CODE_OF_CONDUCT.md
195
+ - LICENSE.txt
196
+ - README.md
197
+ - Rakefile
198
+ - example/Gemfile
199
+ - example/Gemfile.lock
200
+ - example/Monafile.rb
201
+ - example/bounded_contexts/cart/cart_app/Package.rb
202
+ - example/bounded_contexts/cart/cart_app/bin/console
203
+ - example/bounded_contexts/cart/cart_app/package/cart_app.rb
204
+ - example/bounded_contexts/cart/cart_core/Package.rb
205
+ - example/bounded_contexts/cart/cart_core/bin/console
206
+ - example/bounded_contexts/cart/cart_core/package/cart_core.rb
207
+ - example/bounded_contexts/cart/cart_datasets/Package.rb
208
+ - example/bounded_contexts/cart/cart_datasets/bin/console
209
+ - example/bounded_contexts/cart/cart_datasets/package/cart_datasets.rb
210
+ - example/bounded_contexts/orders/orders_app/Package.rb
211
+ - example/bounded_contexts/orders/orders_app/bin/console
212
+ - example/bounded_contexts/orders/orders_app/package/orders_app.rb
213
+ - example/bounded_contexts/orders/orders_core/Package.rb
214
+ - example/bounded_contexts/orders/orders_core/bin/console
215
+ - example/bounded_contexts/orders/orders_core/package/orders_core.rb
216
+ - example/bounded_contexts/orders/orders_datasets/Package.rb
217
+ - example/bounded_contexts/orders/orders_datasets/bin/console
218
+ - example/bounded_contexts/orders/orders_datasets/package/orders_datasets.rb
219
+ - example/bounded_contexts/orders/orders_query_api/Package.rb
220
+ - example/bounded_contexts/orders/orders_query_api/bin/console
221
+ - example/bounded_contexts/orders/orders_query_api/package/cart_query_api.rb
222
+ - example/bounded_contexts/orders/paypal_client/Package.rb
223
+ - example/bounded_contexts/orders/paypal_client/bin/console
224
+ - example/bounded_contexts/orders/paypal_client/package/paypal_client.rb
225
+ - example/bounded_contexts/shared/db_connection/Package.rb
226
+ - example/bounded_contexts/shared/db_connection/bin/console
227
+ - example/bounded_contexts/shared/db_connection/package/db_connection.rb
228
+ - example/bounded_contexts/shared/test_utils/Package.rb
229
+ - example/bounded_contexts/shared/test_utils/bin/console
230
+ - example/bounded_contexts/shared/test_utils/package/test_utils.rb
231
+ - example/bounded_contexts/storefront/storefront_app/Package.rb
232
+ - example/bounded_contexts/storefront/storefront_app/bin/console
233
+ - example/bounded_contexts/storefront/storefront_app/package/storefront_app.rb
234
+ - example/bounded_contexts/storefront/storefront_core/Package.rb
235
+ - example/bounded_contexts/storefront/storefront_core/bin/console
236
+ - example/bounded_contexts/storefront/storefront_core/package/storefront_core.rb
237
+ - example/bounded_contexts/storefront/storefront_datasets/Package.rb
238
+ - example/bounded_contexts/storefront/storefront_datasets/bin/console
239
+ - example/bounded_contexts/storefront/storefront_datasets/package/storefront_datasets.rb
240
+ - example/configs/cart_app/default.yml
241
+ - example/configs/cart_app/test.yml
242
+ - example/configs/orders_app/default.yml
243
+ - example/configs/orders_app/test.yml
244
+ - exe/mona
245
+ - lib/mona.rb
246
+ - lib/mona/config.rb
247
+ - lib/mona/config/loader.rb
248
+ - lib/mona/config/manager.rb
249
+ - lib/mona/loaders/base.rb
250
+ - lib/mona/loaders/zeitwerk.rb
251
+ - lib/mona/package.rb
252
+ - lib/mona/package/builder.rb
253
+ - lib/mona/package/dependency_bypasser.rb
254
+ - lib/mona/package/factory.rb
255
+ - lib/mona/package/find_root.rb
256
+ - lib/mona/package/indexer.rb
257
+ - lib/mona/package/initializer.rb
258
+ - lib/mona/package/list.rb
259
+ - lib/mona/package/repo.rb
260
+ - lib/mona/project.rb
261
+ - lib/mona/project/builder.rb
262
+ - lib/mona/project/factory.rb
263
+ - lib/mona/project/find_root.rb
264
+ - lib/mona/project/initializer.rb
265
+ - lib/mona/task.rb
266
+ - lib/mona/task/manager.rb
267
+ - lib/mona/version.rb
268
+ - mona.gemspec
269
+ - sig/mona.rbs
270
+ homepage: https://github.com/droidlabs/mono_repo_deps
271
+ licenses:
272
+ - MIT
273
+ metadata:
274
+ homepage_uri: https://github.com/droidlabs/mono_repo_deps
275
+ source_code_uri: https://github.com/droidlabs/mono_repo_deps
276
+ changelog_uri: https://github.com/droidlabs/mono_repo_deps
277
+ post_install_message:
278
+ rdoc_options: []
279
+ require_paths:
280
+ - lib
281
+ required_ruby_version: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: 2.7.0
286
+ required_rubygems_version: !ruby/object:Gem::Requirement
287
+ requirements:
288
+ - - ">="
289
+ - !ruby/object:Gem::Version
290
+ version: '0'
291
+ requirements: []
292
+ rubygems_version: 3.5.9
293
+ signing_key:
294
+ specification_version: 4
295
+ summary: A Ruby gem for efficiently managing dependencies within a monorepository.
296
+ test_files: []