refactor: updating theme to use new packaging
This commit is contained in:
parent
0766a2369b
commit
9096f5f8e6
3 changed files with 1007 additions and 1048 deletions
|
@ -14,17 +14,6 @@ publish:
|
||||||
# Verify that the commits are good.
|
# Verify that the commits are good.
|
||||||
- npx commitlint --from=master to=CI_BUILD_REF_NAME
|
- npx commitlint --from=master to=CI_BUILD_REF_NAME
|
||||||
|
|
||||||
# Corda is a non-free font that we use for the books. It was
|
|
||||||
# picked before Source Serif Pro was created and will continue to
|
|
||||||
# be used until SSP can handle proper italics. To get around this,
|
|
||||||
# we stored it in a secret location that Gitlab CI knows about but
|
|
||||||
# everyone else does not.
|
|
||||||
- wget $CORDA_FONTS_URL/$CORDA_FONTS_BZ2BALL
|
|
||||||
- tar -xjf $CORDA_FONTS_BZ2BALL
|
|
||||||
- mkdir -p ~/.fonts/
|
|
||||||
- mv *.otf ~/.fonts/
|
|
||||||
- fc-cache -rf
|
|
||||||
|
|
||||||
# We need the covers and the previous version so we can generate the
|
# We need the covers and the previous version so we can generate the
|
||||||
# "previously" chapter.
|
# "previously" chapter.
|
||||||
- mkdir -p build/repos
|
- mkdir -p build/repos
|
||||||
|
|
2027
package-lock.json
generated
2027
package-lock.json
generated
File diff suppressed because it is too large
Load diff
17
package.json
17
package.json
|
@ -16,15 +16,16 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:pdf": "mfgames-writing-format build pdf",
|
"build:pdf": "mfgames-writing-format build pdf",
|
||||||
"build:epub": "mfgames-writing-format build epub",
|
"build:epub": "mfgames-writing-format build epub",
|
||||||
"build": "npm run build:epub && npm run build:mobi && npm run build:pdf && npm run build:html && npm run build:docx",
|
"build": "npm run build:epub && npm run build:mobi && npm run build:pdf",
|
||||||
"build:html": "mfgames-writing-format build html",
|
"build:extended": "npm run build && npm run build:html && npm run build:docx",
|
||||||
"build:docx": "sed 's@­@@g' < dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.html | pandoc -f html -t docx -o dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.docx",
|
"build:docx": "sed 's@­@@g' < dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.html | pandoc -f html -t docx -o dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.docx",
|
||||||
"build:mobi": "kindlegen dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.epub",
|
"build:mobi": "kindlegen dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.epub",
|
||||||
|
"build:html": "mfgames-writing-format build html",
|
||||||
"commitmsg": "commitlint -E GIT_PARAMS"
|
"commitmsg": "commitlint -E GIT_PARAMS"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fedran/writing-hyphen": "^1.0.0",
|
"@fedran/writing-hyphen": "^1.0.0",
|
||||||
"@fedran/writing-theme": "^1.2.5",
|
"@fedran/writing-theme": "^2.0.2",
|
||||||
"@mfgames-writing/epub2": "^1.1.3",
|
"@mfgames-writing/epub2": "^1.1.3",
|
||||||
"@mfgames-writing/format": "^2.0.0",
|
"@mfgames-writing/format": "^2.0.0",
|
||||||
"@mfgames-writing/guillemet": "^1.0.0",
|
"@mfgames-writing/guillemet": "^1.0.0",
|
||||||
|
@ -33,14 +34,14 @@
|
||||||
"@mfgames-writing/weasyprint": "^3.0.2"
|
"@mfgames-writing/weasyprint": "^3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^7.0.0",
|
"@commitlint/cli": "^7.5.2",
|
||||||
"@commitlint/config-conventional": "^7.0.1",
|
"@commitlint/config-conventional": "^7.5.0",
|
||||||
"@semantic-release/changelog": "^3.0.0",
|
"@semantic-release/changelog": "^3.0.2",
|
||||||
"@semantic-release/git": "^7.0.2",
|
"@semantic-release/git": "^7.0.8",
|
||||||
"commitizen": "^2.10.1",
|
"commitizen": "^2.10.1",
|
||||||
"cz-conventional-changelog": "^2.1.0",
|
"cz-conventional-changelog": "^2.1.0",
|
||||||
"husky": "^0.14.3",
|
"husky": "^0.14.3",
|
||||||
"semantic-release": "^15.9.9"
|
"semantic-release": "^15.13.3"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"release": {
|
"release": {
|
||||||
|
|
Loading…
Reference in a new issue