diff --git a/changes.parsers b/changes.parsers deleted file mode 100644 index 0aa6ead08..000000000 --- a/changes.parsers +++ /dev/null @@ -1,71 +0,0 @@ -// Changes: A Mini-Language for Change Logs. - -// https://github.com/breck7/scroll/blob/main/changes.parsers - -versionParser - crux 📦 - cells keywordCell semanticVersionCell dateCell - description What is the semantic version number? - extends h1Parser - // Todo: mixins in Parsers would make this easier. - boolean isMeasure true - boolean isMeasureRequired true - boolean isConceptDelimiter true - float sortIndex 1 - javascript - get measureValue() { - return this.getWord(1) - } - measureName = "version" - -bugFixParser - crux 🏥 - extends abstractCustomListItemParser -newFeatureParser - crux 🎉 - extends abstractCustomListItemParser -breakingChangeParser - crux ⚠️ - extends abstractCustomListItemParser -styleTweakParser - crux 🎨 - extends abstractCustomListItemParser - -releaseDateParser - extends abstractMeasureParser - boolean isMeasureRequired true - boolean isComputed true - float sortIndex 1.1 - javascript - computeValue(concept) { - return concept.nodeAt(0).getWord(2) - } - -abstractSummaryParser - extends abstractMeasureParser - boolean isComputed true - float sortIndex 1.2 - -bugFixesParser - extends abstractSummaryParser - description How many bug fixes in this release? - javascript - computeValue(concept) { - return concept.findNodes("🏥").length - } - -newFeaturesParser - extends abstractSummaryParser - description How many new features in this release? - javascript - computeValue(concept) { - return concept.findNodes("🎉").length - } - -breakingChangesParser - extends abstractSummaryParser - description How many breaking changes in this release? - javascript - computeValue(concept) { - return concept.findNodes("⚠️").length - } diff --git a/releaseNotes.scroll b/releaseNotes.scroll index ef4628131..fd87a282e 100644 --- a/releaseNotes.scroll +++ b/releaseNotes.scroll @@ -14,7 +14,7 @@ Download as CSV | TSV | JSON link releaseNotes.tsv TSV link releaseNotes.json JSON
-import changes.parsers +import node_modules/scroll-cli/microlangs/changes.parsers thinColumns 4