Skip to content

Commit 9312194

Browse files
committed
add path to repository line in gleam.tomls
also fix bug in readme example
1 parent 6d049a3 commit 9312194

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ decoder function as fields are added:
2929

3030
```gleam
3131
import formz
32-
import formz_string/definitions
32+
import formz_string/definition
3333
3434
pub fn make_form() {
35-
use username <- formz.field(formz.named("username"), definitions.text_field())
36-
use password <- formz.field(formz.named("password"), definitions.password_field())
35+
use username <- formz.field(formz.named("username"), definition.text_field())
36+
use password <- formz.field(formz.named("password"), definition.password_field())
3737
3838
formz.create_form(#(username, password))
3939
}

formz/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ decoder function as fields are added:
2929

3030
```gleam
3131
import formz
32-
import formz_string/definitions
32+
import formz_string/definition
3333
3434
pub fn make_form() {
35-
use username <- formz.field(formz.named("username"), definitions.text_field())
36-
use password <- formz.field(formz.named("password"), definitions.password_field())
35+
use username <- formz.field(formz.named("username"), definition.text_field())
36+
use password <- formz.field(formz.named("password"), definition.password_field())
3737
3838
formz.create_form(#(username, password))
3939
}

formz/gleam.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# For a full reference of all the available options, you can have a look at
22
# https://gleam.run/writing-gleam/gleam-toml/.
33
name = "formz"
4-
version = "2.0.0"
4+
version = "2.0.1"
55
description = "Accessible, type safe form parsing and generating for Gleam"
66
licences = ["Unlicense"]
7-
repository = { type = "github", user = "bentomas", repo = "formz" }
7+
repository = { type = "github", user = "bentomas", repo = "formz", path = "formz" }
88
gleam = ">= 1.6.0"
99

1010
[dependencies]

formz_lustre/gleam.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# For a full reference of all the available options, you can have a look at
22
# https://gleam.run/writing-gleam/gleam-toml/.
33
name = "formz_lustre"
4-
version = "2.0.0"
4+
version = "2.0.1"
55
description = "Lustre widgets and field definitions for the formz library."
66
licences = ["Unlicense"]
7-
repository = { type = "github", user = "bentomas", repo = "formz" }
7+
repository = { type = "github", user = "bentomas", repo = "formz", path = "formz_lustre" }
88

99
[dependencies]
1010
# formz = { path = "../formz" }

formz_nakai/gleam.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# For a full reference of all the available options, you can have a look at
22
# https://gleam.run/writing-gleam/gleam-toml/.
33
name = "formz_nakai"
4-
version = "2.0.0"
4+
version = "2.0.1"
55
description = "Nakai widgets and field definitions for the formz library."
66
licences = ["Unlicense"]
7-
repository = { type = "github", user = "bentomas", repo = "formz" }
7+
repository = { type = "github", user = "bentomas", repo = "formz", path = "formz_nakai" }
88

99
[dependencies]
1010
# formz = { path = "../formz" }

formz_string/gleam.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# For a full reference of all the available options, you can have a look at
22
# https://gleam.run/writing-gleam/gleam-toml/.
33
name = "formz_string"
4-
version = "2.0.0"
4+
version = "2.0.1"
55
description = "String widgets and field definitions for the formz library."
66
licences = ["Unlicense"]
7-
repository = { type = "github", user = "bentomas", repo = "formz" }
7+
repository = { type = "github", user = "bentomas", repo = "formz", path = "formz_string" }
88

99
[dependencies]
1010
# formz = { path = "../formz" }

0 commit comments

Comments
 (0)