@lerna-lite/publish 1.0.3 → 1.1.0
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/LICENSE +3 -1
- package/README.md +10 -13
- package/dist/lib/get-profile-data.d.ts +2 -2
- package/dist/lib/get-profile-data.js.map +1 -1
- package/package.json +18 -21
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -5,13 +5,9 @@
|
|
|
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
|
|
11
|
-
|
|
12
|
-
### Internal Dependencies
|
|
13
|
-
- [@lerna-lite/core](https://github.com/ghiscoding/lerna-lite/tree/main/packages/core)
|
|
14
|
-
- [@lerna-lite/version](https://github.com/ghiscoding/lerna-lite/tree/main/packages/version)
|
|
10
|
+
Lerna-Lite Publish command, publish package(s) in the current project
|
|
15
11
|
|
|
16
12
|
---
|
|
17
13
|
|
|
@@ -19,6 +15,7 @@ Lerna-Lite Publish command, publish packages in the current project
|
|
|
19
15
|
```sh
|
|
20
16
|
# install globally
|
|
21
17
|
npm install -g @lerna-lite/cli
|
|
18
|
+
|
|
22
19
|
# then use it (see usage below)
|
|
23
20
|
lerna publish
|
|
24
21
|
|
|
@@ -29,9 +26,9 @@ npx lerna publish
|
|
|
29
26
|
## Usage
|
|
30
27
|
|
|
31
28
|
```sh
|
|
32
|
-
lerna publish
|
|
33
|
-
lerna publish from-git
|
|
34
|
-
lerna publish from-package
|
|
29
|
+
lerna publish # publish packages that have changed since the last release
|
|
30
|
+
lerna publish from-git # explicitly publish packages tagged in the current commit
|
|
31
|
+
lerna publish from-package # explicitly publish packages where the latest version is not present in the registry
|
|
35
32
|
```
|
|
36
33
|
|
|
37
34
|
When run, this command does one of the following things:
|
|
@@ -388,10 +385,10 @@ This _non-standard_ field allows you to customize the published subdirectory jus
|
|
|
388
385
|
// prepublish: Run BEFORE the package is packed and published.
|
|
389
386
|
// prepare: Run BEFORE the package is packed and published, AFTER prepublish, BEFORE prepublishOnly.
|
|
390
387
|
// prepublishOnly: Run BEFORE the package is packed and published, ONLY on npm publish.
|
|
391
|
-
// prepack:
|
|
392
|
-
// postpack:
|
|
393
|
-
// publish:
|
|
394
|
-
// postpublish:
|
|
388
|
+
// prepack: Run BEFORE a tarball is packed.
|
|
389
|
+
// postpack: Run AFTER the tarball has been generated and moved to its final destination.
|
|
390
|
+
// publish: Run AFTER the package is published.
|
|
391
|
+
// postpublish: Run AFTER the package is published.
|
|
395
392
|
```
|
|
396
393
|
|
|
397
394
|
lerna will run [npm lifecycle scripts](https://docs.npmjs.com/cli/v8/using-npm/scripts#description) during `lerna publish` in the following order:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ProfileData } from '@lerna-lite/core';
|
|
1
|
+
import { FetchConfig, ProfileData } from '@lerna-lite/core';
|
|
2
2
|
/**
|
|
3
3
|
* Retrieve profile data of logged-in user.
|
|
4
4
|
* @param {import("./fetch-config").FetchConfig} opts
|
|
5
5
|
* @returns {Promise<ProfileData>}
|
|
6
6
|
*/
|
|
7
|
-
export declare function getProfileData(opts:
|
|
7
|
+
export declare function getProfileData(opts: FetchConfig): Promise<ProfileData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-profile-data.js","sourceRoot":"","sources":["../../src/lib/get-profile-data.ts"],"names":[],"mappings":";;;;;;AAAA,4EAAuC;AAEvC,
|
|
1
|
+
{"version":3,"file":"get-profile-data.js","sourceRoot":"","sources":["../../src/lib/get-profile-data.ts"],"names":[],"mappings":";;;;;;AAAA,4EAAuC;AAEvC,2CAA2E;AAG3E;;;;GAIG;AACI,KAAK,UAAU,cAAc,CAAC,IAAiB;IACpD,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,6BAA6B,CAAC,CAAC;IAEpD,MAAM,IAAI,GAAgB,MAAM,IAAA,oBAAa,EAAC,MAAM,4BAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC,CAAC;IACxF,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC;IAEvD,OAAO,MAAM,CAAC,MAAM;IAClB,sCAAsC;IACtC,EAAE,QAAQ,EAAE,IAAI,CAAC,IAAI,EAAE,EACvB,IAAI,CACU,CAAC;AACnB,CAAC;AAXD,wCAWC"}
|
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.1.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"typings": "dist/index.d.ts",
|
|
@@ -27,56 +27,53 @@
|
|
|
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.1.0",
|
|
35
|
+
"@lerna-lite/version": "^1.1.0",
|
|
36
36
|
"byte-size": "^7.0.1",
|
|
37
37
|
"columnify": "^1.6.0",
|
|
38
|
-
"fs-extra": "^10.0
|
|
38
|
+
"fs-extra": "^10.1.0",
|
|
39
39
|
"has-unicode": "^2.0.1",
|
|
40
|
-
"libnpmaccess": "^6.0.
|
|
41
|
-
"libnpmpublish": "^
|
|
42
|
-
"npm-package-arg": "^
|
|
43
|
-
"npm-packlist": "^
|
|
44
|
-
"npm-registry-fetch": "^
|
|
45
|
-
"npmlog": "^6.0.
|
|
40
|
+
"libnpmaccess": "^6.0.3",
|
|
41
|
+
"libnpmpublish": "^6.0.4",
|
|
42
|
+
"npm-package-arg": "^9.0.2",
|
|
43
|
+
"npm-packlist": "^5.0.2",
|
|
44
|
+
"npm-registry-fetch": "^13.1.1",
|
|
45
|
+
"npmlog": "^6.0.2",
|
|
46
46
|
"os": "^0.1.2",
|
|
47
47
|
"p-map": "^4.0.0",
|
|
48
48
|
"p-pipe": "^3.1.0",
|
|
49
|
-
"pacote": "^
|
|
49
|
+
"pacote": "^13.1.1",
|
|
50
50
|
"path": "^0.12.7",
|
|
51
51
|
"pify": "^5.0.0",
|
|
52
|
-
"read-package-json": "^
|
|
52
|
+
"read-package-json": "^5.0.1",
|
|
53
53
|
"resolve-from": "^5.0.0",
|
|
54
|
-
"semver": "^7.3.
|
|
54
|
+
"semver": "^7.3.7",
|
|
55
55
|
"slash": "^3.0.0",
|
|
56
|
-
"ssri": "^
|
|
56
|
+
"ssri": "^9.0.0",
|
|
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.1"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
|
-
"@types/async": "^3.2.
|
|
67
|
+
"@types/async": "^3.2.13",
|
|
69
68
|
"@types/conventional-changelog-core": "^4.2.1",
|
|
70
69
|
"@types/conventional-recommended-bump": "^6.1.0",
|
|
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.21",
|
|
75
|
-
"@types/npmlog": "^4.1.4",
|
|
76
73
|
"@types/p-map": "^2.0.0",
|
|
77
74
|
"@types/semver": "^7.3.9",
|
|
78
75
|
"@types/write-json-file": "^3.2.1",
|
|
79
76
|
"@types/write-pkg": "^4.0.0"
|
|
80
77
|
},
|
|
81
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "481d25e07e9925c20a022fd2f1b8e9f2b5d22d92"
|
|
82
79
|
}
|