Merge pull request #870 from tidalcycles/haskell-parser

hs2js package / tidal parser
This commit is contained in:
Felix Roos 2024-05-19 12:07:26 +02:00 committed by GitHub
commit 25064b427d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 2096 additions and 2 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",
@ -49,6 +51,7 @@
"astro": "^4.0.8",
"claviature": "^0.1.0",
"date-fns": "^3.2.0",
"hs2js": "0.0.8",
"nanoid": "^5.0.4",
"nanostores": "^0.9.5",
"react": "^18.2.0",

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([