Skip to content

Commit

Permalink
Merge pull request airbnb#225 from hshoff/harry-sideeffects
Browse files Browse the repository at this point in the history
[internal] add sideEffects: false to pkg for webpack 4
  • Loading branch information
hshoff authored Jan 12, 2018
2 parents bd24e9d + 95ec07a commit 6c851d2
Show file tree
Hide file tree
Showing 32 changed files with 120 additions and 400 deletions.
18 changes: 4 additions & 14 deletions packages/vx-annotation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
"name": "@vx/annotation",
"version": "0.0.147",
"description": "vx annotation",
"sideEffects": false,
"main": "build/index.js",
"files": [
"build"
],
"files": ["build"],
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
Expand All @@ -15,13 +14,7 @@
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
},
"keywords": [
"vx",
"react",
"d3",
"visualizations",
"charts"
],
"keywords": ["vx", "react", "d3", "visualizations", "charts"],
"author": "@hshoff",
"license": "MIT",
"bugs": {
Expand Down Expand Up @@ -55,9 +48,6 @@
"access": "public"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
18 changes: 4 additions & 14 deletions packages/vx-axis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,19 @@
"name": "@vx/axis",
"version": "0.0.152",
"description": "vx axis",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
"test": "jest"
},
"files": [
"build"
],
"files": ["build"],
"repository": {
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
},
"keywords": [
"vx",
"react",
"d3",
"visualizations",
"charts"
],
"keywords": ["vx", "react", "d3", "visualizations", "charts"],
"author": "@hshoff",
"license": "MIT",
"bugs": {
Expand Down Expand Up @@ -55,9 +48,6 @@
"access": "public"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
20 changes: 6 additions & 14 deletions packages/vx-bounds/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
{
"name": "@vx/bounds",
"version": "0.0.147",
"description": "Utilities to make your life with bounding boxes better",
"description":
"Utilities to make your life with bounding boxes better",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
"test": "jest"
},
"files": [
"build"
],
"files": ["build"],
"repository": {
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
},
"keywords": [
"vx",
"react",
"visualizations",
"charts"
],
"keywords": ["vx", "react", "visualizations", "charts"],
"author": "Chris Williams @williaster",
"license": "MIT",
"bugs": {
Expand Down Expand Up @@ -51,9 +46,6 @@
"react-dom": "^15.0.0-0 || ^16.0.0-0"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
14 changes: 3 additions & 11 deletions packages/vx-boxplot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@vx/boxplot",
"version": "0.0.143",
"description": "vx box plot",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
Expand All @@ -12,13 +13,7 @@
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
},
"keywords": [
"vx",
"react",
"d3",
"visualizations",
"charts"
],
"keywords": ["vx", "react", "d3", "visualizations", "charts"],
"author": "@conglei",
"license": "MIT",
"bugs": {
Expand Down Expand Up @@ -49,9 +44,6 @@
"access": "public"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
18 changes: 4 additions & 14 deletions packages/vx-brush/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,19 @@
"name": "@vx/brush",
"version": "0.0.143",
"description": "vx brush",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
"test": "jest"
},
"files": [
"build"
],
"files": ["build"],
"repository": {
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
},
"keywords": [
"vx",
"d3",
"react",
"visualizations",
"charts"
],
"keywords": ["vx", "d3", "react", "visualizations", "charts"],
"author": "@hshoff",
"license": "MIT",
"bugs": {
Expand Down Expand Up @@ -52,9 +45,6 @@
"recompose": "^0.23.1"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
10 changes: 3 additions & 7 deletions packages/vx-clip-path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
"name": "@vx/clip-path",
"version": "0.0.143",
"description": "vx clip-path",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
"test": "jest"
},
"files": [
"build"
],
"files": ["build"],
"repository": {
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
Expand Down Expand Up @@ -49,9 +48,6 @@
"access": "public"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
18 changes: 4 additions & 14 deletions packages/vx-curve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,16 @@
"name": "@vx/curve",
"version": "0.0.143",
"description": "vx curve",
"sideEffects": false,
"main": "build/index.js",
"repository": "https://github.com/hshoff/vx",
"files": [
"build"
],
"files": ["build"],
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
"test": "jest"
},
"keywords": [
"vx",
"react",
"d3",
"visualization",
"chart"
],
"keywords": ["vx", "react", "d3", "visualization", "chart"],
"author": "@hshoff",
"license": "MIT",
"dependencies": {
Expand All @@ -41,9 +34,6 @@
"access": "public"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
10 changes: 2 additions & 8 deletions packages/vx-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
"start": "next start",
"test": "jest"
},
"keywords": [
"vx",
"demo",
"examples"
],
"keywords": ["vx", "demo", "examples"],
"author": "@hshoff",
"license": "MIT",
"dependencies": {
Expand Down Expand Up @@ -66,9 +62,7 @@
"topojson-client": "^3.0.0"
},
"browserify": {
"transform": [
"babelify"
]
"transform": ["babelify"]
},
"publishConfig": {
"access": "public"
Expand Down
18 changes: 4 additions & 14 deletions packages/vx-drag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,19 @@
"name": "@vx/drag",
"version": "0.0.143",
"description": "vx drag",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
"test": "jest"
},
"files": [
"build"
],
"files": ["build"],
"repository": {
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
},
"keywords": [
"vx",
"react",
"d3",
"visualizations",
"charts"
],
"keywords": ["vx", "react", "d3", "visualizations", "charts"],
"author": "@hshoff",
"license": "MIT",
"bugs": {
Expand All @@ -48,9 +41,6 @@
"react": "^15.0.0-0 || ^16.0.0-0"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
18 changes: 4 additions & 14 deletions packages/vx-event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,19 @@
"name": "@vx/event",
"version": "0.0.143",
"description": "vx event",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
"prepublish": "make build SRC=./src",
"test": "jest"
},
"files": [
"build"
],
"files": ["build"],
"repository": {
"type": "git",
"url": "git+https://github.com/hshoff/vx.git"
},
"keywords": [
"vx",
"d3",
"react",
"visualizations",
"charts"
],
"keywords": ["vx", "d3", "react", "visualizations", "charts"],
"author": "@hshoff",
"license": "MIT",
"bugs": {
Expand All @@ -48,9 +41,6 @@
"@vx/point": "0.0.143"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
6 changes: 2 additions & 4 deletions packages/vx-geo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@vx/geo",
"version": "0.0.150",
"description": "vx geo",
"sideEffects": false,
"main": "build/index.js",
"scripts": {
"build": "make build SRC=./src",
Expand Down Expand Up @@ -53,9 +54,6 @@
"access": "public"
},
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/enzyme-setup.js"
]
"setupFiles": ["raf/polyfill", "<rootDir>/test/enzyme-setup.js"]
}
}
Loading

0 comments on commit 6c851d2

Please sign in to comment.