Skip to content

Commit 0c15ee4

Browse files
committed
Prepare for major release.
1 parent edbbbab commit 0c15ee4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2010-2015 Mike Bostock
1+
Copyright 2010-2016 Mike Bostock
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ This module provides a few basic geometric operations for two-dimensional polygo
44

55
## Installing
66

7-
If you use NPM, `npm install d3-polygon`. Otherwise, download the [latest release](https://github.com/d3/d3-polygon/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-polygon.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:
7+
If you use NPM, `npm install d3-polygon`. Otherwise, download the [latest release](https://github.com/d3/d3-polygon/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-polygon.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:
88

99
```html
10-
<script src="https://d3js.org/d3-polygon.v0.3.min.js"></script>
10+
<script src="https://d3js.org/d3-polygon.v1.min.js"></script>
1111
<script>
1212
1313
var hull = d3.polygonHull(points);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-polygon.js -- index.js",
2727
"test": "tape 'test/**/*-test.js' && eslint index.js src",
2828
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-polygon.js -c -m -o build/d3-polygon.min.js",
29-
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-polygon.js ../d3.github.com/d3-polygon.v0.3.js && cp build/d3-polygon.min.js ../d3.github.com/d3-polygon.v0.3.min.js && cd ../d3.github.com && git add d3-polygon.v0.3.js d3-polygon.v0.3.min.js && git commit -m \"d3-polygon ${VERSION}\" && git push && cd - && zip -j build/d3-polygon.zip -- LICENSE README.md build/d3-polygon.js build/d3-polygon.min.js"
29+
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-polygon.js ../d3.github.com/d3-polygon.v1.js && cp build/d3-polygon.min.js ../d3.github.com/d3-polygon.v1.min.js && cd ../d3.github.com && git add d3-polygon.v1.js d3-polygon.v1.min.js && git commit -m \"d3-polygon ${VERSION}\" && git push && cd - && zip -j build/d3-polygon.zip -- LICENSE README.md build/d3-polygon.js build/d3-polygon.min.js"
3030
},
3131
"devDependencies": {
3232
"eslint": "2",
3333
"package-preamble": "0.0",
34-
"rollup": "0.27",
34+
"rollup": "0.31",
3535
"tape": "4",
3636
"uglify-js": "2"
3737
}

0 commit comments

Comments
 (0)