File tree Expand file tree Collapse file tree 6 files changed +26
-15
lines changed Expand file tree Collapse file tree 6 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 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
1416install :
1517  - npm install 
Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2020  Adam Yost
3+ Copyright (c) 2021  Adam Yost
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 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  
6062Testing 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 ) 
Original file line number Diff line number Diff line change 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" : {
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" : {
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ function testTypeOverride(err) {
7373    expect ( / s r c = " a p p \. j s " / 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
7779describe ( 'HtmlWebpackLinkTypePlugin Development Mode' ,  ( )  =>  { 
7880
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments