Comparing version 0.3.0 to 0.4.0
@@ -10,4 +10,6 @@ var path = require('path'); | ||
var d3Path = path.dirname(require.resolve('d3')); | ||
var resolved = modules.map(function(location) { | ||
return path.resolve(__dirname, '..', 'd3', 'src', location); | ||
return path.resolve(d3Path, 'src', location); | ||
}); | ||
@@ -14,0 +16,0 @@ |
{ | ||
"name": "d3-builder", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Generates custom builds of D3", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,5 +1,9 @@ | ||
# Heads up! | ||
Since the time of writing `d3-builder`, [D3 has released discrete packages on | ||
NPM](https://www.npmjs.com/~mbostock). We recommend checking them out before | ||
digging too much into this project. | ||
# D3 Builder | ||
A work in progress, but you can currently use it like: | ||
```javascript | ||
@@ -18,3 +22,3 @@ var fs = require('fs'); | ||
D3 uses the [smash](https://github.com/mbostock/smash) module system. This package is a thin layer over smash and D3 to (eventually) make it easier to stream custom builds into [browserify](https://github.com/substack/node-browserify). | ||
D3 uses the [smash](https://github.com/mbostock/smash) module system. This package is a thin layer over smash and D3 to make it easier to stream custom builds into [browserify](https://github.com/substack/node-browserify). | ||
@@ -21,0 +25,0 @@ ## License |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
352379
10
9935
27
1