@pob/root 20.0.3 → 20.2.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,19 @@
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
+ ## [20.2.0](https://github.com/christophehurpeau/pob/compare/@pob/root@20.1.0...@pob/root@20.2.0) (2025-12-06)
7
+
8
+ ### Features
9
+
10
+ * refine script management for yarn and improve handling of postinstall and prepare scripts
11
+
12
+ ## [20.1.0](https://github.com/christophehurpeau/pob/compare/@pob/root@20.0.3...@pob/root@20.1.0) (2025-12-06)
13
+
14
+ ### Features
15
+
16
+ * include .github directory in lint-staged config for YAML and Markdown files
17
+ * update actions/checkout from v5 to v6 in workflow files
18
+
6
19
  ## [20.0.3](https://github.com/christophehurpeau/pob/compare/@pob/root@20.0.2...@pob/root@20.0.3) (2025-12-06)
7
20
 
8
21
  ### Bug Fixes
@@ -12,7 +12,7 @@ jobs:
12
12
  run-rollup-build:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v5
15
+ - uses: actions/checkout@v6
16
16
  with:
17
17
  ssh-key: ${{ secrets.PUSH_DEPLOY_KEY }}
18
18
 
@@ -14,7 +14,7 @@ jobs:
14
14
  run-install-and-commit-modified-files:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v5
17
+ - uses: actions/checkout@v6
18
18
  with:
19
19
  ssh-key: ${{ secrets.PUSH_DEPLOY_KEY }}
20
20
 
@@ -13,7 +13,7 @@ jobs:
13
13
  run-prettier:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
- - uses: actions/checkout@v5
16
+ - uses: actions/checkout@v6
17
17
  with:
18
18
  ssh-key: ${{ secrets.PUSH_DEPLOY_KEY }}
19
19
 
@@ -15,8 +15,10 @@ export default function installScripts({ pkg, pm }) {
15
15
 
16
16
  if (pm.name === "yarn") {
17
17
  delete pkg.scripts.postinstallDev;
18
+ delete pkg.scripts.prepare;
18
19
  addPobRootPostinstallInScript(pkg, "postinstall");
19
20
  } else {
21
+ delete pkg.scripts.postinstall;
20
22
  addPobRootPostinstallInScript(pkg, "prepare");
21
23
  }
22
24
 
@@ -71,7 +71,7 @@ export default function createLintStagedConfig() {
71
71
  ].filter(Boolean);
72
72
  },
73
73
  "!(package|package-lock|.eslintrc).json": ["prettier --write"],
74
- [`{scripts,config,${srcDirectories}}/**/*.{yml,yaml,md}`]: [
74
+ [`{.github,scripts,config,${srcDirectories}}/**/*.{yml,yaml,md}`]: [
75
75
  "prettier --write",
76
76
  ],
77
77
  "./*.{yml,yaml,md}": ["prettier --write"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/root",
3
- "version": "20.0.3",
3
+ "version": "20.2.0",
4
4
  "description": "root package",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -69,7 +69,7 @@
69
69
  "@commitlint/lint": "20.0.0",
70
70
  "@commitlint/types": "20.0.0",
71
71
  "@pob/pretty-pkg": "13.2.1",
72
- "@pob/version": "1.0.2",
72
+ "@pob/version": "1.1.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",