@atomist/clj-editors
Version:
editor functions that use rewrite-clj and other important things from the clojurescript ecosystem
83 lines (78 loc) • 8.19 kB
JavaScript
// Compiled by ClojureScript 1.10.238 {:target :nodejs}
goog.provide('atomist.deps_t');
goog.require('cljs.core');
goog.require('clojure.data');
goog.require('cljs_node_io.core');
goog.require('cljs_node_io.file');
goog.require('atomist.json');
goog.require('atomist.cljs_log');
goog.require('atomist.fingerprint');
goog.require('atomist.npm');
goog.require('atomist.maven');
goog.require('atomist.promise');
goog.require('cljs.pprint');
goog.require('cljs.core.async');
goog.require('cljs.test');
goog.require('goog.string');
goog.require('goog.string.format');
goog.require('editors.core');
goog.require('atomist.deps');
atomist.deps_t.deps_tests = (function atomist$deps_t$deps_tests(){
return cljs.test.test_var.call(null,atomist.deps_t.deps_tests.cljs$lang$var);
});
atomist.deps_t.deps_tests.cljs$lang$test = (function (){
cljs.test.update_current_env_BANG_.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"formatter","formatter",-483008823)], null),cljs.core.constantly.call(null,cljs.pprint.pprint));
var fix = (function (xs){
return cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,cljs.core.map.call(null,(function (p1__28338_SHARP_){
return cljs.core.assoc.call(null,p1__28338_SHARP_,new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"data","data",-232669377).cljs$core$IFn$_invoke$arity$1(p1__28338_SHARP_));
}),xs));
});
var test_fps = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"name","name",1843675177),"clojure-project-deps",new cljs.core.Keyword(null,"data","data",-232669377),"[[\"cljs-node-io\",\"0.5.0\"]]",new cljs.core.Keyword(null,"abbreviation","abbreviation",-2106594275),"lein-deps",new cljs.core.Keyword(null,"version","version",425292698),"0.0.1",new cljs.core.Keyword(null,"sha","sha",-950317251),"5c5389d9717bc800a1198577d33692c154e50a4d3cc6681e691c49becf2e7228"], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"name","name",1843675177),"project-coordinates",new cljs.core.Keyword(null,"data","data",-232669377),"{\"name\":\"atomist/test\",\"version\":\"1.1\"}",new cljs.core.Keyword(null,"abbreviation","abbreviation",-2106594275),"coords",new cljs.core.Keyword(null,"version","version",425292698),"0.0.1",new cljs.core.Keyword(null,"sha","sha",-950317251),"9aaf3127495dc3d2f29f161251b372511081cb907f50cbcd00f4e070f1db313b"], null)], null);
var test_npm_fps = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"name","name",1843675177),"npm-project-deps",new cljs.core.Keyword(null,"data","data",-232669377),atomist.json.json_str.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["lib1","v1"], null)], null)),new cljs.core.Keyword(null,"abbreviation","abbreviation",-2106594275),"npm-deps",new cljs.core.Keyword(null,"version","version",425292698),"0.0.1",new cljs.core.Keyword(null,"sha","sha",-950317251),"6f0951ba5387fab5163d5177d186123ab7cecddee0ae80c27ff7fa39f1725ad2"], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"name","name",1843675177),"project-coordinates",new cljs.core.Keyword(null,"data","data",-232669377),atomist.json.json_str.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"name","name",1843675177),"name",new cljs.core.Keyword(null,"version","version",425292698),"version"], null)),new cljs.core.Keyword(null,"abbreviation","abbreviation",-2106594275),"coords",new cljs.core.Keyword(null,"version","version",425292698),"0.0.1",new cljs.core.Keyword(null,"sha","sha",-950317251),"4aae388815805a3f589a060a9f02d30e8840cbeb620769bad381ec36b06c8b32"], null)], null);
var test_maven_fps = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"name","name",1843675177),"maven-project-deps",new cljs.core.Keyword(null,"data","data",-232669377),atomist.json.json_str.call(null,new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["org.springframework.boot/spring-boot-starter-parent","2.0.3.RELEASE"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["com.amazonaws/aws-java-sdk-bom","1.11.308"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["com.google.guava/guava","24.0-jre"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["com.dealer.webplatform/jvms-spring-boot-starter","2.6.4-SNAPSHOT"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["com.dealer.webplatform/jvms-spring-boot-test","2.6.4-SNAPSHOT"], null)], null)),new cljs.core.Keyword(null,"abbreviation","abbreviation",-2106594275),"maven-deps",new cljs.core.Keyword(null,"version","version",425292698),"0.0.1",new cljs.core.Keyword(null,"sha","sha",-950317251),"9a355610a30a9c87fe637d8ac86c92609adacdce25753586ab4875c7e0d84279"], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"name","name",1843675177),"project-coordinates",new cljs.core.Keyword(null,"data","data",-232669377),atomist.json.json_str.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"name","name",1843675177),"com.dealer.webplatform/jvms-parent-pom",new cljs.core.Keyword(null,"version","version",425292698),"2.6.4-SNAPSHOT"], null)),new cljs.core.Keyword(null,"abbreviation","abbreviation",-2106594275),"coords",new cljs.core.Keyword(null,"version","version",425292698),"0.0.1",new cljs.core.Keyword(null,"sha","sha",-950317251),"17f322e107948f0a6094de22c031bebb60fd0dbd42e3411e5a8bf574dbfc710b"], null)], null);
if(typeof atomist.deps_t.t_atomist$deps_t28339 !== 'undefined'){
} else {
/**
* @constructor
* @implements {cljs.core.IFn}
* @implements {cljs.core.IMeta}
* @implements {cljs.test.IAsyncTest}
* @implements {cljs.core.IWithMeta}
*/
atomist.deps_t.t_atomist$deps_t28339 = (function (fix,test_fps,test_npm_fps,test_maven_fps,meta28340){
this.fix = fix;
this.test_fps = test_fps;
this.test_npm_fps = test_npm_fps;
this.test_maven_fps = test_maven_fps;
this.meta28340 = meta28340;
this.cljs$lang$protocol_mask$partition0$ = 393217;
this.cljs$lang$protocol_mask$partition1$ = 0;
});
atomist.deps_t.t_atomist$deps_t28339.prototype.cljs$core$IWithMeta$_with_meta$arity$2 = ((function (fix,test_fps,test_npm_fps,test_maven_fps){
return (function (_28341,meta28340__$1){
var self__ = this;
var _28341__$1 = this;
return (new atomist.deps_t.t_atomist$deps_t28339(self__.fix,self__.test_fps,self__.test_npm_fps,self__.test_maven_fps,meta28340__$1));
});})(fix,test_fps,test_npm_fps,test_maven_fps))
;
atomist.deps_t.t_atomist$deps_t28339.prototype.cljs$core$IMeta$_meta$arity$1 = ((function (fix,test_fps,test_npm_fps,test_maven_fps){
return (function (_28341){
var self__ = this;
var _28341__$1 = this;
return self__.meta28340;
});})(fix,test_fps,test_npm_fps,test_maven_fps))
;
atomist.deps_t.t_atomist$deps_t28339.prototype.cljs$test$IAsyncTest$ = cljs.core.PROTOCOL_SENTINEL;
atomist.deps_t.t_atomist$deps_t28339.prototype.call = ((function (fix,test_fps,test_npm_fps,test_maven_fps){
return (function (self__,done){
var self__ = this;
var self____$1 = this;
var ___7285__auto__ = self____$1;
var c__4714__auto__ = cljs.core.async.chan.call(null,(1));
cljs.core.async.impl.dispatch.run.call(null,((function (c__4714__auto__,___7285__auto__,self____$1,fix,test_fps,test_npm_fps,test_maven_fps){
return (function (){
var f__4715__auto__ = (function (){var switch__4668__auto__ = ((function (c__4714__auto__,___7285__auto__,self____$1,fix,test_fps,test_npm_fps,test_maven_fps){
return (function (state_28363){
var state_val_28364 = (state_28363[(1)]);
if((state_val_28364 === (1))){
var inst_28343 = atomist.deps.get_fingerp