pob 9.16.0 → 9.16.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,18 @@
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
+ ## [9.16.1](https://github.com/christophehurpeau/pob/compare/pob@9.16.0...pob@9.16.1) (2022-02-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * dont add rollup.config.mjs for non typescript monorepos ([848e578](https://github.com/christophehurpeau/pob/commit/848e57843d03eeb6fd9d5544eff085248110c711))
12
+ * **pob:** always add engines ([7095ad3](https://github.com/christophehurpeau/pob/commit/7095ad3388d503f4a752403530c2e7c24b385248))
13
+
14
+
15
+
16
+
17
+
6
18
  # [9.16.0](https://github.com/christophehurpeau/pob/compare/pob@9.15.1...pob@9.16.0) (2022-02-05)
7
19
 
8
20
 
@@ -401,13 +401,8 @@ export default class CommonBabelGenerator extends Generator {
401
401
  } else {
402
402
  packageUtils.removeDependencies(pkg, ['@types/node']);
403
403
  packageUtils.removeDevDependencies(pkg, ['@types/node']);
404
- if (pkg.engines && useBabel) {
405
- delete pkg.engines.node;
406
- if (Object.keys(pkg.engines).length === 0) delete pkg.engines;
407
- } else {
408
- // Supported LTS versions of node, that supports ESM modules.
409
- pkg.engines.node = '^14.13.1 || >=16.0.0';
410
- }
404
+ // Supported LTS versions of node, that supports ESM modules.
405
+ pkg.engines.node = '^14.13.1 || >=16.0.0';
411
406
  }
412
407
 
413
408
  /* browserslist */
@@ -394,7 +394,7 @@ export default class CommonLintGenerator extends Generator {
394
394
  if ((!inLerna || !inLerna.root) && useBabel) {
395
395
  ignorePatterns.add('/dist', '/test');
396
396
  }
397
- if (inLerna && inLerna.root) {
397
+ if (inLerna && inLerna.root && this.options.typescript) {
398
398
  ignorePatterns.add('/rollup.config.mjs');
399
399
  }
400
400
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "9.16.0",
3
+ "version": "9.16.1",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -67,5 +67,5 @@
67
67
  "yeoman-environment": "^3.5.1",
68
68
  "yeoman-generator": "^5.4.0"
69
69
  },
70
- "gitHead": "d4e58687bcfd00c82a36f2ea2d4dc371114da41a"
70
+ "gitHead": "45b478920c1bf22dd877b746046c10c1429bdac6"
71
71
  }