monorepo 0.1.3 → 0.1.4
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.
- checksums.yaml +4 -4
- data/README.md +38 -15
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b415a8385568fbed54da736811d7986973261fefa4e0d0703422ff53b886f651
|
|
4
|
+
data.tar.gz: 3e92f8746b80d55467ed21f33cd798abd1cca3a65885aaa2aaf1f0c657db131d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89049aaf2e35dcd3a5cb7864d8a6db0433d51eb5ccf133cacc7551e7a60d869963fa893c60f64072cb89034c5227a5ff73e078a5d2233a182e956f14f9b2240d
|
|
7
|
+
data.tar.gz: 847073fe1bc6a8ee053cb43e6aa7dcecaacda799d7d76b4acd7b046c321896be73c2b9539ba6109d9ba434abe97f0ad4695a3eb4f9fe516d866f65ac246f1eb2
|
data/README.md
CHANGED
|
@@ -3,24 +3,14 @@
|
|
|
3
3
|
[](https://badge.fury.io/rb/monorepo)
|
|
4
4
|
[](https://travis-ci.org/kamataryo/monorepo)
|
|
5
5
|
|
|
6
|
-
[under-development] Ruby based monorepo management tool like [Lerna](https://lernajs.io/).
|
|
6
|
+
[under-development] Ruby based simple monorepo management tool like [Lerna](https://lernajs.io/).
|
|
7
7
|
Monorepo is a single repository which hosts multiple libraries.
|
|
8
8
|
You can arrange and integrate lint, test, release and other workflows with monorepo.
|
|
9
9
|
[Babel](https://babeljs.io/), [ESLint](https://eslint.org/) and other projects likely has plugin ecosystem take monorepo strategy.
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
```ruby
|
|
16
|
-
gem 'monorepo'
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
And then execute:
|
|
20
|
-
|
|
21
|
-
$ bundle
|
|
22
|
-
|
|
23
|
-
Or install it yourself as:
|
|
13
|
+
Install it yourself as:
|
|
24
14
|
|
|
25
15
|
$ gem install monorepo
|
|
26
16
|
|
|
@@ -28,7 +18,7 @@ Or install it yourself as:
|
|
|
28
18
|
|
|
29
19
|
## `monorepo init`
|
|
30
20
|
|
|
31
|
-
Initialize Monorepo repo.
|
|
21
|
+
Initialize Monorepo root repo.
|
|
32
22
|
|
|
33
23
|
```shell
|
|
34
24
|
$ monorepo init
|
|
@@ -38,18 +28,51 @@ $ monorepo init --gems specified_gem_folder
|
|
|
38
28
|
$ monorepo init -g specified_gem_folder
|
|
39
29
|
```
|
|
40
30
|
|
|
31
|
+
```shell
|
|
32
|
+
# result
|
|
33
|
+
$ tree .
|
|
34
|
+
.
|
|
35
|
+
├── Monorepofile
|
|
36
|
+
└── gems
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
You can add and arrange any numbers of child gems inside `./gems` folder.
|
|
40
|
+
|
|
41
|
+
```shell
|
|
42
|
+
$ tree .
|
|
43
|
+
.
|
|
44
|
+
├── Monorepofile
|
|
45
|
+
└── gems
|
|
46
|
+
├── gem-a
|
|
47
|
+
└── gem-b
|
|
48
|
+
```
|
|
49
|
+
|
|
41
50
|
## `monorepo exec`
|
|
42
51
|
|
|
43
|
-
Exec commands in each
|
|
52
|
+
Exec commands in each child gems.
|
|
44
53
|
|
|
45
54
|
```shell
|
|
46
55
|
$ monorepo exec [COMMAND]
|
|
47
56
|
$ monorepo exec [COMMAND] -c ./Monorepofile
|
|
48
57
|
```
|
|
49
58
|
|
|
59
|
+
An example:
|
|
60
|
+
|
|
61
|
+
```shell
|
|
62
|
+
$ monorepo exec bundle init
|
|
63
|
+
$ tree .
|
|
64
|
+
.
|
|
65
|
+
├── Monorepofile
|
|
66
|
+
└── gems
|
|
67
|
+
├── gem-a
|
|
68
|
+
│ └── Gemfile
|
|
69
|
+
└── gem-b
|
|
70
|
+
└── Gemfile
|
|
71
|
+
```
|
|
72
|
+
|
|
50
73
|
## `monorepo rake`
|
|
51
74
|
|
|
52
|
-
Run rake task in each
|
|
75
|
+
Run rake task in each child gems.
|
|
53
76
|
|
|
54
77
|
```shell
|
|
55
78
|
$ monorepo rake
|
data/lib/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
MONOREPO_VERSION = '0.1.
|
|
1
|
+
MONOREPO_VERSION = '0.1.4'.freeze
|