pob 9.14.1 → 9.15.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,24 @@
|
|
|
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.15.0](https://github.com/christophehurpeau/pob/compare/pob@9.14.1...pob@9.15.0) (2022-01-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency @yarnpkg/parsers to v2.5.0-rc.10 ([#1182](https://github.com/christophehurpeau/pob/issues/1182)) ([4d3c5b4](https://github.com/christophehurpeau/pob/commit/4d3c5b4ef731cb1cb059f81494b4e0eda3778f80))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **pob:** update exported cjs extension ([47e7031](https://github.com/christophehurpeau/pob/commit/47e7031af4e83db775f2da607a299c5b896da89b))
|
|
17
|
+
* support codecov for apps ([741380b](https://github.com/christophehurpeau/pob/commit/741380b0fd9acfcb0b21e4c98fd4111cff692cbf))
|
|
18
|
+
* **deps:** update dependency eslint to v8.8.0 ([#1186](https://github.com/christophehurpeau/pob/issues/1186)) ([14f9e44](https://github.com/christophehurpeau/pob/commit/14f9e4460257392979383b264af4499a4ae24dc5))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [9.14.1](https://github.com/christophehurpeau/pob/compare/pob@9.14.0...pob@9.14.1) (2022-01-22)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -82,6 +82,13 @@ export default class PobAppGenerator extends Generator {
|
|
|
82
82
|
default:
|
|
83
83
|
!config || config.testing === undefined ? false : config.testing,
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
type: 'confirm',
|
|
87
|
+
name: 'codecov',
|
|
88
|
+
message: 'Do you want codecov ?',
|
|
89
|
+
default: !config || false,
|
|
90
|
+
when: (values) => values.testing,
|
|
91
|
+
},
|
|
85
92
|
{
|
|
86
93
|
type: 'confirm',
|
|
87
94
|
name: 'ci',
|
|
@@ -153,7 +160,7 @@ export default class PobAppGenerator extends Generator {
|
|
|
153
160
|
testing: this.appConfig.testing,
|
|
154
161
|
typescript: babel,
|
|
155
162
|
documentation: false,
|
|
156
|
-
codecov:
|
|
163
|
+
codecov: this.appConfig.codecov,
|
|
157
164
|
ci: this.appConfig.ci,
|
|
158
165
|
packageManager: this.options.packageManager,
|
|
159
166
|
isApp: true,
|
|
@@ -599,14 +599,15 @@ export default class CommonBabelGenerator extends Generator {
|
|
|
599
599
|
const exportTarget = {};
|
|
600
600
|
|
|
601
601
|
if (target === 'node') {
|
|
602
|
+
const cjsExt = pkg.type === 'module' ? 'cjs' : 'cjs.js';
|
|
602
603
|
if (formats.includes('es')) {
|
|
603
604
|
exportTarget.import = `./dist/${entryDistName}-${target}${version}.mjs`;
|
|
604
605
|
|
|
605
606
|
if (formats.includes('cjs')) {
|
|
606
|
-
exportTarget.require = `./dist/${entryDistName}-${target}${version}
|
|
607
|
+
exportTarget.require = `./dist/${entryDistName}-${target}${version}.${cjsExt}`;
|
|
607
608
|
}
|
|
608
609
|
} else if (formats.includes('cjs')) {
|
|
609
|
-
exportTarget.default = `./dist/${entryDistName}-${target}${version}
|
|
610
|
+
exportTarget.default = `./dist/${entryDistName}-${target}${version}.${cjsExt}`;
|
|
610
611
|
}
|
|
611
612
|
// eslint: https://github.com/benmosher/eslint-plugin-import/issues/2132
|
|
612
613
|
// jest: https://github.com/facebook/jest/issues/9771
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.15.0",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@pob/sort-eslint-config": "^3.0.1",
|
|
48
48
|
"@pob/sort-object": "^4.0.1",
|
|
49
49
|
"@pob/sort-pkg": "^4.0.1",
|
|
50
|
-
"@yarnpkg/parsers": "2.5.0-rc.
|
|
51
|
-
"eslint": "8.
|
|
50
|
+
"@yarnpkg/parsers": "2.5.0-rc.10",
|
|
51
|
+
"eslint": "8.8.0",
|
|
52
52
|
"findup-sync": "^5.0.0",
|
|
53
53
|
"git-remote-url": "^1.0.1",
|
|
54
54
|
"github-username": "^6.0.0",
|
|
@@ -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.
|
|
64
|
+
"pob-dependencies": "6.11.0",
|
|
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": "
|
|
70
|
+
"gitHead": "f367e618ae312861f4f50d15d4a3330dc6280115"
|
|
71
71
|
}
|