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.ce43ad7
(#319 by @jbolda) Delete change files serially for my consistent operation and testing.
- Upgraded to
@covector/toml@0.2.0
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.
9e111fc
(#304 by @jbolda) Add currentVersion property to more easily refer to the version before a bump.
- Upgraded to
@covector/toml@0.1.0
4bd5245
(#297) Includetimeout
in the.changes/config.json
schema. It was throwing an error that it was invalid, but it is indeed valid.
7498ecc
(#289) Implement zod for config file schema parsing and checking. It will throw an error if theconfig.json
has entries that do not match the schema.
cb35f38
(#291) Bumpsjs-yaml
minor to sync on the same version.cb35f38
(#291) Bumpssemver
minor to latest.
7b6201c
(#264) Bump Typescript to v4.9, and deeply update types in the lower level functions to start.
- Update multiple devDeps, semver, yargs, inquirer, and packages in our action. This is primarily internal upgrades and don't affect external APIs.
- Bump inquirer and globby to highest CJS version.
- Added a new function to read all of the package files and include their dependencies as an object for reference. This is helpful for further packages to understand if the dependency is range based and make judgements based on it.
- 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.
- Include a copy of the license in each package.
- Extract out types into separate package to remove issues with circular dependencies.
- Abstract out the file switches so
@covector/files
is the only package that considers file extensions. - 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 the ability to parse
pre.json
which is used in prereleases. - Add
versionPrerelease
to the pipe. - Add support for yaml based package files. Add support for generic file whose only content is a version number.
- Pull the most recent changelog into the chain of output. This opens up piping it into the Github Release.
- Convert covector to typescript.
- 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.
- Change files were being deleted too quickly for git info to be retrieved. Shift to end of sequence.
- Pull and set git meta information on change files as an array of commits. This can then be piped into changelogs.
- Output versions split up which is particularly useful for git tags.
- Log change file deletes after all delete operations have been completed. This provides a stable output easier for testing.
- Properly delete the change files in an order that is determinate.
- 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.
- We missed files in the changelog deps array so they diverged when bumped.
- Add ability to read and write changelogs.