@penvhq/launcher 0.9.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 +21 -0
- package/dist/bin.cjs +1519 -0
- package/dist/bin.cjs.map +1 -0
- package/dist/bin.d.cts +1 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +55 -0
- package/dist/bin.js.map +1 -0
- package/dist/chunk-2AF67CKY.js +1552 -0
- package/dist/chunk-2AF67CKY.js.map +1 -0
- package/dist/index.cjs +1628 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +601 -0
- package/dist/index.d.ts +601 -0
- package/dist/index.js +135 -0
- package/dist/index.js.map +1 -0
- package/package.json +31 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AddFlagError,
|
|
3
|
+
AddNoDownloadError,
|
|
4
|
+
AddNotInteractiveError,
|
|
5
|
+
AddPackageNameError,
|
|
6
|
+
AddRegistryError,
|
|
7
|
+
AddSubjectError,
|
|
8
|
+
ArchiveError,
|
|
9
|
+
BUNDLED_ENGINE_PIN,
|
|
10
|
+
DEFAULT_REGISTRY,
|
|
11
|
+
DEV_PIN_INTEGRITY,
|
|
12
|
+
DEV_PIN_VERSION,
|
|
13
|
+
DeclarationMissingError,
|
|
14
|
+
DeclarationNotSelfContainedError,
|
|
15
|
+
DownloadFailedError,
|
|
16
|
+
DownloadIntegrityError,
|
|
17
|
+
ENGINE_BIN,
|
|
18
|
+
EngineEntryError,
|
|
19
|
+
EnginePinMismatchError,
|
|
20
|
+
EnginePinUnreleasedError,
|
|
21
|
+
HOME_META_FILE,
|
|
22
|
+
INSTALL_COMMAND,
|
|
23
|
+
INTEGRITY_FILE,
|
|
24
|
+
InstallDeclinedError,
|
|
25
|
+
MIN_PACKAGE_AGE_DAYS,
|
|
26
|
+
NPM_UPDATE_COMMAND,
|
|
27
|
+
NoProjectError,
|
|
28
|
+
OfficialRegistryError,
|
|
29
|
+
PENV_HOME_VAR,
|
|
30
|
+
PackageCorruptError,
|
|
31
|
+
PackageMissingError,
|
|
32
|
+
PackageTooYoungError,
|
|
33
|
+
PackageUnknownError,
|
|
34
|
+
RegistryUnreadableError,
|
|
35
|
+
ReleaseIncompleteError,
|
|
36
|
+
TRUST_YOUNG_FLAG,
|
|
37
|
+
TrustDeclinedError,
|
|
38
|
+
TrustPublisherMissingError,
|
|
39
|
+
TrustReasonMissingError,
|
|
40
|
+
VersionUnknownError,
|
|
41
|
+
add,
|
|
42
|
+
assertReleasePin,
|
|
43
|
+
bundledEngine,
|
|
44
|
+
declarationPath,
|
|
45
|
+
engineAt,
|
|
46
|
+
fetchRelease,
|
|
47
|
+
findAdoptedRoot,
|
|
48
|
+
findProject,
|
|
49
|
+
httpFetcher,
|
|
50
|
+
inspectInstall,
|
|
51
|
+
installPin,
|
|
52
|
+
integrityOf,
|
|
53
|
+
launcherUpdateCommand,
|
|
54
|
+
nodeSpawner,
|
|
55
|
+
packageDir,
|
|
56
|
+
packumentUrl,
|
|
57
|
+
penvHome,
|
|
58
|
+
readExtensionPackage,
|
|
59
|
+
readProviderEntries,
|
|
60
|
+
readTarball,
|
|
61
|
+
releaseEnginePin,
|
|
62
|
+
renderDeclaration,
|
|
63
|
+
runLauncher,
|
|
64
|
+
setProviderType,
|
|
65
|
+
tarballUrl,
|
|
66
|
+
writeDeclaration
|
|
67
|
+
} from "./chunk-2AF67CKY.js";
|
|
68
|
+
export {
|
|
69
|
+
AddFlagError,
|
|
70
|
+
AddNoDownloadError,
|
|
71
|
+
AddNotInteractiveError,
|
|
72
|
+
AddPackageNameError,
|
|
73
|
+
AddRegistryError,
|
|
74
|
+
AddSubjectError,
|
|
75
|
+
ArchiveError,
|
|
76
|
+
BUNDLED_ENGINE_PIN,
|
|
77
|
+
DEFAULT_REGISTRY,
|
|
78
|
+
DEV_PIN_INTEGRITY,
|
|
79
|
+
DEV_PIN_VERSION,
|
|
80
|
+
DeclarationMissingError,
|
|
81
|
+
DeclarationNotSelfContainedError,
|
|
82
|
+
DownloadFailedError,
|
|
83
|
+
DownloadIntegrityError,
|
|
84
|
+
ENGINE_BIN,
|
|
85
|
+
EngineEntryError,
|
|
86
|
+
EnginePinMismatchError,
|
|
87
|
+
EnginePinUnreleasedError,
|
|
88
|
+
HOME_META_FILE,
|
|
89
|
+
INSTALL_COMMAND,
|
|
90
|
+
INTEGRITY_FILE,
|
|
91
|
+
InstallDeclinedError,
|
|
92
|
+
MIN_PACKAGE_AGE_DAYS,
|
|
93
|
+
NPM_UPDATE_COMMAND,
|
|
94
|
+
NoProjectError,
|
|
95
|
+
OfficialRegistryError,
|
|
96
|
+
PENV_HOME_VAR,
|
|
97
|
+
PackageCorruptError,
|
|
98
|
+
PackageMissingError,
|
|
99
|
+
PackageTooYoungError,
|
|
100
|
+
PackageUnknownError,
|
|
101
|
+
RegistryUnreadableError,
|
|
102
|
+
ReleaseIncompleteError,
|
|
103
|
+
TRUST_YOUNG_FLAG,
|
|
104
|
+
TrustDeclinedError,
|
|
105
|
+
TrustPublisherMissingError,
|
|
106
|
+
TrustReasonMissingError,
|
|
107
|
+
VersionUnknownError,
|
|
108
|
+
add,
|
|
109
|
+
assertReleasePin,
|
|
110
|
+
bundledEngine,
|
|
111
|
+
declarationPath,
|
|
112
|
+
engineAt,
|
|
113
|
+
fetchRelease,
|
|
114
|
+
findAdoptedRoot,
|
|
115
|
+
findProject,
|
|
116
|
+
httpFetcher,
|
|
117
|
+
inspectInstall,
|
|
118
|
+
installPin,
|
|
119
|
+
integrityOf,
|
|
120
|
+
launcherUpdateCommand,
|
|
121
|
+
nodeSpawner,
|
|
122
|
+
packageDir,
|
|
123
|
+
packumentUrl,
|
|
124
|
+
penvHome,
|
|
125
|
+
readExtensionPackage,
|
|
126
|
+
readProviderEntries,
|
|
127
|
+
readTarball,
|
|
128
|
+
releaseEnginePin,
|
|
129
|
+
renderDeclaration,
|
|
130
|
+
runLauncher,
|
|
131
|
+
setProviderType,
|
|
132
|
+
tarballUrl,
|
|
133
|
+
writeDeclaration
|
|
134
|
+
};
|
|
135
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@penvhq/launcher",
|
|
3
|
+
"version": "0.9.0",
|
|
4
|
+
"description": "The stable penv launcher: it verifies the engine your project pins and hands over the command.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"bin": {
|
|
11
|
+
"penv": "./dist/bin.js"
|
|
12
|
+
},
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"zod": "4.4.3",
|
|
25
|
+
"@penvhq/cli": "0.9.0",
|
|
26
|
+
"@penvhq/core": "0.9.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsup"
|
|
30
|
+
}
|
|
31
|
+
}
|