Skip to content

Commit 558ccb6

Browse files
committed
Merge branch 'develop'
2 parents 9cfe09a + 609632f commit 558ccb6

File tree

6 files changed

+26
-15
lines changed

6 files changed

+26
-15
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ env:
1010
# Webpack 3 and mini-css-extract in tests cause issues
1111
- WEBPACK_VERSION=4 HTML_PLUGIN_VERSION=3
1212
- WEBPACK_VERSION=4 HTML_PLUGIN_VERSION=4
13+
- WEBPACK_VERSION=4 HTML_PLUGIN_VERSION=5
14+
- WEBPACK_VERSION=5 HTML_PLUGIN_VERSION=5
1315

1416
install:
1517
- npm install

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.1.0 Verify support for webpack v5 and html-webpack-plugin v5
2+
- No changes needed, package.json updated to reflect current dependency versions
3+
14
# 1.0.4 Include .d.ts declaration files in package
25
- Addresses #15
36
- Remove testcases with Webpack 3 (compatability issues with mini-css-extract-plugin)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Adam Yost
3+
Copyright (c) 2021 Adam Yost
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Html Webpack Link Type Plugin
2+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fsteadyapp%2Fhtml-webpack-link-type-plugin.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fsteadyapp%2Fhtml-webpack-link-type-plugin?ref=badge_shield)
3+
24
_Assigns a mimetype to link tags injected by [Html Webpack Plugin](https://github.com/jantimon/html-webpack-plugin)_
35

46
## Configuration
@@ -58,3 +60,7 @@ plugins: [
5860

5961
## Testing
6062
Testing is done via ts-node and mocha. Test files can be found in `/spec`, and will be auto-discovered as long as the file ends in `.spec.ts`. Just run `npm test` after installing to see the tests run.
63+
64+
65+
## License
66+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fsteadyapp%2Fhtml-webpack-link-type-plugin.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fsteadyapp%2Fhtml-webpack-link-type-plugin?ref=badge_large)

package.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-webpack-link-type-plugin",
3-
"version": "1.0.4",
3+
"version": "1.1.0",
44
"description": "a plugin for html-webpack-plugin to allow for mimetype tagging of injected links",
55
"main": "dist/plugin.js",
66
"scripts": {
@@ -18,26 +18,24 @@
1818
"author": "swimmadude66",
1919
"license": "MIT",
2020
"devDependencies": {
21-
"@types/chai": "4.1.7",
22-
"@types/mocha": "5.2.6",
23-
"@types/node": "8.10.29",
24-
"@types/rimraf": "2.0.2",
25-
"@types/webpack": "4.4.31",
21+
"@types/chai": "4.2.14",
22+
"@types/mocha": "8.2.0",
23+
"@types/node": "12.19.15",
2624
"chai": "4.2.0",
27-
"css-loader": "1.0.0",
28-
"html-webpack-plugin": ">=3.2.0 || 4.0.0-beta.1 || 4.0.0-beta.2 || 4.0.0-beta.4 || 4.0.0-beta.5",
29-
"mini-css-extract-plugin": "0.6.0",
30-
"mocha": "6.1.4",
31-
"rimraf": "2.6.3",
32-
"ts-node": "8.1.0",
33-
"typescript": "3.4.5",
25+
"css-loader": "5.0.1",
26+
"html-webpack-plugin": ">=3.2.0",
27+
"mini-css-extract-plugin": "1.3.5",
28+
"mocha": "8.2.1",
29+
"rimraf": "3.0.2",
30+
"ts-node": "9.1.1",
31+
"typescript": "4.1.3",
3432
"webpack": ">=3.0.0"
3533
},
3634
"dependencies": {
3735
"minimatch": "3.0.4"
3836
},
3937
"peerDependencies": {
40-
"html-webpack-plugin": ">=3.0.0 || 4.0.0-beta.1 || 4.0.0-beta.2 || 4.0.0-beta.4 || 4.0.0-beta.5",
38+
"html-webpack-plugin": ">=3.0.0",
4139
"webpack": ">=3.0.0"
4240
},
4341
"repository": {

spec/index.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ function testTypeOverride(err) {
7373
expect(/src="app\.js"/i.test(htmlContents)).to.be.true;
7474
}
7575

76+
console.log('\nWEBPACK VERSION', webpack.version,'\n');
77+
console.log('\nHTML-WEBPACK_PLUGIN VERSION', HtmlWebpackPlugin.version,'\n');
7678

7779
describe('HtmlWebpackLinkTypePlugin Development Mode', () => {
7880

0 commit comments

Comments
 (0)