Commit graph

3906 commits

Author SHA1 Message Date
allcontributors[bot] c9e4ec2a4e docs: update .all-contributorsrc [skip ci] 2024-11-07 16:33:15 +01:00
allcontributors[bot] e335c4d325 docs: update website/docs/contributors.md [skip ci] 2024-11-07 16:33:15 +01:00
allcontributors[bot] 03d34c77b0 docs: update .all-contributorsrc [skip ci] 2024-11-07 11:43:18 +01:00
allcontributors[bot] 51b78fde00 docs: update website/docs/contributors.md [skip ci] 2024-11-07 11:43:18 +01:00
Jan De Dobbeleer af76a9a3cc fix(templates): restore templates_logic 2024-11-07 10:45:27 +01:00
L. Yeung 48c4de31e5 docs(upgrade): update description of cache_duration property 2024-11-07 10:45:27 +01:00
L. Yeung 9100d702c4 chore(schema): update definitions 2024-11-07 10:45:27 +01:00
Jan De Dobbeleer 86291dc6bc fix(template): load cache before evaluation starts 2024-11-07 09:19:00 +01:00
dependabot[bot] 03dfd0e469 chore: bump github.com/charmbracelet/bubbletea in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-07 00:54:36 +00:00
Jan De Dobbeleer 63d79fe294 fix(upgrade): restore caching mechanism
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-11-06 19:37:13 +01:00
Jan De Dobbeleer 905dd2093d docs(segment): remove include folders from properties 2024-11-06 19:37:13 +01:00
Jan De Dobbeleer 466f9e72b8 fix(cli): revert breaking CLI change
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-11-06 06:47:13 +01:00
Jan De Dobbeleer 7de2809187 fix(segment): evaluate all needs 2024-11-06 06:47:13 +01:00
L. Yeung 472bd6fba7 fix(cli): correct help text
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-11-05 18:19:07 +01:00
L. Yeung 2c982b2f0d chore(schema): correct properties of cache in segment 2024-11-05 18:19:07 +01:00
L. Yeung 0a5e1f6e8e fix(template): add missing .PSWD 2024-11-05 18:19:07 +01:00
Jan De Dobbeleer 74326fc4f2 chore(debug): use provided shell name 2024-11-05 13:13:46 +01:00
Jan De Dobbeleer da6c925945 fix(prompt): render segments when everything is executed
resolves #5816
2024-11-05 13:13:46 +01:00
Jan De Dobbeleer 52c39b8d30 fix(cache): use correct duration strings
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
resolves #5814
resolves #5812
2024-11-05 08:47:32 +01:00
dependabot[bot] 2a3b26f9fd chore: bump actions/setup-node from 4.0.4 to 4.1.0
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](0a44ba7841...39370e3970)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 00:11:28 +00:00
Jan De Dobbeleer 014dc08e82 fix(block): do not print newline when empty 2024-11-04 20:06:11 +01:00
Jan De Dobbeleer 225f6c6b76 fix(segment): ignore empty colors 2024-11-04 20:06:11 +01:00
Jan De Dobbeleer c457f23734 fix(notice): validate correct keyword 2024-11-04 20:06:11 +01:00
Jan De Dobbeleer 075eacaaf9 fix(init): use positional parameter
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
instead of being a complete idiot

resolves #5804
2024-11-04 18:43:03 +01:00
Jan De Dobbeleer a54041ef87 fix(build): reintroduce 386 builds
it turns out this was an issue with goreleaser,
not with the 386 builds themselves.
2024-11-04 16:52:06 +01:00
Jan De Dobbeleer 0b76beaff4 fix(image): initialize image correctly 2024-11-04 14:49:26 +01:00
Jan De Dobbeleer bb22204365 chore: pin goreleaser to v2.3.2 2024-11-04 14:29:02 +01:00
Jan De Dobbeleer 75aebca3f8 chore: remove remnant i386 reference 2024-11-04 14:29:02 +01:00
Jan De Dobbeleer 520a1b5825 chore: upgrade to go1.23.2 2024-11-04 14:29:02 +01:00
Jan De Dobbeleer b51a2ceb32 chore: deprecate i386 builds 2024-11-04 13:55:06 +01:00
Jan De Dobbeleer 440be08a42 chore: remove commented out code 2024-11-04 13:55:06 +01:00
Jan De Dobbeleer 4ebbdd3c18 fix(image): initialize image CLI correctly 2024-11-04 13:55:06 +01:00
Jan De Dobbeleer 6a8cecb73b fix(color): resolve palette before ANSI conversion
resolves #5790
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 4ac1033706 refactor: move exclude/include folders to segment root 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 404f4e0f31 docs: use Config component instead of raw JSON 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer b3b41fc60d feat(language): add version caching for 1 week 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer ad5534baa8 refactor: code layout 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer cea18715bb refactor: add config version 3 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer d479ef88fd refactor: remove unused cache_version references 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer ab39417dc2 fix(windows): do not follow app store symlinks 2024-11-04 12:15:40 +01:00
Oleksandr Babieiev d64de61436 feat(project): add support for mojo 2024-11-04 12:15:40 +01:00
Oleksandr Babieiev 2791f78e46 docs(project): adjust typo 2024-11-04 12:15:40 +01:00
Oleksandr Babieiev 6ae82f4c78 feat(segment): add mojo 2024-11-04 12:15:40 +01:00
Oleksandr Babieiev 17c19c3157 feat(project): add support for dart 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer fbcd78eff1 feat(cache): create .cache if no other options are found
resolves #5758
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 9f576507b1 feat: expose segment output text
resolves #5750
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer d4054b04d6 refactor: parallel segment rendering 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 87404454a4 refactor(upgrade): allow setting from CLI 2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 42b776be36 refactor(segment): remove templates
BREAKING CHANGE: with templates being removed, this need to be a single template element now
2024-11-04 12:15:40 +01:00
Jan De Dobbeleer 724d25b4ee refactor: remove unused cache_timeout references 2024-11-04 12:15:40 +01:00