@lerna-lite/publish 3.12.1 → 3.12.2
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 +2 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -581,6 +581,8 @@ lerna will run [npm lifecycle scripts](https://docs.npmjs.com/cli/v8/using-npm/s
|
|
|
581
581
|
|
|
582
582
|
The `catalog:` protocol ([pnpm catalog](https://pnpm.io/catalogs)) can be recognized by Lerna-Lite. When publishing, they will be replaced "as is" by reading and using the version range defined in your global catalog. If you need to bump the version of a package in a catalog, you will need to edit `pnpm-workspace.yaml` manually. If you wish them to be bumped automatically, then we strongly suggest that you use the [`workspace:`](#workspace-protocol) protocol instead which is better for local workspace dependencies.
|
|
583
583
|
|
|
584
|
+
> **Note** Lerna-Lite will only read the catalog (to get versions), but it will **never write** to it. If you want version bump then you should use `workspace:` for local dependencies.
|
|
585
|
+
|
|
584
586
|
So for example, if our `pnpm-workspace.yaml` file has the following configuration
|
|
585
587
|
|
|
586
588
|
```yaml
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lerna-lite/publish",
|
|
3
3
|
"description": "Publish packages in the current workspace",
|
|
4
|
-
"version": "3.12.
|
|
4
|
+
"version": "3.12.2",
|
|
5
5
|
"files": [
|
|
6
6
|
"/dist"
|
|
7
7
|
],
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@lerna-lite/cli": "3.12.1",
|
|
33
33
|
"@lerna-lite/core": "3.12.1",
|
|
34
34
|
"@lerna-lite/npmlog": "3.12.1",
|
|
35
|
-
"@lerna-lite/version": "3.12.
|
|
35
|
+
"@lerna-lite/version": "3.12.2",
|
|
36
36
|
"@npmcli/arborist": "^7.5.4",
|
|
37
37
|
"@npmcli/package-json": "^5.2.1",
|
|
38
38
|
"byte-size": "^9.0.1",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"ssri": "^11.0.0",
|
|
53
53
|
"tar": "^6.2.1",
|
|
54
54
|
"temp-dir": "^3.0.0",
|
|
55
|
-
"tinyglobby": "^0.2.
|
|
55
|
+
"tinyglobby": "^0.2.12",
|
|
56
56
|
"tinyrainbow": "^2.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "4138395dffb3ec20d4c67b180617b909632aa665"
|
|
59
59
|
}
|