Permalink
Browse files

Release 1.0.0.

  • Loading branch information...
1 parent e120bb4 commit 7be77ea7b91f06c4fa2fb86649f6fbae1c7b4c21 @mbostock mbostock committed Apr 23, 2012
Showing with 29 additions and 19 deletions.
  1. +4 −4 Makefile
  2. +1 −1 cubism.v0.js → cubism.v1.js
  3. +1 −1 cubism.v0.min.js → cubism.v1.min.js
  4. +1 −1 index.js
  5. +14 −4 package.json
  6. +1 −1 src/cubism.js
  7. +7 −7 src/package.js
View
@@ -3,9 +3,9 @@ JS_COMPILER = ./node_modules/uglify-js/bin/uglifyjs
.PHONY: test
-all: cubism.v0.min.js package.json
+all: cubism.v1.min.js package.json
-cubism.v0.js: \
+cubism.v1.js: \
src/cubism.js \
src/id.js \
src/identity.js \
@@ -33,13 +33,13 @@ cubism.v0.js: \
@echo '})(this);' >> $@
@chmod a-w $@
-package.json: cubism.v0.js src/package.js
+package.json: cubism.v1.js src/package.js
@rm -f $@
node src/package.js > $@
@chmod a-w $@
clean:
- rm -f cubism.v0.js cubism.v0.min.js package.json
+ rm -f cubism.v1.js cubism.v1.min.js package.json
test: all
@$(JS_TESTER)
@@ -1,5 +1,5 @@
(function(exports){
-var cubism = exports.cubism = {version: "0.1.0"};
+var cubism = exports.cubism = {version: "1.0.0"};
var cubism_id = 0;
function cubism_identity(d) { return d; }
cubism.option = function(name, value) {
Oops, something went wrong.
View
@@ -1,4 +1,4 @@
// Sorry for polluting your global namespace!
d3 = require("d3");
-module.exports = require("./cubism.v0").cubism;
+module.exports = require("./cubism.v1").cubism;
View
@@ -1,14 +1,24 @@
{
"name": "cubism",
- "version": "0.1.0",
- "private": true,
- "main": "./index.js",
+ "version": "1.0.0",
+ "description": "A JavaScript library for time series visualization.",
+ "keywords": [
+ "time series",
+ "visualization",
+ "d3"
+ ],
+ "homepage": "http://square.github.com/cubism/",
+ "author": {
+ "name": "Mike Bostock",
+ "url": "http://bost.ocks.org/mike"
+ },
"repository": {
"type": "git",
"url": "http://github.com/square/cubism.git"
},
+ "main": "./index.js",
"dependencies": {
- "d3": "2.8.1"
+ "d3": "2.9.1"
},
"devDependencies": {
"vows": "0.6.1",
View
@@ -1 +1 @@
-var cubism = exports.cubism = {version: "0.1.0"};
+var cubism = exports.cubism = {version: "1.0.0"};
View
@@ -1,18 +1,18 @@
var util = require("util"),
d3 = require("d3"),
- cubism = require("../cubism.v0").cubism;
+ cubism = require("../cubism.v1").cubism;
util.puts(JSON.stringify({
"name": "cubism",
"version": cubism.version,
- "private": true,
+ "description": "A JavaScript library for time series visualization.",
+ "keywords": ["time series", "visualization", "d3"],
+ "homepage": "http://square.github.com/cubism/",
+ "author": {"name": "Mike Bostock", "url": "http://bost.ocks.org/mike"},
+ "repository": {"type": "git", "url": "http://github.com/square/cubism.git"},
"main": "./index.js",
- "repository": {
- "type": "git",
- "url": "http://github.com/square/cubism.git"
- },
"dependencies": {
- "d3": "2.8.1"
+ "d3": "2.9.1"
},
"devDependencies": {
"vows": "0.6.1",

0 comments on commit 7be77ea

Please sign in to comment.