Skip to content

Commit 2ec76b9

Browse files
committed
chore: inital changes for supafunc deprecation
run make_rename in the repo,
1 parent 3a9a393 commit 2ec76b9

16 files changed

+15
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rename_package_dir:
2828
mv supabase_functions supafunc
2929

3030
rename_package:
31-
sed -i 's/supabase_functions/supafunc/g' pyproject.toml tests/test_client.py tests/test_errors.py tests/test_utils.py tests/_async/test_function_client.py tests/_sync/test_function_client.py README.md
31+
sed -i "" 's/supabase_functions/supafunc/g' pyproject.toml tests/test_client.py tests/test_errors.py tests/test_utils.py tests/_async/test_function_client.py tests/_sync/test_function_client.py README.md
3232

3333
build_package:
3434
poetry build

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Installation
55

6-
`pip3 install supabase_functions`
6+
`pip3 install supafunc`
77

88
## Usage
99

@@ -12,7 +12,7 @@ Deploy your function as per documentation.
1212

1313
```python3
1414
import asyncio
15-
from supabase_functions import AsyncFunctionsClient
15+
from supafunc import AsyncFunctionsClient
1616
async def run_func():
1717
fc = AsyncFunctionsClient("https://<project_ref>.functions.supabase.co", {})
1818
res = await fc.invoke("payment-sheet", {"responseType": "json"})

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "supabase_functions"
2+
name = "supafunc"
33
version = "0.10.1" # {x-release-please-version}
44
description = "Library for Supabase Functions"
55
authors = [
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)