Skip to content

Commit

Permalink
website and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yurique committed Dec 15, 2024
1 parent 32726e3 commit 9fb52c9
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 17 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
`laminext` is a set of libraries that provide extensions, utilities and components
for [Laminar](https://github.com/raquo/Laminar) and [Airstream](https://github.com/raquo/Airstream).

## Important

Starting with version `0.17.1` the dependency organization name has changed from `io.laminext` to `dev.laminext`.

## Documentation

https://laminext.dev
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,10 @@ lazy val laminextSiteVersion: String = IO.read(file("website/.laminext-version")
lazy val thisVersionSitePrefix = s"/v/$laminextSiteVersion/"

lazy val vars = Seq(
"laminextVersion" -> "0.17.0",
"laminarVersion" -> "17.0.0",
"laminextVersion" -> "0.17.1",
"laminarVersion" -> "17.2.0",
"scalajsVersion" -> "1.16.0",
"scala3version" -> "3.3.1",
"scala3version" -> "3.3.4",
)

def templateVars(s: String): String =
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/core/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "core" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "core" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/fetch/circe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "fetch-circe" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "fetch-circe" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/fetch/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "fetch" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "fetch" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/fetch/upickle.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "fetch-upickle" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "fetch-upickle" % "{{laminextVersion}}"
```

```scala
Expand Down
11 changes: 11 additions & 0 deletions website/src/main/resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
laminext is a set of libraries that provide extensions, utilities and components
for [Laminar](https://github.com/raquo/Laminar) and [Airstream](https://github.com/raquo/Airstream).

<div class="bg-sky-200 px-8 py-4">
<div class="font-bold">
Important!
</div>

<div>
Starting with version 0.17.1 the dependency organization name has changed from "io.laminext" to "dev.laminext".
</div>
</div>


#### laminext `0.17.x` is for Laminar `17.x`.

* [core](/core) – core extensions and utilities
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/tailwind/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There will be no replacement for the `buttons` utilities, other functionality wi
of the styling framework and will be moved to the `ui` module.

```scala
libraryDependencies += "io.laminext" %%% "tailwind" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "tailwind" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/tailwind/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ There is the `tailwind-default-theme` module that provides a default theme that
from.

```scala
libraryDependencies += "io.laminext" %%% "tailwind-default-theme" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "tailwind-default-theme" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/ui/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "ui" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "ui" % "{{laminextVersion}}"
```

A set of small UI components.
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/util/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "util" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "util" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/validation/cats.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "validation-cats" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "validation-cats" % "{{laminextVersion}}"
```

This module provides the the `&` and `|` combinators. These are non fail-fast and will report
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/validation/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "validation" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "validation" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/websocket/circe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "websocket-circe" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "websocket-circe" % "{{laminextVersion}}"
```

The `websocket-circe` module provides an extension method for the `WebSocketReceiveBuilder`: `.json[Receive, Send]`:
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/websocket/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "websocket" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "websocket" % "{{laminextVersion}}"
```

```scala
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/resources/doc/websocket/upickle.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```scala
libraryDependencies += "io.laminext" %%% "websocket-upickle" % "{{laminextVersion}}"
libraryDependencies += "dev.laminext" %%% "websocket-upickle" % "{{laminextVersion}}"
```

The `websocket-upickle` module provides an extension method for the `WebSocketReceiveBuilder`: `.json[Receive, Send]`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ object PageHeader {
),
div(
cls := "hidden lg:block",
img(src := "https://img.shields.io/maven-central/v/io.laminext/core_sjs1_2.13.svg?versionPrefix=0.17", alt := "latest version on maven central")
img(src := "https://img.shields.io/maven-central/v/dev.laminext/core_sjs1_2.13.svg?versionPrefix=0.17", alt := "latest version on maven central")
),
div(
cls := "hidden lg:block relative inline-block text-left",
Expand Down

0 comments on commit 9fb52c9

Please sign in to comment.