pob 29.1.0 → 29.3.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,41 @@
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.3.0](https://github.com/christophehurpeau/pob/compare/pob@29.2.0...pob@29.3.0) (2025-10-12)
7
+
8
+ ### Features
9
+
10
+ * **deps:** update dependency eslint to v9.37.0 ([#2585](https://github.com/christophehurpeau/pob/issues/2585)) ([46eb44a](https://github.com/christophehurpeau/pob/commit/46eb44a56a89df5fcca0d40c3738e38ceb07c038))
11
+ * **deps:** update yarn monorepo ([#2583](https://github.com/christophehurpeau/pob/issues/2583)) ([2775830](https://github.com/christophehurpeau/pob/commit/2775830b30a964577f05457e8ffd2810265abd9f))
12
+
13
+ ### Bug Fixes
14
+
15
+ * properly remove test:coverage:lcov script ([5d14307](https://github.com/christophehurpeau/pob/commit/5d143070d46c76e5b9313fd46e11213a6c1201de))
16
+
17
+ Version bump for dependency: yarn-workspace-utils
18
+ Version bump for dependency: @pob/root
19
+
20
+
21
+ ## [29.2.0](https://github.com/christophehurpeau/pob/compare/pob@29.1.0...pob@29.2.0) (2025-09-17)
22
+
23
+ ### Features
24
+
25
+ * **deps:** update dependency @yeoman/types to v1.7.1 ([#2558](https://github.com/christophehurpeau/pob/issues/2558)) ([0067f0f](https://github.com/christophehurpeau/pob/commit/0067f0f95af5ecba55967229605f776ddcc49293))
26
+ * update actions/setup-node to v5 ([#2580](https://github.com/christophehurpeau/pob/issues/2580)) ([c93f9bb](https://github.com/christophehurpeau/pob/commit/c93f9bb8b0969ec2c0884109994c39f9e9773368))
27
+ * update dependencies ([ef7157a](https://github.com/christophehurpeau/pob/commit/ef7157a6db8fc3b6b927cf8d739b65c8f590d3fc))
28
+ * use @pob/root/commitlint-config ([c0a9daa](https://github.com/christophehurpeau/pob/commit/c0a9daa689397134eba9ac11ac4c72c0819b13f9))
29
+
30
+ ### Bug Fixes
31
+
32
+ * config can be undefined ([a1b70c4](https://github.com/christophehurpeau/pob/commit/a1b70c4a2e31669a96ce56495d416d1a10b1827a))
33
+ * **deps:** update yarn monorepo to v4.9.4 ([#2554](https://github.com/christophehurpeau/pob/issues/2554)) ([60218ed](https://github.com/christophehurpeau/pob/commit/60218ed2f22e77ab5c0a6828b4151b798fef8324))
34
+
35
+ Version bump for dependency: @pob/sort-object
36
+ Version bump for dependency: @pob/sort-pkg
37
+ Version bump for dependency: yarn-workspace-utils
38
+ Version bump for dependency: @pob/root
39
+
40
+
6
41
  ## [29.1.0](https://github.com/christophehurpeau/pob/compare/pob@29.0.0...pob@29.1.0) (2025-08-24)
7
42
 
8
43
  ### Features
@@ -78,7 +78,7 @@ export default class PobAppGenerator extends Generator {
78
78
  async prompting() {
79
79
  const config = this.appConfig;
80
80
 
81
- if (config.ci !== undefined) {
81
+ if (config?.ci !== undefined) {
82
82
  delete config.ci;
83
83
  }
84
84
 
@@ -84,14 +84,12 @@ export default class CommonHuskyGenerator extends Generator {
84
84
 
85
85
  pkg.commitlint = {
86
86
  extends: [
87
- "@pob/commitlint-config",
87
+ "@pob/root/commitlint-config",
88
88
  // '@commitlint/config-lerna-scopes',
89
89
  ].filter(Boolean),
90
90
  };
91
91
 
92
- if (pkg.name !== "pob-monorepo") {
93
- packageUtils.addDevDependencies(pkg, ["@pob/commitlint-config"]);
94
- }
92
+ packageUtils.removeDevDependencies(pkg, ["@pob/commitlint-config"]);
95
93
 
96
94
  // if (packageUtils.hasLerna(pkg)) {
97
95
  // packageUtils.addScripts(pkg, {
@@ -8,6 +8,7 @@ export default class CommonRemoveOldDependenciesGenerator extends Generator {
8
8
  // old pob dependencies
9
9
  packageUtils.removeDependencies(pkg, ["flow-runtime"]);
10
10
  packageUtils.removeDevDependencies(pkg, [
11
+ "ts-node",
11
12
  "tcomb",
12
13
  "tcomb-forked",
13
14
  "flow-runtime",
@@ -33,8 +33,13 @@ jobs:
33
33
  token: ${{ secrets.GH_TOKEN }}
34
34
  fetch-depth: 0
35
35
  fetch-tags: true
36
+ <% if (packageManager === 'yarn') { -%>
37
+
38
+ - name: Enable Corepack
39
+ run: corepack enable
40
+ <% } -%>
36
41
 
37
- - uses: actions/setup-node@v4
42
+ - uses: actions/setup-node@v5
38
43
  with:
39
44
  node-version: <%= nodeLatestMajorVersion %>
40
45
  check-latest: true
@@ -47,10 +52,7 @@ jobs:
47
52
  echo "No git tags found"
48
53
  exit 1
49
54
  fi
50
-
51
55
  <% if (packageManager === 'yarn') { -%>
52
- - name: Enable Corepack
53
- run: corepack enable
54
56
 
55
57
  - name: Install Dependencies
56
58
  <% if (disableYarnGitCache) { -%>
@@ -407,7 +407,7 @@ export default class CommonTestingGenerator extends Generator {
407
407
  if (this.options.monorepo) {
408
408
  const shouldUseExperimentalVmModules = pkg.type === "module";
409
409
 
410
- packageUtils.removeScripts(["test:coverage:lcov"]);
410
+ packageUtils.removeScripts(pkg, ["test:coverage:lcov"]);
411
411
  packageUtils.addScripts(pkg, {
412
412
  test: createTestCommand({
413
413
  workspacesPattern,
@@ -504,7 +504,7 @@ export default class CommonTestingGenerator extends Generator {
504
504
  const shouldUseExperimentalVmModules =
505
505
  pkg.type === "module" && !inMonorepo;
506
506
 
507
- packageUtils.removeScripts(["test:coverage:lcov"]);
507
+ packageUtils.removeScripts(pkg, ["test:coverage:lcov"]);
508
508
  packageUtils.addScripts(pkg, {
509
509
  test: createTestCommand({ shouldUseExperimentalVmModules }),
510
510
  "test:watch": createTestCommand({
@@ -10,15 +10,17 @@ jobs:
10
10
  steps:
11
11
  - uses: actions/checkout@v5
12
12
 
13
- - uses: actions/setup-node@v4
13
+ <% if (packageManager === 'yarn') { -%>
14
+ - name: Enable Corepack
15
+ run: corepack enable
16
+
17
+ <% } -%>
18
+ - uses: actions/setup-node@v5
14
19
  with:
15
20
  node-version: <%= nodeLatestMajorVersion %>
16
21
  check-latest: true
17
22
 
18
23
  <% if (packageManager === 'yarn') { -%>
19
- - name: Enable Corepack
20
- run: corepack enable
21
-
22
24
  - name: Install Dependencies
23
25
  <% if (disableYarnGitCache) { -%>
24
26
  run: yarn install --immutable
@@ -10,14 +10,14 @@ jobs:
10
10
  steps:
11
11
  - uses: actions/checkout@v5
12
12
 
13
- - uses: actions/setup-node@v4
13
+ - name: Enable Corepack
14
+ run: corepack enable
15
+
16
+ - uses: actions/setup-node@v5
14
17
  with:
15
18
  node-version: <%= nodeLatestMajorVersion %>
16
19
  check-latest: true
17
20
 
18
- - name: Enable Corepack
19
- run: corepack enable
20
-
21
21
  - name: Install Dependencies
22
22
  <% if (packageManager === 'yarn') { -%>
23
23
  <% if (disableYarnGitCache) { -%>
@@ -40,14 +40,14 @@ jobs:
40
40
  steps:
41
41
  - uses: actions/checkout@v5
42
42
 
43
- - uses: actions/setup-node@v4
43
+ - name: Enable Corepack
44
+ run: corepack enable
45
+
46
+ - uses: actions/setup-node@v5
44
47
  with:
45
48
  node-version: <%= nodeLatestMajorVersion %>
46
49
  check-latest: true
47
50
 
48
- - name: Enable Corepack
49
- run: corepack enable
50
-
51
51
  - name: Install Dependencies
52
52
  <% if (packageManager === 'yarn') { -%>
53
53
  <% if (disableYarnGitCache) { -%>
@@ -72,14 +72,14 @@ jobs:
72
72
  steps:
73
73
  - uses: actions/checkout@v5
74
74
 
75
- - uses: actions/setup-node@v4
75
+ - name: Enable Corepack
76
+ run: corepack enable
77
+
78
+ - uses: actions/setup-node@v5
76
79
  with:
77
80
  node-version: <%= nodeLatestMajorVersion %>
78
81
  check-latest: true
79
82
 
80
- - name: Enable Corepack
81
- run: corepack enable
82
-
83
83
  - name: Install Dependencies
84
84
  <% if (disableYarnGitCache) { -%>
85
85
  run: yarn install --immutable
@@ -109,15 +109,17 @@ jobs:
109
109
  steps:
110
110
  - uses: actions/checkout@v5
111
111
 
112
- - uses: actions/setup-node@v4
112
+ <% if (packageManager === 'yarn') { -%>
113
+ - name: Enable Corepack
114
+ run: corepack enable
115
+
116
+ <% } -%>
117
+ - uses: actions/setup-node@v5
113
118
  with:
114
119
  node-version: ${{ matrix.node-version }}
115
120
  check-latest: true
116
121
 
117
122
  <% if (packageManager === 'yarn') { -%>
118
- - name: Enable Corepack
119
- run: corepack enable
120
-
121
123
  - name: Install Dependencies
122
124
  <% if (disableYarnGitCache) { -%>
123
125
  run: yarn install --immutable
@@ -167,14 +169,14 @@ jobs:
167
169
  steps:
168
170
  - uses: actions/checkout@v5
169
171
 
170
- - uses: actions/setup-node@v4
172
+ - name: Enable Corepack
173
+ run: corepack enable
174
+
175
+ - uses: actions/setup-node@v5
171
176
  with:
172
177
  node-version: ${{ matrix.node-version }}
173
178
  check-latest: true
174
179
 
175
- - name: Enable Corepack
176
- run: corepack enable
177
-
178
180
  - name: Install Dependencies
179
181
  <% if (disableYarnGitCache) { -%>
180
182
  run: yarn install --immutable
@@ -194,7 +196,7 @@ jobs:
194
196
  steps:
195
197
  - uses: actions/checkout@v5
196
198
 
197
- - uses: actions/setup-node@v4
199
+ - uses: actions/setup-node@v5
198
200
  with:
199
201
  node-version: <%= nodeLatestMajorVersion %>
200
202
  check-latest: true
@@ -13,17 +13,19 @@ jobs:
13
13
  steps:
14
14
  - uses: actions/checkout@v5
15
15
 
16
+ <% if (packageManager === 'yarn') { -%>
17
+ - name: Enable Corepack
18
+ run: corepack enable
19
+
20
+ <% } -%>
16
21
  - name: Use Node.js ${{ matrix.node-version }}
17
- uses: actions/setup-node@v4
22
+ uses: actions/setup-node@v5
18
23
  with:
19
24
  node-version: ${{ matrix.node-version }}
20
25
  check-latest: true
21
26
  registry-url: 'https://registry.npmjs.org'
22
27
 
23
28
  <% if (packageManager === 'yarn') { -%>
24
- - name: Enable Corepack
25
- run: corepack enable
26
-
27
29
  - name: Install Dependencies
28
30
  <% if (disableYarnGitCache) { -%>
29
31
  run: yarn install --immutable
@@ -8,6 +8,7 @@ export default class CoreSortPackageGenerator extends Generator {
8
8
  writeAndFormatJson(
9
9
  this.fs,
10
10
  this.destinationPath("package.json"),
11
+ // eslint-disable-next-line unicorn/no-array-sort
11
12
  packageUtils.sort(pkg),
12
13
  );
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "29.1.0",
3
+ "version": "29.3.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -43,18 +43,18 @@
43
43
  },
44
44
  "prettier": "@pob/root/prettier-config",
45
45
  "dependencies": {
46
- "@pob/eslint-config": "61.1.0",
47
- "@pob/eslint-config-typescript": "61.1.0",
48
- "@pob/eslint-config-typescript-react": "61.1.0",
49
- "@pob/sort-object": "10.0.0",
50
- "@pob/sort-pkg": "12.0.0",
46
+ "@pob/eslint-config": "62.0.0",
47
+ "@pob/eslint-config-typescript": "62.0.0",
48
+ "@pob/eslint-config-typescript-react": "62.0.0",
49
+ "@pob/sort-object": "10.1.0",
50
+ "@pob/sort-pkg": "12.1.0",
51
51
  "@prettier/sync": "0.6.1",
52
52
  "@types/inquirer": "9.0.9",
53
- "@yarnpkg/cli": "4.9.3",
54
- "@yarnpkg/core": "4.4.3",
55
- "@yarnpkg/fslib": "3.1.2",
56
- "@yeoman/types": "1.6.0",
57
- "eslint": "9.34.0",
53
+ "@yarnpkg/cli": "4.10.3",
54
+ "@yarnpkg/core": "4.4.4",
55
+ "@yarnpkg/fslib": "3.1.3",
56
+ "@yeoman/types": "1.7.1",
57
+ "eslint": "9.37.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.1.0",
69
+ "pob-dependencies": "20.3.0",
70
70
  "prettier": "3.6.2",
71
71
  "semver": "7.7.2",
72
72
  "typescript": "5.9.2",
73
- "validate-npm-package-name": "^6.0.1",
74
- "yarn-workspace-utils": "9.1.0",
73
+ "validate-npm-package-name": "^6.0.2",
74
+ "yarn-workspace-utils": "9.3.0",
75
75
  "yeoman-environment": "4.4.3",
76
76
  "yeoman-generator": "7.5.1"
77
77
  },
78
78
  "devDependencies": {
79
- "@pob/root": "19.1.0",
80
- "@types/node": "22.17.2"
79
+ "@pob/root": "19.3.0",
80
+ "@types/node": "22.18.10"
81
81
  }
82
82
  }