chore: initial commit
This commit is contained in:
commit
99f98d7b46
7 changed files with 10177 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
node_modules/
|
||||||
|
*.epub
|
||||||
|
*.pdf
|
7
.yo-rc.json
Normal file
7
.yo-rc.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"generator-mfgames-writing": {
|
||||||
|
"promptValues": {
|
||||||
|
"author": "D. Moonfire"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
4
README.md
Normal file
4
README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Allegro by D. Moonfire
|
||||||
|
======================
|
||||||
|
|
||||||
|
This is the repository for *Allegro* by D. Moonfire.
|
5
chapters/chapter-01.md
Normal file
5
chapters/chapter-01.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Your First Chapter
|
||||||
|
---
|
||||||
|
|
||||||
|
This is the first chapter of *Allegro*.
|
10064
package-lock.json
generated
Normal file
10064
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
58
package.json
Normal file
58
package.json
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
{
|
||||||
|
"name": "allegro",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.1.0",
|
||||||
|
"scripts": {
|
||||||
|
"build:epub": "mfgames-writing-format build epub",
|
||||||
|
"build:pdf": "mfgames-writing-format build pdf",
|
||||||
|
"build": "npm run build:epub && npm run build:pdf"
|
||||||
|
},
|
||||||
|
"release": {
|
||||||
|
"branch": "master",
|
||||||
|
"message": "chore(release): v${nextRelease.version}\n\n${nextRelease.notes}",
|
||||||
|
"verifyConditions": [
|
||||||
|
"@semantic-release/changelog",
|
||||||
|
"@semantic-release/git"
|
||||||
|
],
|
||||||
|
"analyzeCommits": [
|
||||||
|
"@semantic-release/commit-analyzer"
|
||||||
|
],
|
||||||
|
"prepare": [
|
||||||
|
"@semantic-release/changelog",
|
||||||
|
"@semantic-release/git"
|
||||||
|
],
|
||||||
|
"publish": [],
|
||||||
|
"success": [],
|
||||||
|
"fail": []
|
||||||
|
},
|
||||||
|
"commitlint": {
|
||||||
|
"extends": [
|
||||||
|
"@commitlint/config-conventional"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"commitizen": {
|
||||||
|
"path": "./node_modules/cz-conventional-changelog"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"husky": {
|
||||||
|
"hooks": {
|
||||||
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@commitlint/cli": "^8.2.0",
|
||||||
|
"@commitlint/config-conventional": "^8.2.0",
|
||||||
|
"@fedran/writing-theme": "^2.0.2",
|
||||||
|
"@mfgames-writing/epub2": "^1.1.3",
|
||||||
|
"@mfgames-writing/format": "^2.0.0",
|
||||||
|
"@mfgames-writing/hyphen": "^0.4.3",
|
||||||
|
"@mfgames-writing/weasyprint": "^4.0.0",
|
||||||
|
"@semantic-release/changelog": "^3.0.6",
|
||||||
|
"@semantic-release/git": "^7.0.18",
|
||||||
|
"commitizen": "^4.0.3",
|
||||||
|
"cz-conventional-changelog": "^3.0.2",
|
||||||
|
"husky": "^3.1.0",
|
||||||
|
"semantic-release": "^15.13.31"
|
||||||
|
}
|
||||||
|
}
|
36
publication.yaml
Normal file
36
publication.yaml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
metadata:
|
||||||
|
title: "Allegro"
|
||||||
|
author: "D. Moonfire"
|
||||||
|
language: en
|
||||||
|
|
||||||
|
theme: "@fedran/writing-theme"
|
||||||
|
outputDirectory: .
|
||||||
|
outputFilename: "{{ edition.name }}-{{ edition.version }}.{{ edition.editionName }}"
|
||||||
|
|
||||||
|
editions:
|
||||||
|
|
||||||
|
epub:
|
||||||
|
format: "@mfgames-writing/epub2"
|
||||||
|
|
||||||
|
|
||||||
|
pdf:
|
||||||
|
format: "@mfgames-writing/weasyprint"
|
||||||
|
images:
|
||||||
|
grayscale: true
|
||||||
|
opaque: true
|
||||||
|
|
||||||
|
|
||||||
|
contents:
|
||||||
|
- element: toc
|
||||||
|
linear: false
|
||||||
|
title: Contents
|
||||||
|
exclude:
|
||||||
|
editions: [pdf]
|
||||||
|
- element: chapter
|
||||||
|
number: 1
|
||||||
|
directory: chapters
|
||||||
|
source: /^chapter-\d+.md$/
|
||||||
|
start: true
|
||||||
|
page: 1
|
||||||
|
pipeline: &pipelines
|
||||||
|
- module: "@mfgames-writing/hyphen"
|
Loading…
Reference in a new issue