add tidal package to website

This commit is contained in:
Felix Roos 2024-05-17 20:37:04 +02:00
parent fd950d4476
commit a35e9aef0e
3 changed files with 7 additions and 1 deletions

3
website/.gitignore vendored
View File

@ -17,3 +17,6 @@ pnpm-debug.log*
# macOS-specific files
.DS_Store
public/tree-sitter.wasm
public/tree-sitter-haskell.wasm

View File

@ -9,7 +9,8 @@
"check": "astro check && tsc",
"build": "astro build",
"preview": "astro preview --port 3009 --host 0.0.0.0",
"astro": "astro"
"astro": "astro",
"postinstall": "cp node_modules/hs2js/dist/tree-sitter.wasm public && cp node_modules/hs2js/dist/tree-sitter-haskell.wasm public"
},
"dependencies": {
"@algolia/client-search": "^4.22.0",
@ -39,6 +40,7 @@
"@strudel/transpiler": "workspace:*",
"@strudel/webaudio": "workspace:*",
"@strudel/xen": "workspace:*",
"@strudel/tidal": "workspace:*",
"@supabase/supabase-js": "^2.39.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",

View File

@ -82,6 +82,7 @@ export function loadModules() {
import('@strudel/serial'),
import('@strudel/soundfonts'),
import('@strudel/csound'),
import('@strudel/tidal'),
];
if (isTauri()) {
modules = modules.concat([