Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
breck7 committed Jul 9, 2024
1 parent 18f6c5e commit 3c30cbb
Show file tree
Hide file tree
Showing 4 changed files with 1,673 additions and 1,585 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ sublime/
.DS_Store
*.html
*.txt
*.csv
*.json
*.tsv
package-lock.json
71 changes: 71 additions & 0 deletions changes.parsers
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// 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
}
2 changes: 1 addition & 1 deletion readme.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mediumColumns 1

# Docs
- SDK Release Notes
https://sdk.scroll.pub/releaseNotes.html
link releaseNotes.html
- Scroll Notation Homepage
https://notation.scroll.pub
- Scroll Notation FAQ
Expand Down
Loading

0 comments on commit 3c30cbb

Please sign in to comment.