Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Aug 24, 2018
1 parent 384845e commit 7127f40
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.sublime-workspace
.DS_Store
build/
dist/
node_modules
npm-debug.log
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*.sublime-*
build/*.zip
dist/*.zip
test/
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/d3-axis.js",
"main": "dist/d3-axis.min.js",
"module": "index",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-axis.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup -c",
"pretest": "rollup -c",
"test": "tape 'test/**/*-test.js' && eslint index.js src test",
"prepublish": "yarn test",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-axis/build/d3-axis.js d3-axis.v1.js && cp ../d3-axis/build/d3-axis.min.js d3-axis.v1.min.js && git add d3-axis.v1.js d3-axis.v1.min.js && git commit -m \"d3-axis ${npm_package_version}\" && git push && cd - && zip -j build/d3-axis.zip -- LICENSE README.md build/d3-axis.js build/d3-axis.min.js"
"prepublishOnly": "rm -rf dist && yarn test",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v1.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v1.min.js && git add ${npm_package_name}.v1.js ${npm_package_name}.v1.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd - && zip -j dist/${npm_package_name}.zip -- LICENSE README.md dist/${npm_package_name}.js dist/${npm_package_name}.min.js"
},
"devDependencies": {
"d3-scale": "2",
Expand Down
7 changes: 4 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ const config = {
input: "index.js",
external: Object.keys(meta.dependencies || {}),
output: {
file: `build/${meta.name}.js`,
file: `dist/${meta.name}.js`,
name: "d3",
format: "umd",
indent: false,
extend: true,
banner: `// ${meta.homepage} Version ${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}.`,
banner: `// ${meta.homepage} v${meta.version} Copyright ${(new Date).getFullYear()} ${meta.author.name}`,
globals: Object.assign({}, ...Object.keys(meta.dependencies || {}).map(key => ({[key]: "d3"})))
},
plugins: []
Expand All @@ -21,7 +22,7 @@ export default [
...config,
output: {
...config.output,
file: `build/${meta.name}.min.js`
file: `dist/${meta.name}.min.js`
},
plugins: [
...config.plugins,
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,16 @@ cssstyle@^1.0.0:
cssom "0.3.x"

d3-array@^1.2.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.2.tgz#586b0261f27da1e411d164a8ffe047401c84ed75"
version "1.2.3"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.3.tgz#d705413d19a48fd82c570b4442170d6b9f5df794"

d3-collection@1:
version "1.0.4"
resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.4.tgz#342dfd12837c90974f33f1cc0a785aea570dcdc2"
version "1.0.5"
resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.5.tgz#dd0c198a08f6d2d5b1cb8255d7c6150fecded5b5"

d3-color@1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.2.0.tgz#d1ea19db5859c86854586276ec892cf93148459a"
version "1.2.1"
resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.2.1.tgz#c600e90ed73b2a3ac79059422bd5f5ddd23ced54"

d3-format@1:
version "1.3.0"
Expand Down

0 comments on commit 7127f40

Please sign in to comment.