feat(cli): uploads list every file they carry from outside the project (#7831)

* fix(cli): uploads leave out outside scripts; .ts counts as video only when it is one

* chore(studio-server): raise unpacked size budget for the upload file-type rule

* fix(studio-server): transport stream check never waits on a pipe and needs binary bytes

* feat(cli): uploads list every file they carry from outside the project
This commit is contained in:
Michael Wang
2026-11-15 10:31:13 +00:00
committed by GitHub
parent bcf3d177d3
commit e426ce4eb4
9 changed files with 339 additions and 25 deletions
+3 -1
View File
@@ -141,7 +141,9 @@ and your source files stay unchanged.
Only images, video, audio, fonts and CSS files are copied from outside the
project. Any other outside file, such as a script, a Lottie `.json` or a `.pdf`,
is left out with a warning naming it; move it into the project folder to include
it.
it. Before uploading, `publish` lists every file it is about to copy from outside
the project folder, including files the project only links to, so you can see
what leaves your computer.
Before sharing source, remove secrets and confirm that every included media file
can be shared. Tell a reviewer whether you need feedback on story, visuals,
+8
View File
@@ -2735,6 +2735,14 @@ it is. A full run also prints each as a `{"event":"left_out",…}`
line on stderr, so a wrapper can ask with `--dry-run --json` before uploading
and still hear about each one during the run.
Before uploading, the command also names every file it carries from outside the
project folder: each file a composition points at, and each project file that is
a link to a file outside the project. It prints the list and carries on. Under
`--json`, the result lists them as `outside_files`, with the same `file`,
`reference`, `path` and `levels_up` fields, and each is printed as a
`{"event":"outside_file",…}` line on stderr. For a project link, `file` and
`reference` are the link's own path.
Render parameters mirror local `hyperframes render` where they overlap:
| Flag | Default | Description |