Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stackblitz-labs/pkg.pr.new
/ index.ts
File
index.ts
packages/cli/index.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/* eslint-disable unicorn/no-process-exit */
2
import
path from
"node:path"
;
3
import
{ createHash } from
"node:crypto"
;
4
import
fsSync from
"node:fs"
;
Callers
nothing calls this directly
Calls
11
abbreviateCommitHash
Function · 0.90
createDefaultTemplate
Function · 0.90
fetchWithRetry
Function · 0.85
readPackageJson
Function · 0.85
readPackageJsonFromTarball
Function · 0.85
verifyCompactMode
Function · 0.85
tryReadFile
Function · 0.85
parsePackageJson
Function · 0.85
writeDeps
Function · 0.85
resolveTarball
Function · 0.85
getFormEntrySize
Function · 0.85
Tested by
no test coverage detected