writr 2.0.3 → 3.0.1
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/README.md +86 -70
- package/dist/writr.d.ts +22 -20
- package/dist/writr.js +59 -136
- package/package.json +39 -43
- package/bin/writr.mjs +0 -8
- package/dist/builder.d.ts +0 -34
- package/dist/builder.js +0 -182
- package/dist/console.d.ts +0 -22
- package/dist/console.js +0 -120
- package/dist/github.d.ts +0 -22
- package/dist/github.js +0 -74
- package/dist/helpers/markdown.d.ts +0 -10
- package/dist/helpers/markdown.js +0 -24
- package/dist/helpers.d.ts +0 -7
- package/dist/helpers.js +0 -58
- package/dist/options.d.ts +0 -12
- package/dist/options.js +0 -47
- package/init/favicon.svg +0 -1
- package/init/logo.png +0 -0
- package/init/variables.css +0 -30
- package/init/writr.config.cjs +0 -10
- package/template/css/highlight/highlight.min.js +0 -1433
- package/template/css/highlight/styles/base16/dracula.min.css +0 -7
- package/template/css/home.css +0 -307
- package/template/css/index.css +0 -919
- package/template/includes/footer.hbs +0 -10
- package/template/includes/header.hbs +0 -17
- package/template/includes/landing/content.hbs +0 -63
- package/template/includes/landing/hero.hbs +0 -3
- package/template/includes/scripts.hbs +0 -4
- package/template/index.hbs +0 -16
- package/template/releases.hbs +0 -45
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<meta charset="UTF-8" />
|
|
2
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
3
|
-
<link rel="stylesheet" href="/css/variables.css" />
|
|
4
|
-
<link rel="stylesheet" href="/css/index.css" />
|
|
5
|
-
<link rel="stylesheet" href="/css/home.css" />
|
|
6
|
-
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
7
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
8
|
-
<link
|
|
9
|
-
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap"
|
|
10
|
-
rel="stylesheet"
|
|
11
|
-
/>
|
|
12
|
-
<link
|
|
13
|
-
rel="stylesheet"
|
|
14
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css"
|
|
15
|
-
/>
|
|
16
|
-
<link rel="stylesheet" href="/css/highlight/styles/base16/dracula.min.css" />
|
|
17
|
-
<link rel="icon" href="/favicon.ico" />
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
<article class="home-container">
|
|
2
|
-
<div class="content">{{{content}}}</div>
|
|
3
|
-
|
|
4
|
-
{{#if github}}
|
|
5
|
-
{{#if github.contributors}}
|
|
6
|
-
<div class="content-container">
|
|
7
|
-
<h2 class="home-title">Contributors</h2>
|
|
8
|
-
<div class="facepile-container">
|
|
9
|
-
<div class="facepile">
|
|
10
|
-
{{#each github.contributors}}
|
|
11
|
-
<a
|
|
12
|
-
href="{{html_url}}"
|
|
13
|
-
target="_blank"
|
|
14
|
-
title="{{login}}"
|
|
15
|
-
rel="noopener noreferrer"
|
|
16
|
-
>
|
|
17
|
-
<img src="{{avatar_url}}" alt="{{login}}" />
|
|
18
|
-
</a>
|
|
19
|
-
{{/each}}
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
{{/if}}
|
|
24
|
-
|
|
25
|
-
{{#if github.releases}}
|
|
26
|
-
<div class="content-container">
|
|
27
|
-
<h2 class="home-title">Latest's Releases</h2>
|
|
28
|
-
{{#each github.releases as |release|}}
|
|
29
|
-
{{#if (lt @index 3)}}
|
|
30
|
-
<div class="release">
|
|
31
|
-
<div class="release-header">
|
|
32
|
-
<a
|
|
33
|
-
class="release-title"
|
|
34
|
-
href="{{release.html_url}}"
|
|
35
|
-
target="_blank"
|
|
36
|
-
rel="noopener noreferrer"
|
|
37
|
-
>{{release.name}}</a>
|
|
38
|
-
<span class="release-date">{{#moment
|
|
39
|
-
release.published_at "MMMM DD, yyyy"
|
|
40
|
-
}}{{/moment}}
|
|
41
|
-
</span>
|
|
42
|
-
</div>
|
|
43
|
-
<div class="release-body">
|
|
44
|
-
{{#if release.body}}
|
|
45
|
-
{{#markdown}}{{release.body}}{{/markdown}}
|
|
46
|
-
{{/if}}
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
{{/if}}
|
|
50
|
-
{{/each}}
|
|
51
|
-
|
|
52
|
-
{{#if (gt github.releases.length 6)}}
|
|
53
|
-
<div>
|
|
54
|
-
<a class="release-btn" href="/releases">
|
|
55
|
-
All Releases
|
|
56
|
-
<span>→</span>
|
|
57
|
-
</a>
|
|
58
|
-
</div>
|
|
59
|
-
{{/if}}
|
|
60
|
-
</div>
|
|
61
|
-
{{/if}}
|
|
62
|
-
{{/if}}
|
|
63
|
-
</article>
|
package/template/index.hbs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
{{> header }}
|
|
5
|
-
<title>{{ siteTitle }}</title>
|
|
6
|
-
</head>
|
|
7
|
-
|
|
8
|
-
<body>
|
|
9
|
-
{{> landing/hero }}
|
|
10
|
-
<a class="github-fork-ribbon" href="https://github.com/{{ githubPath }}" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
|
|
11
|
-
{{> landing/content }}
|
|
12
|
-
{{> footer}}
|
|
13
|
-
|
|
14
|
-
{{> scripts }}
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|
package/template/releases.hbs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
{{> header }}
|
|
5
|
-
<title>{{siteTitle}} Releases</title>
|
|
6
|
-
</head>
|
|
7
|
-
|
|
8
|
-
<body>
|
|
9
|
-
{{> landing/hero }}
|
|
10
|
-
<a class="github-fork-ribbon" href="https://github.com/jaredwray/writr" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
|
|
11
|
-
<main class="home-container">
|
|
12
|
-
<div class="content-container versions-container">
|
|
13
|
-
<h2 class="home-title">Releases</h2>
|
|
14
|
-
{{#if github}}
|
|
15
|
-
{{#if github.releases}}
|
|
16
|
-
{{#each github.releases as |release|}}
|
|
17
|
-
<div class="release">
|
|
18
|
-
<div class="release-header">
|
|
19
|
-
<a
|
|
20
|
-
class="release-title"
|
|
21
|
-
href="{{release.html_url}}"
|
|
22
|
-
target="_blank"
|
|
23
|
-
rel="noopener noreferrer"
|
|
24
|
-
>{{release.name}}</a>
|
|
25
|
-
<span class="release-date">{{#moment
|
|
26
|
-
release.published_at "MMMM DD, yyyy"
|
|
27
|
-
}}{{/moment}}
|
|
28
|
-
</span>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="release-body">
|
|
31
|
-
{{#if release.body}}
|
|
32
|
-
{{#markdown}}{{release.body}}{{/markdown}}
|
|
33
|
-
{{/if}}
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
{{/each}}
|
|
37
|
-
{{/if}}
|
|
38
|
-
{{/if}}
|
|
39
|
-
</div>
|
|
40
|
-
</main>
|
|
41
|
-
{{> footer}}
|
|
42
|
-
|
|
43
|
-
{{> scripts }}
|
|
44
|
-
</body>
|
|
45
|
-
</html>
|