Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@covector/apply

jbolda3.4kApache-2.00.10.0TypeScript support: included

The documentation here is light, and this library serves primarily as internals to covector.

readme

The documentation here is light, and this library serves primarily as internals to covector.

changelog

Changelog

[0.10.0]

Enhancements

  • e2c83dc (#318 by @jbolda) Add exports to package.json for improved capability and an enhanced experience when developed covector and testing locally.
  • ce43ad7 (#319 by @jbolda) Add logger instance to allow custom loggers based on the usage context. It enables different structured logs for the CLI vs within a GitHub Action, as well as for local development and testing.

Dependencies

  • Upgraded to @covector/files@0.8.0

Changes Supporting Covector Development

  • ce43ad7 (#319 by @jbolda) Switch to Vitest for the test runner. This improves speed and enables improved ability to update to current standards. Additionally, we use pino-test with the changes to the logger to more specifically check log output. Along with this, we switch multiple test fixtures to run commands that would return more standard output across OS which reduces test flakiness.

[0.9.3]

  • 9e111fc (#304 by @jbolda) Add currentVersion property to more easily refer to the version before a bump.
  • 9480736 (#299 by @jbolda) Allow running status command without logging. This allows the command to also serve more utilitarian purposes as well.

Dependencies

  • Upgraded to @covector/files@0.7.2

[0.9.2]

Dependencies

  • Upgraded to @covector/files@0.7.1

[0.9.1]

Dependencies

  • Upgraded to @covector/files@0.7.0
  • cb35f38(#291) Bumps semver minor to latest.

[0.9.0]

Enhancements

  • 5b7ab24(#274) Add support to Cargo's build-dependencies and target-specific dependencies.
  • 7156ce0(#277) Add change for all exact deps rolled up to handle it with the changelog deps section. Add the version number to the changelog deps section.

Bug Fixes

  • 7156ce0(#277) Fix undefined error when dep with range was bumped.
  • db3b43d(#273) Try to determine actual package name when bumping dependencies to support nicknames in the packages configuration.

Dependencies

  • Upgraded to @covector/files@0.6.2

[0.8.0]

Dependencies

  • 7b6201c(#264) Bump Typescript to v4.9, and deeply update types in the lower level functions to start.

Enhancements

  • 2ba699d(#243) Update the changelog format to fix multi-line change files and reduce commit noise.

[0.7.0]

  • The dependency bumps will now use the next version of the package as derived from the existing change files. Previously, it presumed that a applying a dependency bump was sufficient which worked most of the time, but ignored some edge cases.
    • aa7ea83 dep bumps use main version directly vs presuming increment is correct (#256) on 2022-12-27
  • Update multiple devDeps, semver, yargs, inquirer, and packages in our action. This is primarily internal upgrades and don't affect external APIs.
  • Apply parent bumps dependent on the how the dependency is specified. For a range bump, we don't assume that that requires a bump from a child. If a bump is expected, then a change file specific to the change is more explicit.
  • This fixes the bug where we would look the range requirement on dependencies.
    • 763ee33 feat: keep dependency version requirement (#252) on 2022-12-21
  • Remove the to-vfile package as a dependency. This allows us to focus our file reference to our specific needs, and one less dependency to maintain. With this change, we also converted a handful of promises into generators for better compatibility and control with effection.
  • Upgrade to effection v2. This is primarily an internal improvement, but will enable future features such as fetching from an endpoint to check if a version of a package was published. It also brings an updated dependency to gracefully shutdown windows processes.

[0.6.1]

  • Include a copy of the license in each package.
    • Bumped due to a bump in all.
    • fa5c061 chore: add license files to packages (#225) on 2021-09-24

[0.6.0]

  • Preview version template overwrites the prerelease identifier
    • b6e21bc Preveiw versioning for packages in prerelease mode (#217) on 2021-07-08

[0.5.0]

  • Extract out types into separate package to remove issues with circular dependencies.
    • 519da36 chore: set paths / references for TS and add types package (#213) on 2021-06-26

[0.4.0]

  • Abstract out the file switches so @covector/files is the only package that considers file extensions.
    • 136d534 feat: normalize version number pulling and setting (#206) on 2021-05-17
  • Apply accepts a prereleaseIdentifier used to increment a prerelease version number.
    • e388cc7 feat: prerelease mode and publishing (#180) on 2021-05-13
  • Implement errorOnVersionRange which allows one to set a range which, when satisfied, will fail a covector status or covector version. This guardrail can help prevent a package from accidentally being bumped to the next major version.
    • e388cc7 feat: prerelease mode and publishing (#180) on 2021-05-13
  • This switches to using Typescript project references to build (previously rollup). It should affect the underlying packages or use.
    • a9aedb1 chore: build workflow updates (#175) on 2021-04-07
    • 5506b19 feat: add preview command to covector (#187) on 2021-05-05
    • e388cc7 feat: prerelease mode and publishing (#180) on 2021-05-13
  • Add versionPrerelease to the pipe.
    • e388cc7 feat: prerelease mode and publishing (#180) on 2021-05-13
  • Add preview command for versioning and publishing preview packages
    • f6db347 feat: preparations of covector/action for building and publishing preview packages (#179) on 2021-04-13
    • 5506b19 feat: add preview command to covector (#187) on 2021-05-05
  • Add support for yaml based package files. Add support for generic file whose only content is a version number.
    • e8c98f5 feat: yaml and generic file support (#196) on 2021-05-07

[0.3.2]

  • Mock out full Github Release flow to help in testing the Github Action. Adjust command pipe to function to fix undefined being piped to Github Release body.
    • Bumped due to a bump in @covector/assemble.
    • a7e1b20 fix: mock out full GitHub release flow (#172) on 2021-03-27

[0.3.1]

  • Add missing dependencies that likely worked due to hoisting.
    • 60e8fc7 chore: bump devDeps and fix tsconfig/rollup issues (#165) on 2021-03-24

[0.3.0]

  • Convert covector to typescript.
    • cf9a893 feat: typescript covector main with rollup (#63) on 2020-07-02
    • 39acdc9 feat: convert over @covector/files to typescript with rollup [partial] (#65) on 2020-07-06
    • 1090afd feat: typescript going green (#153) on 2021-03-17

[0.2.3]

  • Fix additional bump types to be a no-op bump.
    • 15431f0 fix: additional bump type is no-op (#149) on 2021-02-22

[0.2.2]

  • Add missing workspace dependencies. These were likely only functioning due to hoisting.
  • Add a validation guardrail within the status command. This will run a nearly identical version application function. It can catch an error during the PR process rather than during the versioning process.
    • 4437766 feat: version bump guardrail (#137) on 2021-02-10

[0.2.1]

  • Deep clone changes that are getting passed into the changelog. We were editing references and those edits were showing up in erroneous places.
    • 38fba3c fix: deepclone change entries to prevent referencial edits (#109) on 2020-07-17

[0.2.0]

  • Note in sub-bullets when a bump was due to a dependency (and that helps note where there summary text is from as well.)
    • de3248d feat: dep bump note in changelog (#87) on 2020-07-10
  • Version commands used to only run on changes, but ignore parents. Reconfigure that we resolve the parents and run commands on both direct changes and changes through a dependency.
    • Bumped due to a bump in covector.
    • 3ca050c feat: advanced commands (#71) on 2020-07-06
  • Output versions split up which is particularly useful for git tags.
    • 14fb40d feat: split versions (great for git tags) (#77) on 2020-07-08

[0.1.0]

  • Add option to execute commands in "--dry-run" mode which will output the anticipated commands without running them and additional relevant information (such as the command pipe).
  • Apply properly checks for parents to do dep bumps.
  • Skip over packages without a path. This let's us create "virtual packages" and configure a package such as "all" that let's us easily bump everything.

[0.0.6]

  • Package files should be referenced based on the "nickname" as noted in the config. The name in the package file is not a unique value.