<commit_before>(defproject swarmpit "2.0-SNAPSHOT"
  :description "Lightweight mobile-friendly Docker Swarm management UI"
  :url "http://swarmpit.io"
  :license {:name "Eclipse Public License"
            :url  "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.10.0"]
                 [org.clojure/clojurescript "1.10.439"]
                 [org.clojure/core.async "0.4.490"]
                 [org.clojure/core.cache "0.7.1"]
                 [org.clojure/tools.logging "0.4.1"]
                 [cljsjs/react "16.8.6-0"]
                 [cljsjs/react-dom "16.8.6-0"]
                 [cljsjs/material-ui "4.5.1-0"]
                 [cljsjs/material-ui-icons "4.4.1-0"]
                 [cljsjs/react-select "2.1.1"]
                 [cljsjs/emotion "9.2.12"]
                 [cljsjs/react-input-autosize "2.2.1-1"]
                 [cljsjs/react-autosuggest "9.3.4-0"]
                 [cljsjs/rc-slider "8.6.1-0"]
                 [cljsjs/codemirror "5.24.0-1"]
                 [cljsjs/js-yaml "3.3.1-0"]
                 [cljsjs/recharts "1.6.2-0"]
                 [cljsjs/plotly "1.45.3-0"]
                 [cljsjs/chartjs "2.9.3-0"]
                 [rum "0.11.2" :exclusions [cljsjs/react cljsjs/react-dom]]
                 [sablono "0.8.4"]
                 [ring "1.6.3" :exclusions [ring/ring-jetty-adapter]]
                 [ring/ring-json "0.4.0"]
                 [ring/ring-defaults "0.3.1" :exclusions [ring/ring-core]]
                 [bk/ring-gzip "0.3.0"]
                 [buddy/buddy-auth "1.4.1" :exclusions [cheshire]]
                 [buddy/buddy-sign "1.4.0" :exclusions [cheshire]]
                 [buddy/buddy-hashers "1.2.0"]
                 [metosin/reitit "0.3.10"]
                 [clojure-humanize "0.2.2"]
                 [http-kit "2.2.0"]
                 [enlive "1.1.6"]
                 [expound "0.7.2"]
                 [clj-time "0.15.0"]
                 [clj-http "3.8.0"]
                 [clj-yaml "0.4.0"]
                 [cljs-ajax "0.5.8"]
                 [cheshire "5.9.0"]
                 [digest "1.4.5"]
                 [environ "1.1.0"]
                 [fullspectrum/influxdb-client "1.0.0"]
                 [me.raynes/conch "0.8.0"]
                 [com.andrewmcveigh/cljs-time "0.5.1"]
                 [com.cemerick/url "0.1.1"]
                 [com.cemerick/friend "0.2.3"]
                 [com.cognitect/transit-cljs "0.8.256" :exclusions [org.yaml/snakeyaml]]
                 [com.cognitect.aws/api "0.8.271"]
                 [com.cognitect.aws/endpoints "1.1.11.503"]
                 [com.cognitect.aws/ecr "701.2.394.0"]
                 [com.cognitect.aws/iam "697.2.391.0"]
                 [com.cognitect.aws/sts "697.2.391.0"]
                 [org.yaml/snakeyaml "1.18"]
                 [org.flatland/ordered "1.5.6"]
                 [com.github.jnr/jnr-unixsocket "0.18"]]
  :plugins [[lein-cljsbuild "1.1.7"]
            [lein-environ "1.1.0"]
            [lein-pprint "1.1.2"]
            [lein-cloverage "1.0.9"]]
  :repositories {"local" "file:repo"}
  :min-lein-version "2.8.2"
  :source-paths ["src/clj" "src/cljs" "src/cljc"]
  :test-paths ["test/clj" "test/cljc"]
  :java-source-paths ["src/java"]
  :test-selectors {:default     (complement :integration)
                   :integration :integration
                   :all         (constantly true)}
  :clean-targets ^{:protect false} ["resources/public/js/out"
                                    "resources/public/js/main.js"
                                    :target-path]
  :uberjar-name "swarmpit.jar"
  :main swarmpit.server
  :repl-options {:init-ns repl.user}
  :cljsbuild {:builds
              [{:id           "app"
                :source-paths ["src/cljs" "src/cljc"]
                :figwheel     true
                :compiler     {:main                 swarmpit.app
                               :preloads             [devtools.preload]
                               :asset-path           "js/out"
                               :output-to            "resources/public/js/main.js"
                               :output-dir           "resources/public/js/out"
                               :infer-externs        true
                               :parallel-build       true
                               :source-map-timestamp true}}
               {:id           "min"
                :source-paths ["src/cljs" "src/cljc"]
                :jar          true
                :compiler     {:main                 swarmpit.app
                               :output-to            "resources/public/js/main.js"
                               :output-dir           "target"
                               :source-map-timestamp true
                               :parallel-build       true
                               :closure-defines      {"goog.DEBUG" false}
                               :optimizations        :advanced
                               :infer-externs        true
                               :pretty-print         false}}]}
  :figwheel {:css-dirs       ["resources/public/css"]
             :ring-handler   repl.user/http-handler
             :server-logfile "log/figwheel.log"}
  :profiles {:dev
             {:dependencies [[figwheel "0.5.17"]
                             [figwheel-sidecar "0.5.17"]
                             [cider/piggieback "0.4.1"]
                             [nrepl/nrepl "0.6.0"]
                             [binaryage/devtools "0.9.10"]
                             [criterium "0.4.4"]]
              :plugins      [[lein-figwheel "0.5.17"]
                             [lein-doo "0.1.6"]]
              :source-paths ["dev"]
              :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}
             :prod
             {:source-paths ^:replace ["src/clj" "src/cljc"]
              :prep-tasks   ["javac" "compile" ["cljsbuild" "once" "min"]]
              :omit-source  true
              :aot          :all}
             :uberjar
             [:prod]})
<commit_msg>cleanup project<commit_after>(defproject swarmpit "2.0-SNAPSHOT"
  :description "Lightweight mobile-friendly Docker Swarm management UI"
  :url "http://swarmpit.io"
  :license {:name "Eclipse Public License"
            :url  "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.10.0"]
                 [org.clojure/clojurescript "1.10.439"]
                 [org.clojure/core.async "0.4.490"]
                 [org.clojure/core.cache "0.7.1"]
                 [org.clojure/tools.logging "0.4.1"]
                 [cljsjs/react "16.8.6-0"]
                 [cljsjs/react-dom "16.8.6-0"]
                 [cljsjs/react-window "1.8.5-0"]
                 [cljsjs/material-ui "4.5.1-0"]
                 [cljsjs/material-ui-icons "4.4.1-0"]
                 [cljsjs/react-select "2.1.1"]
                 [cljsjs/emotion "9.2.12"]
                 [cljsjs/react-input-autosize "2.2.1-1"]
                 [cljsjs/react-autosuggest "9.3.4-0"]
                 [cljsjs/rc-slider "8.6.1-0"]
                 [cljsjs/codemirror "5.24.0-1"]
                 [cljsjs/js-yaml "3.3.1-0"]
                 [cljsjs/recharts "1.6.2-0"]
                 [cljsjs/plotly "1.45.3-0"]
                 [cljsjs/chartjs "2.9.3-0"]
                 [rum "0.11.2" :exclusions [cljsjs/react cljsjs/react-dom]]
                 [sablono "0.8.4"]
                 [ring "1.6.3" :exclusions [ring/ring-jetty-adapter]]
                 [ring/ring-json "0.4.0"]
                 [ring/ring-defaults "0.3.1" :exclusions [ring/ring-core]]
                 [bk/ring-gzip "0.3.0"]
                 [buddy/buddy-auth "1.4.1" :exclusions [cheshire]]
                 [buddy/buddy-sign "1.4.0" :exclusions [cheshire]]
                 [buddy/buddy-hashers "1.2.0"]
                 [metosin/reitit "0.3.10"]
                 [clojure-humanize "0.2.2"]
                 [http-kit "2.2.0"]
                 [enlive "1.1.6"]
                 [expound "0.7.2"]
                 [clj-time "0.15.0"]
                 [clj-http "3.8.0"]
                 [clj-yaml "0.4.0"]
                 [cljs-ajax "0.5.8"]
                 [cheshire "5.9.0"]
                 [digest "1.4.5"]
                 [environ "1.1.0"]
                 [fullspectrum/influxdb-client "1.0.0"]
                 [me.raynes/conch "0.8.0"]
                 [com.andrewmcveigh/cljs-time "0.5.1"]
                 [com.cemerick/url "0.1.1"]
                 [com.cemerick/friend "0.2.3"]
                 [com.cognitect/transit-cljs "0.8.256" :exclusions [org.yaml/snakeyaml]]
                 [com.cognitect.aws/api "0.8.271"]
                 [com.cognitect.aws/endpoints "1.1.11.503"]
                 [com.cognitect.aws/ecr "701.2.394.0"]
                 [com.cognitect.aws/iam "697.2.391.0"]
                 [com.cognitect.aws/sts "697.2.391.0"]
                 [org.yaml/snakeyaml "1.18"]
                 [org.flatland/ordered "1.5.6"]
                 [com.github.jnr/jnr-unixsocket "0.18"]]
  :plugins [[lein-cljsbuild "1.1.7"]
            [lein-environ "1.1.0"]
            [lein-pprint "1.1.2"]
            [lein-cloverage "1.0.9"]]
  :repositories {"local" "file:repo"}
  :min-lein-version "2.8.2"
  :source-paths ["src/clj" "src/cljs" "src/cljc"]
  :test-paths ["test/clj" "test/cljc"]
  :java-source-paths ["src/java"]
  :test-selectors {:default     (complement :integration)
                   :integration :integration
                   :all         (constantly true)}
  :clean-targets ^{:protect false} ["resources/public/js/out"
                                    "resources/public/js/main.js"
                                    :target-path]
  :uberjar-name "swarmpit.jar"
  :main swarmpit.server
  :repl-options {:init-ns repl.user}
  :cljsbuild {:builds
              [{:id           "app"
                :source-paths ["src/cljs" "src/cljc"]

                ;; The presence of a :figwheel configuration here
                ;; will cause figwheel to inject the figwheel client
                ;; into your build
                :figwheel     true
                :compiler     {:main                 swarmpit.app
                               :asset-path           "js/out"
                               :output-to            "resources/public/js/main.js"
                               :output-dir           "resources/public/js/out"
                               :infer-externs        true
                               :parallel-build       true
                               :source-map-timestamp true
                               ;; To console.log CLJS data-structures make sure you enable devtools in Chrome
                               ;; https://github.com/binaryage/cljs-devtools
                               :preloads             [devtools.preload]}}

               ;; This next build is a compressed minified build for
               ;; production. You can build this with:
               ;; lein cljsbuild once min
               {:id           "min"
                :source-paths ["src/cljs" "src/cljc"]
                :jar          true
                :compiler     {:main                 swarmpit.app
                               :output-to            "resources/public/js/main.js"
                               :output-dir           "target"
                               :source-map-timestamp true
                               :parallel-build       true
                               :infer-externs        true
                               :optimizations        :advanced
                               :closure-defines      {"goog.DEBUG" false}
                               :pretty-print         false
                               :pseudo-names         false}}]}
  :figwheel {:css-dirs       ["resources/public/css"]
             :ring-handler   repl.user/http-handler
             :server-logfile "log/figwheel.log"}

  ;; Setting up nREPL for Figwheel and ClojureScript dev
  ;; Please see:
  ;; https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figwheel-REPL-within-NRepl
  :profiles {:dev     {:dependencies [[figwheel "0.5.17"]
                                      [figwheel-sidecar "0.5.17"]
                                      [cider/piggieback "0.4.1"]
                                      [nrepl/nrepl "0.6.0"]
                                      [binaryage/devtools "0.9.10"]
                                      [criterium "0.4.4"]]
                       :plugins      [[lein-figwheel "0.5.17"]
                                      [lein-doo "0.1.6"]]
                       :source-paths ["dev"]
                       :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}
             :prod    {:source-paths ^:replace ["src/clj" "src/cljc"]
                       :prep-tasks   ["javac" "compile" ["cljsbuild" "once" "min"]]
                       :omit-source  true
                       :aot          :all}
             :uberjar [:prod]})
{'fraction_non_alphanumeric': 0.14013720804748322, 'fraction_numerical': 0.04008324982656286, 'mean_word_length': 1.0892109500805154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3974287', 'n_tokens_mistral': 4300, 'n_tokens_neox': 4062, 'n_words': 641}