Skip to content

Commit 917e475

Browse files
authored
Merge pull request #29 from zvictor/rebranding
Rebranding
2 parents ddd610d + 654f761 commit 917e475

242 files changed

Lines changed: 1958 additions & 1939 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.envrc

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,41 @@
11
# Documentation:
22
# https://direnv.net/man/direnv-stdlib.1.html
33

4+
# Step 1: Define variables and functions.
5+
VENV_DIR=".venv"
6+
7+
# Color codes
8+
GREEN='\033[0;32m'
9+
YELLOW='\033[0;33m'
10+
RED='\033[0;31m'
11+
BLUE='\033[0;34m'
12+
NC='\033[0m' # No color
13+
14+
# Step 2: Load system dependencies (python, uv) from Nix.
415
strict_env
516
layout node
6-
dotenv_if_exists
7-
817
use nix
18+
19+
# Step 3: Create the virtual environment using uv if it doesn't exist.
20+
# This replaces the creation part of `layout python`.
21+
if [ ! -d "$VENV_DIR" ]; then
22+
printf "direnv: ${YELLOW}Creating virtual environment in '$VENV_DIR' with uv.${NC}\n"
23+
uv venv --python 3.13 "$VENV_DIR"
24+
fi
25+
26+
# Step 4: Manually "activate" the environment in a direnv-friendly way.
27+
# This replaces the activation part of `layout python`.
28+
export VIRTUAL_ENV="$PWD/$VENV_DIR"
29+
path_add PATH "$VIRTUAL_ENV/bin"
30+
31+
# Step 5: Add your project's code to the PYTHONPATH.
32+
# 'path_add' safely creates the variable or prepends to it.
33+
path_add PYTHONPATH python
34+
35+
# Step 6: Install dependencies with `uv pip`.
36+
# 'watch_file' tells direnv to re-run this block if requirements.txt changes.
37+
watch_file requirements.txt
38+
if [ -f "requirements.txt" ]; then
39+
printf "direnv: ${YELLOW}Syncing dependencies with uv.${NC}\n"
40+
uv pip install -r requirements.txt
41+
fi

.github/media/banner-dark.jpg

-152 KB
Binary file not shown.

.github/media/banner-dark.png

46.5 KB
Loading

.github/media/banner-light.jpg

-134 KB
Binary file not shown.

.github/media/banner-light.png

44 KB
Loading

.github/media/logo-dark.png

8.13 KB
Loading

.github/media/logo-dual.png

6.4 KB
Loading

.github/media/logo-light.png

7.77 KB
Loading

.github/scripts/discord-notify.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export async function notifyDiscord(webhookUrl, releaseInfo) {
77
const { packageName, version, changelog, repositoryUrl } = releaseInfo
88

99
const embed = {
10-
title: `🚀 Brainyflow ${packageName} v${version} Released!`,
10+
title: `🚀 Caskada ${packageName} v${version} Released!`,
1111
description: changelog.substring(0, 2000), // Discord embed description limit
1212
color: packageName.toLowerCase() === 'typescript' ? 0x3178c6 : 0x3776ab, // TS blue or Python blue
1313
fields: [
@@ -23,7 +23,7 @@ export async function notifyDiscord(webhookUrl, releaseInfo) {
2323
},
2424
],
2525
footer: {
26-
text: 'BrainyFlow Release Bot',
26+
text: 'Caskada Release Bot',
2727
},
2828
timestamp: new Date().toISOString(),
2929
}

.github/scripts/generate-changeset-comment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export function generateChangesetComment(context, packageType) {
1414
const directory = packageName
1515
const isTypescript = packageName === 'typescript'
1616
const icon = isTypescript
17-
? '<img src="https://github.com/zvictor/brainyflow/raw/main/.github/media/typescript.svg" width="28" height="28" alt="Typescript Logo" />'
18-
: '<img src="https://github.com/zvictor/brainyflow/raw/main/.github/media/python.svg" width="28" height="28" alt="Python Logo" />'
17+
? '<img src="https://github.com/skadaai/caskada/raw/main/.github/media/typescript.svg" width="28" height="28" alt="Typescript Logo" />'
18+
: '<img src="https://github.com/skadaai/caskada/raw/main/.github/media/python.svg" width="28" height="28" alt="Python Logo" />'
1919

2020
const changesetUrl = `${context.payload.pull_request.head.repo.html_url}/new/${
2121
context.payload.pull_request.head.ref

0 commit comments

Comments
 (0)