Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 0 additions & 4 deletions dev/exemplify/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions dev/exemplify/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions dev/exemplify/gleam.toml

This file was deleted.

18 changes: 0 additions & 18 deletions dev/exemplify/manifest.toml

This file was deleted.

41 changes: 0 additions & 41 deletions dev/exemplify/src/exemplify.gleam

This file was deleted.

5 changes: 0 additions & 5 deletions dev/exemplify/test/example.gleam

This file was deleted.

10 changes: 0 additions & 10 deletions dev/exemplify/test/exemplify_test.gleam

This file was deleted.

24 changes: 24 additions & 0 deletions drift/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

## [1.0.1] - 2025-08-03

### Fixed
- Replaces a local dev dependency with one from hex.
This works around a bug that currently makes the LSP misbehave when
browsing the package source.

## [1.0.0] - 2025-07-19

### Added
- Initial release with basic functionality.

[Unreleased]: https://github.com/sbergen/drift/compare/drift-v1.0.1...HEAD
[1.0.1]: https://github.com/sbergen/drift/releases/tag/drift-v1.0.1
[1.0.0]: https://github.com/sbergen/drift/releases/tag/v1.0.0
11 changes: 9 additions & 2 deletions drift/gleam.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
name = "drift"
version = "1.0.0"
version = "1.0.1"

description = """Define pure functional cores in target-agnostic Gleam, \
which can wrapped to run on both the Erlang and JS targets."""
licences = ["Apache-2.0"]
repository = { type = "github", user = "sbergen", repo = "drift", path = "drift" }

[documentation]
pages = [
{ title = "Changelog", path = "changelog.html", source = "./CHANGELOG.md" },
]

[dependencies]
gleam_stdlib = ">= 0.44.0 and < 2.0.0"

[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
exemplify = { path = "../dev/exemplify" }
checkmark = ">= 2.0.0 and < 3.0.0"
simplifile = ">= 2.3.0 and < 3.0.0"
envoy = ">= 1.0.2 and < 2.0.0"
8 changes: 5 additions & 3 deletions drift/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
# You typically do not need to edit this file

packages = [
{ name = "checkmark", version = "2.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "splitter"], otp_app = "checkmark", source = "hex", outer_checksum = "19903CF019FFBA036DB8986EC61C369C93FFA9185D39C0C28681FD524C2C7DF8" },
{ name = "envoy", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "envoy", source = "hex", outer_checksum = "95FD059345AA982E89A0B6E2A3BF1CF43E17A7048DCD85B5B65D3B9E4E39D359" },
{ name = "exemplify", version = "1.0.0", build_tools = ["gleam"], requirements = ["envoy", "gleam_regexp", "gleam_stdlib", "simplifile"], source = "local", path = "../dev/exemplify" },
{ name = "filepath", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "B06A9AF0BF10E51401D64B98E4B627F1D2E48C154967DA7AF4D0914780A6D40A" },
{ name = "gleam_regexp", version = "1.1.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_regexp", source = "hex", outer_checksum = "9C215C6CA84A5B35BB934A9B61A9A306EC743153BE2B0425A0D032E477B062A9" },
{ name = "gleam_stdlib", version = "0.62.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "DC8872BC0B8550F6E22F0F698CFE7F1E4BDA7312FDEB40D6C3F44C5B706C8310" },
{ name = "gleeunit", version = "1.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "63022D81C12C17B7F1A60E029964E830A4CBD846BBC6740004FC1F1031AE0326" },
{ name = "simplifile", version = "2.3.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "0A868DAC6063D9E983477981839810DC2E553285AB4588B87E3E9C96A7FB4CB4" },
{ name = "splitter", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "splitter", source = "hex", outer_checksum = "128FC521EE33B0012E3E64D5B55168586BC1B9C8D7B0D0CA223B68B0D770A547" },
]

[requirements]
exemplify = { path = "../dev/exemplify" }
checkmark = { version = ">= 2.0.0 and < 3.0.0" }
envoy = { version = ">= 1.0.2 and < 2.0.0" }
gleam_stdlib = { version = ">= 0.44.0 and < 2.0.0" }
gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
simplifile = { version = ">= 2.3.0 and < 3.0.0" }
9 changes: 7 additions & 2 deletions drift/test/drift_test.gleam
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import exemplify
import checkmark
import envoy
import gleeunit
import simplifile

pub fn main() -> Nil {
gleeunit.main()
}

pub fn check_or_update_readme_test() {
exemplify.update_or_check()
checkmark.new(simplifile.read, simplifile.write)
|> checkmark.file("README.md")
|> checkmark.should_contain_contents_of("test/example.gleam", tagged: "gleam")
|> checkmark.check_or_update(envoy.get("GITHUB_WORKFLOW") == Error(Nil))
}
12 changes: 10 additions & 2 deletions drift_actor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [2.0.1] - 2025-08-03

### Fixed
- Replaces a local dev dependency with one from hex.
This works around a bug that currently makes the LSP misbehave when
browsing the package source.

## [2.0.0] - 2025-07-20

### Changed
Expand All @@ -18,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release with basic functionality.

[Unreleased]: https://github.com/sbergen/drift/compare/drift_actor-v2.0.0...HEAD
[Unreleased]: https://github.com/sbergen/drift/compare/drift_actor-v2.0.1...HEAD
[2.0.1]: https://github.com/sbergen/drift/releases/tag/drift_actor-v2.0.1
[2.0.0]: https://github.com/sbergen/drift/releases/tag/drift_actor-v2.0.0
[1.0.0]: https://github.com/sbergen/drift/releases/tag/v1.0.0
[1.0.0]: https://github.com/sbergen/drift/releases/tag/v1.0.0
11 changes: 9 additions & 2 deletions drift_actor/gleam.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name = "drift_actor"
version = "2.0.0"
version = "2.0.1"

description = "Run drift steppers as an OTP actor on Erlang."
licences = ["Apache-2.0"]
repository = { type = "github", user = "sbergen", repo = "drift", path = "drift_actor", tag-prefix = "drift_actor-" }

[documentation]
pages = [
{ title = "Changelog", path = "changelog.html", source = "./CHANGELOG.md" },
]

[dependencies]
gleam_stdlib = ">= 0.60.0 and < 2.0.0"
gleam_otp = ">= 1.0.0 and < 2.0.0"
Expand All @@ -13,4 +18,6 @@ drift = ">= 1.0.0 and < 2.0.0"

[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
exemplify = { path = "../dev/exemplify" }
checkmark = ">= 2.0.0 and < 3.0.0"
simplifile = ">= 2.3.0 and < 3.0.0"
envoy = ">= 1.0.2 and < 2.0.0"
8 changes: 5 additions & 3 deletions drift_actor/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@
# You typically do not need to edit this file

packages = [
{ name = "checkmark", version = "2.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "splitter"], otp_app = "checkmark", source = "hex", outer_checksum = "19903CF019FFBA036DB8986EC61C369C93FFA9185D39C0C28681FD524C2C7DF8" },
{ name = "drift", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "drift", source = "hex", outer_checksum = "5820441E6AC2FE454D63ACD233358D05BEF99BB7304A7E44D604C7E8574A9DAE" },
{ name = "envoy", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "envoy", source = "hex", outer_checksum = "95FD059345AA982E89A0B6E2A3BF1CF43E17A7048DCD85B5B65D3B9E4E39D359" },
{ name = "exemplify", version = "1.0.0", build_tools = ["gleam"], requirements = ["envoy", "gleam_regexp", "gleam_stdlib", "simplifile"], source = "local", path = "../dev/exemplify" },
{ name = "filepath", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "B06A9AF0BF10E51401D64B98E4B627F1D2E48C154967DA7AF4D0914780A6D40A" },
{ name = "gleam_erlang", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_erlang", source = "hex", outer_checksum = "F91CE62A2D011FA13341F3723DB7DB118541AAA5FE7311BD2716D018F01EF9E3" },
{ name = "gleam_otp", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_erlang", "gleam_stdlib"], otp_app = "gleam_otp", source = "hex", outer_checksum = "7020E652D18F9ABAC9C877270B14160519FA0856EE80126231C505D719AD68DA" },
{ name = "gleam_regexp", version = "1.1.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_regexp", source = "hex", outer_checksum = "9C215C6CA84A5B35BB934A9B61A9A306EC743153BE2B0425A0D032E477B062A9" },
{ name = "gleam_stdlib", version = "0.62.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "DC8872BC0B8550F6E22F0F698CFE7F1E4BDA7312FDEB40D6C3F44C5B706C8310" },
{ name = "gleeunit", version = "1.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "63022D81C12C17B7F1A60E029964E830A4CBD846BBC6740004FC1F1031AE0326" },
{ name = "simplifile", version = "2.3.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "0A868DAC6063D9E983477981839810DC2E553285AB4588B87E3E9C96A7FB4CB4" },
{ name = "splitter", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "splitter", source = "hex", outer_checksum = "128FC521EE33B0012E3E64D5B55168586BC1B9C8D7B0D0CA223B68B0D770A547" },
]

[requirements]
checkmark = { version = ">= 2.0.0 and < 3.0.0" }
drift = { version = ">= 1.0.0 and < 2.0.0" }
exemplify = { path = "../dev/exemplify" }
envoy = { version = ">= 1.0.2 and < 2.0.0" }
gleam_erlang = { version = ">= 1.0.0 and < 2.0.0" }
gleam_otp = { version = ">= 1.0.0 and < 2.0.0" }
gleam_stdlib = { version = ">= 0.60.0 and < 2.0.0" }
gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
simplifile = { version = ">= 2.3.0 and < 3.0.0" }
9 changes: 7 additions & 2 deletions drift_actor/test/drift_actor_test.gleam
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import exemplify
import checkmark
import envoy
import gleeunit
import simplifile

pub fn main() -> Nil {
gleeunit.main()
}

pub fn check_or_update_readme_test() {
exemplify.update_or_check()
checkmark.new(simplifile.read, simplifile.write)
|> checkmark.file("README.md")
|> checkmark.should_contain_contents_of("test/example.gleam", tagged: "gleam")
|> checkmark.check_or_update(envoy.get("GITHUB_WORKFLOW") == Error(Nil))
}
12 changes: 10 additions & 2 deletions drift_js/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [1.1.0] - 2025-08-03

### Fixed
- Replaces a local dev dependency with one from hex.
This works around a bug that currently makes the LSP misbehave when
browsing the package source.

### Added
- Adds the `send_after` function to `runtime`, which allows sending messages
with a delay, or scheduling them on the task queue with a delay of zero.
Expand All @@ -22,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release with basic functionality.

[Unreleased]: https://github.com/sbergen/drift/compare/drift_js-v1.0.1...HEAD
[Unreleased]: https://github.com/sbergen/drift/compare/drift_js-v1.1.0...HEAD
[1.1.0]: https://github.com/sbergen/drift/releases/tag/drift_js-v1.1.0
[1.0.1]: https://github.com/sbergen/drift/releases/tag/drift_js-v1.0.1
[1.0.0]: https://github.com/sbergen/drift/releases/tag/v1.0.0
[1.0.0]: https://github.com/sbergen/drift/releases/tag/v1.0.0
11 changes: 9 additions & 2 deletions drift_js/gleam.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
name = "drift_js"
version = "1.0.1"
version = "1.1.0"
target = "javascript"

description = "Run drift steppers on JavaScript targets."
licences = ["Apache-2.0"]
repository = { type = "github", user = "sbergen", repo = "drift", path = "drift_js", tag-prefix = "drift_js-" }
internal_modules = ["drift/js/internal/*"]

[documentation]
pages = [
{ title = "Changelog", path = "changelog.html", source = "./CHANGELOG.md" },
]

[dependencies]
gleam_stdlib = ">= 0.44.0 and < 2.0.0"
gleam_javascript = ">= 1.0.0 and < 2.0.0"
drift = ">= 1.0.0 and < 2.0.0"

[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
exemplify = { path = "../dev/exemplify" }
checkmark = ">= 2.0.0 and < 3.0.0"
simplifile = ">= 2.3.0 and < 3.0.0"
envoy = ">= 1.0.2 and < 2.0.0"
8 changes: 5 additions & 3 deletions drift_js/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@
# You typically do not need to edit this file

packages = [
{ name = "checkmark", version = "2.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib", "splitter"], otp_app = "checkmark", source = "hex", outer_checksum = "19903CF019FFBA036DB8986EC61C369C93FFA9185D39C0C28681FD524C2C7DF8" },
{ name = "drift", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "drift", source = "hex", outer_checksum = "5820441E6AC2FE454D63ACD233358D05BEF99BB7304A7E44D604C7E8574A9DAE" },
{ name = "envoy", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "envoy", source = "hex", outer_checksum = "95FD059345AA982E89A0B6E2A3BF1CF43E17A7048DCD85B5B65D3B9E4E39D359" },
{ name = "exemplify", version = "1.0.0", build_tools = ["gleam"], requirements = ["envoy", "gleam_regexp", "gleam_stdlib", "simplifile"], source = "local", path = "../dev/exemplify" },
{ name = "filepath", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "B06A9AF0BF10E51401D64B98E4B627F1D2E48C154967DA7AF4D0914780A6D40A" },
{ name = "gleam_javascript", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_javascript", source = "hex", outer_checksum = "EF6C77A506F026C6FB37941889477CD5E4234FCD4337FF0E9384E297CB8F97EB" },
{ name = "gleam_regexp", version = "1.1.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_regexp", source = "hex", outer_checksum = "9C215C6CA84A5B35BB934A9B61A9A306EC743153BE2B0425A0D032E477B062A9" },
{ name = "gleam_stdlib", version = "0.59.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "F8FEE9B35797301994B81AF75508CF87C328FE1585558B0FFD188DC2B32EAA95" },
{ name = "gleeunit", version = "1.3.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "A7DD6C07B7DA49A6E28796058AA89E651D233B357D5607006D70619CD89DAAAB" },
{ name = "simplifile", version = "2.3.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "0A868DAC6063D9E983477981839810DC2E553285AB4588B87E3E9C96A7FB4CB4" },
{ name = "splitter", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "splitter", source = "hex", outer_checksum = "128FC521EE33B0012E3E64D5B55168586BC1B9C8D7B0D0CA223B68B0D770A547" },
]

[requirements]
checkmark = { version = ">= 2.0.0 and < 3.0.0" }
drift = { version = ">= 1.0.0 and < 2.0.0" }
exemplify = { path = "../dev/exemplify" }
envoy = { version = ">= 1.0.2 and < 2.0.0" }
gleam_javascript = { version = ">= 1.0.0 and < 2.0.0" }
gleam_stdlib = { version = ">= 0.44.0 and < 2.0.0" }
gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
simplifile = { version = ">= 2.3.0 and < 3.0.0" }
Loading