Skip to content

Migrate from Leiningen to deps.edn, update CI, add clj-kondo config - #45

Merged
alexanderjamesking merged 1 commit into
masterfrom
migrate-to-deps
Apr 21, 2026
Merged

alexanderjamesking merged 1 commit into
masterfrom
migrate-to-deps

Conversation

@alexanderjamesking

@alexanderjamesking alexanderjamesking commented Apr 21, 2026 •

Copy link
Copy Markdown
Owner

This PR migrates the project from Leiningen to Clojure CLI (deps.edn + tools.build), updates CI to use the new workflow (including tag-based deploys), and adds clj-kondo export config for improved linting when the library is consumed.

Changes:

Replace project.clj with deps.edn + build.clj and update local scripts to run tests via clj.
Update GitHub Actions workflows for Clojure/ClojureScript, including tag-triggered deploy to Clojars.
Add clj-kondo export config and bump shadow-cljs to 3.3.5.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the project from Leiningen to Clojure CLI (deps.edn + tools.build), updates CI to use the new workflow (including tag-based deploys), and adds clj-kondo export config for improved linting when the library is consumed.

Changes:

  • Replace project.clj with deps.edn + build.clj and update local scripts to run tests via clj.
  • Update GitHub Actions workflows for Clojure/ClojureScript, including tag-triggered deploy to Clojars.
  • Add clj-kondo export config and bump shadow-cljs to 3.3.5.

Reviewed changes

Copilot reviewed 7 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
resources/clj_kondo.exports/tortue/spy/config.edn Adds clj-kondo lint configuration for spy.assert/* forms.
project.clj Removes Leiningen project definition.
package.json Bumps shadow-cljs dependency.
package-lock.json Updates lockfile for the shadow-cljs bump.
deps.edn Introduces Clojure CLI project configuration + test/build aliases.
build.clj Adds tools.build-based jar + deploy tasks.
bin/test Runs Clojure tests via clj instead of lein.
bin/setup Prefetches deps via clj instead of lein deps.
README.md Documents deps.edn installation, updates test instructions, adds release steps.
.gitignore Updates ignored artifacts for deps.edn/CLI workflow (e.g., .cpcache, pom.xml).
.github/workflows/clojurescript.yml Updates runner and action versions; bumps Node to 22.
.github/workflows/clojure.yml Migrates CI to clj, adds tag-triggered deploy step and caching.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread build.clj Resolved
Comment thread build.clj Resolved
Comment thread README.md Resolved
Comment thread .github/workflows/clojure.yml Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 12 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/clojure.yml Resolved
Comment thread build.clj Resolved
Comment thread build.clj Resolved
Comment thread build.clj Resolved
@alexanderjamesking
alexanderjamesking merged commit b533524 into master Apr 21, 2026
2 checks passed
@alexanderjamesking
alexanderjamesking deleted the migrate-to-deps branch April 21, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants