pob 10.6.0 → 10.9.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,50 @@
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.9.0](https://github.com/christophehurpeau/pob/compare/pob@10.8.0...pob@10.9.0) (2022-04-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update dependency prettier to v2.6.1 ([#1246](https://github.com/christophehurpeau/pob/issues/1246)) ([5eeeee8](https://github.com/christophehurpeau/pob/commit/5eeeee8f08df70077bf38172242365a797732c33))
12
+ * **deps:** update dependency prettier to v2.6.2 ([#1249](https://github.com/christophehurpeau/pob/issues/1249)) ([42f4d13](https://github.com/christophehurpeau/pob/commit/42f4d135b5275185a5f5907f5336a40ebc3148b3))
13
+
14
+
15
+ ### Features
16
+
17
+ * **deps:** update dependency eslint to v8.12.0 ([#1247](https://github.com/christophehurpeau/pob/issues/1247)) ([326ee2a](https://github.com/christophehurpeau/pob/commit/326ee2a708ece9249fbeeefd8e8e3a382698d49b))
18
+
19
+
20
+
21
+
22
+
23
+ # [10.8.0](https://github.com/christophehurpeau/pob/compare/pob@10.7.0...pob@10.8.0) (2022-03-24)
24
+
25
+
26
+ ### Features
27
+
28
+ * **deps:** update dependency prettier to v2.6.0 ([#1240](https://github.com/christophehurpeau/pob/issues/1240)) ([acfaca1](https://github.com/christophehurpeau/pob/commit/acfaca1645a0eeb5e842aa55ae37970da98310ff))
29
+
30
+
31
+
32
+
33
+
34
+ # [10.7.0](https://github.com/christophehurpeau/pob/compare/pob@10.6.0...pob@10.7.0) (2022-03-13)
35
+
36
+
37
+ ### Bug Fixes
38
+
39
+ * **pob:** update option in monorepo ([ddb2129](https://github.com/christophehurpeau/pob/commit/ddb21299e99ae7e1044cbb9f480a94f94a6bcd7d))
40
+
41
+
42
+ ### Features
43
+
44
+ * **deps:** update dependency eslint to v8.11.0 ([#1234](https://github.com/christophehurpeau/pob/issues/1234)) ([4f41e09](https://github.com/christophehurpeau/pob/commit/4f41e094c9f9e3cade7c72347a50477617b220d4))
45
+
46
+
47
+
48
+
49
+
6
50
  # [10.6.0](https://github.com/christophehurpeau/pob/compare/pob@10.5.0...pob@10.6.0) (2022-03-09)
7
51
 
8
52
 
@@ -37,10 +37,9 @@ export default class CoreYarnGenerator extends Generator {
37
37
  if (!fs.existsSync('.yarnrc.yml')) {
38
38
  // yarn 2 not yet installed
39
39
  // https://yarnpkg.com/getting-started/install
40
- this.spawnCommandSync('yarn', ['set', 'version', 'berry']);
41
- this.spawnCommandSync('yarn', ['set', 'version', 'latest']);
40
+ this.spawnCommandSync('yarn', ['set', 'version', 'stable']);
42
41
  } else {
43
- this.spawnCommandSync('yarn', ['set', 'version', 'latest']);
42
+ this.spawnCommandSync('yarn', ['set', 'version', 'stable']);
44
43
  ensureJsonFileFormatted(this.destinationPath('package.json'));
45
44
  }
46
45
  }
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.9.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.12.0",
52
52
  "findup-sync": "^5.0.0",
53
53
  "git-remote-url": "^1.0.1",
54
54
  "github-username": "^6.0.0",
@@ -62,10 +62,10 @@
62
62
  "minimist-argv": "^1.1.0",
63
63
  "parse-author": "^2.0.0",
64
64
  "pob-dependencies": "6.17.0",
65
- "prettier": "2.5.1",
65
+ "prettier": "2.6.2",
66
66
  "semver": "^7.3.4",
67
67
  "yeoman-environment": "^3.5.1",
68
68
  "yeoman-generator": "^5.4.0"
69
69
  },
70
- "gitHead": "67aeeddf475269b9eb3d6319a8e128e7441695ec"
70
+ "gitHead": "a8c255c612c8a46b22c4e75f5bcca59a10a1f091"
71
71
  }