-
-
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!: overhaul repository & publish to addons store (#6)
- Loading branch information
Showing
28 changed files
with
1,682 additions
and
39 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,41 @@ | ||
name: release-please | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
pull-requests: write | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: googleapis/release-please-action@v4 | ||
id: release | ||
outputs: | ||
release_created: ${{ steps.release.outputs.release_created }} | ||
tag_name: ${{ steps.release.outputs.tag_name }} | ||
|
||
release: | ||
runs-on: ubuntu-latest | ||
needs: release-please | ||
if: ${{ needs.release-please.outputs.release_created }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: extractions/setup-just@v2 | ||
|
||
- name: Build | ||
run: just build | ||
|
||
- name: Create Zip | ||
run: just zip | ||
|
||
- name: Upload Zip | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: gh release upload ${{ needs.release-please.outputs.tag_name }} catppuccin*.flex --clobber |
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,3 @@ | ||
*.flex | ||
dist | ||
.vscode |
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
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,22 @@ | ||
set export | ||
|
||
_default: | ||
@just --list | ||
|
||
version := `jq '.meta.version' src/extension.json | tr -d '"'` | ||
|
||
# Remove the './dist' directory | ||
clean: | ||
rm -rfv ./dist | ||
|
||
# Minify JSON files and put source files into "./dist" | ||
build: | ||
mkdir -p dist/stylesheets | ||
cat src/extension.json | jq -c > dist/extension.json | ||
for file in `ls src/stylesheets`; do \ | ||
cat src/stylesheets/$file | jq -c > dist/stylesheets/$file; \ | ||
done | ||
|
||
# Zip "./dist" into the "./flex" format | ||
zip: | ||
cd dist && zip -r ../catppuccin-{{version}}.flex . |
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,16 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
"packages": { | ||
".": { | ||
"package-name": "", | ||
"release-type": "simple", | ||
"extra-files": [ | ||
{ | ||
"type": "json", | ||
"path": "src/extension.json", | ||
"jsonpath": "$.meta.version" | ||
} | ||
] | ||
} | ||
} | ||
} |
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,82 @@ | ||
{ | ||
"$": "ime.extension.theme", | ||
"meta": { | ||
"id": "com.catppuccin.florisboard", | ||
"version": "0.0.1", | ||
"title": "Catppuccin", | ||
"description": "🥀 Soothing pastel theme for FlorisBoard", | ||
"keywords": [ | ||
"pastel catppuccin mocha latte frappe macchiato" | ||
], | ||
"homepage": "https://github.com/catppuccin/florisboard", | ||
"issueTracker": "https://github.com/catppuccin/florisboard/issues", | ||
"maintainers": [ | ||
"skinatro" | ||
], | ||
"license": "MIT" | ||
}, | ||
"themes": [ | ||
{ | ||
"id": "ctp_latte", | ||
"label": "Latte", | ||
"authors": [ | ||
"skinatro" | ||
], | ||
"isNight": false | ||
}, | ||
{ | ||
"id": "ctp_latte_borderless", | ||
"label": "Latte (Borderless)", | ||
"authors": [ | ||
"skinatro" | ||
], | ||
"isNight": false, | ||
"isBorderless": true | ||
}, | ||
{ | ||
"id": "ctp_mocha", | ||
"label": "Mocha", | ||
"authors": [ | ||
"skinatro#" | ||
] | ||
}, | ||
{ | ||
"id": "ctp_mocha_borderless", | ||
"label": "Mocha (Borderless)", | ||
"authors": [ | ||
"skinatro" | ||
], | ||
"isBorderless": true | ||
}, | ||
{ | ||
"id": "ctp_frappe", | ||
"label": "Frappe", | ||
"authors": [ | ||
"skinatro" | ||
] | ||
}, | ||
{ | ||
"id": "ctp_frappe_borderless", | ||
"label": "Frappe (Borderless)", | ||
"authors": [ | ||
"skinatro" | ||
], | ||
"isBorderless": true | ||
}, | ||
{ | ||
"id": "ctp_macchiato", | ||
"label": "Macchiato", | ||
"authors": [ | ||
"skinatro" | ||
] | ||
}, | ||
{ | ||
"id": "ctp_macchiato_borderless", | ||
"label": "Macchiato (Borderless)", | ||
"authors": [ | ||
"skinatro" | ||
], | ||
"isBorderless": true | ||
} | ||
] | ||
} |
Oops, something went wrong.