diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 1674aae..0000000 --- a/.babelrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "presets": ["@babel/preset-env"], - "plugins": ["@babel/plugin-transform-classes"] -} diff --git a/.github/workflows/webpack.yml b/.github/workflows/vite.yml similarity index 81% rename from .github/workflows/webpack.yml rename to .github/workflows/vite.yml index 4527c61..f8054fa 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/vite.yml @@ -1,10 +1,9 @@ -name: Webpack +name: Vite on: push: - branches: ["master"] + branches: ["**"] pull_request: - branches: ["master"] jobs: build: @@ -12,7 +11,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [22.x] steps: - uses: actions/checkout@v4 @@ -25,7 +24,7 @@ jobs: - name: Build run: | npm install - npx webpack + npm run build - name: Save artifacts uses: actions/upload-artifact@v4 diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..e0f9b9d --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,4 @@ +{ + "plugins": ["prettier-plugin-svelte"], + "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] +} diff --git a/README.md b/README.md index 2d9868c..4ecc3c9 100644 --- a/README.md +++ b/README.md @@ -98,8 +98,8 @@ Install the required packages for the build: npm install ``` -Build with `npx webpack`. It will create a `dist` folder. For seamless -development with auto-reload, `npx webpack serve` - if you do this, put any +Build with `npm run build`. It will create a `dist` folder. For seamless +development with auto-reload, `npm run dev` - if you do this, put any respacks in `public/respacks` so they're found by the local server. ## Adding a new beat character @@ -108,7 +108,7 @@ There's a few places to change, here's a list: - The documentation in the INFO tab. Found in `HuesInfo.svelte` - The mouseover documentation & button for the beat in EDITOR. Found in `HuesEditor/Main.svelte` -- The list of beats in `HuesCore.ts` +- The list of beats in `HuesCore.svelte.ts` - If you've added some new display behaviour: - A new beat type in the `Effect` enum - A handler in the `beater` function diff --git a/fonts/HuesExtra.eot b/fonts/HuesExtra.eot deleted file mode 100644 index 543435c..0000000 Binary files a/fonts/HuesExtra.eot and /dev/null differ diff --git a/fonts/HuesExtra.svg b/fonts/HuesExtra.svg deleted file mode 100644 index 80b3700..0000000 --- a/fonts/HuesExtra.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - \ No newline at end of file diff --git a/fonts/HuesExtra.ttf b/fonts/HuesExtra.ttf deleted file mode 100644 index 5192359..0000000 Binary files a/fonts/HuesExtra.ttf and /dev/null differ diff --git a/index.html b/index.html index 0daa5e5..0ea2873 100644 --- a/index.html +++ b/index.html @@ -1,47 +1,27 @@ - + -
- - -