3.0.0 • Published 11 months ago

@ghost-fvtt/foundry-publish v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Foundry Publish

Checks npm downloads Docker pulls REUSE status Ko-fi

Foundry Publish is a CLI tool that developers can use to add new versions of their packages for Foundry Virtual Tabletop to the Package Administration.

Usage

You can run Foundry Publish with npx:

npx @ghost-fvtt/foundry-publish [options]

Alternatively you can install it globally and then execute it:

npm install -g @ghost-fvtt/foundry-publish
foundry-publish [options]

Options

In order to use Foundry Publish, you need to provide several parameters. They can be provided either as environment variables or as command line options, with one exception: For security reasons, the password required to authenticate with the Package Administration can only be provided as environment variable. Additionally, a couple of options can also be read from a manifest file.

Command Line ParameterEnvironment VariableManifest PropertyDescriptionRequired
--changelogURLFVTT_CHANGELOG_URLchangelogThe URL of the changelog of the package version being publishedNo
--deleteObsoleteVersionsFVTT_DELETE_OBSOLETE_VERSIONSDelete obsolete versions, i.e., all versions with the same compatible core version as the version being publishedNo
--dryRunFVTT_DRY_RUNJust perform a dry run instead of actually publishing the packageNo
--headedFVTT_HEADEDRun in headed mode, to be able to see the browser interactionNo
--manifestURLFVTT_MANIFEST_URLmanifestThe URL of the manifest of the package version being publishedYes
--manifestPathFVTT_MANIFEST_PATHA path to a manifest file to read information fromNo
--maximumCoreVersionFVTT_MAXIMUM_CORE_VERSIONcompatibility.maximum,The maximum version of the core Foundry software which is allowed to use the packageNo
--minimumCoreVersionFVTT_MINIMUM_CORE_VERSIONcompatibility.minimum, minimumCoreVersionThe minimum version of the core Foundry software which is required to use the packageYes
--packageIDFVTT_PACKAGE_IDidThe ID of the package—the id from the manifestYes
--packageVersionFVTT_PACKAGE_VERSIONversionThe version of the packageYes
FVTT_PASSWORDThe password of the account for accessing the Foundry VTT administration pageYes
--usernameFVTT_USERNAMEThe username of the account for accessing the Foundry VTT administration page (you may need to use the email address)Yes
--verifiedCoreVersion, --compatibleCoreVersionFVTT_VERIFIED_CORE_VERSION, FVTT_COMPATIBLE_CORE_VERSIONcompatibility.verified, compatibleCoreVersionThe maximum version of the core Foundry software for which compatibility of the package has been verifiedYes

Development

Prerequisites

In order to build this project, recent versions of node and npm are required. We recommend using the latest lts version of node. If you use nvm of fnm to manage your node versions, you can simply run

nvm install

or

fnm install

in the project's root directory.

You also need to install the project's dependencies. To do so, run

npm install

Building

You can build the project by running

npm run build

Alternatively, you can run

npm run watch

to watch for changes and automatically build as necessary.

Contributing

Contributions via pull requests are very welcome. If you find any issues, please report them in the issue tracker.

Licensing

This project uses REUSE to specify the used licenses. Currently, everything is licensed under the MIT license. More information (including the copyright holders) can be found in the individual files.

Acknowledgment

This project is heavily based on eXaminator's foundry-auto-release. Thanks for the great work!

3.0.0

11 months ago

2.3.0

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.2.4

1 year ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago