pob 35.0.0 → 35.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 +17 -0
- package/lib/generators/common/format-lint/CommonLintGenerator.js +4 -1
- package/lib/generators/common/testing/CommonTestingGenerator.js +10 -6
- package/lib/generators/core/ci/templates/github-action-push-workflow-split.yml.ejs +1 -1
- package/lib/generators/core/ci/templates/github-action-push-workflow.yml.ejs +1 -1
- package/lib/generators/core/yarn/CoreYarnGenerator.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
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
|
+
## [35.1.0](https://github.com/christophehurpeau/pob/compare/pob@35.0.0...pob@35.1.0) (2026-05-21)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **deps:** update dependency validate-npm-package-name to v8 ([#2758](https://github.com/christophehurpeau/pob/issues/2758))
|
|
11
|
+
* update yarn version
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* add missing vite dependency when using vitest
|
|
16
|
+
* cleanup lint:prettier scripts
|
|
17
|
+
* improve vitest dependency management in CommonTestingGenerator
|
|
18
|
+
* update codecov action to version 6 in CI workflows
|
|
19
|
+
|
|
20
|
+
Version bump for dependency: @pob/root
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
## [35.0.0](https://github.com/christophehurpeau/pob/compare/pob@34.2.0...pob@35.0.0) (2026-05-20)
|
|
7
24
|
|
|
8
25
|
### ⚠ BREAKING CHANGES
|
|
@@ -527,9 +527,12 @@ export default class CommonFormatLintGenerator extends Generator {
|
|
|
527
527
|
"format:check": "oxfmt --check .",
|
|
528
528
|
});
|
|
529
529
|
} else {
|
|
530
|
-
delete pkg.scripts
|
|
530
|
+
delete pkg.scripts.format;
|
|
531
|
+
delete pkg.scripts["format:check"];
|
|
531
532
|
}
|
|
532
533
|
|
|
534
|
+
delete pkg.scripts["lint:prettier"];
|
|
535
|
+
delete pkg.scripts["lint:prettier:fix"];
|
|
533
536
|
delete pkg.scripts["typescript-check"];
|
|
534
537
|
}
|
|
535
538
|
|
|
@@ -304,13 +304,17 @@ export default class CommonTestingGenerator extends Generator {
|
|
|
304
304
|
const jestConfigPath = this.destinationPath("jest.config.json");
|
|
305
305
|
const vitestConfigPath = this.destinationPath("vite.config.js");
|
|
306
306
|
|
|
307
|
-
|
|
308
|
-
pkg,
|
|
307
|
+
const isVitestUsed =
|
|
309
308
|
this.options.enable &&
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
309
|
+
(enableForMonorepo || !globalTesting) &&
|
|
310
|
+
testRunner === "vitest";
|
|
311
|
+
packageUtils.addOrRemoveDevDependencies(pkg, isVitestUsed, [
|
|
312
|
+
"vitest",
|
|
313
|
+
"@vitest/coverage-v8",
|
|
314
|
+
]);
|
|
315
|
+
if (isVitestUsed) {
|
|
316
|
+
packageUtils.addDependencies(pkg, ["vite"]);
|
|
317
|
+
}
|
|
314
318
|
|
|
315
319
|
if (!this.options.enable) {
|
|
316
320
|
// if (inMonorepo) {
|
|
@@ -146,7 +146,7 @@ jobs:
|
|
|
146
146
|
CI: true
|
|
147
147
|
|
|
148
148
|
- name: Send results to codecov
|
|
149
|
-
uses: codecov/codecov-action@
|
|
149
|
+
uses: codecov/codecov-action@v6
|
|
150
150
|
if: matrix.node-version == <%= nodeLatestMajorVersion %> && github.actor != 'dependabot[bot]'
|
|
151
151
|
with:
|
|
152
152
|
fail_ci_if_error: true
|
|
@@ -144,9 +144,9 @@ export default class CoreYarnGenerator extends Generator {
|
|
|
144
144
|
if (
|
|
145
145
|
!pkg.packageManager ||
|
|
146
146
|
!pkg.packageManager.startsWith("yarn@") ||
|
|
147
|
-
lt(pkg.packageManager.slice("yarn@".length), "4.
|
|
147
|
+
lt(pkg.packageManager.slice("yarn@".length), "4.15.0")
|
|
148
148
|
) {
|
|
149
|
-
pkg.packageManager = "yarn@4.
|
|
149
|
+
pkg.packageManager = "yarn@4.15.0";
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
// must be done after plugins installed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "35.
|
|
3
|
+
"version": "35.1.0",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
"pob-dependencies": "24.0.0",
|
|
60
60
|
"semver": "7.8.0",
|
|
61
61
|
"typescript": "6.0.3",
|
|
62
|
-
"validate-npm-package-name": "^
|
|
62
|
+
"validate-npm-package-name": "^8.0.0",
|
|
63
63
|
"yeoman-environment": "5.0.0",
|
|
64
64
|
"yeoman-generator": "7.5.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@pob/root": "24.
|
|
67
|
+
"@pob/root": "24.1.0",
|
|
68
68
|
"@types/node": "24.12.4"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|