From 7a5056e030c954c81ccdf42dcfb8ef2f9881ad94 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Sun, 10 May 2020 01:04:13 -0500 Subject: [PATCH] chore: updated the lint and added missing teasers --- chapters/chapter-01.md | 2 ++ chapters/chapter-02.md | 2 ++ chapters/chapter-03.md | 2 ++ chapters/chapter-04.md | 2 ++ chapters/chapter-07.md | 2 ++ chapters/chapter-14.md | 4 +++- chapters/chapter-15.md | 2 ++ chapters/chapter-16.md | 2 ++ chapters/chapter-17.md | 2 ++ package-lock.json | 6 +++--- package.json | 7 ++++--- 11 files changed, 26 insertions(+), 7 deletions(-) diff --git a/chapters/chapter-01.md b/chapters/chapter-01.md index 05fb0b1..4dc4857 100644 --- a/chapters/chapter-01.md +++ b/chapters/chapter-01.md @@ -3,6 +3,8 @@ title: Always Moving age: 5 years summary: > While Linsan waits for her mother to come home, she bounces around on the furniture and talks to her father. She announces that she has named a violin her father is making Palisis and learns that the violin is for her father's first wife who got married to her mother's best friend. +teaser: > + Linsan is impatiently waiting for her mother to come back. As she does, she bounces around the furniture and teases her father. --- > For eight generations, the Sterlig Family crafted some of the most treasured string instruments throughout Kormar. --- *History of Traditional Music* diff --git a/chapters/chapter-02.md b/chapters/chapter-02.md index 56f98b2..c2cdd35 100644 --- a/chapters/chapter-02.md +++ b/chapters/chapter-02.md @@ -3,6 +3,8 @@ title: Early Lessons age: 9 (or 6) summary: > Years later, Linsan is learning how to play the violin from her father. The lesson is interrupted when Dukan, her father's best friend and manager for the business, visits in a panic to tell him that the family's workshop in the valley is on fire. +teaser: > + Years later, Linsan is learning how to play the violin from her father. At least, until there was an interruption. --- > Much of the the Sterlig fame comes from the distinctive wood harvested from the family-owned valley near the city of Penesol. --- *History of Traditional Music* diff --git a/chapters/chapter-03.md b/chapters/chapter-03.md index 8f5fe62..fd9ae84 100644 --- a/chapters/chapter-03.md +++ b/chapters/chapter-03.md @@ -3,6 +3,8 @@ title: Home Early age: 14 years summary: > Unable to visit the burnt remains of the family's workshop, Linsan comes home to find her father work in depression. He had given up working on instruments and switched to writing articles about music. She goes into the attic to put some books away and finds Palisis in a corner, returned after Marin's death. She plays it, but then finds out that no one had ever played it before. +teaser: > + Unable to visit the burnt remains of the family's workshop, Linsan comes home to find her father work in depression. --- > No one understands the mystical connection formed during that first note played by a musician on a new instrument. --- *Tears of the Broken Harp* (Act 2, Scene 8) diff --git a/chapters/chapter-04.md b/chapters/chapter-04.md index 10a45ac..097aac9 100644 --- a/chapters/chapter-04.md +++ b/chapters/chapter-04.md @@ -3,6 +3,8 @@ title: Solace in Memories age: 14 years summary: > As Linsan frequently did, she visited the family's ruins after school. The spot gave her peace despite everything they had lost. However, a bully from school, Dukan's daughter Brook, follows after her and they fight. During the brawl, they both manifest their powers: Linsan with music and Brook with concussion powers. +teaser: > + As Linsan frequently did, she visited the family's ruins after school. The spot gave her peace despite everything they had lost. However, a bully from school, Dukan's daughter Brook, shows up. --- > Time is the only determination when stress ignites the first manifestations of power. Is the degree of emotion and the threat of life that determines the nature and measure of the power that comes forth. --- Jakor Habir-Nos, *Threats of the Children of Power* diff --git a/chapters/chapter-07.md b/chapters/chapter-07.md index 741f3d9..3d3ddae 100644 --- a/chapters/chapter-07.md +++ b/chapters/chapter-07.md @@ -2,6 +2,8 @@ title: Decisions summary: > On the day after her eighteenth birthday, Linsan realizes that her parents were losing money every day. She comes to the decision to ask for money from Dukan, though she wasn't going to tell either her mother or father about her choice. +teaser: > + On the day after her eighteenth birthday, Linsan realizes that her parents were losing money every day. She comes to the decision to ask for money from Dukan. age: 18 years --- diff --git a/chapters/chapter-14.md b/chapters/chapter-14.md index 01101ae..4ddfafe 100644 --- a/chapters/chapter-14.md +++ b/chapters/chapter-14.md @@ -1,7 +1,9 @@ --- title: An Empty Room summary: > - At the end of her first day, Linsan was no longer to finding the murderers. It was, however, her first time in a strange village. She had the money to pay for it, but how long would that last. + At the end of her first day, Linsan was no longer excited about finding the murderers. It was, however, her first time in a strange village. She had the money to pay for it, but how long would that last. +teaser: > + At the end of her first day, Linsan was no longer excited about finding the murderers. --- > The cheap busker moved from inn to inn, always looking for the next crown and a new story to tell. --- Horgoek Ladow, *Never Stop Falling, Never Stop Playing* diff --git a/chapters/chapter-15.md b/chapters/chapter-15.md index bfdc963..c8a914c 100644 --- a/chapters/chapter-15.md +++ b/chapters/chapter-15.md @@ -2,6 +2,8 @@ title: High at Night summary: > At the end of her first night singing and dancing under her own skills, Linsan is excited that it was a success. She had earned her keep with music and magic. +teaser: > + At the end of her first night singing and dancing under her own skills, Linsan is excited that it was a success. She had earned her keep with music and magic. --- > The first time I paid for dinner with money I'd earned was an experience I could never forget. --- Horgoek Ladow, *Never Stop Falling, Never Stop Playing* diff --git a/chapters/chapter-16.md b/chapters/chapter-16.md index 3640ead..b2f018a 100644 --- a/chapters/chapter-16.md +++ b/chapters/chapter-16.md @@ -2,6 +2,8 @@ title: Luck and Wagons summary: > In the morning, Linsan gets back on the road but the slow pace of her walking quickly frustrates her. Fortunately, an opportunity presents itself. +teaser: > + In the morning, Linsan gets back on the road but the slow pace of her walking quickly frustrates her. Fortunately, an opportunity presents itself. --- > Outside of winter, hitching a ride on passing wagons was a relatively safe way of traveling long distance. The war changed that. --- Gardol de Hastor, *The Changing Ways of Transportation* diff --git a/chapters/chapter-17.md b/chapters/chapter-17.md index 51f43cc..3178e7b 100644 --- a/chapters/chapter-17.md +++ b/chapters/chapter-17.md @@ -2,6 +2,8 @@ title: A Glimmer of Hope summary: > A chance stop in a village gives Linsan hope that she is still on the trail of the murderers. +teaser: > + A chance stop in a village gives Linsan hope that she is still on the trail of the murderers. --- > It is considered poor form to demand payment from hitchhikers. However, requests to pay for meal and supplies are allowed, as long as they are truly requests and not demands. --- Gardol de Hastor, *The Changing Ways of Transportation* diff --git a/package-lock.json b/package-lock.json index 383dbe8..36bbbc6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -254,9 +254,9 @@ } }, "@fedran/lint": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/@fedran/lint/-/lint-0.0.3.tgz", - "integrity": "sha512-RhUz/+xpalQfIwyCWkp7fQaQx/S9+jEYZ369giPVToj6chto5vrJAWuYiYGfjGYCPkjQ9L50Q3z7MwDNsMVfNA==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@fedran/lint/-/lint-0.1.0.tgz", + "integrity": "sha512-ecInpNkByiu7WfiNZbUD1WgrZsnfnO5eXgx/q9rNKFPviZ49BwgQZMIhdToEFSqz44+KaN97uGz2JhCzRLvK/w==", "requires": { "debug": "^4.1.1", "globby": "^11.0.0", diff --git a/package.json b/package.json index 379a64c..72536aa 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,11 @@ "bundle": "tar -cjf $npm_package_name.tar.bz2 *.epub *.pdf", "prebundle": "npm run build", "upload": "aws --endpoint-url https://$AWS_ENDPOINT s3 cp --acl public-read $npm_package_name.tar.bz2 s3://$AWS_BUCKET/$npm_package_name.tar.bz2", - "preupload": "npm run bundle" + "preupload": "npm run bundle", + "lint": "fedran-lint --require-teaser" }, "dependencies": { - "@fedran/lint": "0.0.3", + "@fedran/lint": "^0.1.0", "@fedran/writing-hyphen": "^1.0.0", "@fedran/writing-theme": "^3.0.5", "@mfgames-writing/epub2": "^1.1.8", @@ -82,7 +83,7 @@ }, "husky": { "hooks": { - "pre-commit": "fedran-lint -q", + "pre-commit": "npm run lint", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }