@pob/root 8.0.1 → 8.1.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,30 @@
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.1.1](https://github.com/christophehurpeau/pob/compare/@pob/root@8.1.0...@pob/root@8.1.1) (2023-07-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **@pob/root:** only add workflow build if a build script exists ([a4cc71c](https://github.com/christophehurpeau/pob/commit/a4cc71cca028edad8a0dc9fcb37c2187c1804273))
12
+
13
+
14
+
15
+ ## [8.1.0](https://github.com/christophehurpeau/pob/compare/@pob/root@8.0.1...@pob/root@8.1.0) (2023-06-30)
16
+
17
+
18
+ ### Features
19
+
20
+ * **deps:** update @pob/eslint-config to v51 (major) ([#1686](https://github.com/christophehurpeau/pob/issues/1686)) ([108057c](https://github.com/christophehurpeau/pob/commit/108057c620330ca0c86ffe4af49a25cddb571acf))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **deps:** update dependency lint-staged to v13.2.3 ([#1688](https://github.com/christophehurpeau/pob/issues/1688)) ([21d9983](https://github.com/christophehurpeau/pob/commit/21d998316758260fb4471eedff6a1bb739b1f77c))
26
+ * requires first node 18 lts version, 18.12 ([70c105a](https://github.com/christophehurpeau/pob/commit/70c105a72a328498dd20804ade6f1622b4430835))
27
+
28
+
29
+
6
30
  ## [8.0.1](https://github.com/christophehurpeau/pob/compare/@pob/root@8.0.0...@pob/root@8.0.1) (2023-06-27)
7
31
 
8
32
  **Note:** Version bump only for package @pob/root
@@ -2,7 +2,7 @@
2
2
 
3
3
  'use strict';
4
4
 
5
- const path = require('path');
5
+ const path = require('node:path');
6
6
  const pkg = require('@commitlint/cli/package.json');
7
7
 
8
8
  // eslint-disable-next-line import/no-dynamic-require
@@ -2,8 +2,8 @@
2
2
 
3
3
  'use strict';
4
4
 
5
- const fs = require('fs');
6
- const path = require('path');
5
+ const fs = require('node:fs');
6
+ const path = require('node:path');
7
7
  const whichPmRuns = require('which-pm-runs');
8
8
 
9
9
  if (!process.env.INIT_CWD) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const fs = require('fs');
4
- const path = require('path');
3
+ const fs = require('node:fs');
4
+ const path = require('node:path');
5
5
  const semver = require('semver');
6
6
 
7
7
  const ensureWorkflowUninstalled = (workflowName) => {
@@ -33,7 +33,11 @@ module.exports = function installGithubWorkflows({ pkg, pm }) {
33
33
  installWorkflow('push-renovate-pob_root');
34
34
  installWorkflow('push-renovate-prettier');
35
35
  ensureWorkflowUninstalled('push-renovate-typedoc');
36
- if (pkg.devDependencies && pkg.devDependencies.rollup) {
36
+ if (
37
+ pkg.devDependencies &&
38
+ pkg.devDependencies.rollup &&
39
+ pkg.scripts?.build
40
+ ) {
37
41
  installWorkflow('push-renovate-build');
38
42
  } else {
39
43
  ensureWorkflowUninstalled('push-renovate-build');
@@ -2,8 +2,8 @@
2
2
 
3
3
  'use strict';
4
4
 
5
- const fs = require('fs');
6
- const path = require('path');
5
+ const fs = require('node:fs');
6
+ const path = require('node:path');
7
7
  const husky = require('husky');
8
8
  const semver = require('semver');
9
9
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const fs = require('fs');
3
+ const fs = require('node:fs');
4
4
 
5
5
  const addPobRootPostinstallInScript = (pkg, scriptName) => {
6
6
  if (!pkg.scripts[scriptName]) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const fs = require('fs');
3
+ const fs = require('node:fs');
4
4
  const JSON5 = require('json5');
5
5
  const prettier = require('prettier');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { execSync } = require('child_process');
3
+ const { execSync } = require('node:child_process');
4
4
  const semver = require('semver');
5
5
 
6
6
  module.exports = function updateYarn({ pkg, pm }) {
package/bin/prettier.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  'use strict';
4
4
 
5
- const path = require('path');
5
+ const path = require('node:path');
6
6
  const pkg = require('prettier/package.json');
7
7
 
8
8
  // eslint-disable-next-line import/no-dynamic-require
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const fs = require('fs');
4
- const path = require('path');
3
+ const fs = require('node:fs');
4
+ const path = require('node:path');
5
5
  const semver = require('semver');
6
6
  const whichPmRuns = require('which-pm-runs');
7
7
 
@@ -1,4 +1,4 @@
1
- import { createRequire } from 'module';
1
+ import { createRequire } from 'node:module';
2
2
 
3
3
  const require = createRequire(import.meta.url);
4
4
 
@@ -6,7 +6,7 @@ on:
6
6
  - "renovate/rollup-**"
7
7
 
8
8
  jobs:
9
- run-prettier:
9
+ run-rollup-build:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
12
  - uses: actions/checkout@v3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/root",
3
- "version": "8.0.1",
3
+ "version": "8.1.1",
4
4
  "description": "root package",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -13,7 +13,7 @@
13
13
  "homepage": "https://github.com/christophehurpeau/pob",
14
14
  "type": "module",
15
15
  "engines": {
16
- "node": ">=18.0.0"
16
+ "node": ">=18.12.0"
17
17
  },
18
18
  "publishConfig": {
19
19
  "access": "public"
@@ -49,17 +49,17 @@
49
49
  "pob": {},
50
50
  "dependencies": {
51
51
  "@commitlint/cli": "17.6.6",
52
- "@pob/pretty-eslint-config": "5.0.0",
53
- "@pob/pretty-pkg": "6.0.0",
52
+ "@pob/pretty-eslint-config": "5.1.0",
53
+ "@pob/pretty-pkg": "6.1.0",
54
54
  "conventional-changelog-conventionalcommits": "^6.0.0",
55
55
  "husky": "~8.0.1",
56
56
  "json5": "^2.2.2",
57
- "lint-staged": "13.2.2",
58
- "pob-dependencies": "8.1.0",
57
+ "lint-staged": "13.2.3",
58
+ "pob-dependencies": "8.3.0",
59
59
  "prettier": "2.8.8",
60
- "repository-check-dirty": "6.0.0",
60
+ "repository-check-dirty": "6.1.0",
61
61
  "semver": "^7.3.7",
62
62
  "which-pm-runs": "1.1.0"
63
63
  },
64
- "gitHead": "7632ede9dd93eeae6b75191c9a57ebbd5fe6d3d5"
64
+ "gitHead": "30355e11140d1c91a1cb5de451868a64b3d54227"
65
65
  }