Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: BREAKING CHANGE: Support webpack@5 typings #289

Merged
merged 2 commits into from
Mar 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A Webpack plugin for generating an asset manifest.

`webpack-manifest-plugin` is an [evergreen 🌲](./.github/FAQ.md#what-does-evergreen-mean) module.

This module requires an [Active LTS](https://github.com/nodejs/Release) Node version (v10.0.0+) and Webpack v4.44.0+.
This module requires an [Active LTS](https://github.com/nodejs/Release) Node version (v12.0.0+) and Webpack v5.0.0.

## Contributing

Expand Down
30 changes: 7 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,20 @@
"lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:js",
"lint-staged": "lint-staged",
"lint:docs": "prettier --write README.md",
"lint:js": "eslint --cache --fix --cache scripts src test",
"lint:js": "eslint --cache --fix --cache src test",
"lint:json": "prettier --write codecov.yml package.json",
"posttest": "pnpm switch -- \"4\" && pnpm install",
"prepublishOnly": "pnpm lint && pnpm build",
"pretest": "pnpm build",
"security": "pnpm audit --audit-level=high --prod",
"switch": "cd scripts && ts-node --project ./tsconfig.json ./set-webpack-version.ts",
"test": "pnpm test:v4 && pnpm test:v5",
"test:v4": "ava",
"test:v5": "pnpm switch -- \"5\" && pnpm install && ava"
"test": "pnpm install && ava"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"peerDependencies": {
"webpack": "^4.44.2 || ^5.47.0"
"webpack": "^5.47.0"
},
"dependencies": {
"tapable": "^2.0.0",
Expand All @@ -48,17 +44,15 @@
"@commitlint/config-conventional": "^13.1.0",
"@svgr/webpack": "^5.4.0",
"@types/node": "^16.4.3",
"@types/webpack": "^4.41.26",
"@types/webpack": "^5.28.0",
"@types/webpack-sources": "^2.1.1",
"@wordpress/dependency-extraction-webpack-plugin": "^3.1.0",
"ava": "^3.13.0",
"codecov": "^3.1.0",
"copy-webpack-plugin": "^6.2.1",
"css-loader": "^1.0.0",
"del": "^6.0.0",
"eslint-config-shellscape": "^4.2.0",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^2.0.0",
"file-loader": "^6.2.0",
"husky": "4.3.8",
"lint-staged": "11.1.1",
"memory-fs": "^0.4.1",
Expand All @@ -71,7 +65,7 @@
"ts-node": "^10.1.0",
"tslib": "^2.3.0",
"typescript": "^4.3.5",
"webpack": "^4.44.2",
"webpack": "^5.47.0",
"webpack-merge": "^5.2.0"
},
"ava": {
Expand Down Expand Up @@ -107,15 +101,5 @@
"test/"
]
},
"pre-commit": "lint-staged",
"webpack-versions": {
"4": {
"webpack": "^4.44.2",
"@types/webpack": "^4.41.26"
},
"5": {
"webpack": "latest",
"@types/webpack": "latest"
}
}
"pre-commit": "lint-staged"
}
Loading