use pnpm workspaces

This commit is contained in:
Felix Roos 2023-01-28 20:14:26 +01:00
parent 6c3a235b08
commit 35f2040717
14 changed files with 11776 additions and 8 deletions

View file

@ -32,6 +32,12 @@ export default defineConfig({
],
site: `https://strudel.tidalcycles.org`,
base: '/',
vite: {
ssr: {
// Example: Force a broken package to skip SSR processing, if needed
external: ['fraction.js'], // https://github.com/infusion/Fraction.js/issues/51
},
},
});
/*

View file

@ -21,6 +21,18 @@
"@docsearch/react": "^3.1.0",
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.13",
"@strudel.cycles/core": "workspace:*",
"@strudel.cycles/csound": "workspace:*",
"@strudel.cycles/midi": "workspace:*",
"@strudel.cycles/mini": "workspace:*",
"@strudel.cycles/osc": "workspace:*",
"@strudel.cycles/react": "workspace:*",
"@strudel.cycles/serial": "workspace:*",
"@strudel.cycles/soundfonts": "workspace:*",
"@strudel.cycles/tonal": "workspace:*",
"@strudel.cycles/transpiler": "workspace:*",
"@strudel.cycles/webaudio": "workspace:*",
"@strudel.cycles/xen": "workspace:*",
"@supabase/supabase-js": "^1.35.3",
"@tailwindcss/typography": "^0.5.8",
"@types/node": "^18.0.0",

View file

@ -16,7 +16,6 @@ import {
import { createClient } from '@supabase/supabase-js';
import { nanoid } from 'nanoid';
import React, { createContext, useCallback, useEffect, useState } from 'react';
import * as WebDirt from 'WebDirt';
import './Repl.css';
import { Footer } from './Footer';
import { Header } from './Header';
@ -47,7 +46,6 @@ const modules = [
evalScope(
controls, // sadly, this cannot be exported from core direclty
{ WebDirt },
...modules,
);