Skip to content

Commit

Permalink
Update scala-cli examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sake92 committed Feb 27, 2024
1 parent 32fef70 commit e98709b
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion docs/src/utils/Consts.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object Consts:

val ArtifactOrg = "ba.sake"
val ArtifactName = "sharaf"
val ArtifactVersion = "0.1.0"
val ArtifactVersion = "0.3.0"

val GhHandle = "sake92"
val GhProjectName = "sharaf"
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/form_handling.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import scalatags.Text.all.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/hello.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import ba.sake.sharaf.*, routing.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/html.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import scalatags.Text.all.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_active_search.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/active-search/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_animations.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/animations/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_bulk_update.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/bulk-update/
import io.undertow.Undertow
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_cascading_selects.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/value-select/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_click_edit.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/click-to-edit/
import io.undertow.Undertow
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_click_to_load.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/click-to-load/
import java.util.UUID
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_delete_row.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/delete-row/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_dialogs_bootstrap.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/modal-bootstrap/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_dialogs_bootstrap_form.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// example of BS5 modal with a form

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_dialogs_browser.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/dialogs/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_edit_row.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/edit-row/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_file_upload_js.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import scalatags.Text.all.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_infinite_scroll.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/click-to-load/
import java.util.UUID
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_inline_validation.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/inline-validation/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_lazy_load.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

// https://htmx.org/examples/lazy-load/

Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_load_snippet.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import scalatags.Text.all.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_progress_bar.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0
import java.util.concurrent.TimeUnit

// https://htmx.org/examples/progress-bar/
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/htmx/htmx_tabs_hateoas.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import scalatags.Text.all.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/json_api.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import ba.sake.tupson.JsonRW
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/json_api.test.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0
//> using test.dep org.scalameta::munit::1.0.0-M10

import io.undertow.Undertow
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/path_params.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import ba.sake.sharaf.*, routing.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/query_params.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import ba.sake.querson.QueryStringRW
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/sql_db.sc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//> using scala "3.4.0"
//> using dep org.postgresql:postgresql:42.7.1
//> using dep com.zaxxer:HikariCP:5.1.0
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0
//> using dep ba.sake::squery:0.3.0

import io.undertow.Undertow
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/static_files.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import ba.sake.sharaf.*, routing.*
Expand Down
2 changes: 1 addition & 1 deletion examples/scala-cli/validation.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//> using scala "3.4.0"
//> using dep ba.sake::sharaf:0.1.0
//> using dep ba.sake::sharaf:0.3.0

import io.undertow.Undertow
import ba.sake.querson.QueryStringRW
Expand Down

0 comments on commit e98709b

Please sign in to comment.