Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
c81b559
Update: github action workflow
zodiacfireworks Jun 17, 2025
9e26b55
Update: .gitignore
zodiacfireworks Jun 17, 2025
e3b3ac8
Add: .editorconfig
zodiacfireworks Jun 17, 2025
cada61a
Update: use spaces instead of tabs and enforce it in .pretierrc, appl…
zodiacfireworks Jun 17, 2025
c4029cf
Remove: unused file .nojekyll
zodiacfireworks Jun 17, 2025
b7332d0
Update: specify mime type for favicon
zodiacfireworks Jun 17, 2025
21f59e7
Fix: lint errors about scaped charaters in regex
zodiacfireworks Jun 17, 2025
7e84faa
Fix: A11y errors in Tree.svelte
zodiacfireworks Jun 17, 2025
fe76b5e
Fix: href for page brand icon
zodiacfireworks Jun 17, 2025
499ef6e
Fix: A11y errors in +page.svelte, specify types for update_lark_resul…
zodiacfireworks Jun 17, 2025
ad378a2
Update: dependencies
zodiacfireworks Jun 17, 2025
5aa37aa
Update: add pyodide to dependencies
zodiacfireworks Jun 18, 2025
21a2cae
Update: use pyodide from dependencies and change python file to ts
zodiacfireworks Jun 18, 2025
aff01d4
Update: use pyodide from dependencies and change python file to ts
zodiacfireworks Jun 18, 2025
f381eb3
Update: remove spread operator to avoid full reload on update
zodiacfireworks Jun 18, 2025
f086d7a
Update: page header layout
zodiacfireworks Jun 18, 2025
54f38af
Update: include link for Quicksand font
zodiacfireworks Jun 18, 2025
65d909a
Update: global styles for page
zodiacfireworks Jun 18, 2025
fd32ef1
Update: styles for header
zodiacfireworks Jun 18, 2025
069d43a
Update: editor layout and styles
zodiacfireworks Jun 18, 2025
377707c
Update: format in python.ts
zodiacfireworks Jun 18, 2025
a1b447b
Update: format in app.css
zodiacfireworks Jun 18, 2025
44e9e16
Add: move parser related constants and types to Parsers.ts
zodiacfireworks Jun 18, 2025
42e2ab2
Update: use types and constants from Parsers.ts in parser options han…
zodiacfireworks Jun 18, 2025
9bb08f7
Update: move default parser options to Parsers.ts, add new fileds to …
zodiacfireworks Jun 18, 2025
29b827c
Update: variable naming case, move grammar contants to Grammars.ts
zodiacfireworks Jun 18, 2025
ffc26f3
Update: rename EditInput.svelte to GrammarTestEditor.svelte
zodiacfireworks Jun 18, 2025
1b13fc4
Update: rename Editor.svelte to GrammarEditor.svelte
zodiacfireworks Jun 18, 2025
a9e6df5
Update: isolate Lark grammar specifications for manaco editor into La…
zodiacfireworks Jun 18, 2025
4cafa19
Update: isolate editor initialization, use Lark.ts, enhance type anno…
zodiacfireworks Jun 18, 2025
b31db24
Update: simplify monaco-editor container styles, enhance type annotat…
zodiacfireworks Jun 18, 2025
11e9952
Fix: setText function usage
zodiacfireworks Jun 18, 2025
4632b52
Update: convert svg files to svelte to avoid usage of @html directive
zodiacfireworks Jun 18, 2025
396e515
Update: move python.ts to Python.ts, enhance type annorations, fix li…
zodiacfireworks Jun 18, 2025
18c8b07
Update: restore parserPromise as condition for resultPromise reactivi…
zodiacfireworks Jun 18, 2025
6eacaa4
Update: format grammars
zodiacfireworks Jun 20, 2025
fb9a420
Add: sample grammar for SemVer
zodiacfireworks Jun 20, 2025
4ab8542
Update: update dependecies to the latest svelte and sveltekit require…
zodiacfireworks Jun 20, 2025
6d8b98d
Add: husky pre-commit hook
zodiacfireworks Jun 20, 2025
eff39ac
Add: .nvmrc to pin node version when working with nvm
zodiacfireworks Jun 20, 2025
f7fda02
Add: storybook config
zodiacfireworks Jun 20, 2025
18d72ce
Add: new e2e directory
zodiacfireworks Jun 20, 2025
f99d654
Update: eslint config
zodiacfireworks Jun 20, 2025
e8a49e9
Update: vite and vitest config
zodiacfireworks Jun 20, 2025
864380e
Update: svelte config
zodiacfireworks Jun 20, 2025
caab6cc
Update: typescript config
zodiacfireworks Jun 20, 2025
3799490
Update: playwright config
zodiacfireworks Jun 20, 2025
34e0aed
Update: editor config
zodiacfireworks Jun 20, 2025
d0ab004
Update: dot files for pretier and git ingore
zodiacfireworks Jun 20, 2025
d13135c
Add: sample histories for storybook
zodiacfireworks Jun 20, 2025
b614e6a
Update: reorganize src directory and apply npm run format with the ne…
zodiacfireworks Jun 20, 2025
2c74e8e
Update: apply format
zodiacfireworks Jun 20, 2025
6e490ab
Update: remove references browser-specific functions
zodiacfireworks Jun 21, 2025
9117c05
Update: fix lint errors in src/lib/Parsers.ts
zodiacfireworks Jun 21, 2025
d7955e3
Update: add @tsconfig/svelte to dev-dependencies
zodiacfireworks Jun 21, 2025
70d6218
Fix: 'event' is defined but never used
zodiacfireworks Jun 21, 2025
1ddefb7
Fix: Each block should have a key
zodiacfireworks Jun 21, 2025
e820290
Update: add monaco-types and monaco-editor packages
zodiacfireworks Jun 21, 2025
9332c63
Update: change reactive declarations to runes
zodiacfireworks Jun 21, 2025
b01d8d5
Update: use and @children
zodiacfireworks Jun 21, 2025
e83696f
Update: enhance typing, correct definition for surroundingPairs in conf
zodiacfireworks Jun 21, 2025
e7bdbcf
Update: change reactive declarations to runes
zodiacfireworks Jun 21, 2025
68f6a55
Update: change reactive declarations to runes
zodiacfireworks Jun 21, 2025
4990683
Update: change reactive declarations to runes, enhance typing
zodiacfireworks Jun 21, 2025
f29ebdf
Fix: lint errors, and borrowed proxy errors
zodiacfireworks Jun 21, 2025
11b13ac
Update: rename icons
zodiacfireworks Jun 22, 2025
5ead67c
Update: update tailwind and add meltui
zodiacfireworks Jun 22, 2025
bfe4a89
Update: add phosphor-svelte dev dependency
zodiacfireworks Jun 22, 2025
b07c734
Update: disable @typescript-eslint/no-empty-object-type
zodiacfireworks Jun 22, 2025
d9e0804
Add: new icon components
zodiacfireworks Jun 22, 2025
9a4aa0d
Update: include tailwind
zodiacfireworks Jun 22, 2025
2e47385
Add: header compoenent
zodiacfireworks Jun 22, 2025
29db57a
Update: remove bulma css, use new Header component
zodiacfireworks Jun 22, 2025
edfadbd
Remove: unused icons
zodiacfireworks Jun 22, 2025
a3d5018
Update: use new favicon
zodiacfireworks Jun 22, 2025
fee8a74
Remove: unsed assets
zodiacfireworks Jun 22, 2025
9cb9538
Update: add preprocessMeltUI
zodiacfireworks Jun 22, 2025
44a4345
Update: fix colors in header
zodiacfireworks Jun 22, 2025
27afbee
Add: Loader component
zodiacfireworks Jun 22, 2025
970c156
Update: rename Python.ts to Pyodide.ts, prepare to use stores
zodiacfireworks Jun 22, 2025
cac3b59
Add: stores for loading and pyodide
zodiacfireworks Jun 22, 2025
993a8e2
Update: use loader in layout
zodiacfireworks Jun 22, 2025
ab4b794
Fix: assing pyodideInstance
zodiacfireworks Jun 23, 2025
ba01aa7
Update: use pyodide from storage
zodiacfireworks Jun 23, 2025
2af7464
Remove unsed css classes
zodiacfireworks Jun 23, 2025
a1ea873
Update: move ide markup to IdeLegacy component
zodiacfireworks Jun 23, 2025
03bc532
Add: base component to use the new Lark IDE
zodiacfireworks Jun 23, 2025
db5330f
Add: new component to swtich between ide versions
zodiacfireworks Jun 23, 2025
e0a6d9d
Update: use ide version switch in header
zodiacfireworks Jun 23, 2025
58f8ccc
Update: complete logic to switch between new and legacy ide components
zodiacfireworks Jun 23, 2025
d465a22
Update: restored styles of legacy ide
zodiacfireworks Jun 23, 2025
28f3d2a
Update: reorganize IDE components
zodiacfireworks Jun 23, 2025
2df7267
Remove: unused setupPyodideLegacy function and related types
zodiacfireworks Jun 23, 2025
5fd68bc
Update: rewrite toggleFullscreen as an arrow function
zodiacfireworks Jun 23, 2025
b0f3ce0
Add: clickOutside directive
zodiacfireworks Jun 23, 2025
04424d2
Fix: controls for legacy ide
zodiacfireworks Jun 23, 2025
48c9ae2
Update: rename legacy utility files
zodiacfireworks Jun 24, 2025
6408a64
Update: add tailwind-toolbar plugin to dependecies
zodiacfireworks Jun 24, 2025
b0ddd43
Update: remove unused css varaibles
zodiacfireworks Jun 24, 2025
f3e7860
Update: rename toolbar component
zodiacfireworks Jun 24, 2025
548c679
Update: move icons to components
zodiacfireworks Jun 24, 2025
696da75
Add: breakpoint store
zodiacfireworks Jun 24, 2025
8906756
Update: enhance scrolling behavior in mobile devices
zodiacfireworks Jun 24, 2025
80b5e51
Update: header mobile version
zodiacfireworks Jun 24, 2025
54593f6
Update: enhance movile menu open state
zodiacfireworks Jun 24, 2025
994776c
Update: add TestSatus enum
zodiacfireworks Jun 24, 2025
5541a18
Fix: replace flex-shrink by shrink
zodiacfireworks Jun 24, 2025
935dc0b
Update: complete status bar
zodiacfireworks Jun 24, 2025
bbfb5db
Update: prepare usage of StatusBar, ad base layour for mobile devices
zodiacfireworks Jun 24, 2025
37a18b0
Update: add createIdeState custom store and related types
zodiacfireworks Jun 24, 2025
0e34494
Update: change testId prop type, fix styles for no selected test case
zodiacfireworks Jun 24, 2025
0fb041b
Update: allow script for postcss in vitePreprocess
zodiacfireworks Jun 26, 2025
3f351b8
Add: postcss config
zodiacfireworks Jun 26, 2025
121b901
Update: apply class for dark mode
zodiacfireworks Jun 26, 2025
25d5946
Update: define custom-variant for dark theme
zodiacfireworks Jun 26, 2025
440b9a4
Update: organize imports, move styles to style tag, apply dark theme …
zodiacfireworks Jun 26, 2025
1328162
Update: apply dark theme variant to loader
zodiacfireworks Jun 26, 2025
094f760
Fix: background color correction
zodiacfireworks Jun 26, 2025
43babfa
Add: new utilities for ide, grammar, parser, test-case and project
zodiacfireworks Jun 26, 2025
5e9b832
Update: apply dark theme to header
zodiacfireworks Jun 26, 2025
b53c95c
Update: apply dark theme to ide switch
zodiacfireworks Jun 26, 2025
c90a409
Update: simplify ide store
zodiacfireworks Jun 26, 2025
a8e0eab
Update: add codemirror and postcss to dependencies
zodiacfireworks Jun 26, 2025
a719844
Fix: use of gap-* instead of space-*
zodiacfireworks Jun 26, 2025
05f90f3
Update: apply theme to status bar
zodiacfireworks Jun 26, 2025
805f29f
Fix: use of gap-* instead of space-*
zodiacfireworks Jun 26, 2025
26a4faa
Update: reorganize files and prepare features fot the new ide
zodiacfireworks Jun 26, 2025
2108e6b
Update: use @apply to define base classes
zodiacfireworks Jun 26, 2025
016182b
Update: prevent shrink of page-main
zodiacfireworks Jun 26, 2025
3160429
Update: prevent shrink of page-header
zodiacfireworks Jun 26, 2025
a810bd3
Update: select project mechanism in project manager
zodiacfireworks Jun 26, 2025
086eefb
Add: new component base for test manager
zodiacfireworks Jun 26, 2025
70e22e1
Update: enhance sizing of root elements
zodiacfireworks Jun 26, 2025
4d98217
Update: enhance sizing
zodiacfireworks Jun 26, 2025
1b8f3d7
Edit: update colors
zodiacfireworks Jun 26, 2025
550c70a
Add: test manager component
zodiacfireworks Jun 26, 2025
ba9cc42
Add: Ide Context
zodiacfireworks Jun 26, 2025
18625cd
Update: include available projects in ide storage, rename methods
zodiacfireworks Jun 26, 2025
9eb68dd
Update: use ide context, simplify layout
zodiacfireworks Jun 26, 2025
3188132
Update: use ide context
zodiacfireworks Jun 26, 2025
2f54e14
Fix: preserve global ide state on project change
zodiacfireworks Jun 27, 2025
185eabc
Update: use ide context
zodiacfireworks Jun 27, 2025
3591864
Update: default force option to false in loadGrammar
zodiacfireworks Jun 27, 2025
1dc7303
Update: use ide context
zodiacfireworks Jun 27, 2025
e16618f
Update: move ide state unsubscribe usage outside subcribe callback, r…
zodiacfireworks Jun 27, 2025
94f5793
Update: save theme to local storage
zodiacfireworks Jun 27, 2025
04b076f
Add: theme store
zodiacfireworks Jun 27, 2025
d88bd1f
Update: load theme storage from local storage
zodiacfireworks Jun 27, 2025
5d953f1
Update: use theme storage
zodiacfireworks Jun 27, 2025
968fce2
Update: add codemirror dependecies
zodiacfireworks Jun 27, 2025
1b644ce
Update: use codemirror
zodiacfireworks Jun 27, 2025
2507b60
Remove: unused store
zodiacfireworks Jun 27, 2025
06a8051
Fix: prefix isDarkMode with $ in markup
zodiacfireworks Jun 27, 2025
2513699
Update: prepare usage of melt-ui scroll area
zodiacfireworks Jun 27, 2025
6c415e2
Update: add focus styles
zodiacfireworks Jun 27, 2025
b0a50fc
Update: add focus styles
zodiacfireworks Jun 27, 2025
48b39f0
Update: complete layout for test case managers
zodiacfireworks Jun 27, 2025
eaca53c
Update: complete layout for test case list
zodiacfireworks Jun 27, 2025
d1d6e0b
Update: complete test list component
zodiacfireworks Jun 27, 2025
74a8e87
Update: complete text editor for tests
zodiacfireworks Jun 27, 2025
095b508
Update: use isActive property in Test component
zodiacfireworks Jun 27, 2025
d55bd40
Update: base layout test item content
zodiacfireworks Jun 27, 2025
efda836
Update: Use @tailwindcss/forms
zodiacfireworks Jun 27, 2025
f340fe1
Update: remove unnecessary console.log
zodiacfireworks Jun 27, 2025
3524d2a
Update: remove unnecessary console.log
zodiacfireworks Jun 27, 2025
86c3ea1
Update: rename stack property to traceback in TestResult
zodiacfireworks Jun 27, 2025
077a466
Update: add test result detail, edit description capability
zodiacfireworks Jun 27, 2025
d21d2f9
Update: import traceback in LARK_IMPORT_SCRIPT
zodiacfireworks Jun 27, 2025
e920dbd
Update: new executeTestCase function
zodiacfireworks Jun 27, 2025
b235188
Update: add test execution feature
zodiacfireworks Jun 27, 2025
1ba3320
Update: add tree view
zodiacfireworks Jun 27, 2025
76928a6
Update: enhance stlyes
zodiacfireworks Jun 27, 2025
c254ca0
Update: enable test case deletion
zodiacfireworks Jun 28, 2025
943ff8f
Update: enable test create, reindex test on deletion
zodiacfireworks Jun 28, 2025
f3df50c
Update: increase height of traceback
zodiacfireworks Jun 28, 2025
beb5260
Update: enable run all tests
zodiacfireworks Jun 28, 2025
b6bbea2
Update: update button colors
zodiacfireworks Jun 28, 2025
b9eee72
Update: change test case content for project configuration
zodiacfireworks Jun 28, 2025
0df7cbf
Update: add spacing for terminal nodes
zodiacfireworks Jun 28, 2025
d7d597d
Fix: test case name on edit
zodiacfireworks Jun 28, 2025
a4a2f21
Update: remove unused dependecies
zodiacfireworks Jun 28, 2025
24a032c
Update: remove unsed import
zodiacfireworks Jun 28, 2025
35f472a
Update: dependencies
zodiacfireworks Jun 28, 2025
21102a3
Update: ehance add button border style when test list is empty
zodiacfireworks Jun 28, 2025
924720e
Fix: consistent letter case in buttons text
zodiacfireworks Jun 28, 2025
b20ce6b
Fix: color text in buttons for dangerous action
zodiacfireworks Jun 28, 2025
bf4ca4e
Update: color in select options, new dropdown menu
zodiacfireworks Jun 28, 2025
da86b07
Update: rename variable name to fileName in downloadGrammar
zodiacfireworks Jun 28, 2025
000b108
Update: download grammar functionality
zodiacfireworks Jun 28, 2025
0dd0fed
Update: new method setAvailableProjects in createIdeState store
zodiacfireworks Jun 28, 2025
454130d
Update: handle project delete
zodiacfireworks Jun 28, 2025
79ae1cb
Update: remove unused variable
zodiacfireworks Jun 28, 2025
e861e51
Update: handle create/edit projects
zodiacfireworks Jun 28, 2025
51cd980
Update: handle empty token
zodiacfireworks Jun 28, 2025
0c7d2c9
Remove: all references to legacy ide, referneces to require
zodiacfireworks Jun 28, 2025
684275c
Update: remove parse tree visaulization in plain text
zodiacfireworks Jun 28, 2025
dfa2da9
Remove: unused component
zodiacfireworks Jun 28, 2025
8cbdab4
Fix: reindex test cases before project creation
zodiacfireworks Jun 28, 2025
925728c
Update: remove unnecessary comments, remove extra theme form codemirr…
zodiacfireworks Jun 28, 2025
34271b6
Add: custom code mirror themes for Lark IDE
zodiacfireworks Jun 28, 2025
7dc7424
Update: use custom themes in editor components
zodiacfireworks Jun 28, 2025
ce69350
Update: ehance layout spacing
zodiacfireworks Jun 28, 2025
5e691c1
Remove: sample files from storybook
zodiacfireworks Jun 28, 2025
4cd5a32
Fix: selection style in active line
zodiacfireworks Jun 28, 2025
3a51267
Add: base storybook stories
zodiacfireworks Jun 28, 2025
1f48db9
Update: make grammar template readonly, handle click error when downl…
zodiacfireworks Jun 29, 2025
9b02e2f
Add: tests
zodiacfireworks Jun 29, 2025
273460f
Update: move all test to tests directory
zodiacfireworks Jun 29, 2025
e5ef09b
Update: alias src directory to @ and remove relative imports from tests.
zodiacfireworks Jun 29, 2025
3aac565
Remove: unused file
zodiacfireworks Jun 29, 2025
f997633
Update: enhance accessibility in test item component
zodiacfireworks Jun 29, 2025
3c948db
Update: enhance accessibility in header component
zodiacfireworks Jun 29, 2025
05e646e
Update: add aria-label to buttons in IDE component
zodiacfireworks Jun 29, 2025
b54aece
Update: add aria-label to buttons in project manager component
zodiacfireworks Jun 29, 2025
6270053
Update: add aria-label to buttons in test manager component
zodiacfireworks Jun 29, 2025
89c60f6
Update: add aria-label to buttons in test tree component
zodiacfireworks Jun 29, 2025
9343ef7
Update: add e2e tests
zodiacfireworks Jun 29, 2025
cc1770c
Fix: lint errors in e2e files
zodiacfireworks Jun 29, 2025
558d0da
Update: move stories outside src
zodiacfireworks Jun 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 2
max_line_length = 100

[*.svelte]
quote_type = single

[*.ts]
indent_size = 2

[*.css]
indent_size = 2

[*.html]
indent_size = 2

[*.json]
indent_size = 2

[*.yml]
indent_size = 2

[*.html]
indent_size = 2

[*.md]
indent_size = 2

[*.lark]
indent_size = 4
13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions .eslintrc.cjs

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- master

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install Dependencies
run: |
npm ci

- name: Build Project
run: |
npm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'build'

deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
26 changes: 0 additions & 26 deletions .github/workflows/main.yml

This file was deleted.

28 changes: 25 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
.DS_Store
test-results
node_modules
/build
.vscode

# Output
.output
.vercel
.netlify
.wrangler
/.svelte-kit
/package
/build

# OS
.DS_Store
Thumbs.db

# Env
.env
.env.*
!.env.example
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Storybook
*storybook.log
storybook-static

# Playwright
playwright-report
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
npm run format
npm run lint
npm run check
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.16.0
15 changes: 4 additions & 11 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock
bun.lock
bun.lockb
20 changes: 13 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
"useTabs": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
}
31 changes: 31 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import type { StorybookConfig } from '@storybook/sveltekit';

const config: StorybookConfig = {
stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|ts|svelte)'],
addons: [
'@storybook/addon-svelte-csf',
'@chromatic-com/storybook',
'@storybook/addon-docs',
'@storybook/addon-a11y',
'@storybook/addon-vitest'
],
framework: {
name: '@storybook/sveltekit',
options: {}
},
viteFinal: async (config) => {
if (config.optimizeDeps) {
config.optimizeDeps.exclude = [
...(config.optimizeDeps.exclude || []),
'pyodide',
'@melt-ui/svelte'
];
} else {
config.optimizeDeps = {
exclude: ['pyodide', '@melt-ui/svelte']
};
}
return config;
}
};
export default config;
14 changes: 14 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type { Preview } from '@storybook/sveltekit';

const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i
}
}
}
};

export default preview;
Empty file removed build/.nojekyll
Empty file.
Loading