@pob/root 8.4.1 → 8.5.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
@@ -1,8 +1,37 @@
1
- # Change Log
1
+ # Changelog
2
2
 
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
+ ## [8.5.0](https://github.com/christophehurpeau/pob/compare/@pob/root@8.4.2...@pob/root@8.5.0) (2023-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **deps:** update commitlint monorepo to v18 (major) ([#1827](https://github.com/christophehurpeau/pob/issues/1827)) ([81c0e11](https://github.com/christophehurpeau/pob/commit/81c0e118578ab2dd38664c492388d49eca0c9bc1))
12
+ * **deps:** update dependency conventional-changelog-conventionalcommits to v7 ([#1780](https://github.com/christophehurpeau/pob/issues/1780)) ([ab8a91f](https://github.com/christophehurpeau/pob/commit/ab8a91fd24c0bd8d14541a5147548265248b482d))
13
+ * run lint in pre-push hook ([d1982b0](https://github.com/christophehurpeau/pob/commit/d1982b0fdac322dab9a20385cad2deb143d985de))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * better prettier config for yarnrc.yml ([f371f5c](https://github.com/christophehurpeau/pob/commit/f371f5c71608fc87d7e70058159a93cf0c4eca02))
19
+ * **deps:** update dependency @commitlint/cli to v17.8.1 ([#1826](https://github.com/christophehurpeau/pob/issues/1826)) ([b2a7e0b](https://github.com/christophehurpeau/pob/commit/b2a7e0b0639011b64bc398d7dbe7dd4c6feac717))
20
+ * **deps:** update dependency lint-staged to v15.0.2 ([#1824](https://github.com/christophehurpeau/pob/issues/1824)) ([77bbc54](https://github.com/christophehurpeau/pob/commit/77bbc5443bf618a2d51d77368002dff66651e35e))
21
+
22
+ Version bump for dependency: pretty-eslint-config
23
+ Version bump for dependency: pretty-pkg
24
+ Version bump for dependency: repository-check-dirty
25
+
26
+
27
+ ## [8.4.2](https://github.com/christophehurpeau/pob/compare/@pob/root@8.4.1...@pob/root@8.4.2) (2023-10-18)
28
+
29
+ **Note:** Version bump only for package @pob/root
30
+
31
+
32
+
33
+
34
+
6
35
  ## [8.4.1](https://github.com/christophehurpeau/pob/compare/@pob/root@8.4.0...@pob/root@8.4.1) (2023-10-18)
7
36
 
8
37
 
@@ -63,6 +63,7 @@ module.exports = function installHusky({ pkg, pm }) {
63
63
 
64
64
  const shouldRunTest = () => pkg.scripts && pkg.scripts.test;
65
65
  const shouldRunChecks = () => pkg.scripts && pkg.scripts.checks;
66
+ const shouldRunLint = () => pkg.scripts && pkg.scripts.lint;
66
67
 
67
68
  try {
68
69
  fs.mkdirSync(path.resolve('.husky'));
@@ -95,6 +96,14 @@ fi`;
95
96
 
96
97
  const prePushHook = [];
97
98
 
99
+ if (shouldRunChecks()) {
100
+ prePushHook.push(`${pm.name} run checks`);
101
+ }
102
+
103
+ if (shouldRunLint()) {
104
+ prePushHook.push(`${pm.name} run lint`);
105
+ }
106
+
98
107
  if (shouldRunTest()) {
99
108
  prePushHook.push(
100
109
  `${pm.name} test${
@@ -105,10 +114,6 @@ fi`;
105
114
  );
106
115
  }
107
116
 
108
- if (shouldRunChecks()) {
109
- prePushHook.push(`${pm.name} run checks`);
110
- }
111
-
112
117
  if (prePushHook.length > 0) {
113
118
  writeHook(
114
119
  'pre-push',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/root",
3
- "version": "8.4.1",
3
+ "version": "8.5.0",
4
4
  "description": "root package",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -55,16 +55,16 @@
55
55
  "prettier": "@pob/root/prettier-config",
56
56
  "pob": {},
57
57
  "dependencies": {
58
- "@commitlint/cli": "17.8.0",
59
- "@pob/pretty-eslint-config": "5.1.1",
60
- "@pob/pretty-pkg": "6.1.1",
61
- "conventional-changelog-conventionalcommits": "^6.0.0",
58
+ "@commitlint/cli": "18.2.0",
59
+ "@pob/pretty-eslint-config": "5.1.2",
60
+ "@pob/pretty-pkg": "6.1.2",
61
+ "conventional-changelog-conventionalcommits": "^7.0.0",
62
62
  "husky": "~8.0.1",
63
63
  "json5": "^2.2.2",
64
- "lint-staged": "15.0.1",
65
- "pob-dependencies": "8.7.0",
64
+ "lint-staged": "15.0.2",
65
+ "pob-dependencies": "8.8.0",
66
66
  "prettier": "2.8.8",
67
- "repository-check-dirty": "6.1.1",
67
+ "repository-check-dirty": "6.1.2",
68
68
  "semver": "^7.3.7",
69
69
  "which-pm-runs": "1.1.0"
70
70
  }
@@ -20,5 +20,11 @@ module.exports = {
20
20
  singleQuote: false,
21
21
  },
22
22
  },
23
+ {
24
+ files: ['.yarnrc.yml'],
25
+ options: {
26
+ printWidth: 9999,
27
+ },
28
+ },
23
29
  ],
24
30
  };