Giter Site home page Giter Site logo

typelevel.g8's Introduction

A Giter8 template for sbt-typelevel!

sbt new typelevel/typelevel.g8

Features

Template license

Written in 2022 by @valencik

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.

typelevel.g8's People

Contributors

armanbilge avatar djspiewak avatar rossabaker avatar samspills avatar scala-steward avatar toniogela avatar typelevel-steward[bot] avatar valencik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typelevel.g8's Issues

Scalafix integration

Opt-in scalafix support is available in sbt-typelevel 0.4.10. I think organize imports is a great addition to the base template :)

Notes from live demo

  • Perhaps add instructions about needing to git init and create a commit
  • Can we pull name info from git config?

Add a `.scalafmt.conf`

We can populate it with some defaults or just leave it empty. But since sbt-typelevel enables sbt-scalafmt I think it requires it to be present.

What to do about Scala 3.4?

I think the recommended path forward is that libraries continue publishing for 3.3, and 3.4+ would be yet another cross version.
So we don't want to merge this as is. But perhaps we want to add an option to additionally compile against 3.4?

Originally posted by @valencik in #131 (comment)

flake.lock questions

When a user generates a template and uses the provided flake.nix via nix develop (see https://github.com/typelevel/typelevel-nix for more details) it generates a flake.lock file.

  1. Should the user be encouraged to commit this file to their git repo?
    Judging from https://github.com/http4s/http4s/blob/series/0.23/flake.lock the answer is yes, we should commit the lock file to the repo.

  2. Should we be templating the lockfile for the user so it's generated as part of the giter8 init process?
    If not, I think we ought to add a little mention of the expectations to the outer README here.

cc. @rossabaker

Ask about s01 during template initialization?

This thing.

// true by default, set to false to publish to s01.oss.sonatype.org
ThisBuild / tlSonatypeUseLegacyHost := true

I wonder if more projects want false these days. Typelevel itself has moved to s01.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.