pob 9.1.0 → 9.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,17 @@
|
|
|
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.2.0](https://github.com/christophehurpeau/pob/compare/pob@9.1.0...pob@9.2.0) (2021-12-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **pob:** force global eslint and fix remove plugins on non monorepo ([9c04867](https://github.com/christophehurpeau/pob/commit/9c0486700355e27981f0e1a73d05663a6c1bb16b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [9.1.0](https://github.com/christophehurpeau/pob/compare/pob@9.0.0...pob@9.1.0) (2021-12-11)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -186,11 +186,11 @@ export default class CommonLintGenerator extends Generator {
|
|
|
186
186
|
inLerna.pobConfig.project &&
|
|
187
187
|
inLerna.pobConfig.project.type;
|
|
188
188
|
|
|
189
|
-
if (
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
) {
|
|
189
|
+
if (this.options.monorepo && !globalEslint) {
|
|
190
|
+
throw new Error('Please enable global eslint');
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (globalEslint && !((inLerna && inLerna.root) || this.options.monorepo)) {
|
|
194
194
|
packageUtils.removeDevDependencies(
|
|
195
195
|
pkg,
|
|
196
196
|
[
|
|
@@ -227,10 +227,7 @@ export default class CommonLintGenerator extends Generator {
|
|
|
227
227
|
['eslint'],
|
|
228
228
|
);
|
|
229
229
|
const shouldHavePluginsDependencies =
|
|
230
|
-
|
|
231
|
-
!inLerna ||
|
|
232
|
-
(rootPackageManager === 'yarn' &&
|
|
233
|
-
rootYarnNodeLinker !== 'node-modules');
|
|
230
|
+
rootPackageManager === 'yarn' && rootYarnNodeLinker !== 'node-modules';
|
|
234
231
|
|
|
235
232
|
if (
|
|
236
233
|
!pkg.name.startsWith('eslint-config') &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
"mem-fs-editor": "8.1.2",
|
|
64
64
|
"minimist-argv": "^1.1.0",
|
|
65
65
|
"parse-author": "^2.0.0",
|
|
66
|
-
"pob-dependencies": "^6.0.
|
|
66
|
+
"pob-dependencies": "^6.0.2",
|
|
67
67
|
"prettier": "2.5.1",
|
|
68
68
|
"semver": "^7.3.4",
|
|
69
69
|
"update-notifier": "^5.0.1",
|
|
70
70
|
"yeoman-environment": "^3.5.1",
|
|
71
71
|
"yeoman-generator": "^5.4.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "e1a168b7559c8d9db408d70e745a59c83b4bfb2d"
|
|
74
74
|
}
|