Publish package is a URL containing files to publish. The package.json file at the base of this path will be respected for the fields "name", "version", "files", and "ignore", as with npm conventions.
Virtual publishes may also be made by providing source data directly as a file path to source buffer record.
Optional
importOptional import map to include for the publish, published as the importmap.json file in the package.
true
Publishes the current generator instance's import map, alongside a link operation of the package (see the Publish.install option for more info). Any URLs in the import map pointing to the package being published will automatically be updated to reflect the published URLs.
The benefit of defining the import map separately is that this provides a strong definition of the publish execution model.
Optional
installWhether to first install the package before publishing, thereby populating the import map for the package.
By default, when importMap: true
is set, and an explicit import map is not otherwise passed, install will be applied.
Setting this to false, with importMap set to true will use the generator import map without the additional package link operation.
Optional
providerProvider to publish to
Optional
versionOverride the version from the package.json
Optional
nameOverride the name from the package.json
Options for publishing a package