@travetto/repo 3.0.2 → 3.0.3
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/README.md +7 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- This file was generated by @travetto/doc and should not be modified directly -->
|
|
2
|
-
<!-- Please modify https://github.com/travetto/travetto/tree/main/module/repo/DOC.
|
|
2
|
+
<!-- Please modify https://github.com/travetto/travetto/tree/main/module/repo/DOC.tsx and execute "npx trv doc" to rebuild -->
|
|
3
3
|
# Repo
|
|
4
|
+
|
|
4
5
|
## Monorepo utilities
|
|
5
6
|
|
|
6
7
|
**Install: @travetto/repo**
|
|
@@ -12,10 +13,10 @@ npm install @travetto/repo
|
|
|
12
13
|
yarn add @travetto/repo
|
|
13
14
|
```
|
|
14
15
|
|
|
15
|
-
The repo module aims to provide some simple mono-repo based tools, primarily around module publishing. The module provides two cli operations:
|
|
16
|
+
The repo module aims to provide some simple mono-repo based tools, primarily around module publishing. The module provides two cli operations:
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
The versioning operation will find all the changed modules (and the modules that depend on the changed), and will update the versions in accordance with the user preferences. The versioning logic is backed by [Npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)'s and [Yarn](https://yarnpg.com)'s versioning functionality and so it is identical to using the tool manually. The determination of what has or hasn't changed is relative to the last versioning commit.
|
|
18
|
+
## CLI - Version
|
|
19
|
+
The versioning operation will find all the changed modules (and the modules that depend on the changed), and will update the versions in accordance with the user preferences. The versioning logic is backed by [Npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)'s and [Yarn](https://yarnpg.com)'s versioning functionality and so it is identical to using the tool manually. The determination of what has or hasn't changed is relative to the last versioning commit.
|
|
19
20
|
|
|
20
21
|
**Terminal: Version execution**
|
|
21
22
|
```bash
|
|
@@ -50,8 +51,8 @@ Date: Thu Feb 23 17:51:37 2023 -0500
|
|
|
50
51
|
Publish @travetto/app,@travetto/asset,@travetto/asset-rest,@travetto/auth,@travetto/auth-model,@travetto/auth-rest,@travetto/auth-rest-context,@travetto/auth-rest-jwt,@travetto/auth-rest-passport,@travetto/auth-rest-session,...
|
|
51
52
|
```
|
|
52
53
|
|
|
53
|
-
|
|
54
|
-
The publish functionality is relatively naive, but consistent. The code will look at all modules in the mono-repo and check the listed version against what is available in the npm registry. If the local version is newer, it is a candidate for publishing.
|
|
54
|
+
## CLI - Publish
|
|
55
|
+
The publish functionality is relatively naive, but consistent. The code will look at all modules in the mono-repo and check the listed version against what is available in the npm registry. If the local version is newer, it is a candidate for publishing.
|
|
55
56
|
|
|
56
57
|
**Terminal: Publish execution**
|
|
57
58
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/repo",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Monorepo utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"travetto",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"directory": "module/repo"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@travetto/cli": "^3.0.
|
|
24
|
+
"@travetto/cli": "^3.0.3"
|
|
25
25
|
},
|
|
26
26
|
"peerDependenciesMeta": {
|
|
27
27
|
"@travetto/cli": {
|