Skip to content

Commit

Permalink
fix: Move www/shared/py-shiny to www/py-shiny (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Jul 8, 2024
1 parent a00a350 commit e5aea5d
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion js/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ process.argv.forEach((val, index) => {
}
});

const outDir = "../shiny/www/shared/py-shiny";
const outDir = "../shiny/www/py-shiny";

async function bundle_helper(
options: BuildOptions
Expand Down
10 changes: 5 additions & 5 deletions shiny/ui/_html_deps_py_shiny.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def data_frame_deps() -> HTMLDependency:
version=__version__,
source={
"package": "shiny",
"subdir": "www/shared/py-shiny/data-frame",
"subdir": "www/py-shiny/data-frame",
},
script={"src": "data-frame.js", "type": "module"},
)
Expand All @@ -33,7 +33,7 @@ def chat_deps() -> list[HTMLDependency]:
version=__version__,
source={
"package": "shiny",
"subdir": "www/shared/py-shiny/chat",
"subdir": "www/py-shiny/chat",
},
script={"src": "chat.js", "type": "module"},
stylesheet={"href": "chat.css"},
Expand All @@ -46,7 +46,7 @@ def autoresize_dependency() -> HTMLDependency:
return HTMLDependency(
"shiny-textarea-autoresize",
__version__,
source={"package": "shiny", "subdir": "www/shared/py-shiny/text-area"},
source={"package": "shiny", "subdir": "www/py-shiny/text-area"},
script={"src": "textarea-autoresize.js", "type": "module"},
stylesheet={"href": "textarea-autoresize.css"},
)
Expand All @@ -56,7 +56,7 @@ def page_output_dependency() -> HTMLDependency:
return HTMLDependency(
"shiny-page-output",
__version__,
source={"package": "shiny", "subdir": "www/shared/py-shiny/page-output"},
source={"package": "shiny", "subdir": "www/py-shiny/page-output"},
script={"src": "page-output.js", "type": "module"},
)

Expand All @@ -65,7 +65,7 @@ def spin_dependency() -> HTMLDependency:
return HTMLDependency(
"shiny-spin",
__version__,
source={"package": "shiny", "subdir": "www/shared/py-shiny/spin"},
source={"package": "shiny", "subdir": "www/py-shiny/spin"},
stylesheet={"href": "spin.css"},
)

Expand Down
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Large diffs are not rendered by default.

File renamed without changes.
Loading

0 comments on commit e5aea5d

Please sign in to comment.