Skip to content

oxc-project/mirrors-oxfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirrors-oxfmt

This repository is a pre-commit mirror for the npm package oxfmt.

It is not the source code for oxfmt.
Its job is to publish and maintain the files/tags needed so users can run oxfmt via pre-commit.

How it works

  • .github/workflows/main.yml runs pre-commit-mirror-maker on pushes to main and opens a mirror update PR.
  • .pre-commit-hooks.yaml defines the hook metadata (id, entry, dependency version, file types).
  • .version stores the currently mirrored package version.

The workflow regenerates mirror content, pushes missing tags, and opens an auto-merge PR for mirror updates.

Updating

When a new oxfmt release should be mirrored:

  1. Update .version to that npm version.
  2. Keep .pre-commit-hooks.yaml additional_dependencies aligned with the same version.
  3. Push to main to run the workflow and open the mirror update PR.

Our sponsors

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors