Upgrade Project
This commit is contained in:
parent
ea65bf0ecd
commit
d69737050a
21 changed files with 331 additions and 189 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -3,6 +3,8 @@ node_modules
|
|||
# Output
|
||||
.output
|
||||
.vercel
|
||||
.netlify
|
||||
.wrangler
|
||||
/.svelte-kit
|
||||
/build
|
||||
|
||||
|
@ -19,3 +21,5 @@ Thumbs.db
|
|||
# Vite
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
|
||||
old/
|
|
@ -3,7 +3,7 @@
|
|||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 100,
|
||||
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
|
||||
"plugins": ["prettier-plugin-svelte"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.svelte",
|
||||
|
|
48
README.md
48
README.md
|
@ -1,16 +1,38 @@
|
|||
# Sprigsy editor
|
||||
# sv
|
||||
|
||||
# planned for v1
|
||||
- [ ] ability to play project
|
||||
- [ ] monaco code editor
|
||||
- [ ] export project for sprig
|
||||
- [ ] docs site
|
||||
- [ ] typescript support (esbuild prob)
|
||||
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
|
||||
|
||||
## Creating a project
|
||||
|
||||
# planned for v2
|
||||
- [ ] sprite manager
|
||||
- [ ] level manager
|
||||
- [ ] build project as a standalone `.html` file
|
||||
- [ ] run on device
|
||||
- [ ] downloadable version
|
||||
If you're seeing this, you've probably already done this step. Congrats!
|
||||
|
||||
```bash
|
||||
# create a new project in the current directory
|
||||
npx sv create
|
||||
|
||||
# create a new project in my-app
|
||||
npx sv create my-app
|
||||
```
|
||||
|
||||
## Developing
|
||||
|
||||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
|
||||
# or start the server and open the app in a new browser tab
|
||||
npm run dev -- --open
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
To create a production version of your app:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
You can preview the production build with `npm run preview`.
|
||||
|
||||
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
|
||||
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
44
package.json
44
package.json
|
@ -1,37 +1,35 @@
|
|||
{
|
||||
"name": "sprigsy",
|
||||
"version": "0.0.1",
|
||||
"name": "sprig-editor",
|
||||
"private": true,
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"lint": "prettier --check .",
|
||||
"format": "prettier --write ."
|
||||
"format": "prettier --write .",
|
||||
"lint": "prettier --check ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "^3.0.0",
|
||||
"@babel/parser": "^7.26.5",
|
||||
"@sveltejs/adapter-static": "^3.0.6",
|
||||
"@sveltejs/kit": "^2.0.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||
"@tailwindcss/typography": "^0.5.14",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"babel-walk": "^3.0.0",
|
||||
"prettier": "^3.1.1",
|
||||
"prettier-plugin-svelte": "^3.1.2",
|
||||
"prettier-plugin-tailwindcss": "^0.6.5",
|
||||
"svelte": "^5.0.0-next.1",
|
||||
"svelte-check": "^3.6.0",
|
||||
"tailwindcss": "^3.4.9",
|
||||
"typescript": "^5.0.0",
|
||||
"vite": "^5.0.3",
|
||||
"@babel/parser": "^7.25.3",
|
||||
"@sveltejs/adapter-static": "^3.0.4",
|
||||
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||
"@tailwindcss/postcss": "^4.0.0-beta.9",
|
||||
"babel-walk": "^3.0.1",
|
||||
"constrained-editor-plugin": "^1.3.0",
|
||||
"monaco-editor": "^0.50.0",
|
||||
"daisyui": "^5.0.0-beta.1",
|
||||
"esbuild-wasm": "^0.24.2",
|
||||
"monaco-editor": "^0.52.2",
|
||||
"prettier": "^3.3.2",
|
||||
"prettier-plugin-svelte": "^3.2.6",
|
||||
"sprig": "^1.1.3",
|
||||
"sveltekit-adapter-deno": "^0.12.1"
|
||||
},
|
||||
"type": "module"
|
||||
"svelte": "^5.0.0",
|
||||
"svelte-check": "^4.0.0",
|
||||
"tailwindcss": "^4.0.0-beta.9",
|
||||
"typescript": "^5.0.0",
|
||||
"vite": "^5.4.11"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
export default {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {}
|
||||
'@tailwindcss/postcss': {},
|
||||
}
|
||||
};
|
||||
|
|
22
src/app.css
22
src/app.css
|
@ -1,7 +1,21 @@
|
|||
@import 'tailwindcss/base';
|
||||
@import 'tailwindcss/components';
|
||||
@import 'tailwindcss/utilities';
|
||||
@import 'tailwindcss';
|
||||
|
||||
body, html {
|
||||
@plugin 'daisyui';
|
||||
|
||||
/*
|
||||
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
||||
so we've added these compatibility styles to make sure everything still
|
||||
looks the same as it did with Tailwind CSS v3.
|
||||
|
||||
If we ever want to remove these styles, we need to add an explicit border
|
||||
color utility to any element that depends on these defaults.
|
||||
*/
|
||||
@layer base {
|
||||
*,
|
||||
::after,
|
||||
::before,
|
||||
::backdrop,
|
||||
::file-selector-button {
|
||||
border-color: var(--color-gray-200, currentColor);
|
||||
}
|
||||
}
|
2
src/app.d.ts
vendored
2
src/app.d.ts
vendored
|
@ -1,4 +1,4 @@
|
|||
// See https://kit.svelte.dev/docs/types#app
|
||||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<script lang="ts">
|
||||
<script lang=ts>
|
||||
import { onMount } from 'svelte';
|
||||
import * as monaco from 'monaco-editor';
|
||||
import tsWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker';
|
||||
import {} from 'sprig/web';
|
||||
import { constrainedEditor } from 'constrained-editor-plugin';
|
||||
import { parse } from '@babel/parser';
|
||||
import { buildProject } from './build';
|
||||
|
||||
let editorContainer: HTMLDivElement;
|
||||
let editor: import('monaco-editor').editor.IStandaloneCodeEditor;
|
||||
|
@ -19,8 +20,9 @@
|
|||
}, timeout);
|
||||
};
|
||||
}
|
||||
let code = `console.log('Hello sprig!');`;
|
||||
let { code = $bindable() }: { code: string } = $props();
|
||||
onMount(async () => {
|
||||
window.build = () => buildProject(code, true);
|
||||
globalThis.process = {};
|
||||
globalThis.process.env = {};
|
||||
const { recursive } = await import('babel-walk');
|
||||
|
@ -38,11 +40,6 @@
|
|||
sprigTypeDef,
|
||||
'context/sprig.d.ts'
|
||||
);
|
||||
const globalTypeDef = (await import('./editorcontext/global.d.ts?raw')).default;
|
||||
monaco.languages.typescript.typescriptDefaults.addExtraLib(
|
||||
globalTypeDef,
|
||||
'global.d.ts'
|
||||
);
|
||||
|
||||
// IMPLEMENT ONCE v2 IS DONE!
|
||||
// const sprigsyTypeDef = (await import('./editorcontext/sprigsy.d.ts?raw')).default;
|
||||
|
@ -54,10 +51,10 @@
|
|||
const disallowedIdentifiers = ['window', 'globalThis'];
|
||||
type ASTState = {
|
||||
disallowedWarnings: { identifier: string; loc: [number, number, number, number] }[];
|
||||
errors: { reason: string; loc: [number, number, number, number] }[];
|
||||
};
|
||||
const ASTWalker = recursive<ASTState>({
|
||||
Identifier(node, state, c) {
|
||||
console;
|
||||
if (disallowedIdentifiers.includes(node.name)) {
|
||||
state.disallowedWarnings.push({
|
||||
identifier: node.name,
|
||||
|
@ -69,16 +66,33 @@
|
|||
]
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
MemberExpression(node, state, c) {
|
||||
if (node.optional) {
|
||||
state.errors.push({
|
||||
reason: 'optional chaining (?.) will work in the editor but it will not work on the sprig console',
|
||||
loc: [
|
||||
node.loc?.start.line!,
|
||||
node.loc?.start.column!,
|
||||
node.loc?.end.line!,
|
||||
node.loc?.end.column!
|
||||
]
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
const checkBabel = debounce(() => {
|
||||
console.log('checking for uhh');
|
||||
const ast = parse(editor.getValue(), {
|
||||
let ast;
|
||||
try {
|
||||
ast = parse(editor.getValue(), {
|
||||
plugins: ['typescript']
|
||||
});
|
||||
const state: ASTState = { disallowedWarnings: [] };
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
const state: ASTState = { disallowedWarnings: [], errors: [] };
|
||||
ASTWalker(ast, state);
|
||||
console.log(state);
|
||||
state.disallowedWarnings.forEach((v) => {
|
||||
monaco.editor.setModelMarkers(editor.getModel()!, editor.getId(), [
|
||||
{
|
||||
|
@ -95,9 +109,8 @@
|
|||
|
||||
function setupEditor() {
|
||||
editor = monaco.editor.create(editorContainer, {
|
||||
value:
|
||||
`function game(api: sprig.FullSprigAPI): void {
|
||||
${code}
|
||||
value: `async function game(api: sprig.FullSprigAPI): void {
|
||||
// Code here
|
||||
}`,
|
||||
language: 'typescript',
|
||||
automaticLayout: true,
|
||||
|
@ -110,14 +123,16 @@
|
|||
constrainedInstance.initializeIn(editor);
|
||||
constrainedInstance.addRestrictionsTo(model, [
|
||||
{
|
||||
range: [2, 1, 2, code.length + 2], // Range of Function definition
|
||||
range: [2, 1, 2, 14], // Range of Function definition
|
||||
allowMultiline: true,
|
||||
label: 'funcDefinition'
|
||||
}
|
||||
]);
|
||||
model.updateValueInEditableRanges({
|
||||
funcDefinition: code
|
||||
});
|
||||
editor.onDidChangeModelContent((event) => {
|
||||
console.log(event.changes);
|
||||
console.log(model.getValueInEditableRanges());
|
||||
code = model.getValueInEditableRanges().funcDefinition;
|
||||
checkBabel();
|
||||
});
|
||||
}
|
||||
|
@ -131,9 +146,8 @@
|
|||
|
||||
<div bind:this={editorContainer} class="editor-container"></div>
|
||||
|
||||
<style>
|
||||
<style lang=postcss>
|
||||
.editor-container {
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
@apply h-screen w-full;
|
||||
}
|
||||
</style>
|
||||
|
|
23
src/lib/build/index.ts
Normal file
23
src/lib/build/index.ts
Normal file
|
@ -0,0 +1,23 @@
|
|||
import { transform, initialize } from 'esbuild-wasm';
|
||||
|
||||
await initialize({
|
||||
wasmURL: (await import('esbuild-wasm/esbuild.wasm')).default
|
||||
});
|
||||
|
||||
export async function buildProject(code: string, vanilla: boolean) {
|
||||
let template = '';
|
||||
if (vanilla) {
|
||||
template += `function game(api) {
|
||||
${code}
|
||||
}
|
||||
console.log("Made with Sprigsy")
|
||||
game({ addSprite, addText, afterInput, bitmap, clearInterval, clearText, clearTile, clearTimeout, color, getAll, getFirst, getGrid, getTile, height, map, onInput, playTune, setBackground, setInterval, setLegend, setMap, setPushables, setSolids, setTimeout, tilesWith, tune, width })
|
||||
`;
|
||||
} else {
|
||||
throw new Error('not implemented');
|
||||
}
|
||||
|
||||
return await transform(template, {
|
||||
loader: 'ts'
|
||||
});
|
||||
}
|
38
src/lib/components/Tab.svelte
Normal file
38
src/lib/components/Tab.svelte
Normal file
|
@ -0,0 +1,38 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
|
||||
let {
|
||||
tab = $bindable(),
|
||||
disabled = $bindable(false),
|
||||
map,
|
||||
...props
|
||||
}: {
|
||||
tab: string | undefined;
|
||||
disabled?: boolean;
|
||||
map?: Record<string, string>;
|
||||
class?: string;
|
||||
[x: `_${string}`]: Snippet<[]>;
|
||||
} = $props();
|
||||
const tabs = Object.fromEntries(
|
||||
Object.entries(props)
|
||||
.filter((v) => v[0].startsWith('_'))
|
||||
.map(([name, snippet]): [string, Snippet<[]>] => [name.replace('_', ''), snippet])
|
||||
);
|
||||
</script>
|
||||
|
||||
<div role="tablist" class="tabs tabs-boxed {props.class}">
|
||||
{#each Object.entries(tabs) as [tabID]}
|
||||
<!-- svelte-ignore a11y_interactive_supports_focus -->
|
||||
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
||||
<!-- svelte-ignore a11y_missing_attribute -->
|
||||
<a
|
||||
class:cursor-not-allowed={disabled}
|
||||
class:pointer-events-none={disabled}
|
||||
class:tab-disabled={disabled}
|
||||
role="tab"
|
||||
class="tab uppercase"
|
||||
onclick={() => (tab = tabID)}
|
||||
class:tab-active={tabID == tab}>{@render tabs[tabID]()}</a
|
||||
>
|
||||
{/each}
|
||||
</div>
|
11
src/lib/editorcontext/global.d.ts
vendored
11
src/lib/editorcontext/global.d.ts
vendored
|
@ -1,11 +0,0 @@
|
|||
// for some reason this doesn't work, I can't figure out why
|
||||
|
||||
declare global {
|
||||
declare function tune(template: TemplateStringsArray, ...params: string[]): string
|
||||
interface Window {
|
||||
setTimeout: import('./sprig').sprig.FullSprigAPI['setTimeout'];
|
||||
setInterval: sprig.FullSprigAPI['setInterval'];
|
||||
clearTimeout: sprig.FullSprigAPI['clearTimeout'];
|
||||
clearInterval: sprig.FullSprigAPI['clearInterval'];
|
||||
}
|
||||
}
|
8
src/lib/editorcontext/sprig.d.ts
vendored
8
src/lib/editorcontext/sprig.d.ts
vendored
|
@ -3,8 +3,8 @@
|
|||
* this is provided because your project type is
|
||||
*/
|
||||
declare namespace sprig {
|
||||
export declare const VALID_INPUTS: readonly ["w", "s", "a", "d", "i", "j", "k", "l"];
|
||||
export type InputKey = typeof VALID_INPUTS[number];
|
||||
export declare const VALID_INPUTS: readonly ['w', 's', 'a', 'd', 'i', 'j', 'k', 'l'];
|
||||
export type InputKey = (typeof VALID_INPUTS)[number];
|
||||
export interface AddTextOptions {
|
||||
x?: number;
|
||||
y?: number;
|
||||
|
@ -43,7 +43,7 @@ declare namespace sprig {
|
|||
}
|
||||
// export declare const tones: Record<string, number>;
|
||||
// export declare const instruments: readonly ["sine", "triangle", "square", "sawtooth"];
|
||||
export type InstrumentType = typeof instruments[number];
|
||||
export type InstrumentType = (typeof instruments)[number];
|
||||
// export declare const instrumentKey: Record<string, InstrumentType>;
|
||||
// export declare const reverseInstrumentKey: Record<"sine" | "triangle" | "square" | "sawtooth", string>;
|
||||
export type Tune = [number, ...(InstrumentType | number | string)[]][];
|
||||
|
@ -64,7 +64,7 @@ declare namespace sprig {
|
|||
setPushables(map: Record<string, string[]>): void;
|
||||
setBackground(type: string): void;
|
||||
getFirst(type: string): SpriteType | undefined;
|
||||
getAll(type: string): SpriteType[];
|
||||
getAll(type?: string): SpriteType[];
|
||||
width(): number;
|
||||
height(): number;
|
||||
setLegend(...bitmaps: [string, string][]): void;
|
||||
|
|
4
src/lib/editorcontext/sprigsy.d.ts
vendored
4
src/lib/editorcontext/sprigsy.d.ts
vendored
|
@ -3,9 +3,11 @@
|
|||
* this is provided because your project has sprigsy v2 enabeled
|
||||
*/
|
||||
declare namespace sprigsy {
|
||||
export interface FullSprigsyAPI {
|
||||
/**
|
||||
* Retrieve a sprite key for the sprite name
|
||||
* @param name Sprite name
|
||||
*/
|
||||
function spriteKeyFor(name: string): string
|
||||
spriteKeyFor(name: string): string;
|
||||
}
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
<script>
|
||||
<script lang="ts">
|
||||
import '../app.css';
|
||||
const { children } = $props();
|
||||
</script>
|
||||
|
||||
<slot></slot>
|
||||
{@render children()}
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
export const prerender = true;
|
||||
export const ssr = false
|
||||
export const csr = true;
|
|
@ -1,8 +1,58 @@
|
|||
<script>
|
||||
import CodeEditor from "$lib/CodeEditor.svelte";
|
||||
|
||||
import CodeEditor from '$lib/CodeEditor.svelte';
|
||||
import Tab from '$lib/components/Tab.svelte';
|
||||
let tab = 'code';
|
||||
let code = '';
|
||||
</script>
|
||||
<div class="">
|
||||
<CodeEditor />
|
||||
|
||||
<div class="flex h-full! w-full select-none flex-col bg-base-100">
|
||||
<nav class="flex flex-row">
|
||||
<Tab bind:tab>
|
||||
{#snippet _settings()}<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1.5"
|
||||
stroke="currentColor"
|
||||
class="size-6"
|
||||
>
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
d="M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"
|
||||
/>
|
||||
</svg>
|
||||
{/snippet}
|
||||
{#snippet _code()}Code{/snippet}
|
||||
{#snippet _test()}Test{/snippet}
|
||||
{#snippet _tunes()}Tunes{/snippet}
|
||||
{#snippet _sprites()}Sprites{/snippet}
|
||||
{#snippet _maps()}Maps{/snippet}
|
||||
</Tab>
|
||||
<div class="flex grow items-center justify-end">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1.5"
|
||||
stroke="currentColor"
|
||||
class="size-6"
|
||||
>
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
d="M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
</nav>
|
||||
{#if tab === 'code'}
|
||||
<CodeEditor bind:code />
|
||||
{:else if ['tunes', 'sprites', 'maps'].includes(tab)}
|
||||
Not implemented
|
||||
{:else if tab === 'settings'}
|
||||
(Settings tab)
|
||||
{:else if tab === 'test'}
|
||||
This will have the game screen
|
||||
{/if}
|
||||
</div>
|
||||
|
|
|
@ -3,14 +3,14 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// Consult https://svelte.dev/docs/kit/integrations
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
|
||||
kit: {
|
||||
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
||||
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
||||
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
||||
adapter: adapter()
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
import type { Config } from 'tailwindcss';
|
||||
|
||||
export default {
|
||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||
|
||||
theme: {
|
||||
extend: {}
|
||||
},
|
||||
|
||||
plugins: [ ]
|
||||
} as Config;
|
|
@ -11,8 +11,8 @@
|
|||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
}
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||
// except $lib which is handled by https://kit.svelte.dev/docs/configuration#files
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
//
|
||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||
// from the referenced tsconfig.json - TypeScript does not merge them in
|
||||
|
|
Loading…
Reference in a new issue