v5.1.0
v5.1.0 adds various improvements to the modular nimbu-toolbelt flow:
-
no autoloading nimbu.js for commands where this does not apply (i.e.
nimbu whoami) -
add recursive copy of channel entries including all dependencies using the
-rof--recursiveflag, i.e.:channels:entries:copy --recursive \ -f site-1/example -t site-2/example \ --only example,example_parent \ --copy-customers \ --upsert=example:slugFollowing flags are added to help selecting the dependencies to be copied:
-qor--query=<value>: the query params to append to source channel api call-wor--where=<value>: a scope/query expression to filter the source channel--allow-errors: do not stop when an item fails and continue with the other--copy-customers: copy and replicate all owners related to the objects we are copying-uor--upsert=<value>: name of parameter to use for matching existing documents. For recursive copying, use the formatchannel1:fieldname,channel2:otherfieldnameto indicate which field to use for which channel
-
the command
channels:infoprints info about the channel in Nimbu, inclusing which fields and depencenies. Use--output=tsto generate Typescript interfaces for a channel you can directly copy in your projects integration code. Seeyarn nimbu channels:info --helpfor all available options. -
the
@nimbu-cli/plugin-webpack-v5adds huge speed boost in complex React/Typescript projects -
the
@nimbu-cli/plugin-webpack-v5addon adds support for AlpineJS -
better subprocess handling: the nimbu-toolbelt (sub)processes are correctly killed when the parent shell or process is stopped
-
better (helpfull) output when webpack can not start due to some issues with any webpack customizations present in your project
--haml to your script commands in package.js to retain HAML compilation using @nimbu-cli/plugin-webpack-v4 or @nimbu-cli/plugin-webpack-v5