@pob/root 8.4.2 → 8.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 CHANGED
@@ -1,8 +1,70 @@
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.6.0 (2023-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * add option to disable yarn cache ([761436f](https://github.com/christophehurpeau/pob/commit/761436fb7946c52a4d02b61b5c81ea122d64dc05))
12
+ * **deps:** update commitlint monorepo to v18 (major) ([#1827](https://github.com/christophehurpeau/pob/issues/1827)) ([81c0e11](https://github.com/christophehurpeau/pob/commit/81c0e118578ab2dd38664c492388d49eca0c9bc1))
13
+ * **deps:** update dependency @commitlint/cli to v17.7.0 ([#1730](https://github.com/christophehurpeau/pob/issues/1730)) ([ecb0c37](https://github.com/christophehurpeau/pob/commit/ecb0c3706ab47f1323ab6aef8b11ddca1de4a03a))
14
+ * **deps:** update dependency @commitlint/cli to v17.8.0 ([#1815](https://github.com/christophehurpeau/pob/issues/1815)) ([c7c65f0](https://github.com/christophehurpeau/pob/commit/c7c65f0ebb8321d34978b3b355f8e92b5f2a164f))
15
+ * **deps:** update dependency conventional-changelog-conventionalcommits to v7 ([#1755](https://github.com/christophehurpeau/pob/issues/1755)) ([ad7ea41](https://github.com/christophehurpeau/pob/commit/ad7ea4103723156ed08ad49f50577c033ddcff29))
16
+ * **deps:** update dependency conventional-changelog-conventionalcommits to v7 ([#1780](https://github.com/christophehurpeau/pob/issues/1780)) ([ab8a91f](https://github.com/christophehurpeau/pob/commit/ab8a91fd24c0bd8d14541a5147548265248b482d))
17
+ * **deps:** update dependency lint-staged to v13.3.0 ([#1734](https://github.com/christophehurpeau/pob/issues/1734)) ([dd973c3](https://github.com/christophehurpeau/pob/commit/dd973c316ce9a5eaab197ab366ce81869cc80b0c))
18
+ * **deps:** update dependency lint-staged to v14 ([#1736](https://github.com/christophehurpeau/pob/issues/1736)) ([8b88ecd](https://github.com/christophehurpeau/pob/commit/8b88ecdf2eaed7fe3073bceaf54864d076fcd9b5))
19
+ * **deps:** update dependency lint-staged to v15 ([#1816](https://github.com/christophehurpeau/pob/issues/1816)) ([3d5bbfa](https://github.com/christophehurpeau/pob/commit/3d5bbfa64165a52d948dc305eebefdafee9a985c))
20
+ * improve jest config ([8243486](https://github.com/christophehurpeau/pob/commit/82434867b2ba54e1f6eb9faee0a56e38e218d4bf))
21
+ * run lint in pre-push hook ([d1982b0](https://github.com/christophehurpeau/pob/commit/d1982b0fdac322dab9a20385cad2deb143d985de))
22
+ * update actions/checkout ([f040a5d](https://github.com/christophehurpeau/pob/commit/f040a5d3a87d8e3f5b5ae890ec49db37e435d22b))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **@pob/root:** add missing corepack enable ([af14b7e](https://github.com/christophehurpeau/pob/commit/af14b7e43e98493da0b34d5841a79e6ffff21124))
28
+ * **@pob/root:** fix renovate branch ([e32ce00](https://github.com/christophehurpeau/pob/commit/e32ce0067f11ac7d4f643c6a5edc3d5600fc31b0))
29
+ * **@pob/root:** move template folder ([e157b4a](https://github.com/christophehurpeau/pob/commit/e157b4ac951d1de14c8c3cc178577d8cb4ccb46c))
30
+ * **@pob/root:** remove immutable-cache in postcheckout ([658d6be](https://github.com/christophehurpeau/pob/commit/658d6be5a6ef801fdf687f3acec4659e92507d9a))
31
+ * better prettier config for yarnrc.yml ([f371f5c](https://github.com/christophehurpeau/pob/commit/f371f5c71608fc87d7e70058159a93cf0c4eca02))
32
+ * **deps:** update dependency @commitlint/cli to v17.7.1 ([#1731](https://github.com/christophehurpeau/pob/issues/1731)) ([22bbd15](https://github.com/christophehurpeau/pob/commit/22bbd15fdc9b14acb023c12c68b527d841c889a4))
33
+ * **deps:** update dependency @commitlint/cli to v17.7.2 ([#1790](https://github.com/christophehurpeau/pob/issues/1790)) ([e5b30a8](https://github.com/christophehurpeau/pob/commit/e5b30a841f1cbccffcc33fc0fcc71b6efb87935f))
34
+ * **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))
35
+ * **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))
36
+
37
+
38
+ ### Reverts
39
+
40
+ * feat(deps): update dependency conventional-changelog-conventionalcommits to v7 ([#1779](https://github.com/christophehurpeau/pob/issues/1779)) ([154459f](https://github.com/christophehurpeau/pob/commit/154459fbd42bb1cf536f41e2fb54f937ff5c2f80))
41
+
42
+ Version bump for dependency: pretty-eslint-config
43
+ Version bump for dependency: pretty-pkg
44
+ Version bump for dependency: repository-check-dirty
45
+
46
+
47
+ ## [8.5.0](https://github.com/christophehurpeau/pob/compare/@pob/root@8.4.2...@pob/root@8.5.0) (2023-11-05)
48
+
49
+
50
+ ### Features
51
+
52
+ * **deps:** update commitlint monorepo to v18 (major) ([#1827](https://github.com/christophehurpeau/pob/issues/1827)) ([81c0e11](https://github.com/christophehurpeau/pob/commit/81c0e118578ab2dd38664c492388d49eca0c9bc1))
53
+ * **deps:** update dependency conventional-changelog-conventionalcommits to v7 ([#1780](https://github.com/christophehurpeau/pob/issues/1780)) ([ab8a91f](https://github.com/christophehurpeau/pob/commit/ab8a91fd24c0bd8d14541a5147548265248b482d))
54
+ * run lint in pre-push hook ([d1982b0](https://github.com/christophehurpeau/pob/commit/d1982b0fdac322dab9a20385cad2deb143d985de))
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * better prettier config for yarnrc.yml ([f371f5c](https://github.com/christophehurpeau/pob/commit/f371f5c71608fc87d7e70058159a93cf0c4eca02))
60
+ * **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))
61
+ * **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))
62
+
63
+ Version bump for dependency: pretty-eslint-config
64
+ Version bump for dependency: pretty-pkg
65
+ Version bump for dependency: repository-check-dirty
66
+
67
+
6
68
  ## [8.4.2](https://github.com/christophehurpeau/pob/compare/@pob/root@8.4.1...@pob/root@8.4.2) (2023-10-18)
7
69
 
8
70
  **Note:** Version bump only for package @pob/root
@@ -13,6 +13,9 @@ jobs:
13
13
  with:
14
14
  token: ${{ secrets.GH_TOKEN }}
15
15
 
16
+ - name: Enable Corepack
17
+ run: corepack enable
18
+
16
19
  - name: Install Dependencies
17
20
  run: yarn install --immutable
18
21
 
@@ -14,6 +14,9 @@ jobs:
14
14
  with:
15
15
  token: ${{ secrets.GH_TOKEN }}
16
16
 
17
+ - name: Enable Corepack
18
+ run: corepack enable
19
+
17
20
  - name: Install Dependencies
18
21
  # no immutable here
19
22
  run: yarn install
@@ -13,6 +13,9 @@ jobs:
13
13
  with:
14
14
  token: ${{ secrets.GH_TOKEN }}
15
15
 
16
+ - name: Enable Corepack
17
+ run: corepack enable
18
+
16
19
  - name: Install Dependencies
17
20
  run: yarn install --immutable
18
21
 
@@ -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.2",
3
+ "version": "8.6.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.2.0",
60
+ "@pob/pretty-pkg": "6.2.0",
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.1",
64
+ "lint-staged": "15.0.2",
65
+ "pob-dependencies": "8.9.0",
66
66
  "prettier": "2.8.8",
67
- "repository-check-dirty": "6.1.1",
67
+ "repository-check-dirty": "6.2.0",
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
  };