Be more productive by automating tasks and avoiding code rewrites.
The goal is for this package to be both a command line program (cli) and a utility library.
IMPORTANT: Currently, 19may2024, we are not there yet!
v0.1.3
- [x] get
bin.mjs
andlib.mjs
to work without cljs - [x] rename
js
files tomjs
, to make it more clear - [x] add
author
andrepository
fields in thepackage.json
file
v0.1.4
- [ ] finish porting code from
core.clj
to cljs - [ ] create algorithm study section
- [ ] add tests
- might be possible to add cljs tests in the same file as the code is, importing it later in a test file so that the testing framework recognize it
- [ ] full
shadow-cljs
project, with Reagent, TailwindCSS and DaisyUI (Tailwind plugin) - [ ] snippet program, to help insert code snippets in any editor. Should work like VSCode snippets, but powered by a cli, to work in any editor (like an lsp). Would allow me to have the same snippet system in Neovim, Sublime, etc
- [ ] migrate all
archive
code and script references to the snippet program
Thinking about the installation, for later.
To use this package as a task automation cli, running like an isolated binary, run:
pnpm add --global mcra-utils
I also alias it to u
. If you like the alias, run
mcra-utils --create-alias
to add it both to ~/.bashrc
and ~/.zshrc
. Source those or reload your
terminal to use the alias, as usual.
To use this package as a JavaScript utility library, add it to your project dependencies:
# In your project folder, run:
pnpm add mcra-utils