pob 29.0.0 → 29.1.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
@@ -3,6 +3,26 @@
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
+ ## [29.1.0](https://github.com/christophehurpeau/pob/compare/pob@29.0.0...pob@29.1.0) (2025-08-24)
7
+
8
+ ### Features
9
+
10
+ * **deps:** update dependency eslint to v9.34.0 ([#2559](https://github.com/christophehurpeau/pob/issues/2559)) ([54fa249](https://github.com/christophehurpeau/pob/commit/54fa249bb7fbe343f0bfb1d94d05b59d70f7b39e))
11
+ * **deps:** upgrade yarn to version 4.9.3 and update related dependencies ([1edd0bf](https://github.com/christophehurpeau/pob/commit/1edd0bf4cedb355171d395fc27a91cf7ce92d966))
12
+ * update typescript ([fbe3295](https://github.com/christophehurpeau/pob/commit/fbe3295071c209e4bd58d8b2030607a19e3ccb54))
13
+ * upgrade actions/checkout from v4 to v5 across multiple workflow files ([d699e07](https://github.com/christophehurpeau/pob/commit/d699e079f2247fbc3a5378cdce782e174185cd43))
14
+
15
+ ### Bug Fixes
16
+
17
+ * adjust config import logic in Rollup config template for better handling of conditional imports ([8220667](https://github.com/christophehurpeau/pob/commit/8220667a4622a6db98b72b8414c712e6ddaae255))
18
+ * refine bundler condition to ensure it checks for string type before applying startsWith for better reliability ([29ebf3f](https://github.com/christophehurpeau/pob/commit/29ebf3f37698eee638e171e2d0296f12b97ef8c3))
19
+ * update bundler condition to use startsWith for improved compatibility ([1c47fab](https://github.com/christophehurpeau/pob/commit/1c47fab91e1e77162fb88644e5a83e80182edf83))
20
+ * update CI configuration references in PobBaseGenerator to use projectConfig ([1e4582f](https://github.com/christophehurpeau/pob/commit/1e4582f20a06ced6b7830943b9a002335ee495ad))
21
+
22
+ Version bump for dependency: yarn-workspace-utils
23
+ Version bump for dependency: @pob/root
24
+
25
+
6
26
  ## [29.0.0](https://github.com/christophehurpeau/pob/compare/pob@28.4.0...pob@29.0.0) (2025-08-24)
7
27
 
8
28
  ### ⚠ BREAKING CHANGES
@@ -28,7 +28,7 @@ jobs:
28
28
  release:
29
29
  runs-on: ubuntu-latest
30
30
  steps:
31
- - uses: actions/checkout@v4
31
+ - uses: actions/checkout@v5
32
32
  with:
33
33
  token: ${{ secrets.GH_TOKEN }}
34
34
  fetch-depth: 0
@@ -265,7 +265,8 @@ export default class CommonTranspilerGenerator extends Generator {
265
265
 
266
266
  packageUtils.addOrRemoveDevDependencies(
267
267
  pkg,
268
- bundler === "rollup-babel" &&
268
+ typeof bundler === "string" &&
269
+ bundler.startsWith("rollup") &&
269
270
  this.options.isApp &&
270
271
  !this.options.isAppLibrary &&
271
272
  this.options.useAppConfig,
@@ -1,13 +1,15 @@
1
1
  import { dirname } from 'node:path';
2
2
  import { fileURLToPath } from 'node:url';
3
- <% if (config) { -%>
4
- import config from 'alp-rollup-plugin-config';
5
- <% } -%>
6
3
  import createRollupConfig from '@pob/<%= rollupConfigLib %>/createRollupConfig.js';
7
4
  <% if (enableRun) { -%>
8
5
  import run from '@pob/<%= rollupConfigLib %>/plugin-run.cjs';
6
+ <% if (config) { -%>
7
+ import config from 'alp-rollup-plugin-config';
8
+ <% } -%>
9
9
 
10
10
  const watch = process.env.ROLLUP_WATCH === 'true';
11
+ <% } else if (config) { -%>
12
+ import config from 'alp-rollup-plugin-config';
11
13
  <% } -%>
12
14
 
13
15
  export default createRollupConfig({
@@ -8,7 +8,7 @@ jobs:
8
8
  create-documentation-and-deploy:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
- - uses: actions/checkout@v4
11
+ - uses: actions/checkout@v5
12
12
 
13
13
  - uses: actions/setup-node@v4
14
14
  with:
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
 
10
10
  steps:
11
- - uses: actions/checkout@v4
11
+ - uses: actions/checkout@v5
12
12
 
13
13
  - uses: actions/setup-node@v4
14
14
  with:
@@ -38,7 +38,7 @@ jobs:
38
38
  runs-on: ubuntu-latest
39
39
 
40
40
  steps:
41
- - uses: actions/checkout@v4
41
+ - uses: actions/checkout@v5
42
42
 
43
43
  - uses: actions/setup-node@v4
44
44
  with:
@@ -70,7 +70,7 @@ jobs:
70
70
  runs-on: ubuntu-latest
71
71
 
72
72
  steps:
73
- - uses: actions/checkout@v4
73
+ - uses: actions/checkout@v5
74
74
 
75
75
  - uses: actions/setup-node@v4
76
76
  with:
@@ -107,7 +107,7 @@ jobs:
107
107
  node-version: [<% if (!onlyLatestLTS && nodeMaintenanceMajorVersion !== nodeLatestMajorVersion) { -%><%= nodeMaintenanceMajorVersion %>, <% } -%><%= nodeLatestMajorVersion %>]
108
108
 
109
109
  steps:
110
- - uses: actions/checkout@v4
110
+ - uses: actions/checkout@v5
111
111
 
112
112
  - uses: actions/setup-node@v4
113
113
  with:
@@ -165,7 +165,7 @@ jobs:
165
165
  node-version: [<%= nodeLatestMajorVersion %>]
166
166
 
167
167
  steps:
168
- - uses: actions/checkout@v4
168
+ - uses: actions/checkout@v5
169
169
 
170
170
  - uses: actions/setup-node@v4
171
171
  with:
@@ -192,7 +192,7 @@ jobs:
192
192
  needs: [<%= checks ? '"checks", ' : '' -%><%= build ? '"build", ' : '' -%>"lint"<%= testing ? ', "test"' : '' -%>]
193
193
 
194
194
  steps:
195
- - uses: actions/checkout@v4
195
+ - uses: actions/checkout@v5
196
196
 
197
197
  - uses: actions/setup-node@v4
198
198
  with:
@@ -11,7 +11,7 @@ jobs:
11
11
  node-version: [<% if (!onlyLatestLTS && nodeMaintenanceMajorVersion !== nodeLatestMajorVersion) { -%><%= nodeMaintenanceMajorVersion %>.x, <% } -%><%= nodeLatestMajorVersion %>.x]
12
12
 
13
13
  steps:
14
- - uses: actions/checkout@v4
14
+ - uses: actions/checkout@v5
15
15
 
16
16
  - name: Use Node.js ${{ matrix.node-version }}
17
17
  uses: actions/setup-node@v4
@@ -142,9 +142,9 @@ export default class CoreYarnGenerator extends Generator {
142
142
  if (
143
143
  !pkg.packageManager ||
144
144
  !pkg.packageManager.startsWith("yarn@") ||
145
- lt(pkg.packageManager.slice("yarn@".length), "4.9.2")
145
+ lt(pkg.packageManager.slice("yarn@".length), "4.9.3")
146
146
  ) {
147
- pkg.packageManager = "yarn@4.9.2";
147
+ pkg.packageManager = "yarn@4.9.3";
148
148
  }
149
149
 
150
150
  // must be done after plugins installed
@@ -204,7 +204,7 @@ export default class PobBaseGenerator extends Generator {
204
204
  this.composeWith("pob:core:git", {
205
205
  onlyLatestLTS,
206
206
  splitCIJobs,
207
- ciEnabled: this.options.ci,
207
+ ciEnabled: this.projectConfig.ci,
208
208
  });
209
209
  } else {
210
210
  if (this.fs.exists(".git-hooks")) this.fs.delete(".git-hooks");
@@ -253,7 +253,7 @@ export default class PobBaseGenerator extends Generator {
253
253
  fromPob: this.options.fromPob,
254
254
  packageManager: this.projectConfig.packageManager,
255
255
  yarnNodeLinker: this.projectConfig.yarnNodeLinker,
256
- ci: this.options.ci,
256
+ ci: this.projectConfig.ci,
257
257
  });
258
258
  break;
259
259
  case "app":
@@ -266,7 +266,7 @@ export default class PobBaseGenerator extends Generator {
266
266
  fromPob: this.options.fromPob,
267
267
  packageManager: this.projectConfig.packageManager,
268
268
  yarnNodeLinker: this.projectConfig.yarnNodeLinker,
269
- ci: this.options.ci,
269
+ ci: this.projectConfig.ci,
270
270
  });
271
271
  break;
272
272
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "29.0.0",
3
+ "version": "29.1.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -50,11 +50,11 @@
50
50
  "@pob/sort-pkg": "12.0.0",
51
51
  "@prettier/sync": "0.6.1",
52
52
  "@types/inquirer": "9.0.9",
53
- "@yarnpkg/cli": "4.9.2",
54
- "@yarnpkg/core": "4.4.2",
53
+ "@yarnpkg/cli": "4.9.3",
54
+ "@yarnpkg/core": "4.4.3",
55
55
  "@yarnpkg/fslib": "3.1.2",
56
56
  "@yeoman/types": "1.6.0",
57
- "eslint": "9.30.0",
57
+ "eslint": "9.34.0",
58
58
  "findup-sync": "^5.0.0",
59
59
  "git-remote-url": "^1.0.1",
60
60
  "github-username": "^9.0.0",
@@ -66,17 +66,17 @@
66
66
  "mem-fs-editor": "11.1.4",
67
67
  "minimist": "1.2.8",
68
68
  "parse-author": "2.0.0",
69
- "pob-dependencies": "20.0.0",
69
+ "pob-dependencies": "20.1.0",
70
70
  "prettier": "3.6.2",
71
71
  "semver": "7.7.2",
72
- "typescript": "5.8.3",
72
+ "typescript": "5.9.2",
73
73
  "validate-npm-package-name": "^6.0.1",
74
- "yarn-workspace-utils": "9.0.0",
74
+ "yarn-workspace-utils": "9.1.0",
75
75
  "yeoman-environment": "4.4.3",
76
76
  "yeoman-generator": "7.5.1"
77
77
  },
78
78
  "devDependencies": {
79
- "@pob/root": "19.0.0",
79
+ "@pob/root": "19.1.0",
80
80
  "@types/node": "22.17.2"
81
81
  }
82
82
  }