neil: a CLI to add common aliases and features to deps.edn-based projects
See the New Clojure project quickstart blog post for a gentle introduction into neil.
- #258:
neil testnow exits with non-zero exit code when tests fail - neil.el - a hook that runs after finding a package (@agzam)
- neil.el - adds a function for injecting a found package into current CIDER session (@agzam)
- README - fix development install instructions (@teodorlu)
- #245: neil.el - neil-executable-path now can be set to
clj -M:neil - #251: Upgrade library deps-new to 0.10.3
- #255: update maven search URL
- #230: neil dep upgrade inserts git/url into upgraded dep (@teodorlu)
- #237: more specific error reporting on invalid github token (@teodorlu)
- #241: ignore missing deps file (instead of throwing) in
neil new(@bobisageek)
- #215:
neil add kaochaadds:kaochaalias with irregular indent (@teodorlu) - #220:
neil addprint helptext rather than crash (@teodorlu) - #227: Support
:neil/pinned trueto skip version updates when updating withneil dep upgrade
- #209: add newlines between dependencies
- #185: throw on non-existing library
- Bump
babashka.cli - Fetch latest stable
slipset/deps-deploy, instead of hard-coding (@vedang) - Several emacs package improvements (@agzam)
- #205:
neil add buildnow adds the latest version ofdeps-deployfrom Clojars
- #194:
dep searchin addition to Clojars, now also searches on Maven - #92:
neil dep upgrade: delete rogue "`" character from helptext (@teodorlu)
- Fix NPE during
neil dep upgrade
- #181: fix
neil --version - fix tests by referring to latest hiccup (@teodorlu)
- #180:
neil dep upgrade: allow upgrading from an unstable version to the latest unstable version (@teodorlu) - #180:
neil dep upgrade: with--unstable, opt-into unstable library updates (@teodorlu) - #183: Don't drop
:exclusionswhen runningneil dep addorneil dep upgrade(@borkdude and @teodorlu)
- #177:
neil dep add: add latest unstable version if no stable versions are found (@teodorlu) - Continue upgrading deps even when some HTTP calls contain 5xx response codes
- #173:
neil new: Support Git repos without tags
- [#166]: Update
neil new -houtput to include list of provided templates (@teodorlu) - Upgrade git libs using explicit
:git/urlwhen available
- #163: Upgrade libraries, including deps-new to 0.5.0, which no longer uses @seancorfield's tools.build wrapper in project templates
- Bug fix for kaocha alias and script typos (@KingMob)
- #159: fix
pmap+requiring-resolveissue
- Clojars search improvements (@tobias)
- Fix fetching versions from maven central
- Fix
neil dep add - Provide
bbininstall instructions installing a development version (@teodorlu)
- Fix incorrect "Requires clean working directory" error in
neil version - #148: Always add latest kaocha version
- #148: Print instructions for making a
bin/kaochascript - #146: Prefer stable versions when running
neil dep upgrade. Versions with any qualifier (like-rc1,-alpha, etc). are considered unstable. - Fix
neil dep searchhelptext formatting (@teodorlu) - Move
neil dep upgradehelptext into subcommand (@teodorlu) - #150: swap
babashka.curlforbabashka/http-client
- Print a message and exit when the github rate-limit is reached (#136) (@russmatney)
- Friendlier env vars for neil github token usage (#136) (@russmatney)
BABASHKA_NEIL_DEV_GITHUB_USER->NEIL_GITHUB_USERBABASHKA_NEIL_DEV_GITHUB_TOKEN->NEIL_GITHUB_TOKENThe old env vars are left in-place as a fallback, but may be removed in a future version.
neil dep add: Always write library names as namespaced symbols (@teodorlu)- Old behavior:
neil dep add http-kitwriteshttp-kit {:mvn/version "2.7.0-alpha1"}todeps.edn - New behavior:
neil dep add http-kitwriteshttp-kit/http-kit {:mvn/version "2.7.0-alpha1"}todeps.edn
- Old behavior:
neil dep addnow supports--tagand--latest-tag(@russmatney)neil dep upgradeenhancements (@russmatney)- when
:git/tagis used, upgrades to the repo's latest tag (instead of the latest sha) - support prefixless
:tagand:shacoords, which tools.deps supports (for backwards compatibility) - upgrade alias deps (now the default).
neil dep upgrade --alias testssupports upgrading deps for a particular alias.neil dep upgrade --no-aliasessupports upgrading only the project deps.
- the
neil dep upgrade --dry-runoutput can now be piped back intoneil dep add, so you can now select a single upgrade from a list of available viafzf:neil dep upgrade --dry-run | fzf | xargs ./neil dep add
- when
- Don't add libraries when version is unknown (@russmatney)
- Introduce
neil dep upgradeAPI for upgrading existing dependencies. By @teodorlu and @russmatney. - Add nix flake. By @jlesquembre.
neil versionimprovements. By @rads.
- Add
neil versionsubcommandsneil version(updated, now includes project version)neil version set [version]neil version [major|minor|patch] [version]neil version tag
- Save project name in
:aliases {:neil {:project {:name ...}}} - Generate default test with
neil add testbased on project name - Use project name in
build.clj
- Add
neil test
- Support
neil dep search --help - Upgrade deps
- Minor improvements for
new
-
Add
neil new: invokesdeps-newwith template. Recommended template to use withneilisscratch. Typeneil new --helpto see help. -
Add
neil add nrepl: add:nreplalias todeps.edn