Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate npm/node.js-free possibility #14

Open
mkotsbak opened this issue Nov 12, 2015 · 5 comments
Open

Investigate npm/node.js-free possibility #14

mkotsbak opened this issue Nov 12, 2015 · 5 comments

Comments

@mkotsbak
Copy link
Contributor

I see that the project is depending heavily on npm packages and dependencies as well as sbt. It would be easier to use if only sbt was required to build and use the library.

Do you think that is possible? All dependencies from npm/bower is possible to find/import to webjars.org and get from sbt.

@chandu0101
Copy link
Owner

for mobile examples we must use npm/node.js

for web examples we can replace with sbt but from my previous experience all js components/frameworks don't publish to webjars and npm.webjars doesn't work out of the box in few cases. i personally prefer npm/node.js(easy to learn and we must need this when developing mobile apps) for js deps. That being said i am happy to take PR's for template projects(sri-web-sbt ... ) based on sbt,

@mkotsbak
Copy link
Contributor Author

Yes, the infrastructure and scripts from react tools are probably useful. But we might get them in jars and connect them using sbt targets.

Yes, imports sometimes fails, but they fix the issues quickly: webjars/webjars#1246 and webjars/webjars#1247

@mkotsbak
Copy link
Contributor Author

And upstream FB has fixed this issue for next version: facebook/react#5461

@chandu0101
Copy link
Owner

Yes, the infrastructure and scripts from react tools are probably useful. But we might get them in jars and connect them using sbt targets.

I must admit that i'am sbt noob , not sure whether its an easy task or not, especially for react-native tool chain and relay-babel-plugin!. But its good to have templates with sbt only, looking forward to u r findings ;)

@onilton
Copy link

onilton commented Jun 21, 2016

@mkotsbak I've update the web-template to remove npm need :). Take a look and tell me what you think:

https://github.com/onilton/sri-web-template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants