@lerna-lite/publish 1.0.4 → 1.0.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.
- package/README.md +11 -10
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
[](https://github.com/ghiscoding/lerna-lite/actions)
|
|
6
6
|
|
|
7
7
|
# @lerna-lite/publish
|
|
8
|
-
## (`lerna publish`) Publish command 📰
|
|
8
|
+
## (`lerna publish`) - Publish command 📰
|
|
9
9
|
|
|
10
|
-
Lerna-Lite Publish command, publish
|
|
10
|
+
Lerna-Lite Publish command, publish package(s) in the current project
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
#### Internal Dependencies
|
|
13
13
|
- [@lerna-lite/core](https://github.com/ghiscoding/lerna-lite/tree/main/packages/core)
|
|
14
14
|
- [@lerna-lite/version](https://github.com/ghiscoding/lerna-lite/tree/main/packages/version)
|
|
15
15
|
|
|
@@ -19,6 +19,7 @@ Lerna-Lite Publish command, publish packages in the current project
|
|
|
19
19
|
```sh
|
|
20
20
|
# install globally
|
|
21
21
|
npm install -g @lerna-lite/cli
|
|
22
|
+
|
|
22
23
|
# then use it (see usage below)
|
|
23
24
|
lerna publish
|
|
24
25
|
|
|
@@ -29,9 +30,9 @@ npx lerna publish
|
|
|
29
30
|
## Usage
|
|
30
31
|
|
|
31
32
|
```sh
|
|
32
|
-
lerna publish
|
|
33
|
-
lerna publish from-git
|
|
34
|
-
lerna publish from-package
|
|
33
|
+
lerna publish # publish packages that have changed since the last release
|
|
34
|
+
lerna publish from-git # explicitly publish packages tagged in the current commit
|
|
35
|
+
lerna publish from-package # explicitly publish packages where the latest version is not present in the registry
|
|
35
36
|
```
|
|
36
37
|
|
|
37
38
|
When run, this command does one of the following things:
|
|
@@ -388,10 +389,10 @@ This _non-standard_ field allows you to customize the published subdirectory jus
|
|
|
388
389
|
// prepublish: Run BEFORE the package is packed and published.
|
|
389
390
|
// prepare: Run BEFORE the package is packed and published, AFTER prepublish, BEFORE prepublishOnly.
|
|
390
391
|
// prepublishOnly: Run BEFORE the package is packed and published, ONLY on npm publish.
|
|
391
|
-
// prepack:
|
|
392
|
-
// postpack:
|
|
393
|
-
// publish:
|
|
394
|
-
// postpublish:
|
|
392
|
+
// prepack: Run BEFORE a tarball is packed.
|
|
393
|
+
// postpack: Run AFTER the tarball has been generated and moved to its final destination.
|
|
394
|
+
// publish: Run AFTER the package is published.
|
|
395
|
+
// postpublish: Run AFTER the package is published.
|
|
395
396
|
```
|
|
396
397
|
|
|
397
398
|
lerna will run [npm lifecycle scripts](https://docs.npmjs.com/cli/v8/using-npm/scripts#description) during `lerna publish` in the following order:
|
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": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"typings": "dist/index.d.ts",
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"url": "https://github.com/ghiscoding/lerna-lite/issues"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=
|
|
30
|
+
"node": ">=14.13.1",
|
|
31
31
|
"npm": ">=8.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@lerna-lite/core": "^1.0.
|
|
35
|
-
"@lerna-lite/version": "^1.0.
|
|
34
|
+
"@lerna-lite/core": "^1.0.5",
|
|
35
|
+
"@lerna-lite/version": "^1.0.5",
|
|
36
36
|
"byte-size": "^7.0.1",
|
|
37
37
|
"columnify": "^1.6.0",
|
|
38
38
|
"fs-extra": "^10.0.1",
|
|
39
39
|
"has-unicode": "^2.0.1",
|
|
40
|
-
"libnpmaccess": "^6.0.
|
|
40
|
+
"libnpmaccess": "^6.0.2",
|
|
41
41
|
"libnpmpublish": "^5.0.1",
|
|
42
42
|
"npm-package-arg": "^9.0.1",
|
|
43
43
|
"npm-packlist": "^4.0.0",
|
|
44
|
-
"npm-registry-fetch": "^
|
|
44
|
+
"npm-registry-fetch": "^13.1.0",
|
|
45
45
|
"npmlog": "^6.0.1",
|
|
46
46
|
"os": "^0.1.2",
|
|
47
47
|
"p-map": "^4.0.0",
|
|
@@ -57,12 +57,11 @@
|
|
|
57
57
|
"strong-log-transformer": "^2.1.0",
|
|
58
58
|
"tar": "^6.1.11",
|
|
59
59
|
"temp-write": "^4.0.0",
|
|
60
|
-
"ts-node": "^10.5.0",
|
|
61
60
|
"whatwg-url": "^11.0.0",
|
|
62
61
|
"write-file-atomic": "^4.0.1",
|
|
63
62
|
"write-json-file": "^4.3.0",
|
|
64
63
|
"write-pkg": "^4.0.0",
|
|
65
|
-
"yargs": "^17.
|
|
64
|
+
"yargs": "^17.4.0"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
67
|
"@types/async": "^3.2.12",
|
|
@@ -71,12 +70,13 @@
|
|
|
71
70
|
"@types/execa": "^2.0.0",
|
|
72
71
|
"@types/fs-extra": "^9.0.13",
|
|
73
72
|
"@types/load-json-file": "^5.1.0",
|
|
74
|
-
"@types/node": "^17.0.
|
|
73
|
+
"@types/node": "^17.0.23",
|
|
75
74
|
"@types/npmlog": "^4.1.4",
|
|
76
75
|
"@types/p-map": "^2.0.0",
|
|
77
76
|
"@types/semver": "^7.3.9",
|
|
78
77
|
"@types/write-json-file": "^3.2.1",
|
|
79
|
-
"@types/write-pkg": "^4.0.0"
|
|
78
|
+
"@types/write-pkg": "^4.0.0",
|
|
79
|
+
"ts-node": "^10.5.0"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "dcef2516b281fe4b0e66eb44081a91b1ccf8815b"
|
|
82
82
|
}
|