Skip to content

Commit 45aaee0

Browse files
committed
feat: initial commit
0 parents  commit 45aaee0

19 files changed

+92688
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.gitpod.Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM gitpod/workspace-full

.gitpod.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
github:
5+
prebuilds:
6+
# enable for the default branch (defaults to true)
7+
master: true
8+
# enable for all branches in this repo (defaults to false)
9+
branches: true
10+
# enable for pull requests coming from this repo (defaults to true)
11+
pullRequests: true
12+
# enable for pull requests coming from forks (defaults to false)
13+
pullRequestsFromForks: true
14+
# add a check to pull requests (defaults to true)
15+
addCheck: true
16+
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
17+
addComment: true
18+
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
19+
addBadge: false
20+

action.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
name: 'Bump'
3+
description: 'Bump the manifest and generate changelogs'
4+
inputs:
5+
bump-to:
6+
description: 'semver version to bump to'
7+
required: true
8+
runtime:
9+
description: 'runtime for project node or deno. default: deno'
10+
required: false
11+
default: deno
12+
outputs:
13+
version:
14+
description: 'The semver version bumped to'
15+
runs:
16+
using: 'node12'
17+
main: 'dist/index.js'

dist/commit.hbs

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
* {{header}}
2+
3+
{{~!-- commit link --}} {{#if @root.linkReferences~}}
4+
([{{hash}}](
5+
{{~#if @root.repository}}
6+
{{~#if @root.host}}
7+
{{~@root.host}}/
8+
{{~/if}}
9+
{{~#if @root.owner}}
10+
{{~@root.owner}}/
11+
{{~/if}}
12+
{{~@root.repository}}
13+
{{~else}}
14+
{{~@root.repoUrl}}
15+
{{~/if}}/
16+
{{~@root.commit}}/{{hash}}))
17+
{{~else}}
18+
{{~hash}}
19+
{{~/if}}
20+
21+
{{~!-- commit references --}}
22+
{{~#if references~}}
23+
, closes
24+
{{~#each references}} {{#if @root.linkReferences~}}
25+
[
26+
{{~#if this.owner}}
27+
{{~this.owner}}/
28+
{{~/if}}
29+
{{~this.repository}}#{{this.issue}}](
30+
{{~#if @root.repository}}
31+
{{~#if @root.host}}
32+
{{~@root.host}}/
33+
{{~/if}}
34+
{{~#if this.repository}}
35+
{{~#if this.owner}}
36+
{{~this.owner}}/
37+
{{~/if}}
38+
{{~this.repository}}
39+
{{~else}}
40+
{{~#if @root.owner}}
41+
{{~@root.owner}}/
42+
{{~/if}}
43+
{{~@root.repository}}
44+
{{~/if}}
45+
{{~else}}
46+
{{~@root.repoUrl}}
47+
{{~/if}}/
48+
{{~@root.issue}}/{{this.issue}})
49+
{{~else}}
50+
{{~#if this.owner}}
51+
{{~this.owner}}/
52+
{{~/if}}
53+
{{~this.repository}}#{{this.issue}}
54+
{{~/if}}{{/each}}
55+
{{~/if}}
56+

dist/commit1.hbs

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
*{{#if scope}} **{{scope}}:**
2+
{{~/if}} {{#if subject}}
3+
{{~subject}}
4+
{{~else}}
5+
{{~header}}
6+
{{~/if}}
7+
8+
{{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
9+
([{{shortHash}}]({{commitUrlFormat}}))
10+
{{~else}}
11+
{{~shortHash}}
12+
{{~/if}}{{~/if}}
13+
14+
{{~!-- commit references --}}
15+
{{~#if references~}}
16+
, closes
17+
{{~#each references}} {{#if @root.linkReferences~}}
18+
[
19+
{{~#if this.owner}}
20+
{{~this.owner}}/
21+
{{~/if}}
22+
{{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
23+
{{~else}}
24+
{{~#if this.owner}}
25+
{{~this.owner}}/
26+
{{~/if}}
27+
{{~this.repository}}{{this.prefix}}{{this.issue}}
28+
{{~/if}}{{/each}}
29+
{{~/if}}
30+

dist/exec-child.js

+123
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
/******/ (() => { // webpackBootstrap
2+
/******/ var __webpack_modules__ = ({
3+
4+
/***/ 607:
5+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
6+
7+
/* module decorator */ module = __nccwpck_require__.nmd(module);
8+
if (require.main !== module) {
9+
throw new Error('This file should not be required');
10+
}
11+
12+
var childProcess = __nccwpck_require__(129);
13+
var fs = __nccwpck_require__(747);
14+
15+
var paramFilePath = process.argv[2];
16+
17+
var serializedParams = fs.readFileSync(paramFilePath, 'utf8');
18+
var params = JSON.parse(serializedParams);
19+
20+
var cmd = params.command;
21+
var execOptions = params.execOptions;
22+
var pipe = params.pipe;
23+
var stdoutFile = params.stdoutFile;
24+
var stderrFile = params.stderrFile;
25+
26+
var c = childProcess.exec(cmd, execOptions, function (err) {
27+
if (!err) {
28+
process.exitCode = 0;
29+
} else if (err.code === undefined) {
30+
process.exitCode = 1;
31+
} else {
32+
process.exitCode = err.code;
33+
}
34+
});
35+
36+
var stdoutStream = fs.createWriteStream(stdoutFile);
37+
var stderrStream = fs.createWriteStream(stderrFile);
38+
39+
c.stdout.pipe(stdoutStream);
40+
c.stderr.pipe(stderrStream);
41+
c.stdout.pipe(process.stdout);
42+
c.stderr.pipe(process.stderr);
43+
44+
if (pipe) {
45+
c.stdin.end(pipe);
46+
}
47+
48+
49+
/***/ }),
50+
51+
/***/ 129:
52+
/***/ ((module) => {
53+
54+
"use strict";
55+
module.exports = require("child_process");;
56+
57+
/***/ }),
58+
59+
/***/ 747:
60+
/***/ ((module) => {
61+
62+
"use strict";
63+
module.exports = require("fs");;
64+
65+
/***/ })
66+
67+
/******/ });
68+
/************************************************************************/
69+
/******/ // The module cache
70+
/******/ var __webpack_module_cache__ = {};
71+
/******/
72+
/******/ // The require function
73+
/******/ function __nccwpck_require__(moduleId) {
74+
/******/ // Check if module is in cache
75+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
76+
/******/ if (cachedModule !== undefined) {
77+
/******/ return cachedModule.exports;
78+
/******/ }
79+
/******/ // Create a new module (and put it into the cache)
80+
/******/ var module = __webpack_module_cache__[moduleId] = {
81+
/******/ id: moduleId,
82+
/******/ loaded: false,
83+
/******/ exports: {}
84+
/******/ };
85+
/******/
86+
/******/ // Execute the module function
87+
/******/ var threw = true;
88+
/******/ try {
89+
/******/ __webpack_modules__[moduleId](module, module.exports, __nccwpck_require__);
90+
/******/ threw = false;
91+
/******/ } finally {
92+
/******/ if(threw) delete __webpack_module_cache__[moduleId];
93+
/******/ }
94+
/******/
95+
/******/ // Flag the module as loaded
96+
/******/ module.loaded = true;
97+
/******/
98+
/******/ // Return the exports of the module
99+
/******/ return module.exports;
100+
/******/ }
101+
/******/
102+
/************************************************************************/
103+
/******/ /* webpack/runtime/node module decorator */
104+
/******/ (() => {
105+
/******/ __nccwpck_require__.nmd = (module) => {
106+
/******/ module.paths = [];
107+
/******/ if (!module.children) module.children = [];
108+
/******/ return module;
109+
/******/ };
110+
/******/ })();
111+
/******/
112+
/******/ /* webpack/runtime/compat */
113+
/******/
114+
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";/************************************************************************/
115+
/******/
116+
/******/ // startup
117+
/******/ // Load entry module and return exports
118+
/******/ // This entry module is referenced by other modules so it can't be inlined
119+
/******/ var __webpack_exports__ = __nccwpck_require__(607);
120+
/******/ module.exports = __webpack_exports__;
121+
/******/
122+
/******/ })()
123+
;

dist/footer.hbs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{#if noteGroups}}
2+
{{#each noteGroups}}
3+
4+
### {{title}}
5+
6+
{{#each notes}}
7+
* {{text}}
8+
{{/each}}
9+
{{/each}}
10+
{{/if}}

dist/footer1.hbs

Whitespace-only changes.

dist/header.hbs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## {{#if isPatch~}} <small>
2+
{{~/if~}} {{version}}
3+
{{~#if title}} "{{title}}"
4+
{{~/if~}}
5+
{{~#if date}} ({{date}})
6+
{{~/if~}}
7+
{{~#if isPatch~}} </small>
8+
{{~/if}}
9+

dist/header1.hbs

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{#if isPatch~}}
2+
###
3+
{{~else~}}
4+
##
5+
{{~/if}} {{#if @root.linkCompare~}}
6+
[{{version}}]({{compareUrlFormat}})
7+
{{~else}}
8+
{{~version}}
9+
{{~/if}}
10+
{{~#if title}} "{{title}}"
11+
{{~/if}}
12+
{{~#if date}} ({{date}})
13+
{{/if}}

0 commit comments

Comments
 (0)