coloco 0.3.6__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {coloco-0.3.6 → coloco-0.4.0}/PKG-INFO +1 -1
- {coloco-0.3.6 → coloco-0.4.0}/pyproject.toml +2 -2
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/dev.py +6 -6
- {coloco-0.3.6 → coloco-0.4.0}/LICENSE +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/README.md +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/__init__.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/__main__.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/api.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/app.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/api.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/build.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/createapp.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/db.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/node.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/package.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/cli/serve.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/codegen.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/config.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/db.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/dependencies.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/exceptions.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/lifespan.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/static.py +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/docker/.dockerignore-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/docker/Dockerfile-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/docker/docker-compose.yml-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+app/404.svelte-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+app/app.css-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+app/app.svelte-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+app/index.html-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+app/index.svelte-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+app/main.ts-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+node/openapi-ts.config.ts-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+node/package.json-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+node/svelte.config.js-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+node/tsconfig.json-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+node/vite-env.d.ts-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/+node/vite.config.ts-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/.gitignore-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/README.md-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/example/api.py-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/example/index.svelte-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/main.py-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/pyproject.toml-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/src/coloco/templates/standard/tsconfig.json-tpl +0 -0
- {coloco-0.3.6 → coloco-0.4.0}/tests/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "coloco"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.4.0"
|
|
4
4
|
description = "A kit for creating FastAPI + Svelte applications"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Channel Cat", email = "channelcat@gmail.com" },
|
|
@@ -34,4 +34,4 @@ distribution = true
|
|
|
34
34
|
|
|
35
35
|
[tool.uv.sources.tortoise-pathway]
|
|
36
36
|
git = "https://github.com/channelcat/tortoise-pathway"
|
|
37
|
-
rev = "
|
|
37
|
+
rev = "async-migration-apply"
|
|
@@ -16,13 +16,13 @@ def dev(app: str | None = None, host: str = "127.0.0.1"):
|
|
|
16
16
|
|
|
17
17
|
_verify_app(app)
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
# Check Node Modules
|
|
20
|
+
if not os.path.exists(os.path.join(os.getcwd(), "node_modules")):
|
|
21
|
+
print("[yellow]Node modules not found, installing...[/yellow]")
|
|
22
|
+
install()
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
_setup_dev_env()
|
|
25
|
+
node = Popen([f"npm run dev"], shell=True)
|
|
26
26
|
_serve(
|
|
27
27
|
app=app,
|
|
28
28
|
host=host,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|