-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement colorprofile package
- Loading branch information
0 parents
commit 12bb7ab
Showing
21 changed files
with
1,454 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @aymanbagabas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! Please fill the form below. | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Also tell us, what did you expect to happen? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproducible | ||
attributes: | ||
label: How can we reproduce this? | ||
description: | | ||
Please share a code snippet, gist, or public repository that reproduces the issue. | ||
Make sure to make the reproducible as concise as possible, | ||
with only the minimum required code to reproduce the issue. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: version | ||
attributes: | ||
label: Which version of bubbletea are you using? | ||
description: '' | ||
render: bash | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: terminaal | ||
attributes: | ||
label: Which terminals did you reproduce this with? | ||
description: | | ||
Other helpful information: | ||
was it over SSH? | ||
On tmux? | ||
Which version of said terminal? | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: search | ||
attributes: | ||
label: Search | ||
options: | ||
- label: | | ||
I searched for other open and closed issues and pull requests before opening this, | ||
and didn't find anything that seems related. | ||
required: true | ||
- type: textarea | ||
id: ctx | ||
attributes: | ||
label: Additional context | ||
description: Anything else you would like to add | ||
validations: | ||
required: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Setup** | ||
Please complete the following information along with version numbers, if applicable. | ||
- OS [e.g. Ubuntu, macOS] | ||
- Shell [e.g. zsh, fish] | ||
- Terminal Emulator [e.g. kitty, iterm] | ||
- Terminal Multiplexer [e.g. tmux] | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Source Code** | ||
Please include source code if needed to reproduce the behavior. | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
Add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Discord | ||
url: https://charm.sh/discord | ||
about: Chat on our Discord. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "dependencies" | ||
commit-message: | ||
prefix: "chore" | ||
include: "scope" | ||
- package-ecosystem: "gomod" | ||
directory: "/examples" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "dependencies" | ||
commit-message: | ||
prefix: "chore" | ||
include: "scope" | ||
- package-ecosystem: "gomod" | ||
directory: "/tutorials" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "dependencies" | ||
commit-message: | ||
prefix: "chore" | ||
include: "scope" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "dependencies" | ||
commit-message: | ||
prefix: "chore" | ||
include: "scope" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: build | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
uses: charmbracelet/meta/.github/workflows/build.yml@main | ||
|
||
build-go-mod: | ||
uses: charmbracelet/meta/.github/workflows/build.yml@main | ||
with: | ||
go-version: "" | ||
go-version-file: ./go.mod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: coverage | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
coverage: | ||
strategy: | ||
matrix: | ||
go-version: [^1] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
GO111MODULE: "on" | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Coverage | ||
env: | ||
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
go test -race -covermode atomic -coverprofile=profile.cov ./... | ||
go install github.com/mattn/goveralls@latest | ||
goveralls -coverprofile=profile.cov -service=github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: lint-soft | ||
on: | ||
push: | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
# Optional: allow read access to pull request. Use with `only-new-issues` option. | ||
pull-requests: read | ||
|
||
jobs: | ||
golangci: | ||
name: lint-soft | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ^1 | ||
|
||
- uses: actions/checkout@v4 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
# Optional: golangci-lint command line arguments. | ||
args: --config .golangci-soft.yml --issues-exit-code=0 | ||
# Optional: show only new issues if it's a pull request. The default value is `false`. | ||
only-new-issues: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: lint | ||
on: | ||
push: | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
# Optional: allow read access to pull request. Use with `only-new-issues` option. | ||
pull-requests: read | ||
|
||
jobs: | ||
golangci: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ^1 | ||
|
||
- uses: actions/checkout@v4 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
# Optional: golangci-lint command line arguments. | ||
#args: | ||
# Optional: show only new issues if it's a pull request. The default value is `false`. | ||
only-new-issues: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- v*.*.* | ||
|
||
concurrency: | ||
group: goreleaser | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
goreleaser: | ||
uses: charmbracelet/meta/.github/workflows/goreleaser.yml@main | ||
secrets: | ||
docker_username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
docker_token: ${{ secrets.DOCKERHUB_TOKEN }} | ||
gh_pat: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
goreleaser_key: ${{ secrets.GORELEASER_KEY }} | ||
twitter_consumer_key: ${{ secrets.TWITTER_CONSUMER_KEY }} | ||
twitter_consumer_secret: ${{ secrets.TWITTER_CONSUMER_SECRET }} | ||
twitter_access_token: ${{ secrets.TWITTER_ACCESS_TOKEN }} | ||
twitter_access_token_secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | ||
mastodon_client_id: ${{ secrets.MASTODON_CLIENT_ID }} | ||
mastodon_client_secret: ${{ secrets.MASTODON_CLIENT_SECRET }} | ||
mastodon_access_token: ${{ secrets.MASTODON_ACCESS_TOKEN }} | ||
discord_webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} | ||
discord_webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
run: | ||
tests: false | ||
|
||
issues: | ||
include: | ||
- EXC0001 | ||
- EXC0005 | ||
- EXC0011 | ||
- EXC0012 | ||
- EXC0013 | ||
|
||
max-issues-per-linter: 0 | ||
max-same-issues: 0 | ||
|
||
linters: | ||
enable: | ||
# - dupl | ||
- exhaustive | ||
# - exhaustivestruct | ||
- goconst | ||
- godot | ||
- godox | ||
- gomnd | ||
- gomoddirectives | ||
- goprintffuncname | ||
# - lll | ||
- misspell | ||
- nakedret | ||
- nestif | ||
- noctx | ||
- nolintlint | ||
- prealloc | ||
- wrapcheck | ||
|
||
# disable default linters, they are already enabled in .golangci.yml | ||
disable: | ||
- deadcode | ||
- errcheck | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- staticcheck | ||
- structcheck | ||
- typecheck | ||
- unused | ||
- varcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
run: | ||
tests: false | ||
|
||
issues: | ||
include: | ||
- EXC0001 | ||
- EXC0005 | ||
- EXC0011 | ||
- EXC0012 | ||
- EXC0013 | ||
|
||
max-issues-per-linter: 0 | ||
max-same-issues: 0 | ||
|
||
linters: | ||
enable: | ||
- bodyclose | ||
- exportloopref | ||
- gofumpt | ||
- goimports | ||
- gosec | ||
- nilerr | ||
- predeclared | ||
- revive | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- tparallel | ||
- unconvert | ||
- unparam | ||
- whitespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
includes: | ||
- from_url: | ||
url: charmbracelet/meta/main/goreleaser-lib.yaml | ||
|
||
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json | ||
|
Oops, something went wrong.