aboutsummaryrefslogtreecommitdiff
path: root/examples/99-full-stack-applications/shared
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-06-16 10:01:31 +0100
committerHayleigh Thompson <me@hayleigh.dev>2024-06-16 10:01:31 +0100
commiteae7274bf965505b5144eb9362eb634fcd77019a (patch)
treed95f37cf2b6a18a0985c67ade89aaee23da5e602 /examples/99-full-stack-applications/shared
parentf07188d0735808ccb313aedfd7f81889de253267 (diff)
downloadlustre-eae7274bf965505b5144eb9362eb634fcd77019a.tar.gz
lustre-eae7274bf965505b5144eb9362eb634fcd77019a.zip
:wrench: Update deps, pin gleam_json to 1.0.1
Diffstat (limited to 'examples/99-full-stack-applications/shared')
-rw-r--r--examples/99-full-stack-applications/shared/gleam.toml19
-rw-r--r--examples/99-full-stack-applications/shared/manifest.toml11
-rw-r--r--examples/99-full-stack-applications/shared/src/shared.gleam5
3 files changed, 35 insertions, 0 deletions
diff --git a/examples/99-full-stack-applications/shared/gleam.toml b/examples/99-full-stack-applications/shared/gleam.toml
new file mode 100644
index 0000000..8478ab1
--- /dev/null
+++ b/examples/99-full-stack-applications/shared/gleam.toml
@@ -0,0 +1,19 @@
+name = "shared"
+version = "1.0.0"
+
+# Fill out these fields if you intend to generate HTML documentation or publish
+# your project to the Hex package manager.
+#
+# description = ""
+# licences = ["Apache-2.0"]
+# repository = { type = "github", user = "username", repo = "project" }
+# links = [{ title = "Website", href = "https://gleam.run" }]
+#
+# For a full reference of all the available options, you can have a look at
+# https://gleam.run/writing-gleam/gleam-toml/.
+
+[dependencies]
+gleam_stdlib = ">= 0.34.0 and < 2.0.0"
+
+[dev-dependencies]
+gleeunit = ">= 1.0.0 and < 2.0.0"
diff --git a/examples/99-full-stack-applications/shared/manifest.toml b/examples/99-full-stack-applications/shared/manifest.toml
new file mode 100644
index 0000000..2a7bc47
--- /dev/null
+++ b/examples/99-full-stack-applications/shared/manifest.toml
@@ -0,0 +1,11 @@
+# This file was generated by Gleam
+# You typically do not need to edit this file
+
+packages = [
+ { name = "gleam_stdlib", version = "0.38.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "663CF11861179AF415A625307447775C09404E752FF99A24E2057C835319F1BE" },
+ { name = "gleeunit", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "72CDC3D3F719478F26C4E2C5FED3E657AC81EC14A47D2D2DEBB8693CA3220C3B" },
+]
+
+[requirements]
+gleam_stdlib = { version = ">= 0.34.0 and < 2.0.0" }
+gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
diff --git a/examples/99-full-stack-applications/shared/src/shared.gleam b/examples/99-full-stack-applications/shared/src/shared.gleam
new file mode 100644
index 0000000..4b3811b
--- /dev/null
+++ b/examples/99-full-stack-applications/shared/src/shared.gleam
@@ -0,0 +1,5 @@
+import gleam/io
+
+pub fn main() {
+ io.println("Hello from shared!")
+}