기본 콘텐츠로 건너뛰기

라벨이 smart package인 게시물 표시

meteorite package에 d3.js를 올렸다.

http://meteor.com/authcast  를 보면서 벡터그래픽을 마치 DOM처럼 쓰는 게 너무 맘에 들어서  https://atmosphere.meteor.com/  에 올려야겠다는 생각이 들었음. https://gist.github.com/3327056  와  https://atmosphere.meteor.com/wtf/package 내용 참조해서  https://github.com/acidsound/d3js-package  이런걸 올리긴 했는데 submodule 을 처음 써봐서 삽질 좀 했다. js 라이브러리의 경로를 잘못써서 몇가지를 수정하고 올리려고 했더니 /usr/local/lib/node_modules/meteorite/lib/atmosphere.js:82           throw "This tag has already been committed to the repo.";           ^ This tag has already been committed to the repo. 이런 오류가 나서 소스를 열어보았다. 80      exec('git tag', function (err, stdout, stderr) { 81        if (stdout.indexOf(versionName) >= 0) 82          throw "This tag has already been committed to the repo."; versionName 이 뭔가 쫓아가보았더니 smart.json 에서 지정한 "version". 뭐 암튼 release 할때 "version" 키의 값에 "v"를 앞에 붙여서 tag를 만들기 때문에...