pob 10.6.0 → 10.7.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,22 @@
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
+ # [10.7.0](https://github.com/christophehurpeau/pob/compare/pob@10.6.0...pob@10.7.0) (2022-03-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **pob:** update option in monorepo ([ddb2129](https://github.com/christophehurpeau/pob/commit/ddb21299e99ae7e1044cbb9f480a94f94a6bcd7d))
12
+
13
+
14
+ ### Features
15
+
16
+ * **deps:** update dependency eslint to v8.11.0 ([#1234](https://github.com/christophehurpeau/pob/issues/1234)) ([4f41e09](https://github.com/christophehurpeau/pob/commit/4f41e094c9f9e3cade7c72347a50477617b220d4))
17
+
18
+
19
+
20
+
21
+
6
22
  # [10.6.0](https://github.com/christophehurpeau/pob/compare/pob@10.5.0...pob@10.6.0) (2022-03-09)
7
23
 
8
24
 
package/lib/pob.js CHANGED
@@ -217,11 +217,9 @@ env.registerStub(
217
217
  );
218
218
 
219
219
  const projectPkg = readJson(path.resolve('./package.json'));
220
- let monorepo =
221
- argv._[0] === 'lerna' ||
222
- argv._[0] === 'monorepo' ||
223
- !!(projectPkg && projectPkg.workspaces);
224
- const action = monorepo ? argv._[1] : argv._[0];
220
+ const monorepoArg = argv._[0] === 'lerna' || argv._[0] === 'monorepo';
221
+ let monorepo = monorepoArg || !!(projectPkg && projectPkg.workspaces);
222
+ const action = monorepoArg ? argv._[1] : argv._[0];
225
223
 
226
224
  if (action === 'add') {
227
225
  if (!projectPkg.workspaces) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "10.6.0",
3
+ "version": "10.7.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -48,7 +48,7 @@
48
48
  "@pob/sort-object": "^4.0.1",
49
49
  "@pob/sort-pkg": "^4.0.1",
50
50
  "@yarnpkg/parsers": "2.5.0",
51
- "eslint": "8.10.0",
51
+ "eslint": "8.11.0",
52
52
  "findup-sync": "^5.0.0",
53
53
  "git-remote-url": "^1.0.1",
54
54
  "github-username": "^6.0.0",
@@ -67,5 +67,5 @@
67
67
  "yeoman-environment": "^3.5.1",
68
68
  "yeoman-generator": "^5.4.0"
69
69
  },
70
- "gitHead": "67aeeddf475269b9eb3d6319a8e128e7441695ec"
70
+ "gitHead": "552efd409c73dc34014aaad8a5d05b513f849fb8"
71
71
  }