Skip to content

Commit

Permalink
Update package.json. (#24582)
Browse files Browse the repository at this point in the history
1. Use the same jQuery version in jspm
2. Update the files to only include the source and dist folders
  • Loading branch information
XhmikosR authored Nov 25, 2017
1 parent 2ec1606 commit 3de4628
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
1 change: 1 addition & 0 deletions docs/4.0/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ While Beta 2 saw the bulk of our breaking changes during the beta phase, but we

- Removed the unused `$thumbnail-transition` variable. We weren't transitioning anything, so it was just extra code.
- Changed the CSS for managing multiple `background-image`s on custom form checkboxes and radios. Previously, the `.custom-control-indicator` element had the background color, gradient, and SVG icon. Customizing the background gradient meant replacing all of those every time you needed to change just one. Now, we have `.custom-control-indicator` for the fill and gradient and `.custom-control-indicator::before` handles the icon.
- The npm package no longer includes any files other than our source and dist files; if you relied on them and were running our scripts via the `node_modules` folder, you should adapt your workflow.

## Beta 2 changes

Expand Down
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,9 @@
"node": ">=6"
},
"files": [
".babelrc",
".eslintignore",
"Gemfile",
"dist",
"build",
"js/.eslintrc.json",
"js/**/*.js",
"js/**/*.js.map",
"scss/**/*.scss"
"dist/",
"js/{src,dist}/",
"scss/"
],
"browserslist": [
"Chrome >= 45",
Expand Down Expand Up @@ -205,7 +199,7 @@
},
"dependencies": {},
"peerDependencies": {
"jquery": "^3.0.0",
"jquery": "1.9.1 - 3",
"popper.js": "^1.12.9"
}
}
Expand Down

0 comments on commit 3de4628

Please sign in to comment.