Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ bundle.js.map
bundle.min.js
bundle.min.js.map
/chunks
stats.json
stats.html
test-reports
/.DS_Store

Expand Down
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Features
~~~~~~~~

- Fix ``pat-auto-scale`` not correctly rescaling after fullscreen changes. Fixes #673
- Add ``webpack-visualizer-plugin`` for analyzation of generated bundles.
- Add ``pat-fullscreen`` pattern to allow any element to be displayed in fullscreen-mode.
A second pattern ``pat-fullscreen-close`` which is triggered on ``close-fullscreen`` CSS class allows for closing the fullscreen with custom buttons.
- Runs now on jQuery 3.
Expand All @@ -14,6 +14,8 @@ Features
Fixes
~~~~~

- Fix ``pat-auto-suggest`` to not show a placeholder if none is defined. Fixes #675
- Fix ``pat-auto-scale`` not correctly rescaling after fullscreen changes. Fixes #673
- Fix heisenbug with pat-scroll on testruns.
- Fix minimum input length default so that you can display select results already on click.

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ This will install all required npm and bower packages and run the tests.

To run the tests in a browser, open the ``tests.html`` file in the browser of your choice.

### Check bundle sizes

We added a webpack plugin which helps in analyzing bundle sizes.
Check if the bundle size doesn't grow much bigger.
After running webpack via ``make build``, ``make serve`` or ``make check`` stats.json and stats.html file are created.
Open stats.html in a browser to interactively check the payload each package contributes to the generated bundle.

### Organisations and projects which use Patternslib

Expand Down
214 changes: 214 additions & 0 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
"webpack-jasmine-html-runner-plugin": "^0.9.0",
"webpack-merge": "^4.1.2",
"webpack-modernizr-loader": "^5.0.0",
"webpack-visualizer-plugin": "^0.1.11",
"wrapper-webpack-plugin": "^2.0.0",
"yo": "^2.0.6"
},
Expand Down
Loading