@cfasim-ui/pyodide 0.1.6 → 0.1.7
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.
- package/package.json +2 -2
- package/src/vitePlugin.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cfasim-ui/pyodide",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pyodide (Python-in-browser) integration for cfasim-ui",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"pyodide": "^0.29.3",
|
|
24
|
-
"@cfasim-ui/shared": "0.1.
|
|
24
|
+
"@cfasim-ui/shared": "0.1.7"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"vue": "^3.5.0"
|
package/src/vitePlugin.ts
CHANGED
|
@@ -25,7 +25,7 @@ export function cfasimPyodide(options?: CfasimPyodideOptions): Plugin {
|
|
|
25
25
|
mkdirSync(publicDir, { recursive: true });
|
|
26
26
|
for (const dep of options?.pypiDeps ?? []) {
|
|
27
27
|
execSync(
|
|
28
|
-
`uv pip download ${dep} --dest public --no-deps --python-version 3.12 --platform any`,
|
|
28
|
+
`uv run pip download ${dep} --dest public --no-deps --python-version 3.12 --platform any`,
|
|
29
29
|
{ cwd: root, stdio: "pipe" },
|
|
30
30
|
);
|
|
31
31
|
}
|