pob 9.12.0 → 9.12.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.12.1](https://github.com/christophehurpeau/pob/compare/pob@9.12.0...pob@9.12.1) (2022-01-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * set globalEslint default to true ([8d7d3d5](https://github.com/christophehurpeau/pob/commit/8d7d3d5917b340b901b565a23356b21939059cb8))
12
+ * use cjs for default main for jest which doesnt supports exports yet ([f97c897](https://github.com/christophehurpeau/pob/commit/f97c8972b35032078f4603d788b4a3e637d61637))
13
+
14
+
15
+
16
+
17
+
6
18
  # [9.12.0](https://github.com/christophehurpeau/pob/compare/pob@9.11.0...pob@9.12.0) (2022-01-01)
7
19
 
8
20
 
@@ -614,9 +614,11 @@ export default class CommonBabelGenerator extends Generator {
614
614
  // jest: https://github.com/facebook/jest/issues/9771
615
615
  if (!pkg.main && exportName === '.') {
616
616
  pkg.main =
617
- exportTarget.default ||
618
- exportTarget.require ||
619
- exportTarget.import;
617
+ pkg.type === 'module'
618
+ ? exportTarget.import
619
+ : exportTarget.default ||
620
+ exportTarget.require ||
621
+ exportTarget.import;
620
622
  }
621
623
  } else if (target === 'browser') {
622
624
  if (formats.includes('es')) {
@@ -179,7 +179,8 @@ export default class CommonLintGenerator extends Generator {
179
179
  }
180
180
 
181
181
  const yoConfigPobMonorepo = inLerna && inLerna.pobMonorepoConfig;
182
- const globalEslint = yoConfigPobMonorepo && yoConfigPobMonorepo.eslint;
182
+ const globalEslint =
183
+ yoConfigPobMonorepo && yoConfigPobMonorepo.eslint !== false;
183
184
  const globalTesting = yoConfigPobMonorepo && yoConfigPobMonorepo.testing;
184
185
  const composite = yoConfigPobMonorepo && yoConfigPobMonorepo.typescript;
185
186
  const { rootPackageManager, rootYarnNodeLinker } = inLerna || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "9.12.0",
3
+ "version": "9.12.1",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -61,11 +61,11 @@
61
61
  "mem-fs-editor": "9.4.0",
62
62
  "minimist-argv": "^1.1.0",
63
63
  "parse-author": "^2.0.0",
64
- "pob-dependencies": "6.6.0",
64
+ "pob-dependencies": "6.6.1",
65
65
  "prettier": "2.5.1",
66
66
  "semver": "^7.3.4",
67
67
  "yeoman-environment": "^3.5.1",
68
68
  "yeoman-generator": "^5.4.0"
69
69
  },
70
- "gitHead": "993baad01eaac3d0adb3eef52b8eb17fdf9babe1"
70
+ "gitHead": "9a3b1d4e78444d3be10d8d96e1586294dcab302c"
71
71
  }