pob 25.1.0 → 25.2.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,20 @@
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
+ ## [25.2.0](https://github.com/christophehurpeau/pob/compare/pob@25.1.0...pob@25.2.0) (2024-12-19)
7
+
8
+ ### Features
9
+
10
+ * **deps:** update dependency yeoman-generator to v7.4.0 ([#2366](https://github.com/christophehurpeau/pob/issues/2366)) ([1311555](https://github.com/christophehurpeau/pob/commit/1311555caecacf9a85f006ccf0e69680749070b4))
11
+
12
+ ### Bug Fixes
13
+
14
+ * fixes for bun packageManager ([0f3cd37](https://github.com/christophehurpeau/pob/commit/0f3cd37c1f72f04cb2e84093a4b6b04996038e01))
15
+ * if yarn is deleted remove yarn.lock ([e05b8f3](https://github.com/christophehurpeau/pob/commit/e05b8f3f8eb8840ecd282044e1a97efff59819cc))
16
+
17
+ Version bump for dependency: @pob/root
18
+
19
+
6
20
  ## [25.1.0](https://github.com/christophehurpeau/pob/compare/pob@25.0.0...pob@25.1.0) (2024-12-19)
7
21
 
8
22
  ### Features
@@ -313,6 +313,7 @@ export default class PobAppGenerator extends Generator {
313
313
  ci: this.appConfig.ci,
314
314
  disableYarnGitCache: this.options.disableYarnGitCache,
315
315
  updateOnly: this.options.updateOnly,
316
+ packageManager: this.options.packageManager,
316
317
  });
317
318
  }
318
319
 
@@ -62,6 +62,12 @@ export default class CommonReleaseGenerator extends Generator {
62
62
  default: false,
63
63
  description: "Avoid asking questions",
64
64
  });
65
+
66
+ this.option("packageManager", {
67
+ type: String,
68
+ required: true,
69
+ description: "Package manager",
70
+ });
65
71
  }
66
72
 
67
73
  writing() {
@@ -79,6 +85,7 @@ export default class CommonReleaseGenerator extends Generator {
79
85
  this.templatePath("workflow-release.yml.ejs"),
80
86
  this.destinationPath(`.github/workflows/${name}`),
81
87
  {
88
+ packageManager: this.options.packageManager,
82
89
  enablePublish: this.options.enablePublish,
83
90
  enableYarnVersion: this.options.enableYarnVersion,
84
91
  disableYarnGitCache: this.options.disableYarnGitCache,
@@ -47,6 +47,7 @@ jobs:
47
47
  - name: Install bun
48
48
  uses: oven-sh/setup-bun@v1
49
49
 
50
+ - name: Install Dependencies
50
51
  run: bun install --frozen-lockfile
51
52
  <% } -%>
52
53
 
@@ -24,7 +24,7 @@
24
24
  <% if (yarn) { -%>
25
25
  // set yarn as package manager to run scripts and tasks
26
26
  "npm.packageManager": "yarn",
27
- <% else if (bun) { -%>
27
+ <% } else if (bun) { -%>
28
28
  // set bun as package manager to run scripts and tasks
29
29
  "npm.packageManager": "bun",
30
30
  <% } -%>
@@ -189,7 +189,7 @@ export default class CoreYarnGenerator extends Generator {
189
189
  }
190
190
  this.fs.delete(".yarn");
191
191
  this.fs.delete(".yarnrc.yml");
192
- this.fs.delete(".yarn.lock");
192
+ this.fs.delete("yarn.lock");
193
193
  }
194
194
 
195
195
  packageUtils.removeDevDependencies(pkg, ["@yarnpkg/pnpify"]);
@@ -359,6 +359,7 @@ export default class PobLibGenerator extends Generator {
359
359
 
360
360
  this.composeWith("pob:common:release", {
361
361
  enable: !inMonorepo && this.pobjson.testing,
362
+ packageManager: this.options.packageManager,
362
363
  enablePublish: true,
363
364
  withBabel,
364
365
  withTypescript,
@@ -296,6 +296,7 @@ export default class PobMonorepoGenerator extends Generator {
296
296
 
297
297
  this.composeWith("pob:common:release", {
298
298
  enable: true,
299
+ packageManager: this.options.packageManager,
299
300
  enablePublish: !this.options.isAppProject,
300
301
  withBabel: this.pobLernaConfig.typescript,
301
302
  isMonorepo: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "25.1.0",
3
+ "version": "25.2.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -56,7 +56,7 @@
56
56
  "eslint": "9.17.0",
57
57
  "findup-sync": "^5.0.0",
58
58
  "git-remote-url": "^1.0.1",
59
- "github-username": "^7.0.0",
59
+ "github-username": "^8.0.0",
60
60
  "js-yaml": "^4.1.0",
61
61
  "json5": "^2.2.3",
62
62
  "lodash.camelcase": "^4.3.0",
@@ -72,10 +72,10 @@
72
72
  "validate-npm-package-name": "^6.0.0",
73
73
  "yarn-workspace-utils": "7.2.0",
74
74
  "yeoman-environment": "4.4.3",
75
- "yeoman-generator": "7.3.3"
75
+ "yeoman-generator": "7.4.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@pob/root": "15.1.0",
78
+ "@pob/root": "15.1.1",
79
79
  "@types/node": "22.10.2"
80
80
  }
81
81
  }