pob 8.9.0 → 8.10.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 +20 -0
- package/lib/generators/common/format-lint/CommonLintGenerator.js +2 -0
- package/lib/generators/common/old-dependencies/CommonRemoveOldDependenciesGenerator.js +1 -0
- package/lib/generators/core/package/CorePackageGenerator.js +1 -2
- package/lib/generators/lib/doc/templates/tsconfig.doc.json.lerna.ejs +1 -0
- package/lib/generators/monorepo/lerna/MonorepoLernaGenerator.js +10 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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
|
+
# [8.10.0](https://github.com/christophehurpeau/pob/compare/pob@8.9.0...pob@8.10.0) (2021-11-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **pob:** also remove react eslint plugins ([77dc9c5](https://github.com/christophehurpeau/pob/commit/77dc9c564bf8d2622956f23973b5258fa97aed2d))
|
|
12
|
+
* **pob:** monorepo typedoc enable tsc skipLibCheck ([87b8e88](https://github.com/christophehurpeau/pob/commit/87b8e88656308cea49994335f1aafcb3eb49121a))
|
|
13
|
+
* **pob:** node options when lots of packages ([4829f93](https://github.com/christophehurpeau/pob/commit/4829f9386504c5de4ccc488544c10cf194b0f0f0))
|
|
14
|
+
* **pob:** remove deprecated dependency xunit-file ([62d4602](https://github.com/christophehurpeau/pob/commit/62d460276709d6a5630ba3759984910d36a506cc))
|
|
15
|
+
* postinstall script for non lerna private packages ([8a3f3a4](https://github.com/christophehurpeau/pob/commit/8a3f3a4143f2595391503d51c31dd9b8157ccc97))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **deps:** update dependency prettier to v2.5.0 ([#1114](https://github.com/christophehurpeau/pob/issues/1114)) ([50d4b98](https://github.com/christophehurpeau/pob/commit/50d4b98f8ec76ee8a44e3f01eea882089b1a89e5))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [8.9.0](https://github.com/christophehurpeau/pob/compare/pob@8.8.2...pob@8.9.0) (2021-11-16)
|
|
7
27
|
|
|
8
28
|
|
|
@@ -156,6 +156,8 @@ export default class CommonLintGenerator extends Generator {
|
|
|
156
156
|
'eslint-plugin-flowtype',
|
|
157
157
|
'eslint-plugin-prefer-class-properties',
|
|
158
158
|
'eslint-plugin-prettier',
|
|
159
|
+
'eslint-plugin-react',
|
|
160
|
+
'eslint-plugin-react-hooks',
|
|
159
161
|
'typescript-eslint-parser',
|
|
160
162
|
'standard',
|
|
161
163
|
]);
|
|
@@ -231,10 +231,9 @@ export default class CorePackageGenerator extends Generator {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
|
-
|
|
235
234
|
if (inLerna || pkg.private) {
|
|
236
235
|
uninstallPostinstallScript('postinstallDev');
|
|
237
|
-
if (inLerna
|
|
236
|
+
if (!inLerna || inLerna.root) {
|
|
238
237
|
installPostinstallScript('postinstall');
|
|
239
238
|
} else {
|
|
240
239
|
uninstallPostinstallScript('postinstall');
|
|
@@ -176,12 +176,18 @@ export default class MonorepoLernaGenerator extends Generator {
|
|
|
176
176
|
'lint:eslint':
|
|
177
177
|
monorepoConfig &&
|
|
178
178
|
monorepoConfig.eslint &&
|
|
179
|
-
this.packagesConfig.length <
|
|
180
|
-
?
|
|
179
|
+
this.packagesConfig.length < 50
|
|
180
|
+
? `${
|
|
181
|
+
this.packagesConfig.length > 20
|
|
182
|
+
? 'NODE_OPTIONS=--max_old_space_size=4096 '
|
|
183
|
+
: ''
|
|
184
|
+
}eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet .`
|
|
181
185
|
: // eslint-disable-next-line unicorn/no-nested-ternary
|
|
182
186
|
this.options.packageManager === 'yarn'
|
|
183
|
-
?
|
|
184
|
-
|
|
187
|
+
? `NODE_OPTIONS=--max_old_space_size=4096 eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet . --ignore-pattern ${pkg.workspaces.join(
|
|
188
|
+
',',
|
|
189
|
+
)} && yarn workspaces foreach --parallel -Av run lint:eslint`
|
|
190
|
+
: 'lerna run --stream lint:eslint',
|
|
185
191
|
});
|
|
186
192
|
|
|
187
193
|
this.fs.copyTpl(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.10.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": "^5.
|
|
67
|
-
"prettier": "2.
|
|
66
|
+
"pob-dependencies": "^5.11.0",
|
|
67
|
+
"prettier": "2.5.0",
|
|
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": "0e6a3cfc36ebda0daa441a33b96288fbb08d8c21"
|
|
74
74
|
}
|