Skip to content

3.0.0-RC1 - Refactor and responsability for each step redefined

Pre-release
Pre-release

Choose a tag to compare

@juanjol juanjol released this 11 May 15:53
· 14 commits to main since this release

Changelog

v3.0.0-RC1

Breaking changes

  • Commands restructured: create now only copies files to the artifact folder; git handles cloning, committing, and pushing. The build command still orchestrates both.
  • assertArtifactContentIsClean removed: the pre-build check that blocked execution when the working tree had uncommitted changes no longer exists.
  • FILES_TO_CLEAN constant removed: the hardcoded list of files to strip (CHANGELOG.txt, LICENSE.txt, .eslintrc.json, etc.) is gone. File exclusion is now driven by .gitignore logic.
  • ARTIFACT_FOLDER constant moved to ConfigInterface: the default artifact output folder is now ConfigInterface::DEFAULT_ARTIFACT_FOLDER and is configurable.

New features

  • --artifact-folder option: the destination folder for the artifact can now be overridden via CLI (default remains deploy-artifact/).
  • --branch / -b option: artifact target branch can be specified on the command line.
  • runCommandInFolder(): new helper to run shell commands in an arbitrary working directory, replacing ad-hoc cd prefixes.
  • Improved .gitignore generation: logic for building the artifact's .gitignore has been refactored and made more reliable.
  • Process timeout increased: shell command timeout raised from 300 s to 600 s.

Internal / housekeeping

  • Type hints added to configure(), initialize(), runCommand(), and other methods.