sveltekit-python-vercel 1.0.3-beta.pr16.2a0070d → 1.0.3-beta.pr16.eb46f83
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.
|
@@ -23,7 +23,7 @@ func_dir.mkdir(parents=True, exist_ok=True)
|
|
|
23
23
|
if args.packagedir:
|
|
24
24
|
package_dir = Path(args.packagedir).absolute()
|
|
25
25
|
shutil.copy(package_dir / "deploy.py", func_dir / "index.py")
|
|
26
|
-
for helper in ("load_runtime.py", "routes.py"
|
|
26
|
+
for helper in ("load_runtime.py", "routes.py"):
|
|
27
27
|
src = package_dir / helper
|
|
28
28
|
if src.exists():
|
|
29
29
|
shutil.copy(src, func_dir / helper)
|
|
@@ -38,9 +38,6 @@ def _bundle_route_module(module_path: str, *, kind: str) -> None:
|
|
|
38
38
|
target_dir.mkdir(parents=True, exist_ok=True)
|
|
39
39
|
shutil.copy(abs_path, target_dir / rel.name)
|
|
40
40
|
|
|
41
|
-
if not (target_dir / "__init__.py").exists():
|
|
42
|
-
(target_dir / "__init__.py").touch()
|
|
43
|
-
|
|
44
41
|
parent = route_parent(rel)
|
|
45
42
|
if kind == "load":
|
|
46
43
|
route = load_route(parent)
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"module": "./esm/mod.js",
|
|
3
3
|
"types": "./types/mod.d.ts",
|
|
4
4
|
"name": "sveltekit-python-vercel",
|
|
5
|
-
"version": "1.0.3-beta.pr16.
|
|
5
|
+
"version": "1.0.3-beta.pr16.eb46f83",
|
|
6
6
|
"description": "Write Sveltekit server endpoints in Python and seamlessly deploy to Vercel",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|