-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* polishing stuff
- Loading branch information
Showing
10 changed files
with
112 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,25 @@ | ||
#mill | ||
out | ||
|
||
# sbt | ||
lib_managed | ||
project/project | ||
target | ||
|
||
# Eclipse | ||
.cache* | ||
.classpath | ||
.project | ||
.scala_dependencies | ||
.settings | ||
.target | ||
.worksheet | ||
|
||
# IntelliJ | ||
.idea | ||
.idea_modules | ||
*.iml | ||
|
||
# ENSIME | ||
.ensime | ||
.ensime_lucene | ||
.ensime_cache | ||
|
||
# Mac | ||
.DS_Store | ||
|
||
# Akka Persistence | ||
journal | ||
snapshots | ||
|
||
# Log files | ||
*.log | ||
|
||
#Floobits | ||
.floo | ||
|
||
# Local Dynamo DB | ||
dynamodb_lib | ||
*.db | ||
|
||
# Node | ||
node_modules | ||
website/translated_docs | ||
website/build/ | ||
website/yarn.lock | ||
website/node_modules | ||
website/i18n/* | ||
|
||
.bloop | ||
target/ | ||
project/plugins/project/ | ||
boot/ | ||
lib_managed/ | ||
src_managed/ | ||
|
||
# vim | ||
*.sw? | ||
|
||
# intellij | ||
.idea/ | ||
|
||
# ignore [ce]tags files | ||
tags | ||
|
||
# metals | ||
.metals/ | ||
.bsp/ | ||
.bloop/ | ||
metals.sbt | ||
.vscode | ||
.history | ||
.metals | ||
project/metals.sbt | ||
.ammonite | ||
|
||
# Version file | ||
version | ||
|
||
# BSP files | ||
.bsp | ||
|
||
.direnv | ||
# npm | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
version = "3.1.2" | ||
runner.dialect = scala213 | ||
project { | ||
excludePaths = [ | ||
"glob:**/core/src/generated/*.scala", | ||
"glob:**/example/src/smithy4s/**/*.scala", | ||
"glob:**/schematic-core/src/generated/*.scala", | ||
"glob:**/schematic-scalacheck/src/generated/*.scala" | ||
] | ||
} | ||
|
||
version = 3.7.1 | ||
runner.dialect = scala213source3 | ||
docstrings.style = keep | ||
|
||
fileOverride { | ||
"glob:**/src-3/**.scala" { | ||
"glob:**/scala-3/**" { | ||
runner.dialect = scala3 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Smithy4s-ZIO | ||
|
||
- A few small libs based off the great [Smithy4s](https://disneystreaming.github.io/smithy4s/) to enable integration with ZIO ecosystem. | ||
#### Keep in mind this is WIP | ||
|
||
|
||
## notes | ||
- This doc assumes understanding of Smithy and Smithy4s. For all questions related to Smithy4s and the core concepts please see the Smithy4s documentation [here](https://disneystreaming.github.io/smithy4s/) and the [Smithy](https://awslabs.github.io/smithy/) documentation. | ||
|
||
|
||
### Usage | ||
|
||
This library is currently available for Scala binary versions 2.13 and 3.1. | ||
|
||
To use the latest version, include the following in your `build.sbt`: | ||
|
||
```scala | ||
libraryDependencies ++= Seq( | ||
"io.github.yisraelu" %% "quickstart" % "@VERSION@" | ||
) | ||
``` | ||
|
||
|
||
### Quickstart (borrows from Smithy4s example) | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.2") | ||
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.9.1") | ||
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.6") | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.15") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.14.0") | ||
addSbtPlugin("com.disneystreaming.smithy4s" % "smithy4s-sbt-codegen" % "0.18.8") | ||
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.3") | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") | ||
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.6.5") | ||
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.6.5") | ||
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.6.6") | ||
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.6.6") | ||
addSbtPlugin("org.typelevel" % "sbt-typelevel-scalafix" % "0.6.6") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.15.0") | ||
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.5.2") | ||
// sbt revolver | ||
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
ThisBuild / organization := "io.github.yisraelu.smithy4s-zio" | ||
ThisBuild / versionScheme := Some("early-semver") | ||
import scala.collection.immutable.Seq | ||
|
||
ThisBuild / scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/yisraelu/smithy4s-zio"), | ||
"scm:git@github.com:yisraelu/smithy4s-zio.git" | ||
) | ||
) | ||
ThisBuild / tlBaseVersion := "0.0" // your current series x.y | ||
|
||
inThisBuild( | ||
List( | ||
organization := "io.github.yisraelu", | ||
homepage := Some(url("https://github.com/smithy4s-zio")), | ||
description := "ZIO bindings for Smithy4s", | ||
// Alternatively License.Apache2 see https://github.com/sbt/librarymanagement/blob/develop/core/src/main/scala/sbt/librarymanagement/License.scala | ||
licenses := List( | ||
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0") | ||
), | ||
developers := List( | ||
Developer( | ||
id = "yisraelu", | ||
name = "Yisrael Union", | ||
email = "ysrlunion@gmail.com", | ||
url = url("https://github.com/yisraelu") | ||
) | ||
) | ||
) | ||
ThisBuild / organization := "io.github.yisraelu" | ||
ThisBuild / organizationName := "yisraelu" | ||
ThisBuild / description := "ZIO bindings for Smithy4s" | ||
ThisBuild / startYear := Some(2023) | ||
ThisBuild / licenses := Seq(License.Apache2) | ||
ThisBuild / developers := List( | ||
// your GitHub handle and name | ||
tlGitHubDev("yisraelu", "Yisrael Union") | ||
) | ||
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org" | ||
sonatypeRepository := "https://s01.oss.sonatype.org/service/local" | ||
|
||
// publish to s01.oss.sonatype.org (set to true to publish to oss.sonatype.org instead) | ||
ThisBuild / tlSonatypeUseLegacyHost := false | ||
|
||
// publish website from this branch | ||
ThisBuild / tlSitePublishBranch := Some("main") | ||
|
||
ThisBuild / tlCiHeaderCheck := false | ||
ThisBuild / tlFatalWarnings := false | ||
ThisBuild / tlCiMimaBinaryIssueCheck := false | ||
ThisBuild / sonatypeProfileName := "io.github.yisraelu" | ||
ThisBuild / tlJdkRelease := Some(11) | ||
ThisBuild / tlCiDependencyGraphJob := false |