Skip to content

cljsjs/cljsjs.npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cljsjs.npm

NOT REALLY WORKING YET

Automatically package npm modules as jars with deps.cljs files.

Goals

  • Full dead code elimination
  • Use React addons as separate dependencies instead of react vs. react-with-addons
  • As easy to use as normal Cljsjs packages, or preferably easier
  • Easier to package than normal Cljsjs packages

TODO

  • Closure can't yet resolve npm requires google/closure-compiler#1773
  • Fix Closure, or
  • Invent a way to preprocess require calls so that Closure can deal with them

Examples

❯ boot package
Package material-ui
Writing pom.xml and pom.properties...
Writing material-ui-0.15.4.jar...
Package react
Writing pom.xml and pom.properties...
Writing react-15.3.1.jar...
Package react-addons-create-fragment
Writing pom.xml and pom.properties...
Writing react-addons-create-fragment-15.3.1.jar...
Package react-addons-transition-group
Writing pom.xml and pom.properties...
Writing react-addons-transition-group-15.3.1.jar...
Package react-dom
Writing pom.xml and pom.properties...
Writing react-dom-15.3.1.jar...
Package react-tap-event-plugin
Writing pom.xml and pom.properties...
Writing react-tap-event-plugin-1.0.0.jar...

~/Source/cljsjs.npm master 8s
❯ tree target
target
β”œβ”€β”€ cljsjs.npm
β”‚Β Β  β”œβ”€β”€ material-ui
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lots of files
β”‚Β Β  β”œβ”€β”€ react
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lib
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ lots of files
β”‚Β Β  β”‚Β Β  └── react.js
β”‚Β Β  β”œβ”€β”€ react-addons-create-fragment
β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”œβ”€β”€ react-addons-transition-group
β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”œβ”€β”€ react-dom
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ index.js
β”‚Β Β  β”‚Β Β  └── server.js
β”‚Β Β  └── react-tap-event-plugin
β”‚Β Β      └── src
β”‚Β Β          β”œβ”€β”€ defaultClickRejectionStrategy.js
β”‚Β Β          β”œβ”€β”€ injectTapEventPlugin.js
β”‚Β Β          β”œβ”€β”€ TapEventPlugin.js
β”‚Β Β          └── TouchEventUtils.js
β”œβ”€β”€ deps.cljs
β”œβ”€β”€ material-ui-0.15.4.jar
β”œβ”€β”€ META-INF
β”‚Β Β  └── maven
β”‚Β Β      └── cljsjs.npm
β”‚Β Β          β”œβ”€β”€ material-ui
β”‚Β Β          β”‚Β Β  β”œβ”€β”€ pom.properties
β”‚Β Β          β”‚Β Β  └── pom.xml
β”‚Β Β          β”œβ”€β”€ react
β”‚Β Β          β”‚Β Β  β”œβ”€β”€ pom.properties
β”‚Β Β          β”‚Β Β  └── pom.xml
β”‚Β Β          β”œβ”€β”€ react-addons-create-fragment
β”‚Β Β          β”‚Β Β  β”œβ”€β”€ pom.properties
β”‚Β Β          β”‚Β Β  └── pom.xml
β”‚Β Β          β”œβ”€β”€ react-addons-transition-group
β”‚Β Β          β”‚Β Β  β”œβ”€β”€ pom.properties
β”‚Β Β          β”‚Β Β  └── pom.xml
β”‚Β Β          β”œβ”€β”€ react-dom
β”‚Β Β          β”‚Β Β  β”œβ”€β”€ pom.properties
β”‚Β Β          β”‚Β Β  └── pom.xml
β”‚Β Β          └── react-tap-event-plugin
β”‚Β Β              β”œβ”€β”€ pom.properties
β”‚Β Β              └── pom.xml
β”œβ”€β”€ react-15.3.1.jar
β”œβ”€β”€ react-addons-create-fragment-15.3.1.jar
β”œβ”€β”€ react-addons-transition-group-15.3.1.jar
β”œβ”€β”€ react-dom-15.3.1.jar
└── react-tap-event-plugin-1.0.0.jar

81 directories, 1380 files

~/Source/cljsjs.npm master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published