@pnpm/releasing.commands 1000.0.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.
Files changed (44) hide show
  1. package/LICENSE +22 -0
  2. package/lib/deploy/createDeployFiles.d.ts +23 -0
  3. package/lib/deploy/createDeployFiles.js +218 -0
  4. package/lib/deploy/deploy.d.ts +11 -0
  5. package/lib/deploy/deploy.js +270 -0
  6. package/lib/deploy/deployHook.d.ts +2 -0
  7. package/lib/deploy/deployHook.js +15 -0
  8. package/lib/deploy/index.d.ts +2 -0
  9. package/lib/deploy/index.js +3 -0
  10. package/lib/index.d.ts +2 -0
  11. package/lib/index.js +3 -0
  12. package/lib/publish/FailedToPublishError.d.ts +22 -0
  13. package/lib/publish/FailedToPublishError.js +40 -0
  14. package/lib/publish/displayError.d.ts +1 -0
  15. package/lib/publish/displayError.js +23 -0
  16. package/lib/publish/executeTokenHelper.d.ts +4 -0
  17. package/lib/publish/executeTokenHelper.js +14 -0
  18. package/lib/publish/extractManifestFromPacked.d.ts +12 -0
  19. package/lib/publish/extractManifestFromPacked.js +71 -0
  20. package/lib/publish/index.d.ts +3 -0
  21. package/lib/publish/index.js +4 -0
  22. package/lib/publish/oidc/authToken.d.ts +73 -0
  23. package/lib/publish/oidc/authToken.js +95 -0
  24. package/lib/publish/oidc/idToken.d.ts +76 -0
  25. package/lib/publish/oidc/idToken.js +85 -0
  26. package/lib/publish/oidc/provenance.d.ts +73 -0
  27. package/lib/publish/oidc/provenance.js +90 -0
  28. package/lib/publish/otp.d.ts +89 -0
  29. package/lib/publish/otp.js +165 -0
  30. package/lib/publish/otpEnv.d.ts +7 -0
  31. package/lib/publish/otpEnv.js +5 -0
  32. package/lib/publish/pack.d.ts +32 -0
  33. package/lib/publish/pack.js +303 -0
  34. package/lib/publish/publish.d.ts +31 -0
  35. package/lib/publish/publish.js +216 -0
  36. package/lib/publish/publishPackedPkg.d.ts +19 -0
  37. package/lib/publish/publishPackedPkg.js +233 -0
  38. package/lib/publish/recursivePublish.d.ts +12 -0
  39. package/lib/publish/recursivePublish.js +114 -0
  40. package/lib/publish/registryConfigKeys.d.ts +30 -0
  41. package/lib/publish/registryConfigKeys.js +50 -0
  42. package/lib/publish/utils/shared-context.d.ts +7 -0
  43. package/lib/publish/utils/shared-context.js +17 -0
  44. package/package.json +118 -0
@@ -0,0 +1,7 @@
1
+ import type { AuthTokenContext } from '../oidc/authToken.js';
2
+ import type { IdTokenContext } from '../oidc/idToken.js';
3
+ import type { ProvenanceContext } from '../oidc/provenance.js';
4
+ import type { OtpContext } from '../otp.js';
5
+ type SharedContext = AuthTokenContext & IdTokenContext & ProvenanceContext & OtpContext;
6
+ export declare const SHARED_CONTEXT: SharedContext;
7
+ export {};
@@ -0,0 +1,17 @@
1
+ import { globalInfo } from '@pnpm/logger';
2
+ import { fetch } from '@pnpm/network.fetch';
3
+ import ciInfo from 'ci-info';
4
+ import enquirer from 'enquirer';
5
+ import { publish as _publish } from 'libnpmpublish';
6
+ const publish = _publish;
7
+ export const SHARED_CONTEXT = {
8
+ Date,
9
+ ciInfo,
10
+ enquirer,
11
+ fetch,
12
+ globalInfo,
13
+ process,
14
+ publish,
15
+ setTimeout,
16
+ };
17
+ //# sourceMappingURL=shared-context.js.map
package/package.json ADDED
@@ -0,0 +1,118 @@
1
+ {
2
+ "name": "@pnpm/releasing.commands",
3
+ "version": "1000.0.0",
4
+ "description": "Commands for deploy, pack, and publish",
5
+ "keywords": [
6
+ "pnpm",
7
+ "pnpm11"
8
+ ],
9
+ "license": "MIT",
10
+ "funding": "https://opencollective.com/pnpm",
11
+ "repository": "https://github.com/pnpm/pnpm/tree/main/releasing/commands",
12
+ "homepage": "https://github.com/pnpm/pnpm/tree/main/releasing/commands#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/pnpm/pnpm/issues"
15
+ },
16
+ "type": "module",
17
+ "main": "lib/index.js",
18
+ "types": "lib/index.d.ts",
19
+ "exports": {
20
+ ".": "./lib/index.js"
21
+ },
22
+ "files": [
23
+ "lib",
24
+ "!*.map"
25
+ ],
26
+ "dependencies": {
27
+ "@types/normalize-path": "^3.0.2",
28
+ "@zkochan/rimraf": "^4.0.0",
29
+ "chalk": "^5.6.0",
30
+ "ci-info": "^4.3.0",
31
+ "enquirer": "^2.4.1",
32
+ "execa": "npm:safe-execa@0.3.0",
33
+ "libnpmpublish": "^11.1.3",
34
+ "normalize-path": "^3.0.0",
35
+ "normalize-registry-url": "2.0.1",
36
+ "p-filter": "^4.1.0",
37
+ "p-limit": "^7.1.0",
38
+ "qrcode-terminal": "^0.12.0",
39
+ "ramda": "npm:@pnpm/ramda@0.28.1",
40
+ "realpath-missing": "^2.0.0",
41
+ "render-help": "^2.0.0",
42
+ "tar-stream": "^3.1.7",
43
+ "tempy": "3.0.0",
44
+ "tinyglobby": "^0.2.14",
45
+ "validate-npm-package-name": "7.0.2",
46
+ "write-json-file": "^7.0.0",
47
+ "write-yaml-file": "^6.0.0",
48
+ "@pnpm/bins.resolver": "1000.0.11",
49
+ "@pnpm/catalogs.types": "1000.0.0",
50
+ "@pnpm/cli.utils": "1001.2.8",
51
+ "@pnpm/cli.common-cli-options-help": "1000.0.1",
52
+ "@pnpm/config.pick-registry-for-package": "1000.0.11",
53
+ "@pnpm/config.reader": "1004.4.2",
54
+ "@pnpm/constants": "1001.3.1",
55
+ "@pnpm/error": "1000.0.5",
56
+ "@pnpm/deps.path": "1001.1.3",
57
+ "@pnpm/exec.lifecycle": "1001.0.25",
58
+ "@pnpm/fetching.directory-fetcher": "1000.1.14",
59
+ "@pnpm/fs.indexed-pkg-importer": "1000.1.14",
60
+ "@pnpm/engine.runtime.commands": "1000.0.0-0",
61
+ "@pnpm/fs.is-empty-dir-or-nothing": "1000.0.0",
62
+ "@pnpm/fs.packlist": "1000.0.0",
63
+ "@pnpm/installing.commands": "1004.6.10",
64
+ "@pnpm/lockfile.fs": "1001.1.21",
65
+ "@pnpm/lockfile.types": "1002.0.2",
66
+ "@pnpm/network.fetch": "1000.2.6",
67
+ "@pnpm/network.git-utils": "1000.0.0",
68
+ "@pnpm/releasing.exportable-manifest": "1000.1.7",
69
+ "@pnpm/types": "1000.9.0",
70
+ "@pnpm/workspace.projects-sorter": "1000.0.11",
71
+ "@pnpm/installing.client": "1001.1.4",
72
+ "@pnpm/resolving.resolver-base": "1005.1.0"
73
+ },
74
+ "peerDependencies": {
75
+ "@pnpm/logger": ">=1001.0.0 <1002.0.0"
76
+ },
77
+ "devDependencies": {
78
+ "@jest/globals": "30.0.5",
79
+ "@pnpm/registry-mock": "5.2.4",
80
+ "@types/cross-spawn": "^6.0.6",
81
+ "@types/is-windows": "^1.0.2",
82
+ "@types/libnpmpublish": "^9.0.1",
83
+ "@types/proxyquire": "^1.3.31",
84
+ "@types/qrcode-terminal": "^0.12.2",
85
+ "@types/ramda": "0.29.12",
86
+ "@types/tar": "^6.1.13",
87
+ "@types/tar-stream": "^2.2.3",
88
+ "@types/validate-npm-package-name": "^4.0.2",
89
+ "ci-info": "^4.3.0",
90
+ "cross-spawn": "^7.0.6",
91
+ "is-windows": "^1.0.2",
92
+ "load-json-file": "^7.0.1",
93
+ "tar": "^7.5.10",
94
+ "write-yaml-file": "^6.0.0",
95
+ "@pnpm/catalogs.config": "1000.0.5",
96
+ "@pnpm/hooks.pnpmfile": "1002.1.3",
97
+ "@pnpm/assert-project": "1000.0.4",
98
+ "@pnpm/logger": "1001.0.1",
99
+ "@pnpm/releasing.commands": "1000.0.0",
100
+ "@pnpm/test-fixtures": "1000.0.0",
101
+ "@pnpm/prepare": "1000.0.4",
102
+ "@pnpm/test-ipc-server": "1000.0.0",
103
+ "@pnpm/workspace.projects-filter": "1000.0.43"
104
+ },
105
+ "engines": {
106
+ "node": ">=22.13"
107
+ },
108
+ "jest": {
109
+ "preset": "@pnpm/jest-config/with-registry"
110
+ },
111
+ "scripts": {
112
+ "start": "tsgo --watch",
113
+ "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
114
+ "_test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest",
115
+ "test": "pnpm run compile && pnpm run _test",
116
+ "compile": "tsgo --build && pnpm run lint --fix"
117
+ }
118
+ }