feat!: rename module to /v2 (#640)

Next version of Glow drops stash support, which is a breaking change.

This makes it accordingly.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-08-23 12:45:30 -03:00 committed by GitHub
parent cd99146e9e
commit 736e77dbc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/charmbracelet/glow module github.com/charmbracelet/glow/v2
go 1.21.4 go 1.21.4

View file

@ -15,8 +15,8 @@ import (
"github.com/caarlos0/env/v11" "github.com/caarlos0/env/v11"
"github.com/charmbracelet/glamour" "github.com/charmbracelet/glamour"
"github.com/charmbracelet/glamour/styles" "github.com/charmbracelet/glamour/styles"
"github.com/charmbracelet/glow/ui" "github.com/charmbracelet/glow/v2/ui"
"github.com/charmbracelet/glow/utils" "github.com/charmbracelet/glow/v2/utils"
"github.com/charmbracelet/lipgloss" "github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/log" "github.com/charmbracelet/log"
gap "github.com/muesli/go-app-paths" gap "github.com/muesli/go-app-paths"

View file

@ -11,7 +11,7 @@ import (
"github.com/charmbracelet/bubbles/viewport" "github.com/charmbracelet/bubbles/viewport"
tea "github.com/charmbracelet/bubbletea" tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/glamour" "github.com/charmbracelet/glamour"
"github.com/charmbracelet/glow/utils" "github.com/charmbracelet/glow/v2/utils"
"github.com/charmbracelet/lipgloss" "github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/log" "github.com/charmbracelet/log"
runewidth "github.com/mattn/go-runewidth" runewidth "github.com/mattn/go-runewidth"

View file

@ -10,7 +10,7 @@ import (
"github.com/charmbracelet/bubbles/list" "github.com/charmbracelet/bubbles/list"
tea "github.com/charmbracelet/bubbletea" tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/glamour/styles" "github.com/charmbracelet/glamour/styles"
"github.com/charmbracelet/glow/utils" "github.com/charmbracelet/glow/v2/utils"
"github.com/charmbracelet/lipgloss" "github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/log" "github.com/charmbracelet/log"
"github.com/muesli/gitcha" "github.com/muesli/gitcha"