From d6784a704d5218ce4b418893ba65de98e42b4bc4 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 7 Jun 2016 16:42:17 -0700 Subject: [PATCH 01/27] Fix export. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6a8959a..b7d8082 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "url": "https://github.com/d3/d3-collection.git" }, "scripts": { - "pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3_collection -o build/d3-collection.js -- index.js", + "pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-collection.js -- index.js", "test": "tape 'test/**/*-test.js' && eslint index.js src", "prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-collection.js -c -m -o build/d3-collection.min.js", "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-collection.js ../d3.github.com/d3-collection.v0.3.js && cp build/d3-collection.min.js ../d3.github.com/d3-collection.v0.3.min.js && cd ../d3.github.com && git add d3-collection.v0.3.js d3-collection.v0.3.min.js && git commit -m \"d3-collection ${VERSION}\" && git push && cd - && zip -j build/d3-collection.zip -- LICENSE README.md build/d3-collection.js build/d3-collection.min.js" From ab9296ee2cb9e0b68c2a5b5329796b231d477eff Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 7 Jun 2016 16:42:21 -0700 Subject: [PATCH 02/27] 0.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b7d8082..02313e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d3-collection", - "version": "0.3.0", + "version": "0.3.1", "description": "Handy data structures for elements keyed by string.", "keywords": [ "d3", From 5bd67eff0d28f3cfaaa375f10ce2486ff5e6be9e Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 14 Jun 2016 09:24:11 -0700 Subject: [PATCH 03/27] Tag as d3-module. Related d3/d3#2827. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 02313e4..5fcfebc 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Handy data structures for elements keyed by string.", "keywords": [ "d3", + "d3-module", "nest", "data", "map", From 2798646f16b2cdf5df1dd72213e6925cc3b81c61 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Tue, 14 Jun 2016 14:16:14 -0700 Subject: [PATCH 04/27] Prepare for major release. --- README.md | 4 ++-- package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8ceb2e3..57c3a60 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ Handy data structures for elements keyed by string. ## Installing -If you use NPM, `npm install d3-collection`. Otherwise, download the [latest release](https://github.com/d3/d3-collection/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-collection.v0.3.min.js) or as part of [D3 4.0](https://github.com/d3/d3). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3` global is exported: +If you use NPM, `npm install d3-collection`. Otherwise, download the [latest release](https://github.com/d3/d3-collection/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-collection.v1.min.js) or as part of [D3 4.0](https://github.com/d3/d3). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3` global is exported: ```html - + ``` -[Try d3-collection in your browser.](https://tonicdev.com/npm/d3-collection) - ## API Reference * [Objects](#objects)