diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 00000000..f7a74a0c --- /dev/null +++ b/.browserslistrc @@ -0,0 +1 @@ +> 0.1%, IE >= 9 diff --git a/.gitignore b/.gitignore index b485b499..3c3629e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ node_modules -config.codekit3 diff --git a/.npmignore b/.npmignore index 61cf0e66..053f54b4 100644 --- a/.npmignore +++ b/.npmignore @@ -1,8 +1,7 @@ demo webdriverio-tests .gitignore -.huskyrc -config.codekit3 +.husky commitlint.config.js wdio.conf-crossbrowsertesting.js .github diff --git a/.prettierignore b/.prettierignore index 86c21c16..67af5837 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,2 @@ -*.min.js +dist package-lock.json diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 00000000..73a0d4a3 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,3 @@ +{ + "trailingComma": "es5" +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bfa8808..94f7111e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). And the commit messages from [Conventional Commits](https://conventionalcommits.org) are being used. +## [2.0.0-beta.1] - 2021-03-04 + +### Changed + +- BREAKING CHANGE: Even also generate JS modules from now on supported by [microbundle](https://npmjs.com/microbundle), added the relevant property entries within the `package.json` directing to those files, that are now stored within the `dist/` folder (see [migration guide](MIGRATION.md) [#19](https://github.com/mfranzke/loading-attribute-polyfill/issues/19), [#87](https://github.com/mfranzke/loading-attribute-polyfill/pull/87), [#39](https://github.com/mfranzke/loading-attribute-polyfill/pull/39)) + ## [2.0.0-beta.0] - 2021-03-04 ### Fixed diff --git a/MIGRATION.md b/MIGRATION.md index 1a084baf..6ddccf6f 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,6 +1,10 @@ # Migration guidelines -## 2.0.0 migration guide +## 2.0.0-beta.1 migration guide + +We've switched from previously only providing the source and a minified version of the JS, to additionally provide the different relevant JavaScript formats especially regarding modules supported by [microbundle](https://npmjs.com/microbundle). Thatfor we even also changed the location of the generated files as well as pointed the relevant property entries within the `package.json` to those files. Please find all the relevant generated files in the `dist/` folder from now on. + +## 2.0.0-beta.0 migration guide You'll need to wrap the `` tag instead of the included HTML tags with `