From 14dfa4a5e2368606efd14d55085e7601d8b53fd6 Mon Sep 17 00:00:00 2001 From: Chen Fengyuan Date: Thu, 1 Jun 2017 22:23:10 +0800 Subject: [PATCH] Release v2.0.0 --- CHANGELOG.md | 8 + README.md | 12 +- dist/distpicker.common.js | 4396 +++++++++++++++++++++++++++++++++++++ dist/distpicker.esm.js | 4392 ++++++++++++++++++++++++++++++++++++ dist/distpicker.js | 33 +- dist/distpicker.min.js | 8 +- docs/index.html | 4 +- docs/js/distpicker.js | 33 +- package.json | 8 +- rollup.config.js | 17 +- 10 files changed, 8867 insertions(+), 44 deletions(-) create mode 100644 dist/distpicker.common.js create mode 100644 dist/distpicker.esm.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 4de384e..07bc63b 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog +### 2.0.0 (Jun 1, 2017) + +- Updated districts. +- Use `window.jQuery` instead of `window.$` for browser side usage. +- Change the `main` field value from `dist/distpicker.js` (UMD) to `dist/distpicker.common.js` (CommonJS). +- Added `module` and `browser` fields to `package.json`. + + ### 2.0.0-rc (Mar 4, 2017) - Updated districts. diff --git a/README.md b/README.md index ca9bffd..9e29b61 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,10 @@ ``` dist/ -├── distpicker.js (98 KB) -└── distpicker.min.js (71 KB) +├── distpicker.js (98 KB, UMD) +├── distpicker.min.js (71 KB, UMD, compressed) +├── distpicker.common.js (98 KB, CommonJS) +└── distpicker.esm.js (98 KB, ES Module) ``` @@ -178,6 +180,12 @@ Show placeholder (with an `