@pnpm/plugin-commands-publishing 7.4.0 → 7.4.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/lib/pack.js +2 -2
- package/lib/pack.js.map +1 -1
- package/lib/publish.d.ts +132 -1
- package/package.json +20 -21
package/lib/pack.js
CHANGED
|
@@ -11,13 +11,13 @@ const error_1 = require("@pnpm/error");
|
|
|
11
11
|
const config_1 = require("@pnpm/config");
|
|
12
12
|
const cli_utils_1 = require("@pnpm/cli-utils");
|
|
13
13
|
const exportable_manifest_1 = require("@pnpm/exportable-manifest");
|
|
14
|
+
const fs_packlist_1 = require("@pnpm/fs.packlist");
|
|
14
15
|
const package_bins_1 = require("@pnpm/package-bins");
|
|
15
16
|
const fast_glob_1 = __importDefault(require("fast-glob"));
|
|
16
17
|
const pick_1 = __importDefault(require("ramda/src/pick"));
|
|
17
18
|
const realpath_missing_1 = __importDefault(require("realpath-missing"));
|
|
18
19
|
const render_help_1 = __importDefault(require("render-help"));
|
|
19
20
|
const tar_stream_1 = __importDefault(require("tar-stream"));
|
|
20
|
-
const npm_packlist_1 = __importDefault(require("npm-packlist"));
|
|
21
21
|
const publish_1 = require("./publish");
|
|
22
22
|
const LICENSE_GLOB = 'LICEN{S,C}E{,.*}'; // cspell:disable-line
|
|
23
23
|
const findLicenses = fast_glob_1.default.bind(fast_glob_1.default, [LICENSE_GLOB]);
|
|
@@ -87,7 +87,7 @@ async function handler(opts) {
|
|
|
87
87
|
throw new error_1.PnpmError('PACKAGE_VERSION_NOT_FOUND', `Package version is not defined in the ${manifestFileName}.`);
|
|
88
88
|
}
|
|
89
89
|
const tarballName = `${manifest.name.replace('@', '').replace('/', '-')}-${manifest.version}.tgz`;
|
|
90
|
-
const files = await (0,
|
|
90
|
+
const files = await (0, fs_packlist_1.packlist)(dir);
|
|
91
91
|
const filesMap = Object.fromEntries(files.map((file) => [`package/${file}`, path_1.default.join(dir, file)]));
|
|
92
92
|
// cspell:disable-next-line
|
|
93
93
|
if (opts.workspaceDir != null && dir !== opts.workspaceDir && !files.some((file) => /LICEN[CS]E(\..+)?/i.test(file))) {
|
package/lib/pack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack.js","sourceRoot":"","sources":["../src/pack.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAmB;AACnB,gDAAuB;AACvB,+BAAiC;AACjC,uCAAuC;AACvC,yCAAoF;AACpF,+CAAqD;AACrD,mEAAoE;AACpE,qDAA+D;AAE/D,0DAA0B;AAC1B,0DAAiC;AACjC,wEAA8C;AAC9C,8DAAoC;AACpC,4DAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"pack.js","sourceRoot":"","sources":["../src/pack.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAmB;AACnB,gDAAuB;AACvB,+BAAiC;AACjC,uCAAuC;AACvC,yCAAoF;AACpF,+CAAqD;AACrD,mEAAoE;AACpE,mDAA4C;AAC5C,qDAA+D;AAE/D,0DAA0B;AAC1B,0DAAiC;AACjC,wEAA8C;AAC9C,8DAAoC;AACpC,4DAA4B;AAC5B,uCAA+C;AAE/C,MAAM,YAAY,GAAG,kBAAkB,CAAA,CAAC,sBAAsB;AAC9D,MAAM,YAAY,GAAG,mBAAE,CAAC,IAAI,CAAC,mBAAE,EAAE,CAAC,YAAY,CAAC,CAAiD,CAAA;AAEhG,SAAgB,cAAc;IAC5B,OAAO;QACL,GAAG,eAAe,EAAE;QACpB,GAAG,IAAA,cAAI,EAAC;YACN,UAAU;SACX,EAAE,cAAQ,CAAC;KACb,CAAA;AACH,CAAC;AAPD,wCAOC;AAED,SAAgB,eAAe;IAC7B,OAAO;QACL,kBAAkB,EAAE,MAAM;QAC1B,GAAG,IAAA,cAAI,EAAC;YACN,iBAAiB;SAClB,EAAE,cAAQ,CAAC;KACb,CAAA;AACH,CAAC;AAPD,0CAOC;AAEY,QAAA,YAAY,GAAG,CAAC,MAAM,CAAC,CAAA;A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ACvB,OAAO,EAAE,CAAA;QACX,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;IACxB,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/lib/publish.d.ts
CHANGED
|
@@ -1,14 +1,145 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
/// <reference types="node" />
|
|
4
|
+
import path from 'path';
|
|
1
5
|
import { type Config } from '@pnpm/config';
|
|
2
6
|
import { type RunLifecycleHookOptions } from '@pnpm/lifecycle';
|
|
3
7
|
import { type ProjectManifest } from '@pnpm/types';
|
|
4
8
|
import { type PublishRecursiveOpts } from './recursivePublish';
|
|
5
|
-
export declare function rcOptionsTypes(): Pick<
|
|
9
|
+
export declare function rcOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "proxy" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "local-address" | "no-proxy" | "strict-ssl" | "user-agent" | "package-lock", any>> & {
|
|
10
|
+
access: (string | null)[];
|
|
11
|
+
'allow-same-version': BooleanConstructor;
|
|
12
|
+
'always-auth': BooleanConstructor;
|
|
13
|
+
also: (string | null)[];
|
|
14
|
+
audit: BooleanConstructor;
|
|
15
|
+
'auth-type': string[];
|
|
16
|
+
'bin-links': BooleanConstructor;
|
|
17
|
+
browser: (StringConstructor | null)[];
|
|
18
|
+
ca: (StringConstructor | ArrayConstructor | null)[];
|
|
19
|
+
cafile: path.PlatformPath;
|
|
20
|
+
cache: path.PlatformPath;
|
|
21
|
+
'cache-lock-stale': NumberConstructor;
|
|
22
|
+
'cache-lock-retries': NumberConstructor;
|
|
23
|
+
'cache-lock-wait': NumberConstructor;
|
|
24
|
+
'cache-max': NumberConstructor;
|
|
25
|
+
'cache-min': NumberConstructor;
|
|
26
|
+
cert: (StringConstructor | null)[];
|
|
27
|
+
cidr: (StringConstructor | ArrayConstructor | null)[];
|
|
28
|
+
color: (string | BooleanConstructor)[];
|
|
29
|
+
depth: NumberConstructor;
|
|
30
|
+
description: BooleanConstructor;
|
|
31
|
+
dev: BooleanConstructor;
|
|
32
|
+
'dry-run': BooleanConstructor;
|
|
33
|
+
editor: StringConstructor;
|
|
34
|
+
'engine-strict': BooleanConstructor;
|
|
35
|
+
force: BooleanConstructor;
|
|
36
|
+
'fetch-retries': NumberConstructor;
|
|
37
|
+
'fetch-retry-factor': NumberConstructor;
|
|
38
|
+
'fetch-retry-mintimeout': NumberConstructor;
|
|
39
|
+
'fetch-retry-maxtimeout': NumberConstructor;
|
|
40
|
+
git: StringConstructor;
|
|
41
|
+
'git-tag-version': BooleanConstructor;
|
|
42
|
+
'commit-hooks': BooleanConstructor;
|
|
43
|
+
global: BooleanConstructor;
|
|
44
|
+
globalconfig: path.PlatformPath;
|
|
45
|
+
'global-style': BooleanConstructor;
|
|
46
|
+
group: (StringConstructor | NumberConstructor)[];
|
|
47
|
+
'https-proxy': (typeof import("url") | null)[];
|
|
48
|
+
'user-agent': StringConstructor;
|
|
49
|
+
'ham-it-up': BooleanConstructor;
|
|
50
|
+
heading: StringConstructor;
|
|
51
|
+
'if-present': BooleanConstructor;
|
|
52
|
+
'ignore-prepublish': BooleanConstructor;
|
|
53
|
+
'ignore-scripts': BooleanConstructor;
|
|
54
|
+
'init-module': path.PlatformPath;
|
|
55
|
+
'init-author-name': StringConstructor;
|
|
56
|
+
'init-author-email': StringConstructor;
|
|
57
|
+
'init-author-url': (string | typeof import("url"))[];
|
|
58
|
+
'init-license': StringConstructor;
|
|
59
|
+
'init-version': () => void;
|
|
60
|
+
json: BooleanConstructor;
|
|
61
|
+
key: (StringConstructor | null)[];
|
|
62
|
+
'legacy-bundling': BooleanConstructor;
|
|
63
|
+
link: BooleanConstructor;
|
|
64
|
+
'local-address': never[];
|
|
65
|
+
loglevel: string[];
|
|
66
|
+
logstream: typeof import("stream").Stream;
|
|
67
|
+
'logs-max': NumberConstructor;
|
|
68
|
+
long: BooleanConstructor;
|
|
69
|
+
maxsockets: NumberConstructor;
|
|
70
|
+
message: StringConstructor;
|
|
71
|
+
'metrics-registry': (StringConstructor | null)[];
|
|
72
|
+
'node-options': (StringConstructor | null)[];
|
|
73
|
+
'node-version': ((() => void) | null)[];
|
|
74
|
+
'no-proxy': (StringConstructor | ArrayConstructor | null)[];
|
|
75
|
+
offline: BooleanConstructor;
|
|
76
|
+
'onload-script': (StringConstructor | null)[];
|
|
77
|
+
only: (string | null)[];
|
|
78
|
+
optional: BooleanConstructor;
|
|
79
|
+
'package-lock': BooleanConstructor;
|
|
80
|
+
otp: (StringConstructor | null)[];
|
|
81
|
+
'package-lock-only': BooleanConstructor;
|
|
82
|
+
parseable: BooleanConstructor;
|
|
83
|
+
'prefer-offline': BooleanConstructor;
|
|
84
|
+
'prefer-online': BooleanConstructor;
|
|
85
|
+
prefix: path.PlatformPath;
|
|
86
|
+
production: BooleanConstructor;
|
|
87
|
+
progress: BooleanConstructor;
|
|
88
|
+
provenance: BooleanConstructor;
|
|
89
|
+
proxy: (boolean | typeof import("url") | null)[];
|
|
90
|
+
'read-only': BooleanConstructor;
|
|
91
|
+
'rebuild-bundle': BooleanConstructor;
|
|
92
|
+
registry: (typeof import("url") | null)[];
|
|
93
|
+
rollback: BooleanConstructor;
|
|
94
|
+
save: BooleanConstructor;
|
|
95
|
+
'save-bundle': BooleanConstructor;
|
|
96
|
+
'save-dev': BooleanConstructor;
|
|
97
|
+
'save-exact': BooleanConstructor;
|
|
98
|
+
'save-optional': BooleanConstructor;
|
|
99
|
+
'save-prefix': StringConstructor;
|
|
100
|
+
'save-prod': BooleanConstructor;
|
|
101
|
+
scope: StringConstructor;
|
|
102
|
+
'script-shell': (StringConstructor | null)[];
|
|
103
|
+
'scripts-prepend-node-path': (string | boolean)[];
|
|
104
|
+
searchopts: StringConstructor;
|
|
105
|
+
searchexclude: (StringConstructor | null)[];
|
|
106
|
+
searchlimit: NumberConstructor;
|
|
107
|
+
searchstaleness: NumberConstructor;
|
|
108
|
+
'send-metrics': BooleanConstructor;
|
|
109
|
+
shell: StringConstructor;
|
|
110
|
+
shrinkwrap: BooleanConstructor;
|
|
111
|
+
'sign-git-tag': BooleanConstructor;
|
|
112
|
+
'sso-poll-frequency': NumberConstructor;
|
|
113
|
+
'sso-type': (string | null)[];
|
|
114
|
+
'strict-ssl': BooleanConstructor;
|
|
115
|
+
tag: StringConstructor;
|
|
116
|
+
timing: BooleanConstructor;
|
|
117
|
+
tmp: path.PlatformPath;
|
|
118
|
+
unicode: BooleanConstructor;
|
|
119
|
+
'unsafe-perm': BooleanConstructor;
|
|
120
|
+
usage: BooleanConstructor;
|
|
121
|
+
user: (StringConstructor | NumberConstructor)[];
|
|
122
|
+
userconfig: path.PlatformPath;
|
|
123
|
+
umask: () => void;
|
|
124
|
+
version: BooleanConstructor;
|
|
125
|
+
'tag-version-prefix': StringConstructor;
|
|
126
|
+
versions: BooleanConstructor;
|
|
127
|
+
viewer: StringConstructor;
|
|
128
|
+
_exit: BooleanConstructor;
|
|
129
|
+
}, "registry" | "tag" | "access" | "otp" | "ignore-scripts" | "unsafe-perm" | "provenance">;
|
|
6
130
|
export declare function cliOptionsTypes(): {
|
|
7
131
|
'dry-run': BooleanConstructor;
|
|
8
132
|
force: BooleanConstructor;
|
|
9
133
|
json: BooleanConstructor;
|
|
10
134
|
recursive: BooleanConstructor;
|
|
11
135
|
'report-summary': BooleanConstructor;
|
|
136
|
+
registry: any;
|
|
137
|
+
tag: any;
|
|
138
|
+
access: (string | null)[];
|
|
139
|
+
otp: (StringConstructor | null)[];
|
|
140
|
+
'ignore-scripts': any;
|
|
141
|
+
'unsafe-perm': any;
|
|
142
|
+
provenance: BooleanConstructor;
|
|
12
143
|
};
|
|
13
144
|
export declare const commandNames: string[];
|
|
14
145
|
export declare function help(): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/plugin-commands-publishing",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.2",
|
|
4
4
|
"description": "The pack and publish commands of pnpm",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -25,13 +25,12 @@
|
|
|
25
25
|
"homepage": "https://github.com/pnpm/pnpm/blob/main/releasing/plugin-commands-publishing#readme",
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@pnpm/registry-mock": "3.16.0",
|
|
28
|
-
"@types/cross-spawn": "^6.0.
|
|
29
|
-
"@types/is-windows": "^1.0.
|
|
30
|
-
"@types/
|
|
31
|
-
"@types/proxyquire": "^1.3.29",
|
|
28
|
+
"@types/cross-spawn": "^6.0.4",
|
|
29
|
+
"@types/is-windows": "^1.0.1",
|
|
30
|
+
"@types/proxyquire": "^1.3.30",
|
|
32
31
|
"@types/ramda": "0.28.20",
|
|
33
|
-
"@types/sinon": "^10.0.
|
|
34
|
-
"@types/tar": "^6.1.
|
|
32
|
+
"@types/sinon": "^10.0.20",
|
|
33
|
+
"@types/tar": "^6.1.7",
|
|
35
34
|
"@types/tar-stream": "^2.2.3",
|
|
36
35
|
"ci-info": "^3.9.0",
|
|
37
36
|
"cross-spawn": "^7.0.3",
|
|
@@ -40,16 +39,15 @@
|
|
|
40
39
|
"path-exists": "^4.0.0",
|
|
41
40
|
"tar": "^6.2.0",
|
|
42
41
|
"write-yaml-file": "^5.0.0",
|
|
43
|
-
"@pnpm/filter-workspace-packages": "7.2.
|
|
44
|
-
"@pnpm/plugin-commands-publishing": "7.4.
|
|
45
|
-
"@pnpm/prepare": "0.0.
|
|
42
|
+
"@pnpm/filter-workspace-packages": "7.2.1",
|
|
43
|
+
"@pnpm/plugin-commands-publishing": "7.4.2",
|
|
44
|
+
"@pnpm/prepare": "0.0.84"
|
|
46
45
|
},
|
|
47
46
|
"dependencies": {
|
|
48
47
|
"@zkochan/rimraf": "^2.1.3",
|
|
49
48
|
"enquirer": "^2.4.1",
|
|
50
49
|
"execa": "npm:safe-execa@0.1.2",
|
|
51
50
|
"fast-glob": "^3.3.1",
|
|
52
|
-
"npm-packlist": "^5.1.3",
|
|
53
51
|
"p-filter": "^2.1.0",
|
|
54
52
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
55
53
|
"realpath-missing": "^1.1.0",
|
|
@@ -57,20 +55,21 @@
|
|
|
57
55
|
"tar-stream": "^2.2.0",
|
|
58
56
|
"tempy": "^1.0.1",
|
|
59
57
|
"write-json-file": "^4.3.0",
|
|
60
|
-
"@pnpm/cli-utils": "2.1.
|
|
61
|
-
"@pnpm/
|
|
62
|
-
"@pnpm/common-cli-options-help": "1.0.0",
|
|
63
|
-
"@pnpm/config": "20.1.0",
|
|
64
|
-
"@pnpm/error": "5.0.2",
|
|
65
|
-
"@pnpm/exportable-manifest": "5.0.9",
|
|
58
|
+
"@pnpm/cli-utils": "2.1.1",
|
|
59
|
+
"@pnpm/config": "20.1.1",
|
|
66
60
|
"@pnpm/git-utils": "1.0.0",
|
|
67
|
-
"@pnpm/
|
|
68
|
-
"@pnpm/
|
|
61
|
+
"@pnpm/exportable-manifest": "5.0.9",
|
|
62
|
+
"@pnpm/lifecycle": "16.0.6",
|
|
63
|
+
"@pnpm/common-cli-options-help": "1.0.0",
|
|
69
64
|
"@pnpm/pick-registry-for-package": "5.0.4",
|
|
70
|
-
"@pnpm/
|
|
65
|
+
"@pnpm/client": "10.0.33",
|
|
66
|
+
"@pnpm/package-bins": "8.0.4",
|
|
67
|
+
"@pnpm/error": "5.0.2",
|
|
68
|
+
"@pnpm/types": "9.4.0",
|
|
71
69
|
"@pnpm/run-npm": "6.0.0",
|
|
70
|
+
"@pnpm/fs.packlist": "1.0.0",
|
|
72
71
|
"@pnpm/sort-packages": "5.0.7",
|
|
73
|
-
"@pnpm/
|
|
72
|
+
"@pnpm/resolver-base": "11.0.0"
|
|
74
73
|
},
|
|
75
74
|
"peerDependencies": {
|
|
76
75
|
"@pnpm/logger": "^5.0.0"
|