Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: flavor iteration, rework --overrides & add examples #111

Merged
merged 33 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
a3c1c1f
feat: add `flavor` iteration with new option `all`
sgoudham Dec 16, 2023
3876f71
refactor: preserve order with `indexmap`
sgoudham Dec 16, 2023
b9b9c2b
build: no need to explicitly define `std`
sgoudham Dec 16, 2023
9759473
feat: allow frontmatter for each flavour
sgoudham Dec 20, 2023
4e0a27b
feat: allow root context frontmatter
sgoudham Dec 20, 2023
50eef71
refactor: add frontmatter tests
sgoudham Dec 21, 2023
d1a8d83
refactor: allow overrides to root context
sgoudham Dec 21, 2023
429478d
feat!: pass JSON via `--overrides`
sgoudham Dec 23, 2023
87c5eec
refactor: add more examples & add cli tests
sgoudham Dec 23, 2023
57bbf2b
chore: format
sgoudham Dec 23, 2023
7f4f2d2
feat: more examples
sgoudham Dec 23, 2023
c074e80
refactor: simplify example
sgoudham Dec 23, 2023
a043fab
refactor: add sad path test for `errors.hbs`
sgoudham Dec 23, 2023
8c356b9
chore: format
sgoudham Dec 23, 2023
bdddc7d
refactor: add failing tests
sgoudham Dec 23, 2023
896160b
fix: failing cli overrides test
sgoudham Dec 23, 2023
ca0795e
refactor: restructure and add more tests
sgoudham Dec 23, 2023
59ccb13
chore: reformat & tidy up comments
sgoudham Dec 23, 2023
423cafe
refactor: restructure and move examples
sgoudham Dec 23, 2023
bb17e3a
chore: reformat
sgoudham Dec 23, 2023
62f6398
refactor(overrides): don't mention YAML
sgoudham Dec 24, 2023
db7e14e
refactor: restructure tests
sgoudham Dec 24, 2023
f4700ee
refactor(tests): use `include_str!`
sgoudham Dec 24, 2023
775ab4c
docs: update README
sgoudham Dec 24, 2023
9d9f194
docs(README): mention RFC
sgoudham Dec 24, 2023
591894c
refactor: remove the `all` override
sgoudham Dec 24, 2023
8bdd8cd
refactor: restructure examples
sgoudham Dec 24, 2023
a23ce8c
docs(README): add single file support
sgoudham Dec 24, 2023
82d636c
refactor: add example of generating accent files
sgoudham Dec 25, 2023
1de2c75
docs(README): change name of file
sgoudham Dec 25, 2023
703285b
refactor: delete complex examples
sgoudham Jan 27, 2024
b3d5b51
docs(examples): add `single-file`
sgoudham Feb 3, 2024
08cf355
docs(README): mention `examples/` again
sgoudham Feb 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 145 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions whiskers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,21 @@ path = "src/main.rs"
[dependencies]
base64 = "0.21"
catppuccin = { version = "1.3", features = ["css"] }
indexmap = { version = "2.1.0", features = ["serde"] }
clap = { version = "4.4", features = ["derive"] }
clap-stdin = "0.2"
clap-stdin = "0.3.0"
color-eyre = { version = "0.6", default-features = false }
css-colors = "1.0"
handlebars = "4.5"
regex = "1.10"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_json = { version = "1.0", features = ["preserve_order"] }
serde_yaml = "0.9"
tempfile = "3.8"
thiserror = "1.0"
titlecase = "2.2"
json-patch = "1.2.0"

[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.0.4"
Loading