@pob/root 13.3.0 → 13.4.1

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
+ ## [13.4.1](https://github.com/christophehurpeau/pob/compare/@pob/root@13.4.0...@pob/root@13.4.1) (2024-09-29)
7
+
8
+ ### Reverts
9
+
10
+ * Revert "fix: disable yarn config set in hooks" ([350a698](https://github.com/christophehurpeau/pob/commit/350a698194aab7159b3a07c675ce1d81d5f13cf9))
11
+
12
+ ## [13.4.0](https://github.com/christophehurpeau/pob/compare/@pob/root@13.3.0...@pob/root@13.4.0) (2024-09-29)
13
+
14
+ ### Features
15
+
16
+ * remove deprecated ::set-output in github actions ([a42232e](https://github.com/christophehurpeau/pob/commit/a42232eb28d66b8b4c7083fb323d6c9018e0a517))
17
+ * update yarn min version ([c354641](https://github.com/christophehurpeau/pob/commit/c354641dc234f7a0d7b0b4990e0fed665d1d066c))
18
+
6
19
  ## [13.3.0](https://github.com/christophehurpeau/pob/compare/@pob/root@13.2.0...@pob/root@13.3.0) (2024-09-29)
7
20
 
8
21
  ### Features
@@ -24,7 +24,7 @@ jobs:
24
24
 
25
25
  - name: Check for added or modified files
26
26
  id: git-check-modified
27
- run: echo ::set-output name=modified::$(if [[ -z $(git status -s) ]]; then echo "false"; else echo "true"; fi)
27
+ run: if [[ -z $(git status -s) ]]; then echo "modified=false" >> $GITHUB_OUTPUT ; else echo "modified=true"; fi
28
28
 
29
29
  - name: Commit report
30
30
  if: steps.git-check-modified.outputs.modified == 'true'
@@ -34,7 +34,7 @@ jobs:
34
34
 
35
35
  - name: Check for added or modified files
36
36
  id: git-check-modified
37
- run: echo ::set-output name=modified::$(if [[ -z $(git status -s) ]]; then echo "false"; else echo "true"; fi)
37
+ run: if [[ -z $(git status -s) ]]; then echo "modified=false" >> $GITHUB_OUTPUT ; else echo "modified=true"; fi
38
38
 
39
39
  - name: Commit report
40
40
  if: steps.git-check-modified.outputs.modified == 'true'
@@ -25,7 +25,7 @@ jobs:
25
25
 
26
26
  - name: Check for added or modified files
27
27
  id: git-check-modified
28
- run: echo ::set-output name=modified::$(if [[ -z $(git status -s) ]]; then echo "false"; else echo "true"; fi)
28
+ run: if [[ -z $(git status -s) ]]; then echo "modified=false" >> $GITHUB_OUTPUT ; else echo "modified=true"; fi
29
29
 
30
30
  - name: Commit report
31
31
  if: steps.git-check-modified.outputs.modified == 'true'
@@ -85,21 +85,20 @@ export default function installHusky({ pkg, pm }) {
85
85
  ? "--immutable"
86
86
  : "--prefer-offline --pure-lockfile --ignore-optional"
87
87
  }`,
88
- // cause issues with git because of formatting issue with prettier.
89
- // beforeDiffCommand: isYarnBerry
90
- // ? `yarn config set logFilters --json '[
91
- // {"code": "YN0002","level": "discard"},
92
- // {"code": "YN0007","level": "discard"},
93
- // {"code": "YN0008","level": "discard"},
94
- // {"code": "YN0013","level": "discard"},
95
- // {"code": "YN0018","level": "discard"},
96
- // {"code": "YN0060","level": "discard"},
97
- // {"code": "YN0061","level": "discard"}
98
- // ]' > /dev/null`
99
- // : "",
100
- // afterDiffCommand: isYarnBerry
101
- // ? "yarn config unset logFilters > /dev/null"
102
- // : "",
88
+ beforeDiffCommand: isYarnBerry
89
+ ? `yarn config set logFilters --json '[
90
+ {"code": "YN0002","level": "discard"},
91
+ {"code": "YN0007","level": "discard"},
92
+ {"code": "YN0008","level": "discard"},
93
+ {"code": "YN0013","level": "discard"},
94
+ {"code": "YN0018","level": "discard"},
95
+ {"code": "YN0060","level": "discard"},
96
+ {"code": "YN0061","level": "discard"}
97
+ ]' > /dev/null`
98
+ : "",
99
+ afterDiffCommand: isYarnBerry
100
+ ? "yarn config unset logFilters > /dev/null"
101
+ : "",
103
102
  };
104
103
  }
105
104
  if (pm.name === "npm") {
@@ -4,7 +4,7 @@ import semver from "semver";
4
4
  export default function updateYarn({ pkg, pm }) {
5
5
  if (pm.name !== "yarn" || !pm.version) return;
6
6
 
7
- if (semver.lt(pm.version, "3.2.1")) {
7
+ if (semver.lt(pm.version, "4.5.0")) {
8
8
  // Upgrade from yarn 1
9
9
  if (semver.lt(pm.version, "2.0.0")) {
10
10
  console.log("-- Install yarn berry --");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/root",
3
- "version": "13.3.0",
3
+ "version": "13.4.1",
4
4
  "description": "root package",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",