pob 9.7.0 → 9.7.4
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,47 @@
|
|
|
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.7.4](https://github.com/christophehurpeau/pob/compare/pob@9.7.3...pob@9.7.4) (2021-12-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* no process.env.POB_GITHUB_TOKEN in ci ([8248c48](https://github.com/christophehurpeau/pob/commit/8248c48441d4c6cfea86367166159444f4711bb8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [9.7.3](https://github.com/christophehurpeau/pob/compare/pob@9.7.2...pob@9.7.3) (2021-12-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package pob
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [9.7.2](https://github.com/christophehurpeau/pob/compare/pob@9.7.1...pob@9.7.2) (2021-12-12)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **pob:** testing babel condition ([a468640](https://github.com/christophehurpeau/pob/commit/a4686400a2844d8930a77a201dea3d7f5f302384))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [9.7.1](https://github.com/christophehurpeau/pob/compare/pob@9.7.0...pob@9.7.1) (2021-12-12)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* **pob:** add @ornikar/eslint-configs in dependencies ([0163505](https://github.com/christophehurpeau/pob/commit/0163505eecd7ca39c07dfe6a969184806e3d2630))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [9.7.0](https://github.com/christophehurpeau/pob/compare/pob@9.6.1...pob@9.7.0) (2021-12-12)
|
|
7
48
|
|
|
8
49
|
|
|
@@ -83,7 +83,9 @@ export default class CommonTestingGenerator extends Generator {
|
|
|
83
83
|
const yoConfigPobMonorepo = inLerna && inLerna.pobMonorepoConfig;
|
|
84
84
|
const globalTesting = yoConfigPobMonorepo && yoConfigPobMonorepo.testing;
|
|
85
85
|
const enableForMonorepo = this.options.monorepo && globalTesting;
|
|
86
|
-
const transpileWithBabel =
|
|
86
|
+
const transpileWithBabel = this.options.monorepo
|
|
87
|
+
? yoConfigPobMonorepo.typescript
|
|
88
|
+
: pkg.pob && pkg.pob.babelEnvs && pkg.pob.babelEnvs.length > 0;
|
|
87
89
|
|
|
88
90
|
if (!this.options.enable) {
|
|
89
91
|
packageUtils.removeDevDependencies(pkg, ['jest', '@types/jest']);
|
|
@@ -67,7 +67,7 @@ export default class CoreGitGithubGenerator extends Generator {
|
|
|
67
67
|
desc: 'repo name',
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
-
if (!GITHUB_TOKEN) {
|
|
70
|
+
if (!GITHUB_TOKEN && process.env.CI !== 'true') {
|
|
71
71
|
throw new Error(
|
|
72
72
|
'Missing POB_GITHUB_TOKEN. Create one with https://github.com/settings/tokens/new?scopes=repo&description=POB%20Generator and add it in your env variables.',
|
|
73
73
|
);
|
|
@@ -75,6 +75,7 @@ export default class CoreGitGithubGenerator extends Generator {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
async end() {
|
|
78
|
+
if (!GITHUB_TOKEN) return;
|
|
78
79
|
const owner = this.options.gitHostAccount;
|
|
79
80
|
const repo = this.options.repoName;
|
|
80
81
|
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
3
|
exports.pobEslintConfig = require('@pob/eslint-config/package.json');
|
|
5
4
|
|
|
6
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
7
5
|
exports.pobEslintConfigTypescript = require('@pob/eslint-config-typescript/package.json');
|
|
8
6
|
|
|
9
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
10
7
|
exports.pobEslintConfigTypescriptReact = require('@pob/eslint-config-typescript-react/package.json');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.4",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -41,10 +41,14 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@lerna/package-graph": "^4.0.0",
|
|
43
43
|
"@lerna/project": "^4.0.0",
|
|
44
|
+
"@pob/eslint-config": "48.0.5",
|
|
45
|
+
"@pob/eslint-config-typescript": "48.0.5",
|
|
46
|
+
"@pob/eslint-config-typescript-react": "48.0.5",
|
|
44
47
|
"@pob/sort-eslint-config": "^3.0.1",
|
|
45
48
|
"@pob/sort-object": "^4.0.1",
|
|
46
49
|
"@pob/sort-pkg": "^4.0.1",
|
|
47
50
|
"@yarnpkg/parsers": "2.5.0-rc.6",
|
|
51
|
+
"eslint": "8.4.1",
|
|
48
52
|
"findup-sync": "^5.0.0",
|
|
49
53
|
"git-remote-url": "^1.0.1",
|
|
50
54
|
"github-username": "^6.0.0",
|
|
@@ -57,12 +61,12 @@
|
|
|
57
61
|
"mem-fs-editor": "8.1.2",
|
|
58
62
|
"minimist-argv": "^1.1.0",
|
|
59
63
|
"parse-author": "^2.0.0",
|
|
60
|
-
"pob-dependencies": "6.3.
|
|
64
|
+
"pob-dependencies": "6.3.2",
|
|
61
65
|
"prettier": "2.5.1",
|
|
62
66
|
"semver": "^7.3.4",
|
|
63
67
|
"update-notifier": "^5.0.1",
|
|
64
68
|
"yeoman-environment": "^3.5.1",
|
|
65
69
|
"yeoman-generator": "^5.4.0"
|
|
66
70
|
},
|
|
67
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "1d2df1b252aeeb0c92bd82dc3912e9ffa97aacbe"
|
|
68
72
|
}
|