Upload what you choose (3.5.0)
Uploading used to be all-or-nothing. Every archive in your pack went to the graphics server, one after another, whether or not it had changed β and each one takes the server a few minutes to process.
Now you choose.
pnpm uploadpnpm graphics-publisher uploadβ Which archives do you want to upload? (space to toggle)β β» reuters.comβ β β» public updateβ β» embedsβ β β» media-en-inflation-chart updateβ β β» media-en-jobs-map newEverything starts selected, so if you just want to publish the lot, press enter and nothing has changed for you.
Why it matters for embed-heavy packs π
If youβre building an embed-heavy project like a graphics blog, this is the change worth knowing about.
A blog that has grown to several embeds over several days used to re-upload and re-process all of them every time you fixed a typo in one of them. Now you upload the one you changed, and the rest are left exactly as they are β still live, still serving, untouched.
The archives you skip keep working because each one now carries its own complete copy of everything it needs. No part of your pack depends on any other.
Fewer interruptions βΈοΈ
Every question the publisher needs to ask now comes at the start, before anything is uploaded. Add a new embed and youβll be asked for its title up front, rather than a few minutes into a long upload youβd stopped watching.
One build, not two π
The publisher used to build your project twice on the way to the graphics server. Now it builds once, so uploads start sooner.
Anything to change in your project? π
No. Same commands, same config, same conventions. All these updates are under-the-hood.