diff --git a/cmd/commands/init.go b/cmd/commands/init.go index 261e001..bc6d08a 100644 --- a/cmd/commands/init.go +++ b/cmd/commands/init.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/thumbrise/commitlint-scope/pkg/validator" + "github.com/thumbrise/commitlint-scope/v2/pkg/validator" "github.com/urfave/cli/v3" ) diff --git a/cmd/commands/run.go b/cmd/commands/run.go index 65017b9..8b158c4 100644 --- a/cmd/commands/run.go +++ b/cmd/commands/run.go @@ -9,8 +9,8 @@ import ( "os" "github.com/fatih/color" - "github.com/thumbrise/commitlint-scope/cmd/errs" - "github.com/thumbrise/commitlint-scope/pkg/validator" + "github.com/thumbrise/commitlint-scope/v2/cmd/errs" + "github.com/thumbrise/commitlint-scope/v2/pkg/validator" "github.com/urfave/cli/v3" ) diff --git a/cmd/root.go b/cmd/root.go index 93e75f3..83b2f3f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -7,7 +7,7 @@ import ( "os" "github.com/fatih/color" - "github.com/thumbrise/commitlint-scope/cmd/commands" + "github.com/thumbrise/commitlint-scope/v2/cmd/commands" "github.com/urfave/cli/v3" ) diff --git a/go.mod b/go.mod index 6762d91..2654a35 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/thumbrise/commitlint-scope +module github.com/thumbrise/commitlint-scope/v2 go 1.26.1 diff --git a/main.go b/main.go index 1796332..a6fe1a7 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/thumbrise/commitlint-scope/cmd" + "github.com/thumbrise/commitlint-scope/v2/cmd" ) var ( diff --git a/pkg/validator/config_test.go b/pkg/validator/config_test.go index b22656a..c7abc44 100644 --- a/pkg/validator/config_test.go +++ b/pkg/validator/config_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/thumbrise/commitlint-scope/pkg/validator" + "github.com/thumbrise/commitlint-scope/v2/pkg/validator" ) func TestLoadConfig(t *testing.T) { diff --git a/pkg/validator/git_test.go b/pkg/validator/git_test.go index dfba449..8293f12 100644 --- a/pkg/validator/git_test.go +++ b/pkg/validator/git_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/thumbrise/commitlint-scope/pkg/validator" + "github.com/thumbrise/commitlint-scope/v2/pkg/validator" ) func gitCall(t *testing.T, dir string, args ...string) string { diff --git a/pkg/validator/outsider_finder_test.go b/pkg/validator/outsider_finder_test.go index 8233d3c..4be30aa 100644 --- a/pkg/validator/outsider_finder_test.go +++ b/pkg/validator/outsider_finder_test.go @@ -5,7 +5,7 @@ import ( "slices" "testing" - "github.com/thumbrise/commitlint-scope/pkg/validator" + "github.com/thumbrise/commitlint-scope/v2/pkg/validator" ) func TestDefaultOutsiderFinder_Find(t *testing.T) { diff --git a/pkg/validator/scope_parser_test.go b/pkg/validator/scope_parser_test.go index edc96ad..930dd2e 100644 --- a/pkg/validator/scope_parser_test.go +++ b/pkg/validator/scope_parser_test.go @@ -4,7 +4,7 @@ import ( "regexp" "testing" - "github.com/thumbrise/commitlint-scope/pkg/validator" + "github.com/thumbrise/commitlint-scope/v2/pkg/validator" ) func TestDefaultScopeParser_Parse(t *testing.T) { diff --git a/pkg/validator/validator_test.go b/pkg/validator/validator_test.go index d66cf94..d568ed1 100644 --- a/pkg/validator/validator_test.go +++ b/pkg/validator/validator_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/mock" - "github.com/thumbrise/commitlint-scope/pkg/validator" + "github.com/thumbrise/commitlint-scope/v2/pkg/validator" ) type TestableCommit struct {