Skip to content

build: upgrade devDependencies#157

Merged
remarkablemark merged 9 commits intomasterfrom
build/devDependencies
May 26, 2020
Merged

build: upgrade devDependencies#157
remarkablemark merged 9 commits intomasterfrom
build/devDependencies

Conversation

@remarkablemark
Copy link
Copy Markdown
Owner

@remarkablemark remarkablemark commented May 26, 2020

devDependencies:

 dtslint            ^2.0.0  →   ^3.6.4
 eslint             ^6.6.0  →   ^7.1.0
 husky              ^3.0.9  →   ^4.2.5
 lint-staged        ^9.4.2  →  ^10.2.6
 mocha              ^6.2.2  →   ^7.2.0
 nyc               ^14.1.1  →  ^15.0.1
 prettier          ^1.19.1  →   ^2.0.5
 rollup            ^1.26.3  →  ^1.32.1

@commitlint/{cli,config-conventional} was also upgraded.

rollup was not upgraded to v2 because of rollup-plugin-uglify:

npm ERR! peer dep missing: rollup@>=0.66.0 <2, required by rollup-plugin-uglify@6.0.4

Add missing peer dependency typescript required by tslint and tsutils.

Removed cross-env.

 prettier  ^1.19.1  →  ^2.0.5

Update .prettierrc.json to ensure code style is still consistent.

Fix lint for new rule: space after function.
 @commitlint/cli                    ^8.2.0  →    ^8.3.5
 @commitlint/config-conventional    ^8.2.0  →    ^8.3.5
 @types/react                     ^16.9.11  →  ^16.9.35
 cross-env                          ^6.0.3  →    ^7.0.2
 dtslint                            ^2.0.0  →    ^3.6.4
 eslint-plugin-prettier             ^3.1.1  →    ^3.1.3
 mocha                              ^6.2.2  →    ^7.2.0
 nyc                               ^14.1.1  →   ^15.0.1
 preact                            ^10.0.4  →   ^10.4.4
 rimraf                             ^3.0.0  →    ^3.0.2
 rollup  ^1.26.3  →  ^1.32.1

Consolidate `build:min` and `build:unmin` into 1 `build` script.

Remove `cross-env` since NODE_ENV is no longer needed to
distinguish between builds.

In `rollup.config.js`, export both configs for minified and
unminified bundles.

Generate sourcemap for both builds (previously, sourcemap was
only generated for unmin or development bundle).
@coveralls
Copy link
Copy Markdown

coveralls commented May 26, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 91fb693 on build/devDependencies into 598f9eb on master.

Required by `tslint` and `tsutils`
@remarkablemark remarkablemark merged commit 43c6775 into master May 26, 2020
@remarkablemark remarkablemark deleted the build/devDependencies branch May 26, 2020 03:15
@remarkablemark
Copy link
Copy Markdown
Owner Author

Published 0.10.5:

npm:

npm i html-react-parser@0.10.5 -S

yarn:

yarn add html-react-parser@0.10.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants