The documentation here is light, and this library serves primarily as internals to covector.
Package detail
@covector/apply
The documentation here is light, and this library serves primarily as internals to covector.
readme
changelog
Changelog
[0.10.0]
Enhancements
e2c83dc
(#318 by @jbolda) Addexports
topackage.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 usepino-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
[0.9.0]
Enhancements
5b7ab24
(#274) Add support to Cargo'sbuild-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) Fixundefined
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
[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.
- 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.
- 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.
[0.6.0]
- Preview version template overwrites the prerelease identifier
[0.5.0]
- Extract out types into separate package to remove issues with circular dependencies.
[0.4.0]
- Abstract out the file switches so
@covector/files
is the only package that considers file extensions. - Apply accepts a
prereleaseIdentifier
used to increment a prerelease version number. - Implement
errorOnVersionRange
which allows one to set a range which, when satisfied, will fail acovector status
orcovector version
. This guardrail can help prevent a package from accidentally being bumped to the next major version. - This switches to using Typescript project references to build (previously rollup). It should affect the underlying packages or use.
- Add
versionPrerelease
to the pipe. - Add preview command for versioning and publishing preview packages
- Add support for yaml based package files. Add support for generic file whose only content is a version number.
[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.
[0.3.1]
- Add missing dependencies that likely worked due to hoisting.
[0.3.0]
- Convert covector to typescript.
[0.2.3]
- Fix additional bump types to be a no-op bump.
[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.
[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.
[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.)
- 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.
- Output versions split up which is particularly useful for git tags.
[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.