Files
hyperframes/packages/studio-server/package.json
T
James RussoandClaude Opus 5.5 89a7aa3004 fix(cli): copy only media, font, CSS and JS files from outside the project (#7636)
* fix(cli): copy only media, font, CSS and JS files from outside the project

Publish, cloud render and feedback now copy an outside reference into _ext/
only when its extension is an image, video, audio, font, CSS or JS type,
taken from studio-server's MIME map (new ./mime subpath; .avif added).
Anything else outside the project is left out with a warning and a
left_out entry whose reason is file_type; telemetry counts it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(cli): keep the new outside-type file under its package's comment share

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(cli): copy the outside media cloud render re-encodes or converts

The outside allowlist now also takes the video, audio and still-image
extensions cloud render re-encodes or converts (.avi, .ogv, .aiff, .tif,
.bmp and the rest), from one shared list offload imports too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 03:24:23 +00:00

235 lines
7.7 KiB
JSON

{
"name": "@hyperframes/studio-server",
"version": "0.9.40",
"repository": {
"type": "git",
"url": "https://github.com/heygen-com/hyperframes",
"directory": "packages/studio-server"
},
"files": [
"dist",
"README.md"
],
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": {
"bun": "./src/index.ts",
"node": "./dist/index.js",
"import": "./src/index.ts",
"types": "./src/index.ts"
},
"./package.json": "./package.json",
"./screenshot-clip": {
"bun": "./src/helpers/screenshotClip.ts",
"node": "./dist/helpers/screenshotClip.js",
"import": "./src/helpers/screenshotClip.ts",
"types": "./src/helpers/screenshotClip.ts"
},
"./safe-path": {
"bun": "./src/helpers/safePath.ts",
"node": "./dist/helpers/safePath.js",
"import": "./src/helpers/safePath.ts",
"types": "./src/helpers/safePath.ts"
},
"./request-identity": {
"bun": "./src/helpers/requestIdentity.ts",
"node": "./dist/helpers/requestIdentity.js",
"import": "./src/helpers/requestIdentity.ts",
"types": "./src/helpers/requestIdentity.ts"
},
"./hf-ids": {
"bun": "./src/helpers/hfIdPersist.ts",
"node": "./dist/helpers/hfIdPersist.js",
"import": "./src/helpers/hfIdPersist.ts",
"types": "./src/helpers/hfIdPersist.ts"
},
"./history": {
"bun": "./src/history/index.ts",
"node": "./dist/history/index.js",
"import": "./src/history/index.ts",
"types": "./src/history/index.ts"
},
"./manual-edits-render-script": {
"bun": "./src/helpers/manualEditsRenderScript.ts",
"node": "./dist/helpers/manualEditsRenderScript.js",
"import": "./src/helpers/manualEditsRenderScript.ts",
"types": "./src/helpers/manualEditsRenderScript.ts"
},
"./studio-motion-render-script": {
"bun": "./src/helpers/studioMotionRenderScript.ts",
"node": "./dist/helpers/studioMotionRenderScript.js",
"import": "./src/helpers/studioMotionRenderScript.ts",
"types": "./src/helpers/studioMotionRenderScript.ts"
},
"./draft-markers": {
"bun": "./src/helpers/draftMarkers.ts",
"node": "./dist/helpers/draftMarkers.js",
"import": "./src/helpers/draftMarkers.ts",
"types": "./src/helpers/draftMarkers.ts"
},
"./finite-mutation": {
"bun": "./src/helpers/finiteMutation.ts",
"node": "./dist/helpers/finiteMutation.js",
"import": "./src/helpers/finiteMutation.ts",
"types": "./src/helpers/finiteMutation.ts"
},
"./source-mutation": {
"bun": "./src/helpers/sourceMutation.ts",
"node": "./dist/helpers/sourceMutation.js",
"import": "./src/helpers/sourceMutation.ts",
"types": "./src/helpers/sourceMutation.ts"
},
"./media-codec-map": {
"bun": "./src/helpers/mediaCodecMap.ts",
"node": "./dist/helpers/mediaCodecMap.js",
"import": "./src/helpers/mediaCodecMap.ts",
"types": "./src/helpers/mediaCodecMap.ts"
},
"./proxy-transcoder": {
"bun": "./src/helpers/proxyTranscoder.ts",
"node": "./dist/helpers/proxyTranscoder.js",
"import": "./src/helpers/proxyTranscoder.ts",
"types": "./src/helpers/proxyTranscoder.ts"
},
"./loudness": {
"bun": "./src/helpers/loudness.ts",
"node": "./dist/helpers/loudness.js",
"import": "./src/helpers/loudness.ts",
"types": "./src/helpers/loudness.ts"
},
"./media-proxy-preview": {
"bun": "./src/helpers/mediaProxyPreview.ts",
"node": "./dist/helpers/mediaProxyPreview.js",
"import": "./src/helpers/mediaProxyPreview.ts",
"types": "./src/helpers/mediaProxyPreview.ts"
},
"./encoder-options": {
"bun": "./src/helpers/encoderOptions.ts",
"node": "./dist/helpers/encoderOptions.js",
"import": "./src/helpers/encoderOptions.ts",
"types": "./src/helpers/encoderOptions.ts"
},
"./mime": {
"bun": "./src/helpers/mime.ts",
"node": "./dist/helpers/mime.js",
"import": "./src/helpers/mime.ts",
"types": "./src/helpers/mime.ts"
},
"./media-range": {
"bun": "./src/helpers/mediaRange.ts",
"node": "./dist/helpers/mediaRange.js",
"import": "./src/helpers/mediaRange.ts",
"types": "./src/helpers/mediaRange.ts"
}
},
"publishConfig": {
"access": "public",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json",
"./screenshot-clip": {
"import": "./dist/helpers/screenshotClip.js",
"types": "./dist/helpers/screenshotClip.d.ts"
},
"./safe-path": {
"import": "./dist/helpers/safePath.js",
"types": "./dist/helpers/safePath.d.ts"
},
"./request-identity": {
"import": "./dist/helpers/requestIdentity.js",
"types": "./dist/helpers/requestIdentity.d.ts"
},
"./hf-ids": {
"import": "./dist/helpers/hfIdPersist.js",
"types": "./dist/helpers/hfIdPersist.d.ts"
},
"./history": {
"import": "./dist/history/index.js",
"types": "./dist/history/index.d.ts"
},
"./manual-edits-render-script": {
"import": "./dist/helpers/manualEditsRenderScript.js",
"types": "./dist/helpers/manualEditsRenderScript.d.ts"
},
"./studio-motion-render-script": {
"import": "./dist/helpers/studioMotionRenderScript.js",
"types": "./dist/helpers/studioMotionRenderScript.d.ts"
},
"./draft-markers": {
"import": "./dist/helpers/draftMarkers.js",
"types": "./dist/helpers/draftMarkers.d.ts"
},
"./finite-mutation": {
"import": "./dist/helpers/finiteMutation.js",
"types": "./dist/helpers/finiteMutation.d.ts"
},
"./source-mutation": {
"import": "./dist/helpers/sourceMutation.js",
"types": "./dist/helpers/sourceMutation.d.ts"
},
"./media-codec-map": {
"import": "./dist/helpers/mediaCodecMap.js",
"types": "./dist/helpers/mediaCodecMap.d.ts"
},
"./proxy-transcoder": {
"import": "./dist/helpers/proxyTranscoder.js",
"types": "./dist/helpers/proxyTranscoder.d.ts"
},
"./loudness": {
"import": "./dist/helpers/loudness.js",
"types": "./dist/helpers/loudness.d.ts"
},
"./media-proxy-preview": {
"import": "./dist/helpers/mediaProxyPreview.js",
"types": "./dist/helpers/mediaProxyPreview.d.ts"
},
"./encoder-options": {
"import": "./dist/helpers/encoderOptions.js",
"types": "./dist/helpers/encoderOptions.d.ts"
},
"./mime": {
"import": "./dist/helpers/mime.js",
"types": "./dist/helpers/mime.d.ts"
},
"./media-range": {
"import": "./dist/helpers/mediaRange.js",
"types": "./dist/helpers/mediaRange.d.ts"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"scripts": {
"build": "tsup",
"test": "vitest run",
"test:acorn-writer": "bun scripts/run-acorn-writer-tests.ts",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"report:gsap-writers": "bun src/routes/gsapMutationCapabilities.report.ts",
"prepublishOnly": "echo skip"
},
"dependencies": {
"@hyperframes/core": "workspace:*",
"@hyperframes/parsers": "workspace:*",
"hono": "^4.0.0",
"linkedom": "^0.18.12",
"postcss": "^8.5.8",
"postcss-selector-parser": "^7.1.2"
},
"devDependencies": {
"@types/node": "^25.0.10",
"tsup": "^8.0.0",
"tsx": "^4.21.0",
"typescript": "^5.0.0",
"vitest": "^4.1.11"
},
"optionalDependencies": {
"sharp": "^0.35.0"
}
}