@plaudit/pnpm-plugin-plaudit-config 1.1.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +9 -0
- package/package.json +2 -2
- package/pnpmfile.cjs +6 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.3.0] - 2026-04-29
|
|
9
|
+
### Removed
|
|
10
|
+
- The temporary pins for WordPress' broken typedefs
|
|
11
|
+
- They finally got around to deploying the fix
|
|
12
|
+
|
|
13
|
+
## [1.2.0] - 2026-04-27
|
|
14
|
+
### Added
|
|
15
|
+
- Code to mute ESLint peer dependency errors when the maximum supported version is 9
|
|
16
|
+
|
|
8
17
|
## [1.1.1] - 2026-04-17
|
|
9
18
|
### Added
|
|
10
19
|
- Installation instructions to the readme
|
package/README.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
The basic config state that all Plaudit-managed PNPM projects should use
|
|
4
4
|
|
|
5
5
|
# Adding this to projects
|
|
6
|
+
## All
|
|
7
|
+
1. Merge `onlyBuiltDependencies` and `ignoredBuiltDependencies` into `allowBuilds`
|
|
8
|
+
- Items from `onlyBuiltDependencies` should be assigned to `true`
|
|
9
|
+
- Items from `ignoredBuiltDependencies` should be assigned to `false`
|
|
10
|
+
2. Rename the following keys in the `pnpm` section of `package.json`
|
|
11
|
+
- `allowBuilds` -> `projectAllowBuilds`
|
|
12
|
+
- `overrides` -> `projectOverrides`
|
|
13
|
+
- `patchedDependencies` -> `projectPatchedDependencies`
|
|
14
|
+
|
|
6
15
|
## Plugins and Sites
|
|
7
16
|
1. Run: `theapp pnpm up`
|
|
8
17
|
2. All done!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plaudit/pnpm-plugin-plaudit-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"files": [
|
|
6
6
|
"./patches",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"sideEffects": false,
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@pnpm/hooks.pnpmfile": "^1100.0.
|
|
14
|
+
"@pnpm/hooks.pnpmfile": "^1100.0.3",
|
|
15
15
|
"@pnpm/types": "^1100.0.0",
|
|
16
16
|
"typescript": "^6.0.3"
|
|
17
17
|
},
|
package/pnpmfile.cjs
CHANGED
|
@@ -27,6 +27,11 @@ module.exports = {
|
|
|
27
27
|
if (pkg.peerDependencies?.['@types/node']) {
|
|
28
28
|
pkg.peerDependencies['@types/node'] += " || >24";
|
|
29
29
|
}
|
|
30
|
+
if (pkg.peerDependencies?.eslint) {
|
|
31
|
+
if (pkg.peerDependencies.eslint.includes("^9") && !pkg.peerDependencies.eslint.includes("^10")) {
|
|
32
|
+
pkg.peerDependencies.eslint += " || ^10.0.0";
|
|
33
|
+
}
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
return pkg;
|
|
32
37
|
},
|
|
@@ -47,20 +52,7 @@ module.exports = {
|
|
|
47
52
|
"micromatch": "^4",
|
|
48
53
|
"react-autosize-textarea>react": "*",
|
|
49
54
|
"react-autosize-textarea>react-dom": "*",
|
|
50
|
-
|
|
51
|
-
"@types/wordpress__block-editor": "15.0.5",
|
|
52
|
-
"@types/wordpress__blocks": "15.10.2",
|
|
53
|
-
"@wordpress/block-editor": "15.16.0",
|
|
54
|
-
"@wordpress/blocks": "15.16.0",
|
|
55
|
-
"@wordpress/components": "32.6.0",
|
|
56
|
-
"@wordpress/compose": "7.43.0",
|
|
57
|
-
"@wordpress/core-data": "7.43.0",
|
|
58
|
-
"@wordpress/data": "10.43.0",
|
|
59
|
-
"@wordpress/editor": "14.43.0",
|
|
60
|
-
"@wordpress/element": "6.43.0",
|
|
61
|
-
"@wordpress/hooks": "4.43.0",
|
|
62
|
-
"@wordpress/i18n": "6.16.0",
|
|
63
|
-
"@wordpress/icons": "12.1.0",
|
|
55
|
+
"@types/wordpress__blocks": "-",
|
|
64
56
|
"date-fns": "^4.0.0",
|
|
65
57
|
...config.overrides,
|
|
66
58
|
...mergeableConfig.projectOverrides
|