Skip to content

Commit

Permalink
Jk, like TmplTS more
Browse files Browse the repository at this point in the history
  • Loading branch information
ehutchllew committed Apr 2, 2024
1 parent e598c84 commit 41812cc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
run: go get .

- name: Build
run: go build -v ./... -o bin/confits
run: go build -v ./... -o bin/tmplts
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# template.ts
# TmplTS
Package to bootstrap TypeScript projects with ESLint, SWC or ESBuild, and Jest configurations.
Additionally it will include appropriate scripts and dependencies in the `package.json` file for each generated configuration file.

Expand Down
8 changes: 4 additions & 4 deletions cmd/root.cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"path"

"github.com/ev-the-dev/confits/cmd/models"
"github.com/ev-the-dev/confits/cmd/utils"
"github.com/ev-the-dev/confits/tui"
"github.com/ev-the-dev/tmplts/cmd/models"
"github.com/ev-the-dev/tmplts/cmd/utils"
"github.com/ev-the-dev/tmplts/tui"
"github.com/spf13/cobra"
)

Expand Down Expand Up @@ -67,7 +67,7 @@ func init() {
func printWelcomeMessage() {
fmt.Println("**********************************************")
fmt.Println("* *")
fmt.Println("* Welcome to Confits! Let's get started. *")
fmt.Println("* Welcome to TmplTS! Let's get started. *")
fmt.Println("* *")
fmt.Println("**********************************************")
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/utils/generateTemplates.util.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sync"
"text/template"

"github.com/ev-the-dev/confits/cmd/models"
ct "github.com/ev-the-dev/confits/templates"
"github.com/ev-the-dev/tmplts/cmd/models"
ct "github.com/ev-the-dev/tmplts/templates"
)

// TODO: If package.json already exists: unmarshal, add these changes, then marshal again. That way we don't overwrite entire files.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ev-the-dev/confits
module github.com/ev-the-dev/tmplts

go 1.22

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/ev-the-dev/confits/cmd"
"github.com/ev-the-dev/tmplts/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion tui/wizard.tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/ev-the-dev/confits/cmd/models"
"github.com/ev-the-dev/tmplts/cmd/models"
)

type WizardAnswers struct {
Expand Down

0 comments on commit 41812cc

Please sign in to comment.