@atomist/clj-editors
editor functions that use rewrite-clj and other important things from the clojurescript ecosystem
Last updated 10 months ago by atomist .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @atomist/clj-editors 
SYNC missed versions from official npm registry.

packaging ClojureScript in NPM

We build a node module @atomist/clj-editors here. This allows us to construct clojure editors using rewrite-cljs. A Node.js application, like an Atomist automation client, can now easily package clojure editing functions into a typescript application.

This also has a simple command line to manage the clojure-sdm credentials. Install this module with:

npm install @atomist/clj-editors@0.3.8 -g

then

sdm-vault --help

to manage maps encrypted with goog.crypt.Aes keys.

clj-editors Usage

Add the dependency to your application's package.json file.

{
  "dependencies": {
    ...
    "@atomist/clj-editors": "^0.3.8",
    ...
   },
   ...
}

npm link

This module works with npm link so we can co-develop these editors alongside the sdm-pack-clojure. These editors are pretty easy to unit test, and testing from a Node.js repl works quite well!

Development

Compiling

npm run compile

Repl

npm run repl

This will give you a socket repl running on port 7777, so you can connect emacs or intellij and evaluate the cljs forms on the fly. It's a pretty good workflow, and contains clojure.test (although it's in cljs.test here). I haven't gotten it working with nrepl so it's not quite as smooth as working with a Java repl but it can do the main things:

  • evaluate forms by passing them through cljs.repl, whether they are compiled to .js
  • .js expressions are sent to a node.js process running alongside the cljs.repl
  • (deftest) forms work great so you can code and evaluate unit tests using our standard workflow.

Unit Tests

Run cljs.test unit tests using npm:

npm run test

Publish

It's just normal npm publish for the rest.

sdm-vault

This project also has a simple command line to manipulate vault.txt files.

Current Tags

  • 0.8.3-master.20200501060800                                ...           branch-master (2 months ago)
  • 0.8.2                                ...           latest (10 months ago)
  • 0.8.3-master.20200501060800                                ...           next (2 months ago)

95 Versions

  • 0.8.3-master.20200501060800                                ...           2 months ago
  • 0.8.3-master.20200501060357                                ...           2 months ago
  • 0.8.2                                ...           10 months ago
  • 0.8.2-master.20190816115246                                ...           a year ago
  • 0.8.1                                ...           a year ago
  • 0.8.1-master.20190809124717                                ...           a year ago
  • 0.8.0-master.20190809051856                                ...           a year ago
  • 0.7.5                                ...           a year ago
  • 0.7.5-master.20190710024157                                ...           a year ago
  • 0.7.4                                ...           a year ago
  • 0.7.4-master.20190626171005                                ...           a year ago
  • 0.7.3                                ...           a year ago
  • 0.7.3-master.20190626164507                                ...           a year ago
  • 0.7.2                                ...           a year ago
  • 0.7.2-master.20190626045434                                ...           a year ago
  • 0.7.1                                ...           a year ago
  • 0.7.1-master.20190610013419                                ...           a year ago
  • 0.7.0                                ...           a year ago
  • 0.7.0-master.20190610003737                                ...           a year ago
  • 0.6.9                                ...           a year ago
  • 0.6.9-master.20190609043052                                ...           a year ago
  • 0.6.8                                ...           a year ago
  • 0.6.8-master.20190608012754                                ...           a year ago
  • 0.6.7                                ...           a year ago
  • 0.6.7-master.20190607033737                                ...           a year ago
  • 0.6.6                                ...           a year ago
  • 0.6.6-master.20190605204147                                ...           a year ago
  • 0.6.5                                ...           a year ago
  • 0.6.5-master.20190529010836                                ...           a year ago
  • 0.6.4                                ...           a year ago
  • 0.6.4-master.20190528053708                                ...           a year ago
  • 0.6.4-master.20190526194630                                ...           a year ago
  • 0.6.3                                ...           a year ago
  • 0.6.3-master.20190319022534                                ...           a year ago
  • 0.6.3-master.20190319022458                                ...           a year ago
  • 0.6.1                                ...           a year ago
  • 0.6.1-master.20190318232457                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.6.0-master.20190318225621                                ...           a year ago
  • 0.5.7                                ...           2 years ago
  • 0.5.6                                ...           2 years ago
  • 0.5.5                                ...           2 years ago
  • 0.5.4                                ...           2 years ago
  • 0.5.3                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.10                                ...           2 years ago
  • 0.4.9                                ...           2 years ago
  • 0.4.8                                ...           2 years ago
  • 0.4.5                                ...           2 years ago
  • 0.4.4                                ...           2 years ago
  • 0.4.3                                ...           2 years ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.10                                ...           2 years ago
  • 0.3.9                                ...           2 years ago
  • 0.3.8                                ...           2 years ago
  • 0.3.7                                ...           2 years ago
  • 0.3.6                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.5                                ...           2 years ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           2 years ago
  • 0.0.19                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |