@w5s/conventional-changelog 1.0.2 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/conventional-changelog",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Conventional changelog plugin for @w5s",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/w5s/project-config/blob/main/packages/conventional-changelog#readme",
@@ -21,6 +21,7 @@
21
21
  },
22
22
  "typings": "./lib/index.d.ts",
23
23
  "files": [
24
+ "template/*",
24
25
  "lib/**/!(*.spec).d.ts",
25
26
  "lib/**/!(*.spec).d.ts.map",
26
27
  "lib/**/!(*.spec).js.map",
@@ -62,5 +63,5 @@
62
63
  "publishConfig": {
63
64
  "access": "public"
64
65
  },
65
- "gitHead": "00aefcc3b27e23ad15aecef67c1e361062a0c897"
66
+ "gitHead": "8dd55a7518db456cdaa696f873204962e177aa13"
66
67
  }
@@ -0,0 +1 @@
1
+ {{#if authorName}}by: **{{authorName}}**{{#if authorEmail}}<{{authorEmail}}>{{/if}}{{/if}}
@@ -0,0 +1,64 @@
1
+ *{{#if scope}} **{{scope}}**:
2
+ {{~/if}} {{#if subject}}
3
+ {{~subject}}
4
+ {{~else}}
5
+ {{~header}}
6
+ {{~/if}}
7
+
8
+ {{~!-- commit link --}} {{#if @root.linkReferences~}}
9
+ ([{{hash}}](
10
+ {{~#if @root.repository}}
11
+ {{~#if @root.host}}
12
+ {{~@root.host}}/
13
+ {{~/if}}
14
+ {{~#if @root.owner}}
15
+ {{~@root.owner}}/
16
+ {{~/if}}
17
+ {{~@root.repository}}
18
+ {{~else}}
19
+ {{~@root.repoUrl}}
20
+ {{~/if}}/
21
+ {{~@root.commit}}/{{hash}})) {{gitUserInfo}}
22
+ {{~else}}
23
+ {{~hash}}
24
+ {{~/if}}
25
+
26
+ {{~!-- commit references --}}
27
+ {{~#if references~}}
28
+ , closes
29
+ {{~#each references}} {{#if @root.linkReferences~}}
30
+ [
31
+ {{~#if this.owner}}
32
+ {{~this.owner}}/
33
+ {{~/if}}
34
+ {{~this.repository}}#{{this.issue}}](
35
+ {{~#if this.bugsUrl}}
36
+ {{~this.bugsUrl}}{{this.issue}}
37
+ {{~else}}
38
+ {{~#if @root.repository}}
39
+ {{~#if @root.host}}
40
+ {{~@root.host}}/
41
+ {{~/if}}
42
+ {{~#if this.repository}}
43
+ {{~#if this.owner}}
44
+ {{~this.owner}}/
45
+ {{~/if}}
46
+ {{~this.repository}}
47
+ {{~else}}
48
+ {{~#if @root.owner}}
49
+ {{~@root.owner}}/
50
+ {{~/if}}
51
+ {{~@root.repository}}
52
+ {{~/if}}
53
+ {{~else}}
54
+ {{~@root.repoUrl}}
55
+ {{~/if}}/
56
+ {{~@root.issue}}/{{this.issue}}
57
+ {{~/if}})
58
+ {{~else}}
59
+ {{~#if this.owner}}
60
+ {{~this.owner}}/
61
+ {{~/if}}
62
+ {{~this.repository}}#{{this.issue}}
63
+ {{~/if}}{{/each}}
64
+ {{~/if}}
@@ -0,0 +1,11 @@
1
+ {{#if noteGroups}}
2
+ {{#each noteGroups}}
3
+
4
+ ### {{title}}
5
+
6
+ {{#each notes}}
7
+ * {{#if commit.scope}}**{{commit.scope}}**: {{/if}}{{text}}
8
+ {{/each}}
9
+ {{/each}}
10
+
11
+ {{/if}}
@@ -0,0 +1,25 @@
1
+ {{#if isPatch~}}
2
+ ##
3
+ {{~else~}}
4
+ #
5
+ {{~/if}} {{#if @root.linkCompare~}}
6
+ [{{version}}](
7
+ {{~#if @root.repository~}}
8
+ {{~#if @root.host}}
9
+ {{~@root.host}}/
10
+ {{~/if}}
11
+ {{~#if @root.owner}}
12
+ {{~@root.owner}}/
13
+ {{~/if}}
14
+ {{~@root.repository}}
15
+ {{~else}}
16
+ {{~@root.repoUrl}}
17
+ {{~/if~}}
18
+ /compare/{{previousTag}}...{{currentTag}})
19
+ {{~else}}
20
+ {{~version}}
21
+ {{~/if}}
22
+ {{~#if title}} "{{title}}"
23
+ {{~/if}}
24
+ {{~#if date}} ({{date}})
25
+ {{/if}}
@@ -0,0 +1,14 @@
1
+ {{> header}}
2
+
3
+ {{#each commitGroups}}
4
+
5
+ {{#if title}}
6
+ ### {{title}}
7
+
8
+ {{/if}}
9
+ {{#each commits}}
10
+ {{> commit root=@root}}
11
+ {{/each}}
12
+
13
+ {{/each}}
14
+ {{> footer}}