Skip to content

Commit d2dbdff

Browse files
committed
Migrate Go module and references from onkernel to kernel
- Update go.mod module path to github.com/kernel/cli - Update all Go import paths - Update GitHub release API URL - Update npm package install commands - Update .goreleaser.yaml repository references
1 parent 8509274 commit d2dbdff

25 files changed

Lines changed: 42 additions & 42 deletions

.goreleaser.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ archives:
2929
brews:
3030
- name: kernel
3131
repository:
32-
owner: onkernel
32+
owner: kernel
3333
name: homebrew-tap
3434
branch: main
3535
directory: Formula
3636
description: "Kernel CLI"
37-
homepage: "https://github.com/onkernel/cli"
37+
homepage: "https://github.com/kernel/cli"
3838
test: |
3939
system "#{bin}/kernel", "--version"
4040
4141
npms:
42-
- name: "@onkernel/cli"
43-
repository: "https://github.com/onkernel"
44-
bugs: https://github.com/onkernel/cli/issues
42+
- name: "@kernel/cli"
43+
repository: "https://github.com/kernel"
44+
bugs: https://github.com/kernel/cli/issues
4545
description: Kernel CLI
4646
homepage: https://www.kernel.sh/docs
4747
license: MIT
@@ -85,7 +85,7 @@ changelog:
8585
release:
8686
name_template: "Kernel CLI v{{ .Version }}"
8787
footer: |
88-
**Full Changelog**: https://github.com/onkernel/cli/compare/{{ .PreviousTag }}...{{ .Tag }}
88+
**Full Changelog**: https://github.com/kernel/cli/compare/{{ .PreviousTag }}...{{ .Tag }}
8989
9090
## What to do next?
9191

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
<p align="center">
6-
<img alt="GitHub License" src="https://img.shields.io/github/license/onkernel/cli">
6+
<img alt="GitHub License" src="https://img.shields.io/github/license/kernel/cli">
77
<a href="https://discord.gg/FBrveQRcud"><img src="https://img.shields.io/discord/1342243238748225556?logo=discord&logoColor=white&color=7289DA" alt="Discord"></a>
88
<a href="https://x.com/juecd__"><img src="https://img.shields.io/twitter/follow/juecd__" alt="Follow @juecd__"></a>
99
<a href="https://x.com/rfgarcia"><img src="https://img.shields.io/twitter/follow/rfgarcia" alt="Follow @rfgarcia"></a>
@@ -36,10 +36,10 @@ Install the Kernel CLI using your favorite package manager:
3636
brew install onkernel/tap/kernel
3737

3838
# Using pnpm
39-
pnpm install -g @onkernel/cli
39+
pnpm install -g @kernel/cli
4040

4141
# Using npm
42-
npm install -g @onkernel/cli
42+
npm install -g @kernel/cli
4343
```
4444

4545
Verify the installation:

cmd/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"strings"
66

7-
"github.com/onkernel/cli/pkg/util"
7+
"github.com/kernel/cli/pkg/util"
88
"github.com/onkernel/kernel-go-sdk"
99
"github.com/pterm/pterm"
1010
"github.com/samber/lo"

cmd/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77

88
"github.com/golang-jwt/jwt/v5"
9-
"github.com/onkernel/cli/pkg/auth"
9+
"github.com/kernel/cli/pkg/auth"
1010
"github.com/pterm/pterm"
1111
"github.com/spf13/cobra"
1212
"github.com/zalando/go-keyring"

cmd/browser_pools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"strings"
88

9-
"github.com/onkernel/cli/pkg/util"
9+
"github.com/kernel/cli/pkg/util"
1010
"github.com/onkernel/kernel-go-sdk"
1111
"github.com/onkernel/kernel-go-sdk/option"
1212
"github.com/pterm/pterm"

cmd/browsers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"strconv"
1616
"strings"
1717

18-
"github.com/onkernel/cli/pkg/util"
18+
"github.com/kernel/cli/pkg/util"
1919
"github.com/onkernel/kernel-go-sdk"
2020
"github.com/onkernel/kernel-go-sdk/option"
2121
"github.com/onkernel/kernel-go-sdk/packages/pagination"

cmd/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"path/filepath"
88

9-
"github.com/onkernel/cli/pkg/create"
9+
"github.com/kernel/cli/pkg/create"
1010
"github.com/pterm/pterm"
1111
"github.com/spf13/cobra"
1212
)

cmd/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"path/filepath"
99
"testing"
1010

11-
"github.com/onkernel/cli/pkg/create"
11+
"github.com/kernel/cli/pkg/create"
1212
"github.com/pterm/pterm"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/stretchr/testify/require"

cmd/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"time"
1616

1717
"github.com/joho/godotenv"
18-
"github.com/onkernel/cli/pkg/util"
18+
"github.com/kernel/cli/pkg/util"
1919
kernel "github.com/onkernel/kernel-go-sdk"
2020
"github.com/onkernel/kernel-go-sdk/option"
2121
"github.com/pterm/pterm"

cmd/extensions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"path/filepath"
1111
"time"
1212

13-
"github.com/onkernel/cli/pkg/util"
13+
"github.com/kernel/cli/pkg/util"
1414
"github.com/onkernel/kernel-go-sdk"
1515
"github.com/onkernel/kernel-go-sdk/option"
1616
"github.com/pterm/pterm"

0 commit comments

Comments
 (0)