@pob/root 22.1.0 → 22.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 CHANGED
@@ -3,6 +3,31 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [22.3.0](https://github.com/christophehurpeau/pob/compare/@pob/root@22.2.0...@pob/root@22.3.0) (2026-03-21)
7
+
8
+ ### Features
9
+
10
+ * **deps:** update dependency lint-staged to v16.4.0 ([#2701](https://github.com/christophehurpeau/pob/issues/2701))
11
+
12
+ ### Bug Fixes
13
+
14
+ * ensure target is set to esnext in base-bundler tsconfig
15
+
16
+ Version bump for dependency: @pob/version
17
+ Version bump for dependency: pob-dependencies
18
+
19
+
20
+ ## [22.2.0](https://github.com/christophehurpeau/pob/compare/@pob/root@22.1.0...@pob/root@22.2.0) (2026-03-12)
21
+
22
+ ### Bug Fixes
23
+
24
+ * reformat yarnrc when changed
25
+
26
+ Version bump for dependency: @pob/pretty-pkg
27
+ Version bump for dependency: @pob/version
28
+ Version bump for dependency: pob-dependencies
29
+
30
+
6
31
  ## [22.1.0](https://github.com/christophehurpeau/pob/compare/@pob/root@22.0.0...@pob/root@22.1.0) (2026-03-01)
7
32
 
8
33
  Version bump for dependency: @pob/version
@@ -7,11 +7,26 @@ const pm = whichPmRuns();
7
7
 
8
8
  assertYarnBerry(pm);
9
9
 
10
- const { lockfile, installAndDedupe } = (() => {
10
+ const { lockfile, configfile, installAndDedupe } = (() => {
11
11
  if (pm.name === "yarn") {
12
12
  return {
13
13
  lockfile: "yarn.lock",
14
- installAndDedupe: ["yarn", "yarn dedupe"],
14
+ configfile: ".yarnrc.yml",
15
+ installAndDedupe: [
16
+ // suppress useless error codes and reformat and sort yarnrc.yml.
17
+ `yarn config set logFilters --json '[
18
+ {"code": "YN0002","level": "discard"},
19
+ {"code": "YN0007","level": "discard"},
20
+ {"code": "YN0008","level": "discard"},
21
+ {"code": "YN0013","level": "discard"},
22
+ {"code": "YN0018","level": "discard"},
23
+ {"code": "YN0060","level": "discard"},
24
+ {"code": "YN0061","level": "discard"}
25
+ ]'`,
26
+ "yarn",
27
+ "yarn dedupe",
28
+ "yarn config unset logFilters",
29
+ ],
15
30
  };
16
31
  }
17
32
  if (pm.name === "npm") {
@@ -49,7 +64,7 @@ export default function createLintStagedConfig() {
49
64
  const srcDirectories = getSrcDirectories();
50
65
 
51
66
  return {
52
- [`{${lockfile},package.json${
67
+ [`{${lockfile},${configfile ? `${configfile},` : ""}package.json${
53
68
  workspaces
54
69
  ? `,${workspaces
55
70
  .map((workspacePath) => `${workspacePath}/package.json`)
@@ -67,7 +82,7 @@ export default function createLintStagedConfig() {
67
82
  packagejsonFilenames.length === 0
68
83
  ? undefined
69
84
  : `pretty-pkg "${packagejsonFilenames.join('" "')}"`,
70
- `git add ${lockfile}${pm.name === "yarn" ? " .yarn .yarnrc.yml" : ""}`,
85
+ `git add ${lockfile}${configfile ? ` ${configfile}` : ""}${pm.name === "yarn" ? " .yarn" : ""}`,
71
86
  ].filter(Boolean);
72
87
  },
73
88
  "!(package|package-lock|.eslintrc).json": ["prettier --write"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/root",
3
- "version": "22.1.0",
3
+ "version": "22.3.0",
4
4
  "description": "root package",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -60,7 +60,7 @@
60
60
  ],
61
61
  "scripts": {
62
62
  "lint": "yarn run lint:eslint",
63
- "lint:eslint": "yarn ../.. run eslint --quiet '@pob/root'"
63
+ "lint:eslint": "yarn '../..' run eslint --quiet '@pob/root'"
64
64
  },
65
65
  "pob": {},
66
66
  "prettier": "@pob/root/prettier-config",
@@ -68,14 +68,14 @@
68
68
  "@commitlint/format": "20.4.0",
69
69
  "@commitlint/lint": "20.4.2",
70
70
  "@commitlint/types": "20.4.0",
71
- "@pob/pretty-pkg": "13.2.2",
72
- "@pob/version": "2.1.0",
71
+ "@pob/pretty-pkg": "13.2.3",
72
+ "@pob/version": "2.3.0",
73
73
  "conventional-changelog-conventionalcommits": "^9.1.0",
74
74
  "conventional-changelog-writer": "^8.2.0",
75
75
  "conventional-commits-parser": "^6.2.1",
76
76
  "json5": "^2.2.3",
77
- "lint-staged": "16.2.7",
78
- "pob-dependencies": "22.1.0",
77
+ "lint-staged": "16.4.0",
78
+ "pob-dependencies": "22.2.1",
79
79
  "prettier": "3.8.1",
80
80
  "semver": "^7.7.3"
81
81
  }
@@ -5,6 +5,7 @@
5
5
  "compilerOptions": {
6
6
  "importHelpers": true,
7
7
  "module": "ESNext",
8
+ "target": "esnext",
8
9
  "moduleResolution": "bundler",
9
10
  "moduleDetection": "force",
10
11
  "allowImportingTsExtensions": true,