pob 10.14.0 → 10.15.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.15.0](https://github.com/christophehurpeau/pob/compare/pob@10.14.0...pob@10.15.0) (2022-04-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **pob:** fix ejs workflow for npm publish ([42ddb67](https://github.com/christophehurpeau/pob/commit/42ddb6791e97cfa06d9b6651c165fa717bfac9b2))
12
+
13
+
14
+ ### Features
15
+
16
+ * **pob:** improve readme with more badges ([b766c11](https://github.com/christophehurpeau/pob/commit/b766c11709bb0349beb1492b8f1860b65d87e73f))
17
+
18
+
19
+
20
+
21
+
6
22
  # [10.14.0](https://github.com/christophehurpeau/pob/compare/pob@10.13.1...pob@10.14.0) (2022-04-30)
7
23
 
8
24
 
@@ -17,6 +17,7 @@ jobs:
17
17
  uses: actions/setup-node@v3
18
18
  with:
19
19
  node-version: ${{ matrix.node-version }}
20
+ registry-url: 'https://registry.npmjs.org'
20
21
 
21
22
  <% if (packageManager === 'yarn') { -%>
22
23
  - name: Install Dependencies
@@ -94,6 +94,10 @@ export default class LibReadmeGenerator extends Generator {
94
94
  license: pkg.license,
95
95
  codecov: this.options.codecov,
96
96
  documentation: this.options.documentation,
97
+ documentationUrl:
98
+ this.options.documentation && gitHost === 'github'
99
+ ? `https://${gitAccount}.github.io/${gitName}/`
100
+ : undefined,
97
101
  testing: this.options.testing,
98
102
  content,
99
103
  },
@@ -11,10 +11,16 @@
11
11
  <p align="center">
12
12
  <% if (!privatePackage) { -%>
13
13
  <a href="https://npmjs.org/package/<%= packageName %>"><img src="https://img.shields.io/npm/v/<%= packageName %>.svg?style=flat-square"></a>
14
+ <a href="https://npmjs.org/package/<%= packageName %>"><img src="https://img.shields.io/npm/dw/<%= packageName %>.svg?style=flat-square"></a>
15
+ <a href="https://npmjs.org/package/<%= packageName %>"><img src="https://img.shields.io/node/v/<%= packageName %>.svg?style=flat-square"></a>
16
+ <a href="https://npmjs.org/package/<%= packageName %>"><img src="https://img.shields.io/npm/types/<%= packageName %>.svg?style=flat-square"></a>
14
17
  <% } if (gitHost === 'github') { -%>
15
18
  <% if (testing && codecov) { -%>
16
19
  <a href="https://codecov.io/gh/<%= gitAccount %>/<%= gitName %>"><img src="https://img.shields.io/codecov/c/github/<%= gitAccount %>/<%= gitName %>/master.svg?style=flat-square"></a>
17
20
  <% } -%>
21
+ <% if (documentationUrl) { -%>
22
+ <a href="<%= documentationUrl %>"><img src="https://img.shields.io/website.svg?down_color=lightgrey&down_message=offline&up_color=blue&up_message=online&url=<%= encodeURIComponent(documentationUrl) %>?style=flat-square"></a>
23
+ <% } -%>
18
24
  <% } -%>
19
25
  </p>
20
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "10.14.0",
3
+ "version": "10.15.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -67,5 +67,5 @@
67
67
  "yeoman-environment": "3.9.1",
68
68
  "yeoman-generator": "5.6.1"
69
69
  },
70
- "gitHead": "fc550afda6de614df9c04acebc6950c76dbb621e"
70
+ "gitHead": "3b316798ef40c287c0b855a3c852acdda7e67ba0"
71
71
  }