pob 11.8.0 → 11.8.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,15 @@
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
+ ## [11.8.1](https://github.com/christophehurpeau/pob/compare/pob@11.8.0...pob@11.8.1) (2023-03-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * configure target in preset to make sure it is applied ([ad4071d](https://github.com/christophehurpeau/pob/commit/ad4071da757291f6eaa63ade4cfc7ea783eeff57))
12
+
13
+
14
+
6
15
  ## [11.8.0](https://github.com/christophehurpeau/pob/compare/pob@11.7.0...pob@11.8.0) (2023-03-19)
7
16
 
8
17
 
@@ -417,6 +417,9 @@ export default class CommonBabelGenerator extends Generator {
417
417
  /* browserslist */
418
418
 
419
419
  if (hasTargetBrowser) {
420
+ if (pkg.browserslist && pkg.browserslist.modern) {
421
+ delete pkg.browserslist.modern;
422
+ }
420
423
  pkg.browserslist = {
421
424
  ...(Array.isArray(pkg.browserslist) ? {} : pkg.browserslist),
422
425
  production: [
@@ -426,7 +429,8 @@ export default class CommonBabelGenerator extends Generator {
426
429
  'not safari < 10',
427
430
  'not ios_saf < 10',
428
431
  ],
429
- modern: ['defaults and >1% and supports es6-module'],
432
+ // configured in babel preset
433
+ // modern: ['defaults and >1% and supports es6-module'],
430
434
  };
431
435
  } else if (this.options.isApp && pkg.browserslist) {
432
436
  pkg.browserslist = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "11.8.0",
3
+ "version": "11.8.1",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -58,14 +58,14 @@
58
58
  "minimist": "1.2.8",
59
59
  "node-fetch": "3.3.1",
60
60
  "parse-author": "2.0.0",
61
- "pob-dependencies": "7.6.0",
61
+ "pob-dependencies": "7.6.1",
62
62
  "prettier": "2.8.4",
63
63
  "semver": "7.3.8",
64
64
  "yeoman-environment": "3.15.1",
65
65
  "yeoman-generator": "5.8.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@pob/root": "7.6.0"
68
+ "@pob/root": "7.6.1"
69
69
  },
70
- "gitHead": "e5930068baa1efff95c4918b66a1c8c9da3a35a8"
70
+ "gitHead": "831fbb0a3e31c5f4654f8930df6e5de3d07ac90a"
71
71
  }