@pob/root 7.4.0 → 7.6.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 +28 -0
- package/bin/postinstall/install-husky.cjs +18 -1
- package/package.json +11 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
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
|
+
## [7.6.0](https://github.com/christophehurpeau/pob/compare/@pob/root@7.5.0...@pob/root@7.6.0) (2023-03-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **root:** update-pre-push-hook-to-avoid-running-when-deleting-branches ([#1572](https://github.com/christophehurpeau/pob/issues/1572)) ([f9985f5](https://github.com/christophehurpeau/pob/commit/f9985f5085888e7424e1ee1d598db8881283f7ac))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [7.5.0](https://github.com/christophehurpeau/pob/compare/@pob/root@7.4.0...@pob/root@7.5.0) (2023-03-13)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* configure conventional-changelog-conventionalcommits for lerna ([77e7a22](https://github.com/christophehurpeau/pob/commit/77e7a223646b067ee554cdec42c1d9a309faced9))
|
|
21
|
+
* **deps:** update dependency lint-staged to v13.2.0 ([#1560](https://github.com/christophehurpeau/pob/issues/1560)) ([2b5fcc3](https://github.com/christophehurpeau/pob/commit/2b5fcc32795330a0873fe28a6aadf6d320ba702d))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **deps:** update dependency @commitlint/cli to v17.4.3 ([#1539](https://github.com/christophehurpeau/pob/issues/1539)) ([3358dba](https://github.com/christophehurpeau/pob/commit/3358dba4b67f069527767702d5ff7f8588354738))
|
|
27
|
+
* **deps:** update dependency @commitlint/cli to v17.4.4 ([#1545](https://github.com/christophehurpeau/pob/issues/1545)) ([aa0bf11](https://github.com/christophehurpeau/pob/commit/aa0bf11adf3043f809c50b51829a123b1c57cdaf))
|
|
28
|
+
* **deps:** update dependency lint-staged to v13.1.1 ([#1529](https://github.com/christophehurpeau/pob/issues/1529)) ([7d9351c](https://github.com/christophehurpeau/pob/commit/7d9351cfd592e3ac746d0e0c07b805ad4707012b))
|
|
29
|
+
* **deps:** update dependency lint-staged to v13.1.2 ([#1540](https://github.com/christophehurpeau/pob/issues/1540)) ([808623e](https://github.com/christophehurpeau/pob/commit/808623eb383732900d6cad435d3d0e29ecc094a0))
|
|
30
|
+
* **deps:** update dependency prettier to v2.8.4 ([#1531](https://github.com/christophehurpeau/pob/issues/1531)) ([a25a94d](https://github.com/christophehurpeau/pob/commit/a25a94d7b144626493275dcc465d6dc2076469b5))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
6
34
|
# [7.4.0](https://github.com/christophehurpeau/pob/compare/@pob/root@7.3.0...@pob/root@7.4.0) (2023-01-31)
|
|
7
35
|
|
|
8
36
|
|
|
@@ -106,7 +106,24 @@ fi`;
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
if (prePushHook.length > 0) {
|
|
109
|
-
writeHook(
|
|
109
|
+
writeHook(
|
|
110
|
+
'pre-push',
|
|
111
|
+
`
|
|
112
|
+
# z40 is the value matching the empty blob/commit/tree SHA (zero x 40)
|
|
113
|
+
z40=0000000000000000000000000000000000000000
|
|
114
|
+
branch_ref=$(git symbolic-ref HEAD)
|
|
115
|
+
|
|
116
|
+
while read local_ref local_sha remote_ref remote_sha
|
|
117
|
+
do
|
|
118
|
+
# Skip if branch deletion
|
|
119
|
+
if [ "$local_sha" != "$z40" ]; then
|
|
120
|
+
if [ "$local_ref" = "$branch_ref" ]; then
|
|
121
|
+
${prePushHook.join(' && ')}
|
|
122
|
+
fi
|
|
123
|
+
fi
|
|
124
|
+
done
|
|
125
|
+
`,
|
|
126
|
+
);
|
|
110
127
|
} else {
|
|
111
128
|
ensureHookDeleted('pre-push');
|
|
112
129
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/root",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.6.0",
|
|
4
4
|
"description": "root package",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
|
|
@@ -41,23 +41,25 @@
|
|
|
41
41
|
"repository-check-dirty": "./bin/repository-check-dirty.js"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
|
+
"clean:build": "true",
|
|
44
45
|
"lint": "yarn run lint:eslint",
|
|
45
46
|
"lint:eslint": "yarn ../.. run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet @pob/root"
|
|
46
47
|
},
|
|
47
48
|
"prettier": "@pob/root/prettier-config",
|
|
48
49
|
"pob": {},
|
|
49
50
|
"dependencies": {
|
|
50
|
-
"@commitlint/cli": "17.4.
|
|
51
|
-
"@pob/pretty-eslint-config": "4.1.
|
|
52
|
-
"@pob/pretty-pkg": "5.1.
|
|
51
|
+
"@commitlint/cli": "17.4.4",
|
|
52
|
+
"@pob/pretty-eslint-config": "4.1.1",
|
|
53
|
+
"@pob/pretty-pkg": "5.1.2",
|
|
54
|
+
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
53
55
|
"husky": "~8.0.1",
|
|
54
56
|
"json5": "^2.2.2",
|
|
55
|
-
"lint-staged": "13.
|
|
56
|
-
"pob-dependencies": "7.
|
|
57
|
-
"prettier": "2.8.
|
|
58
|
-
"repository-check-dirty": "5.1.
|
|
57
|
+
"lint-staged": "13.2.0",
|
|
58
|
+
"pob-dependencies": "7.6.0",
|
|
59
|
+
"prettier": "2.8.4",
|
|
60
|
+
"repository-check-dirty": "5.1.1",
|
|
59
61
|
"semver": "^7.3.7",
|
|
60
62
|
"which-pm-runs": "1.1.0"
|
|
61
63
|
},
|
|
62
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "e5930068baa1efff95c4918b66a1c8c9da3a35a8"
|
|
63
65
|
}
|