Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
feat: モジュールのパスを更新 (#57)
Browse files Browse the repository at this point in the history
* feat: モジュールのパスを更新

* docs(CHANGELOG): v2.0.0
  • Loading branch information
arrow2nd authored Oct 4, 2022
1 parent 54d00f7 commit 20108d4
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 41 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

## [Unreleased]

## [v2.0.0] - 2022-10-04

### Added

- nekome 内での複数行のツイート編集機能を追加
- カスタムできる配色・スタイルの項目を追加
- キーバインドのカスタマイズを追加
- レイアウトのカスタマイズを追加
- カスタマイズできる配色・スタイル設定の項目を追加
- カスタマイズできる外観設定の項目を追加
- キーバインドを追加
- 新規ツイート作成
- ユーザのいいねリストを開く
- `:<TAB>` でのコマンド補完を追加

### Fixed

Expand All @@ -27,6 +29,7 @@
- ショートカットの呼称をキーバインドに変更
- モーダルのボーダースタイルを変更
- カーソル移動の上下ループを廃止
- `:<TAB>` でコマンド補完を開始するよう変更

## [v1.2.0] - 2022-08-18

Expand Down Expand Up @@ -76,7 +79,8 @@

- リリースしました! 😸

[unreleased]: https://github.com/arrow2nd/nekome/compare/v1.2.0...HEAD
[unreleased]: https://github.com/arrow2nd/nekome/compare/v2.0.0...HEAD
[v2.0.0]: https://github.com/arrow2nd/nekome/compare/v1.1.0...v2.0.0
[v1.2.0]: https://github.com/arrow2nd/nekome/compare/v1.1.0...v1.2.0
[v1.1.0]: https://github.com/arrow2nd/nekome/compare/v1.0.3...v1.1.0
[v1.0.3]: https://github.com/arrow2nd/nekome/compare/v1.0.2...v1.0.3
Expand Down
2 changes: 1 addition & 1 deletion app/account.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package app

import "github.com/arrow2nd/nekome/api"
import "github.com/arrow2nd/nekome/v2/api"

// addAccount : アカウントを追加
func addAccount(setMain bool) error {
Expand Down
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"

"code.rocketnine.space/tslocum/cbind"
"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/arrow2nd/nekome/v2/config"
"github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
"github.com/rivo/tview"
Expand Down
4 changes: 2 additions & 2 deletions app/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package app
import (
"fmt"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/log"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/arrow2nd/nekome/v2/log"
"github.com/spf13/pflag"
)

Expand Down
2 changes: 1 addition & 1 deletion app/cmd_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/manifoldco/promptui"
"github.com/spf13/pflag"
)
Expand Down
4 changes: 2 additions & 2 deletions app/cmd_docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package app
import (
"fmt"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/arrow2nd/nekome/v2/config"
"github.com/spf13/pflag"
)

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

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/arrow2nd/nekome/v2/config"
"github.com/manifoldco/promptui"
"github.com/spf13/pflag"
)
Expand Down
2 changes: 1 addition & 1 deletion app/cmd_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"strings"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/spf13/pflag"
)

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

import (
"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/spf13/pflag"
)

Expand Down
2 changes: 1 addition & 1 deletion app/cmd_tweet.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"syscall"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/spf13/pflag"
"golang.org/x/sync/errgroup"
"golang.org/x/term"
Expand Down
2 changes: 1 addition & 1 deletion app/layout_poll_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/config"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion app/layout_tweet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/config"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion app/layout_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package app
import (
"testing"

"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/config"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/mattn/go-runewidth"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion app/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"sync"

"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/config"
"github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
)
Expand Down
2 changes: 1 addition & 1 deletion app/page_timeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"math"
"time"

"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/config"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/gdamore/tcell/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion app/page_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/arrow2nd/nekome/api"
"github.com/arrow2nd/nekome/v2/api"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/gdamore/tcell/v2"
"github.com/rivo/tview"
Expand Down
6 changes: 3 additions & 3 deletions app/shared.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package app

import (
"github.com/arrow2nd/nekome/api"
"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/log"
"github.com/arrow2nd/nekome/v2/api"
"github.com/arrow2nd/nekome/v2/config"
"github.com/arrow2nd/nekome/v2/log"
"github.com/rivo/tview"
)

Expand Down
2 changes: 1 addition & 1 deletion app/tweets.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"sync"

"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/config"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/rivo/tview"
)
Expand Down
2 changes: 1 addition & 1 deletion app/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"strings"
"time"

"github.com/arrow2nd/nekome/log"
"github.com/arrow2nd/nekome/v2/log"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/mattn/go-runewidth"
"golang.org/x/crypto/ssh/terminal"
Expand Down
2 changes: 1 addition & 1 deletion app/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/config"
"github.com/g8rswimmer/go-twitter/v2"
"github.com/mattn/go-runewidth"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cli_test
import (
"testing"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/spf13/pflag"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion cli/help_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cli_test
import (
"testing"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/spf13/pflag"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion cli/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cli_test
import (
"testing"

"github.com/arrow2nd/nekome/cli"
"github.com/arrow2nd/nekome/v2/cli"
"github.com/stretchr/testify/assert"
)

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

import (
"github.com/arrow2nd/nekome/log"
"github.com/arrow2nd/nekome/v2/log"
)

// Config : 設定
Expand Down
2 changes: 1 addition & 1 deletion config/cred.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
import (
"fmt"

"github.com/arrow2nd/nekome/api"
"github.com/arrow2nd/nekome/v2/api"
"github.com/dghubble/oauth1"
)

Expand Down
4 changes: 2 additions & 2 deletions config/cred_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package config_test
import (
"testing"

"github.com/arrow2nd/nekome/api"
"github.com/arrow2nd/nekome/config"
"github.com/arrow2nd/nekome/v2/api"
"github.com/arrow2nd/nekome/v2/config"
"github.com/dghubble/oauth1"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion config/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Starting with nekome v2.0.0, the configuration file format has been changed from
Please run 'nekome edit' and reconfigure the file.
For more information, please refer to the following pages.
https://github.com/arrow2nd/nekome/blob/v2/docs/en/migrate-v1-v2.md
https://github.com/arrow2nd/nekome/v2/blob/v2/docs/en/migrate-v1-v2.md
(This notice will not appear if you delete the old configuration file)
`
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module github.com/arrow2nd/nekome
module github.com/arrow2nd/nekome/v2

go 1.18

require (
code.rocketnine.space/tslocum/cbind v0.1.5
github.com/BurntSushi/toml v1.2.0
github.com/atotto/clipboard v0.1.4
github.com/dghubble/oauth1 v0.7.1
Expand All @@ -14,7 +15,6 @@ require (
)

require (
code.rocketnine.space/tslocum/cbind v0.1.5 // indirect
github.com/chzyer/readline v1.5.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gdamore/encoding v1.0.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion log/exit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package log_test
import (
"testing"

"github.com/arrow2nd/nekome/log"
"github.com/arrow2nd/nekome/v2/log"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/arrow2nd/nekome/app"
"github.com/arrow2nd/nekome/log"
"github.com/arrow2nd/nekome/v2/app"
"github.com/arrow2nd/nekome/v2/log"
)

func main() {
Expand Down

0 comments on commit 20108d4

Please sign in to comment.