Skip to content

Commit

Permalink
Upgrade flake dependencies and fix GitHub Terraform configuration (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMax153 authored Nov 26, 2023
1 parent 62067e9 commit 257e324
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 71 deletions.
68 changes: 34 additions & 34 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/github/repository.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module "github_repository" {
homepage_url = each.value.homepage_url
visibility = each.value.visibility
collaborators = each.value.collaborators
pages = each.value.pages
has_discussions = each.value.has_discussions
has_pages = each.value.has_pages
is_archived = each.value.is_archived
}
47 changes: 23 additions & 24 deletions terraform/github/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,56 @@ changeset_bot_installation_id = "35785996"
default_branch = "main"

repositories = {
awesome-effect = {
has_pages = false
}
awesome-effect = {}
babel-plugin = {
description = "A babel plugin purpose-built for the Effect ecosystem"
homepage_url = "https://effect-ts.github.io/babel-plugin"
pages = { build_type = "legacy" }
}
build-utils = {
description = "Custom utilities used to assist with building and packaging Effect libraries"
homepage_url = "https://effect-ts.github.io/build-utils"
pages = { build_type = "legacy" }
}
cache = {
description = "An Effect native cache with a simple and compositional interface"
homepage_url = "https://effect-ts.github.io/cache"
pages = { build_type = "legacy" }
is_archived = true
}
cli = {
description = "Rapidly build powerful and composable command-line applications"
homepage_url = "https://effect-ts.github.io/cli"
pages = { build_type = "legacy" }
}
cluster = {
has_pages = false
}
cluster = {}
data = {
description = "Custom built data types leveraged by the Effect ecosystem"
collaborators = [{ username = "enricopolanski", permission = "push" }]
homepage_url = "https://effect-ts.github.io/data"
pages = { build_type = "legacy" }
is_archived = true
}
discord-bot = {
description = "The Effect Community's custom Discord bot, built with Effect"
has_pages = false
}
docgen = {
description = "An opinionated documentation generator for Effect projects"
homepage_url = "https://effect-ts.github.io/docgen"
pages = { build_type = "legacy" }
}
docs-ai = {
description = "Experimentation with artificial intelligence for augmenting Effect's documentation"
enable_changesets = false
has_pages = false
visibility = "private"
}
discord-bot = {
description = "The Effect Community's custom Discord bot, built with Effect"
collaborators = [{ username = "tim-smart", permission = "push" }]
enable_changesets = false
has_pages = false
}
dtslint = {
description = "Effect's custom fork of dtslint used to lint TypeScript declaration (.d.ts) files"
has_pages = false
}
effect = {
description = "A fully-fledged functional effect system for TypeScript with a rich standard library"
Expand All @@ -64,24 +62,23 @@ repositories = {
{ username = "remiguittaut", permission = "push" },
{ username = "rzeigler", permission = "push" },
]
pages = { build_type = "legacy" }
homepage_url = "https://www.effect.website"
topics = ["effect-system", "fp", "framework", "stack-safe", "typescript", "zio"]
}
eslint-plugin = {
description = "A set of ESlint and TypeScript rules to work with Effect"
has_pages = false
}
examples = {
description = "A repository of examples showing how to use Effect"
has_pages = false
}
experimental = {
description = "A repository for experimental Effect libraries"
homepage_url = "https://effect-ts.github.io/experimental"
pages = { build_type = "legacy" }
}
figlet = {
description = "An implementation of a FIGlet font parser and renderer built with Effect"
has_pages = false
}
# Comment in once the repo has commits
# general-issues = {
Expand All @@ -91,82 +88,84 @@ repositories = {
infra = {
description = "Infrastructure relevant to the Effect organization"
enable_changesets = false
has_pages = false
}
io = {
description = "Effect's core runtime, a fiber-based implementation of structured concurrency"
homepage_url = "https://effect-ts.github.io/io"
pages = { build_type = "legacy" }
is_archived = true
}
language-service = {
has_pages = false
}
language-service = {}
match = {
description = "Functional pattern matching with the full power of TypeScript"
collaborators = [{ username = "tim-smart", permission = "maintain" }]
pages = { build_type = "legacy" }
homepage_url = "https://effect-ts.github.io/match"
topics = ["functional-programming", "pattern-matching", "typescript"]
is_archived = true
}
monorepo-testing = {
collaborators = [{ username = "fubhy", permission = "push" }]
has_pages = false
}
opentelemetry = {
description = "OpenTelemetry integration with Effect"
homepage_url = "https://effect-ts.github.io/opentelemetry"
pages = { build_type = "legacy" }
}
platform = {
description = "Unified interfaces for common platform-specific services"
homepage_url = "https://effect-ts.github.io/platform"
pages = { build_type = "legacy" }
}
printer = {
description = "An easy to use, extensible pretty-printer for rendering documents"
homepage_url = "https://effect-ts.github.io/printer"
pages = { build_type = "legacy" }
}
rpc = {
description = ""
homepage_url = "https://effect-ts.github.io/rpc"
pages = { build_type = "legacy" }
}
scala-playground = {
description = "A Scala playground for the Effect maintainers"
has_pages = false
}
schema = {
description = "Modeling the schema of data structures as first-class values"
homepage_url = "https://effect-ts.github.io/schema"
pages = { build_type = "legacy" }
}
stm = {
description = "An implementation of software transactional memory built with Effect"
homepage_url = "https://effect-ts.github.io/stm"
pages = { build_type = "legacy" }
is_archived = true
}
stream = {
description = "An implementation of pull-based streams built with Effect"
homepage_url = "https://effect-ts.github.io/stream"
pages = { build_type = "legacy" }
is_archived = true
}
team = {
visibility = "private"
enable_changesets = false
has_pages = false
}
test = {
homepage_url = "https://effect-ts.github.io/test"
pages = { build_type = "legacy" }
}
typeclass = {
description = "A collection of re-usable typeclasses for the Effect ecosystem"
homepage_url = "https://effect-ts.github.io/typeclass"
pages = { build_type = "legacy" }
}
vite-plugin-react = {
has_pages = false
}
vite-plugin-react = {}
website = {
description = "Source code for Effect's documentation website"
collaborators = [{ username = "lukaswiesehan", permission = "push" }]
homepage_url = "https://www.effect.website"
enable_changesets = false
has_pages = false
}
}

Expand Down
6 changes: 5 additions & 1 deletion terraform/github/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ variable "repositories" {
visibility = optional(string, "public")
is_archived = optional(bool, false)
has_discussions = optional(bool, false)
has_pages = optional(bool, true)
enable_changesets = optional(bool, true)
collaborators = optional(list(object({
username = string,
permission = string
})), [])
pages = optional(object({
build_type = string
source_branch = optional(string)
source_path = optional(string)
}))
}))
}

Expand Down
Loading

0 comments on commit 257e324

Please sign in to comment.