Skip to content

Commit

Permalink
Use workspace version for code in _website (#8189)
Browse files Browse the repository at this point in the history
* workspace

* add changeset

* remove circular import from preview

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
2 people authored and dawoodkhan82 committed May 6, 2024
1 parent 7d1c87b commit 1b3d2b6
Show file tree
Hide file tree
Showing 4 changed files with 461 additions and 376 deletions.
7 changes: 7 additions & 0 deletions .changeset/public-falcons-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"gradio": patch
"gradio_test": patch
"website": patch
---

feat:Use workspace version for code in _website
4 changes: 2 additions & 2 deletions js/_website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
},
"type": "module",
"dependencies": {
"@gradio/code": "0.5.11",
"@gradio/code": "workspace:^",
"@sindresorhus/slugify": "^2.2.0",
"@sveltejs/adapter-vercel": "^5.3.0",
"hast-util-to-string": "^3.0.0",
"mdsvex": "^0.11.0",
"postcss": ">=8.3.3 <9.0.0",
"postcss": "^8.4.27",
"prism-svelte": "^0.5.0"
}
}
1 change: 0 additions & 1 deletion js/preview/test/test/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@zerodevx/svelte-json-view": "^1.0.7"
},
"devDependencies": {
"@gradio/preview": "workspace:^",
"@tailwindcss/vite": "4.0.0-alpha.14",
"tailwindcss": "4.0.0-alpha.14"
}
Expand Down
Loading

0 comments on commit 1b3d2b6

Please sign in to comment.