mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-22 11:45:28 -05:00
committed by
GitHub
parent
a088fbd6fb
commit
e8d5138cfa
8
pyscript.core/package-lock.json
generated
8
pyscript.core/package-lock.json
generated
@@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"@ungap/with-resolvers": "^0.1.0",
|
||||
"basic-devtools": "^0.1.6",
|
||||
"polyscript": "^0.3.8"
|
||||
"polyscript": "^0.3.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-node-resolve": "^15.2.1",
|
||||
@@ -948,9 +948,9 @@
|
||||
"integrity": "sha512-yyVAOFKTAElc7KdLt2+UKGExNYwYb/Y/WE9i+1ezCQsJE8gbKSjewfpRqK2nQgZ4d4hhAAGgDCOcIZVilqE5UA=="
|
||||
},
|
||||
"node_modules/polyscript": {
|
||||
"version": "0.3.8",
|
||||
"resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.3.8.tgz",
|
||||
"integrity": "sha512-LXf1WQxhXiCud4VFCl4TUNFqTHghhpUYxSAAlCdb5XbxQs+0HSaC+1PuyrfsKDEM0WSZXa3xCH1LOxQl2aHDbg==",
|
||||
"version": "0.3.10",
|
||||
"resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.3.10.tgz",
|
||||
"integrity": "sha512-uO9vg0oIbyjo2n7B3/PtOFSWGjpW9WfIVf02aWSkQ6eUrWDmfrB13R03oLofsQoDDfaMZ+odKh3HqoDWqXd99Q==",
|
||||
"dependencies": {
|
||||
"@ungap/structured-clone": "^1.2.0",
|
||||
"@ungap/with-resolvers": "^0.1.0",
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"dependencies": {
|
||||
"@ungap/with-resolvers": "^0.1.0",
|
||||
"basic-devtools": "^0.1.6",
|
||||
"polyscript": "^0.3.8"
|
||||
"polyscript": "^0.3.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-node-resolve": "^15.2.1",
|
||||
|
||||
@@ -107,4 +107,4 @@ for (const [key, value] of Object.entries(allPlugins)) {
|
||||
// assign plugins as Promise.all only if needed
|
||||
if (toBeAwaited.length) plugins = Promise.all(toBeAwaited);
|
||||
|
||||
export { config, plugins, error };
|
||||
export { parsed as config, plugins, error };
|
||||
|
||||
17
pyscript.core/test/combo.html
Normal file
17
pyscript.core/test/combo.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>PyScript Error</title>
|
||||
<script type="module" src="../dist/core.js"></script>
|
||||
<link rel="stylesheet" href="../dist/core.css">
|
||||
<py-config>
|
||||
[[fetch]]
|
||||
files = ["a.py"]
|
||||
</py-config>
|
||||
<script type="py" worker>
|
||||
import a
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
||||
3
pyscript.core/types/config.d.ts
vendored
3
pyscript.core/types/config.d.ts
vendored
@@ -1,3 +1,4 @@
|
||||
export let config: any;
|
||||
declare let parsed: any;
|
||||
export let plugins: any;
|
||||
export let error: any;
|
||||
export { parsed as config };
|
||||
|
||||
Reference in New Issue
Block a user