From 98fe110203cf48476ab2269496cd15a6ae278173 Mon Sep 17 00:00:00 2001 From: av8ta Date: Fri, 5 Apr 2024 16:48:32 +1000 Subject: [PATCH 01/30] move web application into packages/ --- .eslintrc.cjs | 14 - .gitignore | 7 +- .vscode/settings.json | 11 - README.md | 2 +- .eslintignore => packages/web/.eslintignore | 0 packages/web/.eslintrc.cjs | 14 + packages/web/.gitignore | 11 + .npmrc => packages/web/.npmrc | 0 .../web/.prettierignore | 0 .prettierrc => packages/web/.prettierrc | 10 +- packages/web/.vscode/settings.json | 10 + .../web/README_svelte.md | 0 package.json => packages/web/package.json | 2 +- .../web/playwright.config.js | 0 .../web/postcss.config.cjs | 8 +- packages/web/src/app.html | 15 + packages/web/src/app.postcss | 14 + {src => packages/web/src}/global.d.ts | 0 {src => packages/web/src}/lib/arc.js | 0 {src => packages/web/src}/lib/circle.js | 0 {src => packages/web/src}/lib/constraint.js | 0 {src => packages/web/src}/lib/face.js | 0 {src => packages/web/src}/lib/index.js | 0 {src => packages/web/src}/lib/line_segment.js | 0 {src => packages/web/src}/lib/plane.js | 0 {src => packages/web/src}/lib/point.js | 0 {src => packages/web/src}/lib/sketch.js | 0 {src => packages/web/src}/lib/solid.js | 0 {src => packages/web/src}/lib/utils.js | 0 .../web/src}/routes/+layout.svelte | 0 {src => packages/web/src}/routes/+layout.ts | 0 {src => packages/web/src}/routes/+page.svelte | 0 .../web/src}/routes/cadmium/+page.svelte | 0 .../src}/routes/cadmium/extrudeForm.svelte | 0 .../web/src}/routes/cadmium/mainCanvas.svelte | 0 .../web/src}/routes/cadmium/planeForm.svelte | 0 .../web/src}/routes/cadmium/sketchForm.svelte | 0 .../routes/cadmium/solidContextMenu.svelte | 0 .../routes/cadmium/stepContextMenu.svelte | 0 .../web/src}/routes/cadmium/stores.js | 0 .../web/src}/routes/threlte/+page.svelte | 0 .../web/src}/routes/threlte/AppBar.svelte | 0 .../web/src}/routes/threlte/Arc.svelte | 0 .../web/src}/routes/threlte/BottomBar.svelte | 0 .../web/src}/routes/threlte/Circle.svelte | 0 .../routes/threlte/ExtrusionFeature.svelte | 0 .../web/src}/routes/threlte/Face.svelte | 0 .../src}/routes/threlte/FeatureHistory.svelte | 0 .../web/src}/routes/threlte/Line.svelte | 0 .../src}/routes/threlte/MainDisplay.svelte | 0 .../src}/routes/threlte/NewCircleTool.svelte | 0 .../src}/routes/threlte/NewLineTool.svelte | 0 .../routes/threlte/NewRectangleTool.svelte | 0 .../src}/routes/threlte/PassiveSketch.svelte | 0 .../web/src}/routes/threlte/Plane.svelte | 0 .../src}/routes/threlte/PlaneFeature.svelte | 0 .../web/src}/routes/threlte/Point2D.svelte | 0 .../web/src}/routes/threlte/Point3D.svelte | 0 .../src}/routes/threlte/PointFeature.svelte | 0 .../web/src}/routes/threlte/Scene.svelte | 0 .../web/src}/routes/threlte/SelectTool.svelte | 0 .../routes/threlte/SelectableSurface.svelte | 6 +- .../web/src}/routes/threlte/Sketch.svelte | 0 .../src}/routes/threlte/SketchFeature.svelte | 0 .../web/src}/routes/threlte/Solid.svelte | 0 .../web/src}/routes/threlte/SolidItem.svelte | 0 .../web/src}/routes/threlte/ToolBar.svelte | 0 .../web/src}/routes/threlte/projectUtils.ts | 0 .../web/src}/routes/threlte/stores.ts | 0 .../web/src}/tests/unit/fixtures.js | 0 .../web/src}/tests/unit/index.test.js | 0 {src => packages/web/src}/typeGuards.ts | 0 {src => packages/web/src}/types.d.ts | 0 .../web/static}/actions/chamfer_min.svg | 0 .../web/static}/actions/circle.svg | 0 .../web/static}/actions/draft_min.svg | 0 .../web/static}/actions/extrude_min.svg | 0 .../web/static}/actions/fillet_min.svg | 0 .../web/static}/actions/hole_min.svg | 0 .../web/static}/actions/horizontal.svg | 0 .../web/static}/actions/just_a_point.svg | 0 .../web/static}/actions/line.svg | 0 .../web/static}/actions/part.svg | 0 .../web/static}/actions/plane_min.svg | 0 .../web/static}/actions/point_min.svg | 0 .../web/static}/actions/point_min_icon.svg | 0 .../web/static}/actions/point_outline.svg | 0 .../web/static}/actions/rectangle.svg | 0 .../web/static}/actions/revolve_min.svg | 0 .../web/static}/actions/simple_point_min.svg | 0 .../web/static}/actions/sketch_min.svg | 0 .../web/static}/actions/solve_min.svg | 0 .../web/static}/actions/step_min.svg | 0 .../web/static}/cadmium_logo_min.svg | 0 .../hdr/kloofendal_28d_misty_puresky_1k.hdr | Bin {static => packages/web/static}/favicon.png | Bin .../web/static}/github-mark.svg | 0 .../web/svelte.config.js | 0 .../web/tailwind.config.cjs | 12 +- {tests => packages/web/tests}/e2e/test.ts | 0 tsconfig.json => packages/web/tsconfig.json | 0 .../web/vercel_build.sh | 0 vite.config.js => packages/web/vite.config.js | 0 pnpm-lock.yaml | 696 ++++++++++-------- src/app.html | 17 - src/app.postcss | 15 - 106 files changed, 464 insertions(+), 400 deletions(-) delete mode 100644 .eslintrc.cjs delete mode 100644 .vscode/settings.json rename .eslintignore => packages/web/.eslintignore (100%) create mode 100644 packages/web/.eslintrc.cjs create mode 100644 packages/web/.gitignore rename .npmrc => packages/web/.npmrc (100%) rename .prettierignore => packages/web/.prettierignore (100%) rename .prettierrc => packages/web/.prettierrc (77%) create mode 100644 packages/web/.vscode/settings.json rename README_svelte.md => packages/web/README_svelte.md (100%) rename package.json => packages/web/package.json (99%) rename playwright.config.js => packages/web/playwright.config.js (100%) rename postcss.config.cjs => packages/web/postcss.config.cjs (62%) create mode 100644 packages/web/src/app.html create mode 100644 packages/web/src/app.postcss rename {src => packages/web/src}/global.d.ts (100%) rename {src => packages/web/src}/lib/arc.js (100%) rename {src => packages/web/src}/lib/circle.js (100%) rename {src => packages/web/src}/lib/constraint.js (100%) rename {src => packages/web/src}/lib/face.js (100%) rename {src => packages/web/src}/lib/index.js (100%) rename {src => packages/web/src}/lib/line_segment.js (100%) rename {src => packages/web/src}/lib/plane.js (100%) rename {src => packages/web/src}/lib/point.js (100%) rename {src => packages/web/src}/lib/sketch.js (100%) rename {src => packages/web/src}/lib/solid.js (100%) rename {src => packages/web/src}/lib/utils.js (100%) rename {src => packages/web/src}/routes/+layout.svelte (100%) rename {src => packages/web/src}/routes/+layout.ts (100%) rename {src => packages/web/src}/routes/+page.svelte (100%) rename {src => packages/web/src}/routes/cadmium/+page.svelte (100%) rename {src => packages/web/src}/routes/cadmium/extrudeForm.svelte (100%) rename {src => packages/web/src}/routes/cadmium/mainCanvas.svelte (100%) rename {src => packages/web/src}/routes/cadmium/planeForm.svelte (100%) rename {src => packages/web/src}/routes/cadmium/sketchForm.svelte (100%) rename {src => packages/web/src}/routes/cadmium/solidContextMenu.svelte (100%) rename {src => packages/web/src}/routes/cadmium/stepContextMenu.svelte (100%) rename {src => packages/web/src}/routes/cadmium/stores.js (100%) rename {src => packages/web/src}/routes/threlte/+page.svelte (100%) rename {src => packages/web/src}/routes/threlte/AppBar.svelte (100%) rename {src => packages/web/src}/routes/threlte/Arc.svelte (100%) rename {src => packages/web/src}/routes/threlte/BottomBar.svelte (100%) rename {src => packages/web/src}/routes/threlte/Circle.svelte (100%) rename {src => packages/web/src}/routes/threlte/ExtrusionFeature.svelte (100%) rename {src => packages/web/src}/routes/threlte/Face.svelte (100%) rename {src => packages/web/src}/routes/threlte/FeatureHistory.svelte (100%) rename {src => packages/web/src}/routes/threlte/Line.svelte (100%) rename {src => packages/web/src}/routes/threlte/MainDisplay.svelte (100%) rename {src => packages/web/src}/routes/threlte/NewCircleTool.svelte (100%) rename {src => packages/web/src}/routes/threlte/NewLineTool.svelte (100%) rename {src => packages/web/src}/routes/threlte/NewRectangleTool.svelte (100%) rename {src => packages/web/src}/routes/threlte/PassiveSketch.svelte (100%) rename {src => packages/web/src}/routes/threlte/Plane.svelte (100%) rename {src => packages/web/src}/routes/threlte/PlaneFeature.svelte (100%) rename {src => packages/web/src}/routes/threlte/Point2D.svelte (100%) rename {src => packages/web/src}/routes/threlte/Point3D.svelte (100%) rename {src => packages/web/src}/routes/threlte/PointFeature.svelte (100%) rename {src => packages/web/src}/routes/threlte/Scene.svelte (100%) rename {src => packages/web/src}/routes/threlte/SelectTool.svelte (100%) rename {src => packages/web/src}/routes/threlte/SelectableSurface.svelte (98%) rename {src => packages/web/src}/routes/threlte/Sketch.svelte (100%) rename {src => packages/web/src}/routes/threlte/SketchFeature.svelte (100%) rename {src => packages/web/src}/routes/threlte/Solid.svelte (100%) rename {src => packages/web/src}/routes/threlte/SolidItem.svelte (100%) rename {src => packages/web/src}/routes/threlte/ToolBar.svelte (100%) rename {src => packages/web/src}/routes/threlte/projectUtils.ts (100%) rename {src => packages/web/src}/routes/threlte/stores.ts (100%) rename {src => packages/web/src}/tests/unit/fixtures.js (100%) rename {src => packages/web/src}/tests/unit/index.test.js (100%) rename {src => packages/web/src}/typeGuards.ts (100%) rename {src => packages/web/src}/types.d.ts (100%) rename {static => packages/web/static}/actions/chamfer_min.svg (100%) rename {static => packages/web/static}/actions/circle.svg (100%) rename {static => packages/web/static}/actions/draft_min.svg (100%) rename {static => packages/web/static}/actions/extrude_min.svg (100%) rename {static => packages/web/static}/actions/fillet_min.svg (100%) rename {static => packages/web/static}/actions/hole_min.svg (100%) rename {static => packages/web/static}/actions/horizontal.svg (100%) rename {static => packages/web/static}/actions/just_a_point.svg (100%) rename {static => packages/web/static}/actions/line.svg (100%) rename {static => packages/web/static}/actions/part.svg (100%) rename {static => packages/web/static}/actions/plane_min.svg (100%) rename {static => packages/web/static}/actions/point_min.svg (100%) rename {static => packages/web/static}/actions/point_min_icon.svg (100%) rename {static => packages/web/static}/actions/point_outline.svg (100%) rename {static => packages/web/static}/actions/rectangle.svg (100%) rename {static => packages/web/static}/actions/revolve_min.svg (100%) rename {static => packages/web/static}/actions/simple_point_min.svg (100%) rename {static => packages/web/static}/actions/sketch_min.svg (100%) rename {static => packages/web/static}/actions/solve_min.svg (100%) rename {static => packages/web/static}/actions/step_min.svg (100%) rename {static => packages/web/static}/cadmium_logo_min.svg (100%) rename {static => packages/web/static}/envmap/hdr/kloofendal_28d_misty_puresky_1k.hdr (100%) rename {static => packages/web/static}/favicon.png (100%) rename {static => packages/web/static}/github-mark.svg (100%) rename svelte.config.js => packages/web/svelte.config.js (100%) rename tailwind.config.cjs => packages/web/tailwind.config.cjs (53%) rename {tests => packages/web/tests}/e2e/test.ts (100%) rename tsconfig.json => packages/web/tsconfig.json (100%) rename vercel_build.sh => packages/web/vercel_build.sh (100%) rename vite.config.js => packages/web/vite.config.js (100%) delete mode 100644 src/app.html delete mode 100644 src/app.postcss diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 29c1d31b..00000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - root: true, - extends: ['eslint:recommended', 'plugin:svelte/recommended', 'prettier'], - parserOptions: { - sourceType: 'module', - ecmaVersion: 2020, - extraFileExtensions: ['.svelte'] - }, - env: { - browser: true, - es2017: true, - node: true - } -}; diff --git a/.gitignore b/.gitignore index 9b83b75e..e4f67384 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,9 @@ .DS_Store -node_modules +/node_modules/ /build /dist /.svelte-kit /package -.env -.env.* -!.env.example +*.env* vite.config.js.timestamp-* vite.config.ts.timestamp-* -types.guard.ts diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 3cd92f3d..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "rust-analyzer.linkedProjects": [ - "packages/cadmium/Cargo.toml", - ], - "[markdown]": { - "editor.formatOnSave": false, - }, - "javascript.format.semicolons": "remove", - "typescript.preferences.quoteStyle": "double", - "javascript.preferences.quoteStyle": "double" -} \ No newline at end of file diff --git a/README.md b/README.md index ca6c66ac..e7801cd1 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ To build locally using pnpm workspace: ``` git clone https://github.com/MattFerraro/CADmium.git -cd CADmium +cd CADmium/packages/web pnpm run build:wasm pnpm install pnpm run dev diff --git a/.eslintignore b/packages/web/.eslintignore similarity index 100% rename from .eslintignore rename to packages/web/.eslintignore diff --git a/packages/web/.eslintrc.cjs b/packages/web/.eslintrc.cjs new file mode 100644 index 00000000..22d2144c --- /dev/null +++ b/packages/web/.eslintrc.cjs @@ -0,0 +1,14 @@ +module.exports = { + root: true, + extends: ["eslint:recommended", "plugin:svelte/recommended", "prettier"], + parserOptions: { + sourceType: "module", + ecmaVersion: 2020, + extraFileExtensions: [".svelte"] + }, + env: { + browser: true, + es2017: true, + node: true + } +} diff --git a/packages/web/.gitignore b/packages/web/.gitignore new file mode 100644 index 00000000..0cf63fa4 --- /dev/null +++ b/packages/web/.gitignore @@ -0,0 +1,11 @@ +.DS_Store +node_modules +/build +/dist +/.svelte-kit +/package +.env +*.env.* +vite.config.js.timestamp-* +vite.config.ts.timestamp-* +types.guard.ts diff --git a/.npmrc b/packages/web/.npmrc similarity index 100% rename from .npmrc rename to packages/web/.npmrc diff --git a/.prettierignore b/packages/web/.prettierignore similarity index 100% rename from .prettierignore rename to packages/web/.prettierignore diff --git a/.prettierrc b/packages/web/.prettierrc similarity index 77% rename from .prettierrc rename to packages/web/.prettierrc index 959a6e7c..5ece983f 100644 --- a/.prettierrc +++ b/packages/web/.prettierrc @@ -3,12 +3,8 @@ "singleQuote": false, "trailingComma": "none", "printWidth": 120, - "plugins": [ - "prettier-plugin-svelte" - ], - "pluginSearchDirs": [ - "." - ], + "plugins": ["prettier-plugin-svelte"], + "pluginSearchDirs": ["."], "semi": false, "overrides": [ { @@ -24,4 +20,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/web/.vscode/settings.json b/packages/web/.vscode/settings.json new file mode 100644 index 00000000..1bacea69 --- /dev/null +++ b/packages/web/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "rust-analyzer.linkedProjects": ["packages/cadmium/Cargo.toml"], + "[markdown]": { + "editor.formatOnSave": false + }, + "javascript.format.semicolons": "remove", + "typescript.preferences.quoteStyle": "double", + "javascript.preferences.quoteStyle": "double", + "editor.tabSize": 2 +} diff --git a/README_svelte.md b/packages/web/README_svelte.md similarity index 100% rename from README_svelte.md rename to packages/web/README_svelte.md diff --git a/package.json b/packages/web/package.json similarity index 99% rename from package.json rename to packages/web/package.json index 7425d012..363f251b 100644 --- a/package.json +++ b/packages/web/package.json @@ -55,4 +55,4 @@ "vite-plugin-top-level-await": "^1.4.1", "vite-plugin-wasm": "^3.3.0" } -} \ No newline at end of file +} diff --git a/playwright.config.js b/packages/web/playwright.config.js similarity index 100% rename from playwright.config.js rename to packages/web/playwright.config.js diff --git a/postcss.config.cjs b/packages/web/postcss.config.cjs similarity index 62% rename from postcss.config.cjs rename to packages/web/postcss.config.cjs index fe10e55a..9090d179 100644 --- a/postcss.config.cjs +++ b/packages/web/postcss.config.cjs @@ -1,5 +1,5 @@ -const tailwindcss = require('tailwindcss'); -const autoprefixer = require('autoprefixer'); +const tailwindcss = require("tailwindcss") +const autoprefixer = require("autoprefixer") const config = { plugins: [ @@ -8,6 +8,6 @@ const config = { //But others, like autoprefixer, need to run after, autoprefixer ] -}; +} -module.exports = config; +module.exports = config diff --git a/packages/web/src/app.html b/packages/web/src/app.html new file mode 100644 index 00000000..ae7a429c --- /dev/null +++ b/packages/web/src/app.html @@ -0,0 +1,15 @@ + + + + + + + + CADmium + %sveltekit.head% + + + +
%sveltekit.body%
+ + diff --git a/packages/web/src/app.postcss b/packages/web/src/app.postcss new file mode 100644 index 00000000..441489b1 --- /dev/null +++ b/packages/web/src/app.postcss @@ -0,0 +1,14 @@ +/* Write your global styles here, in PostCSS syntax */ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer components { + .btn-primary { + @apply h-[45px] px-2 bg-blue-500 text-white font-semibold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75; + } +} + +body { + font-family: "Manrope Variable", sans-serif; +} diff --git a/src/global.d.ts b/packages/web/src/global.d.ts similarity index 100% rename from src/global.d.ts rename to packages/web/src/global.d.ts diff --git a/src/lib/arc.js b/packages/web/src/lib/arc.js similarity index 100% rename from src/lib/arc.js rename to packages/web/src/lib/arc.js diff --git a/src/lib/circle.js b/packages/web/src/lib/circle.js similarity index 100% rename from src/lib/circle.js rename to packages/web/src/lib/circle.js diff --git a/src/lib/constraint.js b/packages/web/src/lib/constraint.js similarity index 100% rename from src/lib/constraint.js rename to packages/web/src/lib/constraint.js diff --git a/src/lib/face.js b/packages/web/src/lib/face.js similarity index 100% rename from src/lib/face.js rename to packages/web/src/lib/face.js diff --git a/src/lib/index.js b/packages/web/src/lib/index.js similarity index 100% rename from src/lib/index.js rename to packages/web/src/lib/index.js diff --git a/src/lib/line_segment.js b/packages/web/src/lib/line_segment.js similarity index 100% rename from src/lib/line_segment.js rename to packages/web/src/lib/line_segment.js diff --git a/src/lib/plane.js b/packages/web/src/lib/plane.js similarity index 100% rename from src/lib/plane.js rename to packages/web/src/lib/plane.js diff --git a/src/lib/point.js b/packages/web/src/lib/point.js similarity index 100% rename from src/lib/point.js rename to packages/web/src/lib/point.js diff --git a/src/lib/sketch.js b/packages/web/src/lib/sketch.js similarity index 100% rename from src/lib/sketch.js rename to packages/web/src/lib/sketch.js diff --git a/src/lib/solid.js b/packages/web/src/lib/solid.js similarity index 100% rename from src/lib/solid.js rename to packages/web/src/lib/solid.js diff --git a/src/lib/utils.js b/packages/web/src/lib/utils.js similarity index 100% rename from src/lib/utils.js rename to packages/web/src/lib/utils.js diff --git a/src/routes/+layout.svelte b/packages/web/src/routes/+layout.svelte similarity index 100% rename from src/routes/+layout.svelte rename to packages/web/src/routes/+layout.svelte diff --git a/src/routes/+layout.ts b/packages/web/src/routes/+layout.ts similarity index 100% rename from src/routes/+layout.ts rename to packages/web/src/routes/+layout.ts diff --git a/src/routes/+page.svelte b/packages/web/src/routes/+page.svelte similarity index 100% rename from src/routes/+page.svelte rename to packages/web/src/routes/+page.svelte diff --git a/src/routes/cadmium/+page.svelte b/packages/web/src/routes/cadmium/+page.svelte similarity index 100% rename from src/routes/cadmium/+page.svelte rename to packages/web/src/routes/cadmium/+page.svelte diff --git a/src/routes/cadmium/extrudeForm.svelte b/packages/web/src/routes/cadmium/extrudeForm.svelte similarity index 100% rename from src/routes/cadmium/extrudeForm.svelte rename to packages/web/src/routes/cadmium/extrudeForm.svelte diff --git a/src/routes/cadmium/mainCanvas.svelte b/packages/web/src/routes/cadmium/mainCanvas.svelte similarity index 100% rename from src/routes/cadmium/mainCanvas.svelte rename to packages/web/src/routes/cadmium/mainCanvas.svelte diff --git a/src/routes/cadmium/planeForm.svelte b/packages/web/src/routes/cadmium/planeForm.svelte similarity index 100% rename from src/routes/cadmium/planeForm.svelte rename to packages/web/src/routes/cadmium/planeForm.svelte diff --git a/src/routes/cadmium/sketchForm.svelte b/packages/web/src/routes/cadmium/sketchForm.svelte similarity index 100% rename from src/routes/cadmium/sketchForm.svelte rename to packages/web/src/routes/cadmium/sketchForm.svelte diff --git a/src/routes/cadmium/solidContextMenu.svelte b/packages/web/src/routes/cadmium/solidContextMenu.svelte similarity index 100% rename from src/routes/cadmium/solidContextMenu.svelte rename to packages/web/src/routes/cadmium/solidContextMenu.svelte diff --git a/src/routes/cadmium/stepContextMenu.svelte b/packages/web/src/routes/cadmium/stepContextMenu.svelte similarity index 100% rename from src/routes/cadmium/stepContextMenu.svelte rename to packages/web/src/routes/cadmium/stepContextMenu.svelte diff --git a/src/routes/cadmium/stores.js b/packages/web/src/routes/cadmium/stores.js similarity index 100% rename from src/routes/cadmium/stores.js rename to packages/web/src/routes/cadmium/stores.js diff --git a/src/routes/threlte/+page.svelte b/packages/web/src/routes/threlte/+page.svelte similarity index 100% rename from src/routes/threlte/+page.svelte rename to packages/web/src/routes/threlte/+page.svelte diff --git a/src/routes/threlte/AppBar.svelte b/packages/web/src/routes/threlte/AppBar.svelte similarity index 100% rename from src/routes/threlte/AppBar.svelte rename to packages/web/src/routes/threlte/AppBar.svelte diff --git a/src/routes/threlte/Arc.svelte b/packages/web/src/routes/threlte/Arc.svelte similarity index 100% rename from src/routes/threlte/Arc.svelte rename to packages/web/src/routes/threlte/Arc.svelte diff --git a/src/routes/threlte/BottomBar.svelte b/packages/web/src/routes/threlte/BottomBar.svelte similarity index 100% rename from src/routes/threlte/BottomBar.svelte rename to packages/web/src/routes/threlte/BottomBar.svelte diff --git a/src/routes/threlte/Circle.svelte b/packages/web/src/routes/threlte/Circle.svelte similarity index 100% rename from src/routes/threlte/Circle.svelte rename to packages/web/src/routes/threlte/Circle.svelte diff --git a/src/routes/threlte/ExtrusionFeature.svelte b/packages/web/src/routes/threlte/ExtrusionFeature.svelte similarity index 100% rename from src/routes/threlte/ExtrusionFeature.svelte rename to packages/web/src/routes/threlte/ExtrusionFeature.svelte diff --git a/src/routes/threlte/Face.svelte b/packages/web/src/routes/threlte/Face.svelte similarity index 100% rename from src/routes/threlte/Face.svelte rename to packages/web/src/routes/threlte/Face.svelte diff --git a/src/routes/threlte/FeatureHistory.svelte b/packages/web/src/routes/threlte/FeatureHistory.svelte similarity index 100% rename from src/routes/threlte/FeatureHistory.svelte rename to packages/web/src/routes/threlte/FeatureHistory.svelte diff --git a/src/routes/threlte/Line.svelte b/packages/web/src/routes/threlte/Line.svelte similarity index 100% rename from src/routes/threlte/Line.svelte rename to packages/web/src/routes/threlte/Line.svelte diff --git a/src/routes/threlte/MainDisplay.svelte b/packages/web/src/routes/threlte/MainDisplay.svelte similarity index 100% rename from src/routes/threlte/MainDisplay.svelte rename to packages/web/src/routes/threlte/MainDisplay.svelte diff --git a/src/routes/threlte/NewCircleTool.svelte b/packages/web/src/routes/threlte/NewCircleTool.svelte similarity index 100% rename from src/routes/threlte/NewCircleTool.svelte rename to packages/web/src/routes/threlte/NewCircleTool.svelte diff --git a/src/routes/threlte/NewLineTool.svelte b/packages/web/src/routes/threlte/NewLineTool.svelte similarity index 100% rename from src/routes/threlte/NewLineTool.svelte rename to packages/web/src/routes/threlte/NewLineTool.svelte diff --git a/src/routes/threlte/NewRectangleTool.svelte b/packages/web/src/routes/threlte/NewRectangleTool.svelte similarity index 100% rename from src/routes/threlte/NewRectangleTool.svelte rename to packages/web/src/routes/threlte/NewRectangleTool.svelte diff --git a/src/routes/threlte/PassiveSketch.svelte b/packages/web/src/routes/threlte/PassiveSketch.svelte similarity index 100% rename from src/routes/threlte/PassiveSketch.svelte rename to packages/web/src/routes/threlte/PassiveSketch.svelte diff --git a/src/routes/threlte/Plane.svelte b/packages/web/src/routes/threlte/Plane.svelte similarity index 100% rename from src/routes/threlte/Plane.svelte rename to packages/web/src/routes/threlte/Plane.svelte diff --git a/src/routes/threlte/PlaneFeature.svelte b/packages/web/src/routes/threlte/PlaneFeature.svelte similarity index 100% rename from src/routes/threlte/PlaneFeature.svelte rename to packages/web/src/routes/threlte/PlaneFeature.svelte diff --git a/src/routes/threlte/Point2D.svelte b/packages/web/src/routes/threlte/Point2D.svelte similarity index 100% rename from src/routes/threlte/Point2D.svelte rename to packages/web/src/routes/threlte/Point2D.svelte diff --git a/src/routes/threlte/Point3D.svelte b/packages/web/src/routes/threlte/Point3D.svelte similarity index 100% rename from src/routes/threlte/Point3D.svelte rename to packages/web/src/routes/threlte/Point3D.svelte diff --git a/src/routes/threlte/PointFeature.svelte b/packages/web/src/routes/threlte/PointFeature.svelte similarity index 100% rename from src/routes/threlte/PointFeature.svelte rename to packages/web/src/routes/threlte/PointFeature.svelte diff --git a/src/routes/threlte/Scene.svelte b/packages/web/src/routes/threlte/Scene.svelte similarity index 100% rename from src/routes/threlte/Scene.svelte rename to packages/web/src/routes/threlte/Scene.svelte diff --git a/src/routes/threlte/SelectTool.svelte b/packages/web/src/routes/threlte/SelectTool.svelte similarity index 100% rename from src/routes/threlte/SelectTool.svelte rename to packages/web/src/routes/threlte/SelectTool.svelte diff --git a/src/routes/threlte/SelectableSurface.svelte b/packages/web/src/routes/threlte/SelectableSurface.svelte similarity index 98% rename from src/routes/threlte/SelectableSurface.svelte rename to packages/web/src/routes/threlte/SelectableSurface.svelte index 12828925..c27e0056 100644 --- a/src/routes/threlte/SelectableSurface.svelte +++ b/packages/web/src/routes/threlte/SelectableSurface.svelte @@ -165,9 +165,9 @@ const curve = edge.curve // https://github.com/MattFerraro/CADmium/pull/2#discussion_r1536905388 - // There are two common representations for NURBS control points, one where x, y, z, w can be used as is, - // and one where you need to normalize by w first. The NURBS engine that is included in truck uses one kind and the - // NURBS javascript library that we're using here uses the other kind, so it is necessary to normalize by w here. + // There are two common representations for NURBS control points, one where x, y, z, w can be used as is, + // and one where you need to normalize by w first. The NURBS engine that is included in truck uses one kind and the + // NURBS javascript library that we're using here uses the other kind, so it is necessary to normalize by w here. if ("NURBSCurve" in curve) { const { NURBSCurve } = curve const weights = NURBSCurve.control_points.map((point) => point.w) diff --git a/src/routes/threlte/Sketch.svelte b/packages/web/src/routes/threlte/Sketch.svelte similarity index 100% rename from src/routes/threlte/Sketch.svelte rename to packages/web/src/routes/threlte/Sketch.svelte diff --git a/src/routes/threlte/SketchFeature.svelte b/packages/web/src/routes/threlte/SketchFeature.svelte similarity index 100% rename from src/routes/threlte/SketchFeature.svelte rename to packages/web/src/routes/threlte/SketchFeature.svelte diff --git a/src/routes/threlte/Solid.svelte b/packages/web/src/routes/threlte/Solid.svelte similarity index 100% rename from src/routes/threlte/Solid.svelte rename to packages/web/src/routes/threlte/Solid.svelte diff --git a/src/routes/threlte/SolidItem.svelte b/packages/web/src/routes/threlte/SolidItem.svelte similarity index 100% rename from src/routes/threlte/SolidItem.svelte rename to packages/web/src/routes/threlte/SolidItem.svelte diff --git a/src/routes/threlte/ToolBar.svelte b/packages/web/src/routes/threlte/ToolBar.svelte similarity index 100% rename from src/routes/threlte/ToolBar.svelte rename to packages/web/src/routes/threlte/ToolBar.svelte diff --git a/src/routes/threlte/projectUtils.ts b/packages/web/src/routes/threlte/projectUtils.ts similarity index 100% rename from src/routes/threlte/projectUtils.ts rename to packages/web/src/routes/threlte/projectUtils.ts diff --git a/src/routes/threlte/stores.ts b/packages/web/src/routes/threlte/stores.ts similarity index 100% rename from src/routes/threlte/stores.ts rename to packages/web/src/routes/threlte/stores.ts diff --git a/src/tests/unit/fixtures.js b/packages/web/src/tests/unit/fixtures.js similarity index 100% rename from src/tests/unit/fixtures.js rename to packages/web/src/tests/unit/fixtures.js diff --git a/src/tests/unit/index.test.js b/packages/web/src/tests/unit/index.test.js similarity index 100% rename from src/tests/unit/index.test.js rename to packages/web/src/tests/unit/index.test.js diff --git a/src/typeGuards.ts b/packages/web/src/typeGuards.ts similarity index 100% rename from src/typeGuards.ts rename to packages/web/src/typeGuards.ts diff --git a/src/types.d.ts b/packages/web/src/types.d.ts similarity index 100% rename from src/types.d.ts rename to packages/web/src/types.d.ts diff --git a/static/actions/chamfer_min.svg b/packages/web/static/actions/chamfer_min.svg similarity index 100% rename from static/actions/chamfer_min.svg rename to packages/web/static/actions/chamfer_min.svg diff --git a/static/actions/circle.svg b/packages/web/static/actions/circle.svg similarity index 100% rename from static/actions/circle.svg rename to packages/web/static/actions/circle.svg diff --git a/static/actions/draft_min.svg b/packages/web/static/actions/draft_min.svg similarity index 100% rename from static/actions/draft_min.svg rename to packages/web/static/actions/draft_min.svg diff --git a/static/actions/extrude_min.svg b/packages/web/static/actions/extrude_min.svg similarity index 100% rename from static/actions/extrude_min.svg rename to packages/web/static/actions/extrude_min.svg diff --git a/static/actions/fillet_min.svg b/packages/web/static/actions/fillet_min.svg similarity index 100% rename from static/actions/fillet_min.svg rename to packages/web/static/actions/fillet_min.svg diff --git a/static/actions/hole_min.svg b/packages/web/static/actions/hole_min.svg similarity index 100% rename from static/actions/hole_min.svg rename to packages/web/static/actions/hole_min.svg diff --git a/static/actions/horizontal.svg b/packages/web/static/actions/horizontal.svg similarity index 100% rename from static/actions/horizontal.svg rename to packages/web/static/actions/horizontal.svg diff --git a/static/actions/just_a_point.svg b/packages/web/static/actions/just_a_point.svg similarity index 100% rename from static/actions/just_a_point.svg rename to packages/web/static/actions/just_a_point.svg diff --git a/static/actions/line.svg b/packages/web/static/actions/line.svg similarity index 100% rename from static/actions/line.svg rename to packages/web/static/actions/line.svg diff --git a/static/actions/part.svg b/packages/web/static/actions/part.svg similarity index 100% rename from static/actions/part.svg rename to packages/web/static/actions/part.svg diff --git a/static/actions/plane_min.svg b/packages/web/static/actions/plane_min.svg similarity index 100% rename from static/actions/plane_min.svg rename to packages/web/static/actions/plane_min.svg diff --git a/static/actions/point_min.svg b/packages/web/static/actions/point_min.svg similarity index 100% rename from static/actions/point_min.svg rename to packages/web/static/actions/point_min.svg diff --git a/static/actions/point_min_icon.svg b/packages/web/static/actions/point_min_icon.svg similarity index 100% rename from static/actions/point_min_icon.svg rename to packages/web/static/actions/point_min_icon.svg diff --git a/static/actions/point_outline.svg b/packages/web/static/actions/point_outline.svg similarity index 100% rename from static/actions/point_outline.svg rename to packages/web/static/actions/point_outline.svg diff --git a/static/actions/rectangle.svg b/packages/web/static/actions/rectangle.svg similarity index 100% rename from static/actions/rectangle.svg rename to packages/web/static/actions/rectangle.svg diff --git a/static/actions/revolve_min.svg b/packages/web/static/actions/revolve_min.svg similarity index 100% rename from static/actions/revolve_min.svg rename to packages/web/static/actions/revolve_min.svg diff --git a/static/actions/simple_point_min.svg b/packages/web/static/actions/simple_point_min.svg similarity index 100% rename from static/actions/simple_point_min.svg rename to packages/web/static/actions/simple_point_min.svg diff --git a/static/actions/sketch_min.svg b/packages/web/static/actions/sketch_min.svg similarity index 100% rename from static/actions/sketch_min.svg rename to packages/web/static/actions/sketch_min.svg diff --git a/static/actions/solve_min.svg b/packages/web/static/actions/solve_min.svg similarity index 100% rename from static/actions/solve_min.svg rename to packages/web/static/actions/solve_min.svg diff --git a/static/actions/step_min.svg b/packages/web/static/actions/step_min.svg similarity index 100% rename from static/actions/step_min.svg rename to packages/web/static/actions/step_min.svg diff --git a/static/cadmium_logo_min.svg b/packages/web/static/cadmium_logo_min.svg similarity index 100% rename from static/cadmium_logo_min.svg rename to packages/web/static/cadmium_logo_min.svg diff --git a/static/envmap/hdr/kloofendal_28d_misty_puresky_1k.hdr b/packages/web/static/envmap/hdr/kloofendal_28d_misty_puresky_1k.hdr similarity index 100% rename from static/envmap/hdr/kloofendal_28d_misty_puresky_1k.hdr rename to packages/web/static/envmap/hdr/kloofendal_28d_misty_puresky_1k.hdr diff --git a/static/favicon.png b/packages/web/static/favicon.png similarity index 100% rename from static/favicon.png rename to packages/web/static/favicon.png diff --git a/static/github-mark.svg b/packages/web/static/github-mark.svg similarity index 100% rename from static/github-mark.svg rename to packages/web/static/github-mark.svg diff --git a/svelte.config.js b/packages/web/svelte.config.js similarity index 100% rename from svelte.config.js rename to packages/web/svelte.config.js diff --git a/tailwind.config.cjs b/packages/web/tailwind.config.cjs similarity index 53% rename from tailwind.config.cjs rename to packages/web/tailwind.config.cjs index 04d4fbc4..a675ffc3 100644 --- a/tailwind.config.cjs +++ b/packages/web/tailwind.config.cjs @@ -1,19 +1,19 @@ /** @type {import('tailwindcss').Config}*/ const config = { - content: ['./src/**/*.{html,js,svelte,ts}'], + content: ["./src/**/*.{html,js,svelte,ts}"], theme: { extend: { gridTemplateColumns: { - 'editor': '250px 1fr' + editor: "250px 1fr" }, gridTemplateRows: { - 'editor': '45px 45px 1fr 45px' - }, + editor: "45px 45px 1fr 45px" + } } }, plugins: [] -}; +} -module.exports = config; +module.exports = config diff --git a/tests/e2e/test.ts b/packages/web/tests/e2e/test.ts similarity index 100% rename from tests/e2e/test.ts rename to packages/web/tests/e2e/test.ts diff --git a/tsconfig.json b/packages/web/tsconfig.json similarity index 100% rename from tsconfig.json rename to packages/web/tsconfig.json diff --git a/vercel_build.sh b/packages/web/vercel_build.sh similarity index 100% rename from vercel_build.sh rename to packages/web/vercel_build.sh diff --git a/vite.config.js b/packages/web/vite.config.js similarity index 100% rename from vite.config.js rename to packages/web/vite.config.js diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26ac1c86..0f4ac867 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,9 @@ settings: importers: - .: + packages/cadmium/pkg: {} + + packages/web: dependencies: '@fontsource-variable/manrope': specifier: ^5.0.19 @@ -16,13 +18,13 @@ importers: version: 7.2.1(svelte@4.2.12)(three@0.162.0) '@threlte/extras': specifier: ^8.10.1 - version: 8.10.2(svelte@4.2.12)(three@0.162.0) + version: 8.11.2(@types/three@0.162.0)(svelte@4.2.12)(three-instanced-uniforms-mesh@0.49.0)(three@0.162.0) '@types/three': specifier: ^0.162.0 version: 0.162.0 cadmium: specifier: workspace:* - version: link:packages/cadmium/pkg + version: link:../cadmium/pkg camera-controls: specifier: ^2.8.3 version: 2.8.3(three@0.162.0) @@ -43,26 +45,26 @@ importers: version: 0.49.0(three@0.162.0) vite-plugin-top-level-await: specifier: ^1.4.1 - version: 1.4.1(vite@5.1.6) + version: 1.4.1(vite@5.2.8) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.3.0(vite@5.1.6) + version: 3.3.0(vite@5.2.8) devDependencies: '@playwright/test': specifier: ^1.42.1 - version: 1.42.1 + version: 1.43.0 '@sveltejs/adapter-static': specifier: ^3.0.1 - version: 3.0.1(@sveltejs/kit@2.5.4) + version: 3.0.1(@sveltejs/kit@2.5.5) '@sveltejs/kit': specifier: ^2.5.3 - version: 2.5.4(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.6) + version: 2.5.5(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.2.8) '@sveltejs/vite-plugin-svelte': specifier: ^3.0.2 - version: 3.0.2(svelte@4.2.12)(vite@5.1.6) + version: 3.0.2(svelte@4.2.12)(vite@5.2.8) autoprefixer: specifier: ^10.4.18 - version: 10.4.18(postcss@8.4.35) + version: 10.4.19(postcss@8.4.38) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -77,10 +79,10 @@ importers: version: 1.4.2(svelte@4.2.12) postcss: specifier: ^8.4.35 - version: 8.4.35 + version: 8.4.38 postcss-load-config: specifier: ^5.0.3 - version: 5.0.3(postcss@8.4.35) + version: 5.0.3(postcss@8.4.38) prettier: specifier: ^3.2.5 version: 3.2.5 @@ -95,21 +97,19 @@ importers: version: 4.2.12 svelte-check: specifier: ^3.6.6 - version: 3.6.7(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12) + version: 3.6.9(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12) tailwindcss: specifier: ^3.4.1 - version: 3.4.1 + version: 3.4.3 ts-auto-guard: specifier: ^4.2.0 version: 4.2.0 vite: specifier: ^5.1.5 - version: 5.1.6 + version: 5.2.8 vitest: specifier: ^1.3.1 - version: 1.3.1 - - packages/cadmium/pkg: {} + version: 1.4.0 packages: @@ -130,184 +130,184 @@ packages: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - /@esbuild/aix-ppc64@0.19.12: - resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} + /@esbuild/aix-ppc64@0.20.2: + resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} engines: {node: '>=12'} cpu: [ppc64] os: [aix] requiresBuild: true optional: true - /@esbuild/android-arm64@0.19.12: - resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==} + /@esbuild/android-arm64@0.20.2: + resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true optional: true - /@esbuild/android-arm@0.19.12: - resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==} + /@esbuild/android-arm@0.20.2: + resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} engines: {node: '>=12'} cpu: [arm] os: [android] requiresBuild: true optional: true - /@esbuild/android-x64@0.19.12: - resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==} + /@esbuild/android-x64@0.20.2: + resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} engines: {node: '>=12'} cpu: [x64] os: [android] requiresBuild: true optional: true - /@esbuild/darwin-arm64@0.19.12: - resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==} + /@esbuild/darwin-arm64@0.20.2: + resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@esbuild/darwin-x64@0.19.12: - resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==} + /@esbuild/darwin-x64@0.20.2: + resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} engines: {node: '>=12'} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@esbuild/freebsd-arm64@0.19.12: - resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==} + /@esbuild/freebsd-arm64@0.20.2: + resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] requiresBuild: true optional: true - /@esbuild/freebsd-x64@0.19.12: - resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==} + /@esbuild/freebsd-x64@0.20.2: + resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] requiresBuild: true optional: true - /@esbuild/linux-arm64@0.19.12: - resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==} + /@esbuild/linux-arm64@0.20.2: + resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} engines: {node: '>=12'} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-arm@0.19.12: - resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==} + /@esbuild/linux-arm@0.20.2: + resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} engines: {node: '>=12'} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-ia32@0.19.12: - resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==} + /@esbuild/linux-ia32@0.20.2: + resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} engines: {node: '>=12'} cpu: [ia32] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-loong64@0.19.12: - resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==} + /@esbuild/linux-loong64@0.20.2: + resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} engines: {node: '>=12'} cpu: [loong64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-mips64el@0.19.12: - resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==} + /@esbuild/linux-mips64el@0.20.2: + resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-ppc64@0.19.12: - resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==} + /@esbuild/linux-ppc64@0.20.2: + resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-riscv64@0.19.12: - resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==} + /@esbuild/linux-riscv64@0.20.2: + resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-s390x@0.19.12: - resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==} + /@esbuild/linux-s390x@0.20.2: + resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} engines: {node: '>=12'} cpu: [s390x] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-x64@0.19.12: - resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==} + /@esbuild/linux-x64@0.20.2: + resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} engines: {node: '>=12'} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@esbuild/netbsd-x64@0.19.12: - resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==} + /@esbuild/netbsd-x64@0.20.2: + resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] requiresBuild: true optional: true - /@esbuild/openbsd-x64@0.19.12: - resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==} + /@esbuild/openbsd-x64@0.20.2: + resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] requiresBuild: true optional: true - /@esbuild/sunos-x64@0.19.12: - resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==} + /@esbuild/sunos-x64@0.20.2: + resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} engines: {node: '>=12'} cpu: [x64] os: [sunos] requiresBuild: true optional: true - /@esbuild/win32-arm64@0.19.12: - resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==} + /@esbuild/win32-arm64@0.20.2: + resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} engines: {node: '>=12'} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@esbuild/win32-ia32@0.19.12: - resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==} + /@esbuild/win32-ia32@0.20.2: + resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} engines: {node: '>=12'} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@esbuild/win32-x64@0.19.12: - resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==} + /@esbuild/win32-x64@0.20.2: + resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -359,7 +359,7 @@ packages: resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} dependencies: - '@humanwhocodes/object-schema': 2.0.2 + '@humanwhocodes/object-schema': 2.0.3 debug: 4.3.4 minimatch: 3.1.2 transitivePeerDependencies: @@ -371,8 +371,8 @@ packages: engines: {node: '>=12.22'} dev: true - /@humanwhocodes/object-schema@2.0.2: - resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} + /@humanwhocodes/object-schema@2.0.3: + resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} dev: true /@isaacs/cliui@8.0.2: @@ -447,12 +447,12 @@ packages: dev: true optional: true - /@playwright/test@1.42.1: - resolution: {integrity: sha512-Gq9rmS54mjBL/7/MvBaNOBwbfnh7beHvS6oS4srqXFcQHpQCV1+c8JXWE8VLPyRDhgS3H8x8A7hztqI9VnwrAQ==} + /@playwright/test@1.43.0: + resolution: {integrity: sha512-Ebw0+MCqoYflop7wVKj711ccbNlrwTBCtjY5rlbiY9kHL2bCYxq+qltK6uPsVBGGAOb033H2VO0YobcQVxoW7Q==} engines: {node: '>=16'} hasBin: true dependencies: - playwright: 1.42.1 + playwright: 1.43.0 dev: true /@polka/url@1.0.0-next.25: @@ -469,92 +469,106 @@ packages: optional: true dev: false - /@rollup/rollup-android-arm-eabi@4.13.0: - resolution: {integrity: sha512-5ZYPOuaAqEH/W3gYsRkxQATBW3Ii1MfaT4EQstTnLKViLi2gLSQmlmtTpGucNP3sXEpOiI5tdGhjdE111ekyEg==} + /@rollup/rollup-android-arm-eabi@4.14.0: + resolution: {integrity: sha512-jwXtxYbRt1V+CdQSy6Z+uZti7JF5irRKF8hlKfEnF/xJpcNGuuiZMBvuoYM+x9sr9iWGnzrlM0+9hvQ1kgkf1w==} cpu: [arm] os: [android] requiresBuild: true optional: true - /@rollup/rollup-android-arm64@4.13.0: - resolution: {integrity: sha512-BSbaCmn8ZadK3UAQdlauSvtaJjhlDEjS5hEVVIN3A4bbl3X+otyf/kOJV08bYiRxfejP3DXFzO2jz3G20107+Q==} + /@rollup/rollup-android-arm64@4.14.0: + resolution: {integrity: sha512-fI9nduZhCccjzlsA/OuAwtFGWocxA4gqXGTLvOyiF8d+8o0fZUeSztixkYjcGq1fGZY3Tkq4yRvHPFxU+jdZ9Q==} cpu: [arm64] os: [android] requiresBuild: true optional: true - /@rollup/rollup-darwin-arm64@4.13.0: - resolution: {integrity: sha512-Ovf2evVaP6sW5Ut0GHyUSOqA6tVKfrTHddtmxGQc1CTQa1Cw3/KMCDEEICZBbyppcwnhMwcDce9ZRxdWRpVd6g==} + /@rollup/rollup-darwin-arm64@4.14.0: + resolution: {integrity: sha512-BcnSPRM76/cD2gQC+rQNGBN6GStBs2pl/FpweW8JYuz5J/IEa0Fr4AtrPv766DB/6b2MZ/AfSIOSGw3nEIP8SA==} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-darwin-x64@4.13.0: - resolution: {integrity: sha512-U+Jcxm89UTK592vZ2J9st9ajRv/hrwHdnvyuJpa5A2ngGSVHypigidkQJP+YiGL6JODiUeMzkqQzbCG3At81Gg==} + /@rollup/rollup-darwin-x64@4.14.0: + resolution: {integrity: sha512-LDyFB9GRolGN7XI6955aFeI3wCdCUszFWumWU0deHA8VpR3nWRrjG6GtGjBrQxQKFevnUTHKCfPR4IvrW3kCgQ==} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.13.0: - resolution: {integrity: sha512-8wZidaUJUTIR5T4vRS22VkSMOVooG0F4N+JSwQXWSRiC6yfEsFMLTYRFHvby5mFFuExHa/yAp9juSphQQJAijQ==} + /@rollup/rollup-linux-arm-gnueabihf@4.14.0: + resolution: {integrity: sha512-ygrGVhQP47mRh0AAD0zl6QqCbNsf0eTo+vgwkY6LunBcg0f2Jv365GXlDUECIyoXp1kKwL5WW6rsO429DBY/bA==} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.13.0: - resolution: {integrity: sha512-Iu0Kno1vrD7zHQDxOmvweqLkAzjxEVqNhUIXBsZ8hu8Oak7/5VTPrxOEZXYC1nmrBVJp0ZcL2E7lSuuOVaE3+w==} + /@rollup/rollup-linux-arm64-gnu@4.14.0: + resolution: {integrity: sha512-x+uJ6MAYRlHGe9wi4HQjxpaKHPM3d3JjqqCkeC5gpnnI6OWovLdXTpfa8trjxPLnWKyBsSi5kne+146GAxFt4A==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-musl@4.13.0: - resolution: {integrity: sha512-C31QrW47llgVyrRjIwiOwsHFcaIwmkKi3PCroQY5aVq4H0A5v/vVVAtFsI1nfBngtoRpeREvZOkIhmRwUKkAdw==} + /@rollup/rollup-linux-arm64-musl@4.14.0: + resolution: {integrity: sha512-nrRw8ZTQKg6+Lttwqo6a2VxR9tOroa2m91XbdQ2sUUzHoedXlsyvY1fN4xWdqz8PKmf4orDwejxXHjh7YBGUCA==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.13.0: - resolution: {integrity: sha512-Oq90dtMHvthFOPMl7pt7KmxzX7E71AfyIhh+cPhLY9oko97Zf2C9tt/XJD4RgxhaGeAraAXDtqxvKE1y/j35lA==} + /@rollup/rollup-linux-powerpc64le-gnu@4.14.0: + resolution: {integrity: sha512-xV0d5jDb4aFu84XKr+lcUJ9y3qpIWhttO3Qev97z8DKLXR62LC3cXT/bMZXrjLF9X+P5oSmJTzAhqwUbY96PnA==} + cpu: [ppc64le] + os: [linux] + requiresBuild: true + optional: true + + /@rollup/rollup-linux-riscv64-gnu@4.14.0: + resolution: {integrity: sha512-SDDhBQwZX6LPRoPYjAZWyL27LbcBo7WdBFWJi5PI9RPCzU8ijzkQn7tt8NXiXRiFMJCVpkuMkBf4OxSxVMizAw==} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-gnu@4.13.0: - resolution: {integrity: sha512-yUD/8wMffnTKuiIsl6xU+4IA8UNhQ/f1sAnQebmE/lyQ8abjsVyDkyRkWop0kdMhKMprpNIhPmYlCxgHrPoXoA==} + /@rollup/rollup-linux-s390x-gnu@4.14.0: + resolution: {integrity: sha512-RxB/qez8zIDshNJDufYlTT0ZTVut5eCpAZ3bdXDU9yTxBzui3KhbGjROK2OYTTor7alM7XBhssgoO3CZ0XD3qA==} + cpu: [s390x] + os: [linux] + requiresBuild: true + optional: true + + /@rollup/rollup-linux-x64-gnu@4.14.0: + resolution: {integrity: sha512-C6y6z2eCNCfhZxT9u+jAM2Fup89ZjiG5pIzZIDycs1IwESviLxwkQcFRGLjnDrP+PT+v5i4YFvlcfAs+LnreXg==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-musl@4.13.0: - resolution: {integrity: sha512-9RyNqoFNdF0vu/qqX63fKotBh43fJQeYC98hCaf89DYQpv+xu0D8QFSOS0biA7cGuqJFOc1bJ+m2rhhsKcw1hw==} + /@rollup/rollup-linux-x64-musl@4.14.0: + resolution: {integrity: sha512-i0QwbHYfnOMYsBEyjxcwGu5SMIi9sImDVjDg087hpzXqhBSosxkE7gyIYFHgfFl4mr7RrXksIBZ4DoLoP4FhJg==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.13.0: - resolution: {integrity: sha512-46ue8ymtm/5PUU6pCvjlic0z82qWkxv54GTJZgHrQUuZnVH+tvvSP0LsozIDsCBFO4VjJ13N68wqrKSeScUKdA==} + /@rollup/rollup-win32-arm64-msvc@4.14.0: + resolution: {integrity: sha512-Fq52EYb0riNHLBTAcL0cun+rRwyZ10S9vKzhGKKgeD+XbwunszSY0rVMco5KbOsTlwovP2rTOkiII/fQ4ih/zQ==} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.13.0: - resolution: {integrity: sha512-P5/MqLdLSlqxbeuJ3YDeX37srC8mCflSyTrUsgbU1c/U9j6l2g2GiIdYaGD9QjdMQPMSgYm7hgg0551wHyIluw==} + /@rollup/rollup-win32-ia32-msvc@4.14.0: + resolution: {integrity: sha512-e/PBHxPdJ00O9p5Ui43+vixSgVf4NlLsmV6QneGERJ3lnjIua/kim6PRFe3iDueT1rQcgSkYP8ZBBXa/h4iPvw==} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-x64-msvc@4.13.0: - resolution: {integrity: sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw==} + /@rollup/rollup-win32-x64-msvc@4.14.0: + resolution: {integrity: sha512-aGg7iToJjdklmxlUlJh/PaPNa4PmqHfyRMLunbL3eaMO0gp656+q1zOKkpJ/CVe9CryJv6tAN1HDoR8cNGzkag==} cpu: [x64] os: [win32] requiresBuild: true @@ -564,16 +578,16 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@sveltejs/adapter-static@3.0.1(@sveltejs/kit@2.5.4): + /@sveltejs/adapter-static@3.0.1(@sveltejs/kit@2.5.5): resolution: {integrity: sha512-6lMvf7xYEJ+oGeR5L8DFJJrowkefTK6ZgA4JiMqoClMkKq0s6yvsd3FZfCFvX1fQ0tpCD7fkuRVHsnUVgsHyNg==} peerDependencies: '@sveltejs/kit': ^2.0.0 dependencies: - '@sveltejs/kit': 2.5.4(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.6) + '@sveltejs/kit': 2.5.5(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.2.8) dev: true - /@sveltejs/kit@2.5.4(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.6): - resolution: {integrity: sha512-eDxK2d4EGzk99QsZNoPXe7jlzA5EGqfcCpUwZ912bhnalsZ2ZsG5wGRthkydupVjYyqdmzEanVKFhLxU2vkPSQ==} + /@sveltejs/kit@2.5.5(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.2.8): + resolution: {integrity: sha512-ULe3PB00q4+wYRL+IS5FDPsCEVnhEITofm7b9Yz8malcH3r1SAnW/JJ6T13hIMeu8QNRIuVQWo+P4+2VklbnLQ==} engines: {node: '>=18.13'} hasBin: true requiresBuild: true @@ -582,24 +596,24 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.3 dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.12)(vite@5.1.6) + '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.12)(vite@5.2.8) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 4.3.2 esm-env: 1.0.0 import-meta-resolve: 4.0.0 kleur: 4.1.5 - magic-string: 0.30.8 + magic-string: 0.30.9 mrmime: 2.0.0 sade: 1.8.1 set-cookie-parser: 2.6.0 sirv: 2.0.4 svelte: 4.2.12 tiny-glob: 0.2.9 - vite: 5.1.6 + vite: 5.2.8 dev: true - /@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.6): + /@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.2.8): resolution: {integrity: sha512-gjr9ZFg1BSlIpfZ4PRewigrvYmHWbDrq2uvvPB1AmTWKuM+dI1JXQSUu2pIrYLb/QncyiIGkFDFKTwJ0XqQZZg==} engines: {node: ^18.0.0 || >=20} peerDependencies: @@ -607,36 +621,36 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.12)(vite@5.1.6) + '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.12)(vite@5.2.8) debug: 4.3.4 svelte: 4.2.12 - vite: 5.1.6 + vite: 5.2.8 transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.12)(vite@5.1.6): + /@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.12)(vite@5.2.8): resolution: {integrity: sha512-MpmF/cju2HqUls50WyTHQBZUV3ovV/Uk8k66AN2gwHogNAG8wnW8xtZDhzNBsFJJuvmq1qnzA5kE7YfMJNFv2Q==} engines: {node: ^18.0.0 || >=20} peerDependencies: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.1.6) + '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.12)(vite@5.2.8) debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 - magic-string: 0.30.8 + magic-string: 0.30.9 svelte: 4.2.12 svelte-hmr: 0.15.3(svelte@4.2.12) - vite: 5.1.6 - vitefu: 0.2.5(vite@5.1.6) + vite: 5.2.8 + vitefu: 0.2.5(vite@5.2.8) transitivePeerDependencies: - supports-color dev: true - /@swc/core-darwin-arm64@1.4.8: - resolution: {integrity: sha512-hhQCffRTgzpTIbngSnC30vV6IJVTI9FFBF954WEsshsecVoCGFiMwazBbrkLG+RwXENTrMhgeREEFh6R3KRgKQ==} + /@swc/core-darwin-arm64@1.4.12: + resolution: {integrity: sha512-BZUUq91LGJsLI2BQrhYL3yARkcdN4TS3YGNS6aRYUtyeWrGCTKHL90erF2BMU2rEwZLLkOC/U899R4o4oiSHfA==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -644,8 +658,8 @@ packages: dev: false optional: true - /@swc/core-darwin-x64@1.4.8: - resolution: {integrity: sha512-P3ZBw8Jr8rKhY/J8d+6WqWriqngGTgHwtFeJ8MIakQJTbdYbFgXSZxcvDiERg3psbGeFXaUaPI0GO6BXv9k/OQ==} + /@swc/core-darwin-x64@1.4.12: + resolution: {integrity: sha512-Wkk8rq1RwCOgg5ybTlfVtOYXLZATZ+QjgiBNM7pIn03A5/zZicokNTYd8L26/mifly2e74Dz34tlIZBT4aTGDA==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -653,8 +667,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm-gnueabihf@1.4.8: - resolution: {integrity: sha512-PP9JIJt19bUWhAGcQW6qMwTjZOcMyzkvZa0/LWSlDm0ORYVLmDXUoeQbGD3e0Zju9UiZxyulnpjEN0ZihJgPTA==} + /@swc/core-linux-arm-gnueabihf@1.4.12: + resolution: {integrity: sha512-8jb/SN67oTQ5KSThWlKLchhU6xnlAlnmnLCCOKK1xGtFS6vD+By9uL+qeEY2krV98UCRTf68WSmC0SLZhVoz5A==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -662,8 +676,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-gnu@1.4.8: - resolution: {integrity: sha512-HvEWnwKHkoVUr5iftWirTApFJ13hGzhAY2CMw4lz9lur2m+zhPviRRED0FCI6T95Knpv7+8eUOr98Z7ctrG6DQ==} + /@swc/core-linux-arm64-gnu@1.4.12: + resolution: {integrity: sha512-DhW47DQEZKCdSq92v5F03rqdpjRXdDMqxfu4uAlZ9Uo1wJEGvY23e1SNmhji2sVHsZbBjSvoXoBLk0v00nSG8w==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -671,8 +685,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-musl@1.4.8: - resolution: {integrity: sha512-kY8+qa7k/dEeBq9p0Hrta18QnJPpsiJvDQSLNaTIFpdM3aEM9zbkshWz8gaX5VVGUEALowCBUWqmzO4VaqM+2w==} + /@swc/core-linux-arm64-musl@1.4.12: + resolution: {integrity: sha512-PR57pT3TssnCRvdsaKNsxZy9N8rFg9AKA1U7W+LxbZ/7Z7PHc5PjxF0GgZpE/aLmU6xOn5VyQTlzjoamVkt05g==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -680,8 +694,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-gnu@1.4.8: - resolution: {integrity: sha512-0WWyIw432wpO/zeGblwq4f2YWam4pn8Z/Ig4KzHMgthR/KmiLU3f0Z7eo45eVmq5vcU7Os1zi/Zb65OOt09q/w==} + /@swc/core-linux-x64-gnu@1.4.12: + resolution: {integrity: sha512-HLZIWNHWuFIlH+LEmXr1lBiwGQeCshKOGcqbJyz7xpqTh7m2IPAxPWEhr/qmMTMsjluGxeIsLrcsgreTyXtgNA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -689,8 +703,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-musl@1.4.8: - resolution: {integrity: sha512-p4yxvVS05rBNCrBaSTa20KK88vOwtg8ifTW7ec/yoab0bD5EwzzB8KbDmLLxE6uziFa0sdjF0dfRDwSZPex37Q==} + /@swc/core-linux-x64-musl@1.4.12: + resolution: {integrity: sha512-M5fBAtoOcpz2YQAFtNemrPod5BqmzAJc8pYtT3dVTn1MJllhmLHlphU8BQytvoGr1PHgJL8ZJBlBGdt70LQ7Mw==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -698,8 +712,8 @@ packages: dev: false optional: true - /@swc/core-win32-arm64-msvc@1.4.8: - resolution: {integrity: sha512-jKuXihxAaqUnbFfvPxtmxjdJfs87F1GdBf33il+VUmSyWCP4BE6vW+/ReDAe8sRNsKyrZ3UH1vI5q1n64csBUA==} + /@swc/core-win32-arm64-msvc@1.4.12: + resolution: {integrity: sha512-K8LjjgZ7VQFtM+eXqjfAJ0z+TKVDng3r59QYn7CL6cyxZI2brLU3lNknZcUFSouZD+gsghZI/Zb8tQjVk7aKDQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -707,8 +721,8 @@ packages: dev: false optional: true - /@swc/core-win32-ia32-msvc@1.4.8: - resolution: {integrity: sha512-O0wT4AGHrX8aBeH6c2ADMHgagAJc5Kf6W48U5moyYDAkkVnKvtSc4kGhjWhe1Yl0sI0cpYh2In2FxvYsb44eWw==} + /@swc/core-win32-ia32-msvc@1.4.12: + resolution: {integrity: sha512-hflO5LCxozngoOmiQbDPyvt6ODc5Cu9AwTJP9uH/BSMPdEQ6PCnefuUOJLAKew2q9o+NmDORuJk+vgqQz9Uzpg==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -716,8 +730,8 @@ packages: dev: false optional: true - /@swc/core-win32-x64-msvc@1.4.8: - resolution: {integrity: sha512-C2AYc3A2o+ECciqsJWRgIpp83Vk5EaRzHe7ed/xOWzVd0MsWR+fweEsyOjlmzHfpUxJSi46Ak3/BIZJlhZbXbg==} + /@swc/core-win32-x64-msvc@1.4.12: + resolution: {integrity: sha512-3A4qMtddBDbtprV5edTB/SgJn9L+X5TL7RGgS3eWtEgn/NG8gA80X/scjf1v2MMeOsrcxiYhnemI2gXCKuQN2g==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -725,8 +739,8 @@ packages: dev: false optional: true - /@swc/core@1.4.8: - resolution: {integrity: sha512-uY2RSJcFPgNOEg12RQZL197LZX+MunGiKxsbxmh22VfVxrOYGRvh4mPANFlrD1yb38CgmW1wI6YgIi8LkIwmWg==} + /@swc/core@1.4.12: + resolution: {integrity: sha512-QljRxTaUajSLB9ui93cZ38/lmThwIw/BPxjn+TphrYN6LPU3vu9/ykjgHtlpmaXDDcngL4K5i396E7iwwEUxYg==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -736,26 +750,43 @@ packages: optional: true dependencies: '@swc/counter': 0.1.3 - '@swc/types': 0.1.5 + '@swc/types': 0.1.6 optionalDependencies: - '@swc/core-darwin-arm64': 1.4.8 - '@swc/core-darwin-x64': 1.4.8 - '@swc/core-linux-arm-gnueabihf': 1.4.8 - '@swc/core-linux-arm64-gnu': 1.4.8 - '@swc/core-linux-arm64-musl': 1.4.8 - '@swc/core-linux-x64-gnu': 1.4.8 - '@swc/core-linux-x64-musl': 1.4.8 - '@swc/core-win32-arm64-msvc': 1.4.8 - '@swc/core-win32-ia32-msvc': 1.4.8 - '@swc/core-win32-x64-msvc': 1.4.8 + '@swc/core-darwin-arm64': 1.4.12 + '@swc/core-darwin-x64': 1.4.12 + '@swc/core-linux-arm-gnueabihf': 1.4.12 + '@swc/core-linux-arm64-gnu': 1.4.12 + '@swc/core-linux-arm64-musl': 1.4.12 + '@swc/core-linux-x64-gnu': 1.4.12 + '@swc/core-linux-x64-musl': 1.4.12 + '@swc/core-win32-arm64-msvc': 1.4.12 + '@swc/core-win32-ia32-msvc': 1.4.12 + '@swc/core-win32-x64-msvc': 1.4.12 dev: false /@swc/counter@0.1.3: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} dev: false - /@swc/types@0.1.5: - resolution: {integrity: sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==} + /@swc/types@0.1.6: + resolution: {integrity: sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg==} + dependencies: + '@swc/counter': 0.1.3 + dev: false + + /@threejs-kit/instanced-sprite-mesh@2.4.6(@types/three@0.162.0)(three-instanced-uniforms-mesh@0.49.0)(three@0.162.0): + resolution: {integrity: sha512-TIo2mrqVKdziYmu/Hv7rEtJlUlAuzoEK8qkOGM2lkn3RR2+BrWHHNlQYXkp7ccl1TpzYDFi8+fzJBZBTZSqI8A==} + peerDependencies: + three: '>=0.151.0' + three-instanced-uniforms-mesh: ^0.49.0 + dependencies: + diet-sprite: 0.0.1 + earcut: 2.2.4 + maath: 0.10.7(@types/three@0.162.0)(three@0.162.0) + three: 0.162.0 + three-instanced-uniforms-mesh: 0.49.0(three@0.162.0) + transitivePeerDependencies: + - '@types/three' dev: false /@threlte/core@7.2.1(svelte@4.2.12)(three@0.162.0): @@ -769,17 +800,21 @@ packages: three: 0.162.0 dev: false - /@threlte/extras@8.10.2(svelte@4.2.12)(three@0.162.0): - resolution: {integrity: sha512-Uc+txJ57hMivWqJbS2uahklk2QzMeBPqkf1WOrqIsX/bs4R8Px6nIVte0BsuszMNAs7ltvAXt3dATFWDoXPomA==} + /@threlte/extras@8.11.2(@types/three@0.162.0)(svelte@4.2.12)(three-instanced-uniforms-mesh@0.49.0)(three@0.162.0): + resolution: {integrity: sha512-4wXIh47EoQbgjOrcbwiXFlQ3s4fPxW5x3OSfXEZgn8GGBdC8ZGdMhALyProe/6VeLhGa50uEn21vX7TcQYgn1w==} peerDependencies: svelte: '>=4' three: '>=0.152' dependencies: + '@threejs-kit/instanced-sprite-mesh': 2.4.6(@types/three@0.162.0)(three-instanced-uniforms-mesh@0.49.0)(three@0.162.0) svelte: 4.2.12 three: 0.162.0 three-mesh-bvh: 0.7.3(three@0.162.0) three-perf: 1.0.10(three@0.162.0) troika-three-text: 0.49.0(three@0.162.0) + transitivePeerDependencies: + - '@types/three' + - three-instanced-uniforms-mesh dev: false /@ts-morph/common@0.17.0: @@ -823,51 +858,51 @@ packages: dependencies: '@tweenjs/tween.js': 23.1.1 '@types/stats.js': 0.17.3 - '@types/webxr': 0.5.14 + '@types/webxr': 0.5.15 fflate: 0.6.10 meshoptimizer: 0.18.1 dev: false - /@types/webxr@0.5.14: - resolution: {integrity: sha512-UEMMm/Xn3DtEa+gpzUrOcDj+SJS1tk5YodjwOxcqStNhCfPcwgyC5Srg2ToVKyg2Fhq16Ffpb0UWUQHqoT9AMA==} + /@types/webxr@0.5.15: + resolution: {integrity: sha512-nC9116Gd4N+CqTxqo6gvCfhAMAzgRcfS8ZsciNodHq8uwW4JCVKwhagw8yN0XmC7mHrLnWqniJpoVEiR+72Drw==} dev: false /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitest/expect@1.3.1: - resolution: {integrity: sha512-xofQFwIzfdmLLlHa6ag0dPV8YsnKOCP1KdAeVVh34vSjN2dcUiXYCD9htu/9eM7t8Xln4v03U9HLxLpPlsXdZw==} + /@vitest/expect@1.4.0: + resolution: {integrity: sha512-Jths0sWCJZ8BxjKe+p+eKsoqev1/T8lYcrjavEaz8auEJ4jAVY0GwW3JKmdVU4mmNPLPHixh4GNXP7GFtAiDHA==} dependencies: - '@vitest/spy': 1.3.1 - '@vitest/utils': 1.3.1 + '@vitest/spy': 1.4.0 + '@vitest/utils': 1.4.0 chai: 4.4.1 dev: true - /@vitest/runner@1.3.1: - resolution: {integrity: sha512-5FzF9c3jG/z5bgCnjr8j9LNq/9OxV2uEBAITOXfoe3rdZJTdO7jzThth7FXv/6b+kdY65tpRQB7WaKhNZwX+Kg==} + /@vitest/runner@1.4.0: + resolution: {integrity: sha512-EDYVSmesqlQ4RD2VvWo3hQgTJ7ZrFQ2VSJdfiJiArkCerDAGeyF1i6dHkmySqk573jLp6d/cfqCN+7wUB5tLgg==} dependencies: - '@vitest/utils': 1.3.1 + '@vitest/utils': 1.4.0 p-limit: 5.0.0 pathe: 1.1.2 dev: true - /@vitest/snapshot@1.3.1: - resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==} + /@vitest/snapshot@1.4.0: + resolution: {integrity: sha512-saAFnt5pPIA5qDGxOHxJ/XxhMFKkUSBJmVt5VgDsAqPTX6JP326r5C/c9UuCMPoXNzuudTPsYDZCoJ5ilpqG2A==} dependencies: - magic-string: 0.30.8 + magic-string: 0.30.9 pathe: 1.1.2 pretty-format: 29.7.0 dev: true - /@vitest/spy@1.3.1: - resolution: {integrity: sha512-xAcW+S099ylC9VLU7eZfdT9myV67Nor9w9zhf0mGCYJSO+zM2839tOeROTdikOi/8Qeusffvxb/MyBSOja1Uig==} + /@vitest/spy@1.4.0: + resolution: {integrity: sha512-Ywau/Qs1DzM/8Uc+yA77CwSegizMlcgTJuYGAi0jujOteJOUf1ujunHThYo243KG9nAyWT3L9ifPYZ5+As/+6Q==} dependencies: tinyspy: 2.2.1 dev: true - /@vitest/utils@1.3.1: - resolution: {integrity: sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==} + /@vitest/utils@1.4.0: + resolution: {integrity: sha512-mx3Yd1/6e2Vt/PUC98DcqTirtfxUyAZ32uK82r8rZzbtBeBo+nqgnjx/LvqQdWsrvNtm14VmurNgcf4nqY5gJg==} dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -1006,19 +1041,19 @@ packages: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} dev: true - /autoprefixer@10.4.18(postcss@8.4.35): - resolution: {integrity: sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==} + /autoprefixer@10.4.19(postcss@8.4.38): + resolution: {integrity: sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==} engines: {node: ^10 || ^12 || >=14} hasBin: true peerDependencies: postcss: ^8.1.0 dependencies: browserslist: 4.23.0 - caniuse-lite: 1.0.30001597 + caniuse-lite: 1.0.30001605 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 - postcss: 8.4.35 + postcss: 8.4.38 postcss-value-parser: 4.2.0 dev: true @@ -1081,8 +1116,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001597 - electron-to-chromium: 1.4.707 + caniuse-lite: 1.0.30001605 + electron-to-chromium: 1.4.728 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -1124,8 +1159,8 @@ packages: three: 0.162.0 dev: false - /caniuse-lite@1.0.30001597: - resolution: {integrity: sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==} + /caniuse-lite@1.0.30001605: + resolution: {integrity: sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==} dev: true /chai@4.4.1: @@ -1314,7 +1349,7 @@ packages: engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} dependencies: mdn-data: 2.0.30 - source-map-js: 1.0.2 + source-map-js: 1.2.0 /cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} @@ -1383,6 +1418,10 @@ packages: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} dev: true + /diet-sprite@0.0.1: + resolution: {integrity: sha512-zSHI2WDAn1wJqJYxcmjWfJv3Iw8oL9reQIbEyx2x2/EZ4/qmUTIo8/5qOCurnAcq61EwtJJaZ0XTy2NRYqpB5A==} + dev: false + /diff-sequences@29.6.3: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -1399,12 +1438,16 @@ packages: esutils: 2.0.3 dev: true + /earcut@2.2.4: + resolution: {integrity: sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==} + dev: false + /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.707: - resolution: {integrity: sha512-qRq74Mo7ChePOU6GHdfAJ0NREXU8vQTlVlfWz3wNygFay6xrd/fY2J7oGHwrhFeU30OVctGLdTh/FcnokTWpng==} + /electron-to-chromium@1.4.728: + resolution: {integrity: sha512-Ud1v7hJJYIqehlUJGqR6PF1Ek8l80zWwxA6nGxigBsGJ9f9M2fciHyrIiNMerSHSH3p+0/Ia7jIlnDkt41h5cw==} dev: true /emoji-regex@8.0.0: @@ -1419,35 +1462,35 @@ packages: resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} dev: true - /esbuild@0.19.12: - resolution: {integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==} + /esbuild@0.20.2: + resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/aix-ppc64': 0.19.12 - '@esbuild/android-arm': 0.19.12 - '@esbuild/android-arm64': 0.19.12 - '@esbuild/android-x64': 0.19.12 - '@esbuild/darwin-arm64': 0.19.12 - '@esbuild/darwin-x64': 0.19.12 - '@esbuild/freebsd-arm64': 0.19.12 - '@esbuild/freebsd-x64': 0.19.12 - '@esbuild/linux-arm': 0.19.12 - '@esbuild/linux-arm64': 0.19.12 - '@esbuild/linux-ia32': 0.19.12 - '@esbuild/linux-loong64': 0.19.12 - '@esbuild/linux-mips64el': 0.19.12 - '@esbuild/linux-ppc64': 0.19.12 - '@esbuild/linux-riscv64': 0.19.12 - '@esbuild/linux-s390x': 0.19.12 - '@esbuild/linux-x64': 0.19.12 - '@esbuild/netbsd-x64': 0.19.12 - '@esbuild/openbsd-x64': 0.19.12 - '@esbuild/sunos-x64': 0.19.12 - '@esbuild/win32-arm64': 0.19.12 - '@esbuild/win32-ia32': 0.19.12 - '@esbuild/win32-x64': 0.19.12 + '@esbuild/aix-ppc64': 0.20.2 + '@esbuild/android-arm': 0.20.2 + '@esbuild/android-arm64': 0.20.2 + '@esbuild/android-x64': 0.20.2 + '@esbuild/darwin-arm64': 0.20.2 + '@esbuild/darwin-x64': 0.20.2 + '@esbuild/freebsd-arm64': 0.20.2 + '@esbuild/freebsd-x64': 0.20.2 + '@esbuild/linux-arm': 0.20.2 + '@esbuild/linux-arm64': 0.20.2 + '@esbuild/linux-ia32': 0.20.2 + '@esbuild/linux-loong64': 0.20.2 + '@esbuild/linux-mips64el': 0.20.2 + '@esbuild/linux-ppc64': 0.20.2 + '@esbuild/linux-riscv64': 0.20.2 + '@esbuild/linux-s390x': 0.20.2 + '@esbuild/linux-x64': 0.20.2 + '@esbuild/netbsd-x64': 0.20.2 + '@esbuild/openbsd-x64': 0.20.2 + '@esbuild/sunos-x64': 0.20.2 + '@esbuild/win32-arm64': 0.20.2 + '@esbuild/win32-ia32': 0.20.2 + '@esbuild/win32-x64': 0.20.2 /escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} @@ -1499,9 +1542,9 @@ packages: eslint-compat-utils: 0.1.2(eslint@8.57.0) esutils: 2.0.3 known-css-properties: 0.29.0 - postcss: 8.4.35 - postcss-load-config: 3.1.4(postcss@8.4.35) - postcss-safe-parser: 6.0.0(postcss@8.4.35) + postcss: 8.4.38 + postcss-load-config: 3.1.4(postcss@8.4.38) + postcss-safe-parser: 6.0.0(postcss@8.4.38) postcss-selector-parser: 6.0.16 semver: 7.6.0 svelte: 4.2.12 @@ -1787,16 +1830,16 @@ packages: is-glob: 4.0.3 dev: true - /glob@10.3.10: - resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} + /glob@10.3.12: + resolution: {integrity: sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==} engines: {node: '>=16 || 14 >=14.17'} hasBin: true dependencies: foreground-child: 3.1.1 jackspeak: 2.3.6 - minimatch: 9.0.3 + minimatch: 9.0.4 minipass: 7.0.4 - path-scurry: 1.10.1 + path-scurry: 1.10.2 dev: true /glob@7.2.3: @@ -1996,8 +2039,8 @@ packages: resolution: {integrity: sha512-rML+NkoD08p5Dllpjo0ffy4jRHeY6Zsapvr/W86N7E0yuzAO6qa5X9+xog6zQNlH102J7IXljNY2FtS6Lj3ucg==} dev: false - /js-tokens@8.0.3: - resolution: {integrity: sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==} + /js-tokens@9.0.0: + resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} dev: true /js-yaml@4.1.0: @@ -2108,8 +2151,18 @@ packages: yallist: 4.0.0 dev: true - /magic-string@0.30.8: - resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==} + /maath@0.10.7(@types/three@0.162.0)(three@0.162.0): + resolution: {integrity: sha512-zQ2xd7dNOIVTjAS+hj22fyj1EFYmOJX6tzKjZ92r6WDoq8hyFxjuGA2q950tmR4iC/EKXoMQdSipkaJVuUHDTg==} + peerDependencies: + '@types/three': '>=0.144.0' + three: '>=0.144.0' + dependencies: + '@types/three': 0.162.0 + three: 0.162.0 + dev: false + + /magic-string@0.30.9: + resolution: {integrity: sha512-S1+hd+dIrC8EZqKyT9DstTH/0Z+f76kmmvZnkfQVmOpDEF9iVgdYif3Q/pIWHmCoo59bQVGW0kVL3e2nl+9+Sw==} engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 @@ -2190,8 +2243,8 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} + /minimatch@9.0.4: + resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 @@ -2229,7 +2282,7 @@ packages: acorn: 8.11.3 pathe: 1.1.2 pkg-types: 1.0.3 - ufo: 1.4.0 + ufo: 1.5.3 dev: true /mri@1.2.0: @@ -2411,8 +2464,8 @@ packages: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} dev: true - /path-scurry@1.10.1: - resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} + /path-scurry@1.10.2: + resolution: {integrity: sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==} engines: {node: '>=16 || 14 >=14.17'} dependencies: lru-cache: 10.2.0 @@ -2472,45 +2525,45 @@ packages: pathe: 1.1.2 dev: true - /playwright-core@1.42.1: - resolution: {integrity: sha512-mxz6zclokgrke9p1vtdy/COWBH+eOZgYUVVU34C73M+4j4HLlQJHtfcqiqqxpP0o8HhMkflvfbquLX5dg6wlfA==} + /playwright-core@1.43.0: + resolution: {integrity: sha512-iWFjyBUH97+pUFiyTqSLd8cDMMOS0r2ZYz2qEsPjH8/bX++sbIJT35MSwKnp1r/OQBAqC5XO99xFbJ9XClhf4w==} engines: {node: '>=16'} hasBin: true dev: true - /playwright@1.42.1: - resolution: {integrity: sha512-PgwB03s2DZBcNRoW+1w9E+VkLBxweib6KTXM0M3tkiT4jVxKSi6PmVJ591J+0u10LUrgxB7dLRbiJqO5s2QPMg==} + /playwright@1.43.0: + resolution: {integrity: sha512-SiOKHbVjTSf6wHuGCbqrEyzlm6qvXcv7mENP+OZon1I07brfZLGdfWV0l/efAzVx7TF3Z45ov1gPEkku9q25YQ==} engines: {node: '>=16'} hasBin: true dependencies: - playwright-core: 1.42.1 + playwright-core: 1.43.0 optionalDependencies: fsevents: 2.3.2 dev: true - /postcss-import@15.1.0(postcss@8.4.35): + /postcss-import@15.1.0(postcss@8.4.38): resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} engines: {node: '>=14.0.0'} peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 dev: true - /postcss-js@4.0.1(postcss@8.4.35): + /postcss-js@4.0.1(postcss@8.4.38): resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} engines: {node: ^12 || ^14 || >= 16} peerDependencies: postcss: ^8.4.21 dependencies: camelcase-css: 2.0.1 - postcss: 8.4.35 + postcss: 8.4.38 dev: true - /postcss-load-config@3.1.4(postcss@8.4.35): + /postcss-load-config@3.1.4(postcss@8.4.38): resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} engines: {node: '>= 10'} peerDependencies: @@ -2523,11 +2576,11 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - postcss: 8.4.35 + postcss: 8.4.38 yaml: 1.10.2 dev: true - /postcss-load-config@4.0.2(postcss@8.4.35): + /postcss-load-config@4.0.2(postcss@8.4.38): resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} engines: {node: '>= 14'} peerDependencies: @@ -2540,11 +2593,11 @@ packages: optional: true dependencies: lilconfig: 3.1.1 - postcss: 8.4.35 + postcss: 8.4.38 yaml: 2.4.1 dev: true - /postcss-load-config@5.0.3(postcss@8.4.35): + /postcss-load-config@5.0.3(postcss@8.4.38): resolution: {integrity: sha512-90pBBI5apUVruIEdCxZic93Wm+i9fTrp7TXbgdUCH+/L+2WnfpITSpq5dFU/IPvbv7aNiMlQISpUkAm3fEcvgQ==} engines: {node: '>= 18'} peerDependencies: @@ -2557,36 +2610,36 @@ packages: optional: true dependencies: lilconfig: 3.1.1 - postcss: 8.4.35 + postcss: 8.4.38 yaml: 2.4.1 dev: true - /postcss-nested@6.0.1(postcss@8.4.35): + /postcss-nested@6.0.1(postcss@8.4.38): resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 postcss-selector-parser: 6.0.16 dev: true - /postcss-safe-parser@6.0.0(postcss@8.4.35): + /postcss-safe-parser@6.0.0(postcss@8.4.38): resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.3.3 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 dev: true - /postcss-scss@4.0.9(postcss@8.4.35): + /postcss-scss@4.0.9(postcss@8.4.38): resolution: {integrity: sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.4.29 dependencies: - postcss: 8.4.35 + postcss: 8.4.38 dev: true /postcss-selector-parser@6.0.16: @@ -2601,13 +2654,13 @@ packages: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} dev: true - /postcss@8.4.35: - resolution: {integrity: sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==} + /postcss@8.4.38: + resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.7 picocolors: 1.0.0 - source-map-js: 1.0.2 + source-map-js: 1.2.0 /prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} @@ -2740,26 +2793,28 @@ packages: glob: 7.2.3 dev: true - /rollup@4.13.0: - resolution: {integrity: sha512-3YegKemjoQnYKmsBlOHfMLVPPA5xLkQ8MHLLSw/fBrFaVkEayL51DilPpNNLq1exr98F2B1TzrV0FUlN3gWRPg==} + /rollup@4.14.0: + resolution: {integrity: sha512-Qe7w62TyawbDzB4yt32R0+AbIo6m1/sqO7UPzFS8Z/ksL5mrfhA0v4CavfdmFav3D+ub4QeAgsGEe84DoWe/nQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.13.0 - '@rollup/rollup-android-arm64': 4.13.0 - '@rollup/rollup-darwin-arm64': 4.13.0 - '@rollup/rollup-darwin-x64': 4.13.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.13.0 - '@rollup/rollup-linux-arm64-gnu': 4.13.0 - '@rollup/rollup-linux-arm64-musl': 4.13.0 - '@rollup/rollup-linux-riscv64-gnu': 4.13.0 - '@rollup/rollup-linux-x64-gnu': 4.13.0 - '@rollup/rollup-linux-x64-musl': 4.13.0 - '@rollup/rollup-win32-arm64-msvc': 4.13.0 - '@rollup/rollup-win32-ia32-msvc': 4.13.0 - '@rollup/rollup-win32-x64-msvc': 4.13.0 + '@rollup/rollup-android-arm-eabi': 4.14.0 + '@rollup/rollup-android-arm64': 4.14.0 + '@rollup/rollup-darwin-arm64': 4.14.0 + '@rollup/rollup-darwin-x64': 4.14.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.14.0 + '@rollup/rollup-linux-arm64-gnu': 4.14.0 + '@rollup/rollup-linux-arm64-musl': 4.14.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.14.0 + '@rollup/rollup-linux-riscv64-gnu': 4.14.0 + '@rollup/rollup-linux-s390x-gnu': 4.14.0 + '@rollup/rollup-linux-x64-gnu': 4.14.0 + '@rollup/rollup-linux-x64-musl': 4.14.0 + '@rollup/rollup-win32-arm64-msvc': 4.14.0 + '@rollup/rollup-win32-ia32-msvc': 4.14.0 + '@rollup/rollup-win32-x64-msvc': 4.14.0 fsevents: 2.3.3 /run-parallel@1.2.0: @@ -2881,8 +2936,8 @@ packages: sander: 0.5.1 dev: true - /source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + /source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} /stackback@0.0.2: @@ -2957,10 +3012,10 @@ packages: engines: {node: '>=8'} dev: true - /strip-literal@2.0.0: - resolution: {integrity: sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==} + /strip-literal@2.1.0: + resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} dependencies: - js-tokens: 8.0.3 + js-tokens: 9.0.0 dev: true /sucrase@3.35.0: @@ -2970,7 +3025,7 @@ packages: dependencies: '@jridgewell/gen-mapping': 0.3.5 commander: 4.1.1 - glob: 10.3.10 + glob: 10.3.12 lines-and-columns: 1.2.4 mz: 2.7.0 pirates: 4.0.6 @@ -2996,8 +3051,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /svelte-check@3.6.7(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12): - resolution: {integrity: sha512-tKEjemK9FYCySAseCaIt+ps5o0XRvLC7ECjyJXXtO7vOQhR9E6JavgoUbGP1PCulD2OTcB/fi9RjV3nyF1AROw==} + /svelte-check@3.6.9(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12): + resolution: {integrity: sha512-hDQrk3L0osX07djQyMiXocKysTLfusqi8AriNcCiQxhQR49/LonYolcUGMtZ0fbUR8HTR198Prrgf52WWU9wEg==} hasBin: true peerDependencies: svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 @@ -3009,8 +3064,8 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 4.2.12 - svelte-preprocess: 5.1.3(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12)(typescript@5.4.2) - typescript: 5.4.2 + svelte-preprocess: 5.1.3(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12)(typescript@5.4.4) + typescript: 5.4.4 transitivePeerDependencies: - '@babel/core' - coffeescript @@ -3035,8 +3090,8 @@ packages: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 - postcss: 8.4.35 - postcss-scss: 4.0.9(postcss@8.4.35) + postcss: 8.4.38 + postcss-scss: 4.0.9(postcss@8.4.38) svelte: 4.2.12 dev: true @@ -3049,7 +3104,7 @@ packages: svelte: 4.2.12 dev: true - /svelte-preprocess@5.1.3(postcss-load-config@5.0.3)(postcss@8.4.35)(svelte@4.2.12)(typescript@5.4.2): + /svelte-preprocess@5.1.3(postcss-load-config@5.0.3)(postcss@8.4.38)(svelte@4.2.12)(typescript@5.4.4): resolution: {integrity: sha512-xxAkmxGHT+J/GourS5mVJeOXZzne1FR5ljeOUAMXUkfEhkLEllRreXpbl3dIYJlcJRfL1LO1uIAPpBpBfiqGPw==} engines: {node: '>= 16.0.0', pnpm: ^8.0.0} requiresBuild: true @@ -3089,13 +3144,13 @@ packages: dependencies: '@types/pug': 2.0.10 detect-indent: 6.1.0 - magic-string: 0.30.8 - postcss: 8.4.35 - postcss-load-config: 5.0.3(postcss@8.4.35) + magic-string: 0.30.9 + postcss: 8.4.38 + postcss-load-config: 5.0.3(postcss@8.4.38) sorcery: 0.11.0 strip-indent: 3.0.0 svelte: 4.2.12 - typescript: 5.4.2 + typescript: 5.4.4 dev: true /svelte@4.2.12: @@ -3114,7 +3169,7 @@ packages: estree-walker: 3.0.3 is-reference: 3.0.2 locate-character: 3.0.0 - magic-string: 0.30.8 + magic-string: 0.30.9 periscopic: 3.1.0 /table-layout@1.0.2: @@ -3127,8 +3182,8 @@ packages: wordwrapjs: 4.0.1 dev: true - /tailwindcss@3.4.1: - resolution: {integrity: sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA==} + /tailwindcss@3.4.3: + resolution: {integrity: sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==} engines: {node: '>=14.0.0'} hasBin: true dependencies: @@ -3146,11 +3201,11 @@ packages: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.0 - postcss: 8.4.35 - postcss-import: 15.1.0(postcss@8.4.35) - postcss-js: 4.0.1(postcss@8.4.35) - postcss-load-config: 4.0.2(postcss@8.4.35) - postcss-nested: 6.0.1(postcss@8.4.35) + postcss: 8.4.38 + postcss-import: 15.1.0(postcss@8.4.38) + postcss-js: 4.0.1(postcss@8.4.38) + postcss-load-config: 4.0.2(postcss@8.4.38) + postcss-nested: 6.0.1(postcss@8.4.38) postcss-selector-parser: 6.0.16 resolve: 1.22.8 sucrase: 3.35.0 @@ -3175,6 +3230,15 @@ packages: any-promise: 1.3.0 dev: true + /three-instanced-uniforms-mesh@0.49.0(three@0.162.0): + resolution: {integrity: sha512-vXVbKazsNW5H+NtrDLKPoQeNq9tdU/vO+xIOZ4H572gIRrSpsU+lzXWkxYc7JTB30iTJba2XWKYtr1efaisDmw==} + peerDependencies: + three: '>=0.125.0' + dependencies: + three: 0.162.0 + troika-three-utils: 0.49.0(three@0.162.0) + dev: false + /three-mesh-bvh@0.7.3(three@0.162.0): resolution: {integrity: sha512-3W6KjzmupjfE89GuHPT31kxKWZ4YGZPEZJNysJpiOZfQRsBQQgmK7v/VJPpjG6syhAvTnY+5Fr77EvIkTLpGSw==} peerDependencies: @@ -3208,8 +3272,8 @@ packages: resolution: {integrity: sha512-N8hW3PG/3aOoZAN5V/NSAEDz0ZixDSSt5b/a05iqtpgfLWMSVuCo7w0k2vVvEjdrIoeGqZzweX2WlyioNIHchA==} dev: true - /tinypool@0.8.2: - resolution: {integrity: sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==} + /tinypool@0.8.3: + resolution: {integrity: sha512-Ud7uepAklqRH1bvwy22ynrliC7Dljz7Tm8M/0RBUW+YRa4YHhZ6e4PpgE+fu1zr/WqB1kbeuVrdfeuyIBpy4tw==} engines: {node: '>=14.0.0'} dev: true @@ -3334,8 +3398,8 @@ packages: engines: {node: '>=12.20'} dev: true - /typescript@5.4.2: - resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} + /typescript@5.4.4: + resolution: {integrity: sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==} engines: {node: '>=14.17'} hasBin: true dev: true @@ -3350,8 +3414,8 @@ packages: engines: {node: '>=8'} dev: true - /ufo@1.4.0: - resolution: {integrity: sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==} + /ufo@1.5.3: + resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} dev: true /update-browserslist-db@1.0.13(browserslist@4.23.0): @@ -3392,8 +3456,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /vite-node@1.3.1: - resolution: {integrity: sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==} + /vite-node@1.4.0: + resolution: {integrity: sha512-VZDAseqjrHgNd4Kh8icYHWzTKSCZMhia7GyHfhtzLW33fZlG9SwsB6CEhgyVOWkJfJ2pFLrp/Gj1FSfAiqH9Lw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -3401,7 +3465,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.1.6 + vite: 5.2.8 transitivePeerDependencies: - '@types/node' - less @@ -3413,30 +3477,30 @@ packages: - terser dev: true - /vite-plugin-top-level-await@1.4.1(vite@5.1.6): + /vite-plugin-top-level-await@1.4.1(vite@5.2.8): resolution: {integrity: sha512-hogbZ6yT7+AqBaV6lK9JRNvJDn4/IJvHLu6ET06arNfo0t2IsyCaon7el9Xa8OumH+ESuq//SDf8xscZFE0rWw==} peerDependencies: vite: '>=2.8' dependencies: '@rollup/plugin-virtual': 3.0.2 - '@swc/core': 1.4.8 + '@swc/core': 1.4.12 uuid: 9.0.1 - vite: 5.1.6 + vite: 5.2.8 transitivePeerDependencies: - '@swc/helpers' - rollup dev: false - /vite-plugin-wasm@3.3.0(vite@5.1.6): + /vite-plugin-wasm@3.3.0(vite@5.2.8): resolution: {integrity: sha512-tVhz6w+W9MVsOCHzxo6SSMSswCeIw4HTrXEi6qL3IRzATl83jl09JVO1djBqPSwfjgnpVHNLYcaMbaDX5WB/pg==} peerDependencies: vite: ^2 || ^3 || ^4 || ^5 dependencies: - vite: 5.1.6 + vite: 5.2.8 dev: false - /vite@5.1.6: - resolution: {integrity: sha512-yYIAZs9nVfRJ/AiOLCA91zzhjsHUgMjB+EigzFb6W2XTLO8JixBCKCjvhKZaye+NKYHCrkv3Oh50dH9EdLU2RA==} + /vite@5.2.8: + resolution: {integrity: sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -3463,13 +3527,13 @@ packages: terser: optional: true dependencies: - esbuild: 0.19.12 - postcss: 8.4.35 - rollup: 4.13.0 + esbuild: 0.20.2 + postcss: 8.4.38 + rollup: 4.14.0 optionalDependencies: fsevents: 2.3.3 - /vitefu@0.2.5(vite@5.1.6): + /vitefu@0.2.5(vite@5.2.8): resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} peerDependencies: vite: ^3.0.0 || ^4.0.0 || ^5.0.0 @@ -3477,18 +3541,18 @@ packages: vite: optional: true dependencies: - vite: 5.1.6 + vite: 5.2.8 dev: true - /vitest@1.3.1: - resolution: {integrity: sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==} + /vitest@1.4.0: + resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.3.1 - '@vitest/ui': 1.3.1 + '@vitest/browser': 1.4.0 + '@vitest/ui': 1.4.0 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -3505,25 +3569,25 @@ packages: jsdom: optional: true dependencies: - '@vitest/expect': 1.3.1 - '@vitest/runner': 1.3.1 - '@vitest/snapshot': 1.3.1 - '@vitest/spy': 1.3.1 - '@vitest/utils': 1.3.1 + '@vitest/expect': 1.4.0 + '@vitest/runner': 1.4.0 + '@vitest/snapshot': 1.4.0 + '@vitest/spy': 1.4.0 + '@vitest/utils': 1.4.0 acorn-walk: 8.3.2 chai: 4.4.1 debug: 4.3.4 execa: 8.0.1 local-pkg: 0.5.0 - magic-string: 0.30.8 + magic-string: 0.30.9 pathe: 1.1.2 picocolors: 1.0.0 std-env: 3.7.0 - strip-literal: 2.0.0 + strip-literal: 2.1.0 tinybench: 2.6.0 - tinypool: 0.8.2 - vite: 5.1.6 - vite-node: 1.3.1 + tinypool: 0.8.3 + vite: 5.2.8 + vite-node: 1.4.0 why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/src/app.html b/src/app.html deleted file mode 100644 index 6cf3dd74..00000000 --- a/src/app.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - CADmium - %sveltekit.head% - - - -
%sveltekit.body%
- - - \ No newline at end of file diff --git a/src/app.postcss b/src/app.postcss deleted file mode 100644 index 10e940dd..00000000 --- a/src/app.postcss +++ /dev/null @@ -1,15 +0,0 @@ -/* Write your global styles here, in PostCSS syntax */ -@tailwind base; -@tailwind components; -@tailwind utilities; - - -@layer components { - .btn-primary { - @apply h-[45px] px-2 bg-blue-500 text-white font-semibold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75; - } -} - -body { - font-family: 'Manrope Variable', sans-serif; -} \ No newline at end of file From a6a41079228ab35a8ebb62c187df2cc5946cce7d Mon Sep 17 00:00:00 2001 From: av8ta Date: Fri, 5 Apr 2024 17:22:17 +1000 Subject: [PATCH 02/30] move unused code to packages/experiments/ --- packages/{ => experiments}/web/src/lib/arc.js | 0 packages/{ => experiments}/web/src/lib/circle.js | 0 packages/{ => experiments}/web/src/lib/constraint.js | 0 packages/{ => experiments}/web/src/lib/face.js | 0 packages/{ => experiments}/web/src/lib/index.js | 0 packages/{ => experiments}/web/src/lib/line_segment.js | 0 packages/{ => experiments}/web/src/lib/plane.js | 0 packages/{ => experiments}/web/src/lib/point.js | 0 packages/{ => experiments}/web/src/lib/sketch.js | 0 packages/{ => experiments}/web/src/lib/solid.js | 0 packages/{ => experiments}/web/src/lib/utils.js | 0 packages/{ => experiments}/web/src/routes/cadmium/+page.svelte | 0 .../{ => experiments}/web/src/routes/cadmium/extrudeForm.svelte | 0 .../{ => experiments}/web/src/routes/cadmium/mainCanvas.svelte | 0 .../{ => experiments}/web/src/routes/cadmium/planeForm.svelte | 0 .../{ => experiments}/web/src/routes/cadmium/sketchForm.svelte | 0 .../web/src/routes/cadmium/solidContextMenu.svelte | 0 .../web/src/routes/cadmium/stepContextMenu.svelte | 0 packages/{ => experiments}/web/src/routes/cadmium/stores.js | 0 19 files changed, 0 insertions(+), 0 deletions(-) rename packages/{ => experiments}/web/src/lib/arc.js (100%) rename packages/{ => experiments}/web/src/lib/circle.js (100%) rename packages/{ => experiments}/web/src/lib/constraint.js (100%) rename packages/{ => experiments}/web/src/lib/face.js (100%) rename packages/{ => experiments}/web/src/lib/index.js (100%) rename packages/{ => experiments}/web/src/lib/line_segment.js (100%) rename packages/{ => experiments}/web/src/lib/plane.js (100%) rename packages/{ => experiments}/web/src/lib/point.js (100%) rename packages/{ => experiments}/web/src/lib/sketch.js (100%) rename packages/{ => experiments}/web/src/lib/solid.js (100%) rename packages/{ => experiments}/web/src/lib/utils.js (100%) rename packages/{ => experiments}/web/src/routes/cadmium/+page.svelte (100%) rename packages/{ => experiments}/web/src/routes/cadmium/extrudeForm.svelte (100%) rename packages/{ => experiments}/web/src/routes/cadmium/mainCanvas.svelte (100%) rename packages/{ => experiments}/web/src/routes/cadmium/planeForm.svelte (100%) rename packages/{ => experiments}/web/src/routes/cadmium/sketchForm.svelte (100%) rename packages/{ => experiments}/web/src/routes/cadmium/solidContextMenu.svelte (100%) rename packages/{ => experiments}/web/src/routes/cadmium/stepContextMenu.svelte (100%) rename packages/{ => experiments}/web/src/routes/cadmium/stores.js (100%) diff --git a/packages/web/src/lib/arc.js b/packages/experiments/web/src/lib/arc.js similarity index 100% rename from packages/web/src/lib/arc.js rename to packages/experiments/web/src/lib/arc.js diff --git a/packages/web/src/lib/circle.js b/packages/experiments/web/src/lib/circle.js similarity index 100% rename from packages/web/src/lib/circle.js rename to packages/experiments/web/src/lib/circle.js diff --git a/packages/web/src/lib/constraint.js b/packages/experiments/web/src/lib/constraint.js similarity index 100% rename from packages/web/src/lib/constraint.js rename to packages/experiments/web/src/lib/constraint.js diff --git a/packages/web/src/lib/face.js b/packages/experiments/web/src/lib/face.js similarity index 100% rename from packages/web/src/lib/face.js rename to packages/experiments/web/src/lib/face.js diff --git a/packages/web/src/lib/index.js b/packages/experiments/web/src/lib/index.js similarity index 100% rename from packages/web/src/lib/index.js rename to packages/experiments/web/src/lib/index.js diff --git a/packages/web/src/lib/line_segment.js b/packages/experiments/web/src/lib/line_segment.js similarity index 100% rename from packages/web/src/lib/line_segment.js rename to packages/experiments/web/src/lib/line_segment.js diff --git a/packages/web/src/lib/plane.js b/packages/experiments/web/src/lib/plane.js similarity index 100% rename from packages/web/src/lib/plane.js rename to packages/experiments/web/src/lib/plane.js diff --git a/packages/web/src/lib/point.js b/packages/experiments/web/src/lib/point.js similarity index 100% rename from packages/web/src/lib/point.js rename to packages/experiments/web/src/lib/point.js diff --git a/packages/web/src/lib/sketch.js b/packages/experiments/web/src/lib/sketch.js similarity index 100% rename from packages/web/src/lib/sketch.js rename to packages/experiments/web/src/lib/sketch.js diff --git a/packages/web/src/lib/solid.js b/packages/experiments/web/src/lib/solid.js similarity index 100% rename from packages/web/src/lib/solid.js rename to packages/experiments/web/src/lib/solid.js diff --git a/packages/web/src/lib/utils.js b/packages/experiments/web/src/lib/utils.js similarity index 100% rename from packages/web/src/lib/utils.js rename to packages/experiments/web/src/lib/utils.js diff --git a/packages/web/src/routes/cadmium/+page.svelte b/packages/experiments/web/src/routes/cadmium/+page.svelte similarity index 100% rename from packages/web/src/routes/cadmium/+page.svelte rename to packages/experiments/web/src/routes/cadmium/+page.svelte diff --git a/packages/web/src/routes/cadmium/extrudeForm.svelte b/packages/experiments/web/src/routes/cadmium/extrudeForm.svelte similarity index 100% rename from packages/web/src/routes/cadmium/extrudeForm.svelte rename to packages/experiments/web/src/routes/cadmium/extrudeForm.svelte diff --git a/packages/web/src/routes/cadmium/mainCanvas.svelte b/packages/experiments/web/src/routes/cadmium/mainCanvas.svelte similarity index 100% rename from packages/web/src/routes/cadmium/mainCanvas.svelte rename to packages/experiments/web/src/routes/cadmium/mainCanvas.svelte diff --git a/packages/web/src/routes/cadmium/planeForm.svelte b/packages/experiments/web/src/routes/cadmium/planeForm.svelte similarity index 100% rename from packages/web/src/routes/cadmium/planeForm.svelte rename to packages/experiments/web/src/routes/cadmium/planeForm.svelte diff --git a/packages/web/src/routes/cadmium/sketchForm.svelte b/packages/experiments/web/src/routes/cadmium/sketchForm.svelte similarity index 100% rename from packages/web/src/routes/cadmium/sketchForm.svelte rename to packages/experiments/web/src/routes/cadmium/sketchForm.svelte diff --git a/packages/web/src/routes/cadmium/solidContextMenu.svelte b/packages/experiments/web/src/routes/cadmium/solidContextMenu.svelte similarity index 100% rename from packages/web/src/routes/cadmium/solidContextMenu.svelte rename to packages/experiments/web/src/routes/cadmium/solidContextMenu.svelte diff --git a/packages/web/src/routes/cadmium/stepContextMenu.svelte b/packages/experiments/web/src/routes/cadmium/stepContextMenu.svelte similarity index 100% rename from packages/web/src/routes/cadmium/stepContextMenu.svelte rename to packages/experiments/web/src/routes/cadmium/stepContextMenu.svelte diff --git a/packages/web/src/routes/cadmium/stores.js b/packages/experiments/web/src/routes/cadmium/stores.js similarity index 100% rename from packages/web/src/routes/cadmium/stores.js rename to packages/experiments/web/src/routes/cadmium/stores.js From 34b78c8e2d30edff19b56771b60f74e9377495f7 Mon Sep 17 00:00:00 2001 From: av8ta Date: Fri, 5 Apr 2024 20:29:55 +1000 Subject: [PATCH 03/30] move webapp into applications/ and move shareable code into packages/shared --- README.md | 22 +++++++++++- {packages => applications}/web/.eslintignore | 0 {packages => applications}/web/.eslintrc.cjs | 0 {packages => applications}/web/.gitignore | 0 {packages => applications}/web/.npmrc | 0 .../web/.prettierignore | 0 {packages => applications}/web/.prettierrc | 0 .../web/.vscode/settings.json | 0 .../web/README_svelte.md | 0 {packages => applications}/web/package.json | 5 +-- .../web/playwright.config.js | 0 .../web/postcss.config.cjs | 0 {packages => applications}/web/src/app.html | 0 .../web/src/app.postcss | 0 .../web/src/global.d.ts | 0 .../web/src/routes/+layout.svelte | 0 .../web/src/routes/+layout.ts | 0 .../web/src/routes/+page.svelte | 0 .../web/src/routes/threlte/+page.svelte | 2 +- .../web/src/routes/threlte/AppBar.svelte | 6 ++-- .../web/src/routes/threlte/Arc.svelte | 8 ++--- .../web/src/routes/threlte/BottomBar.svelte | 2 +- .../web/src/routes/threlte/Circle.svelte | 6 ++-- .../routes/threlte/ExtrusionFeature.svelte | 6 ++-- .../web/src/routes/threlte/Face.svelte | 6 ++-- .../src/routes/threlte/FeatureHistory.svelte | 6 ++-- .../web/src/routes/threlte/Line.svelte | 8 ++--- .../web/src/routes/threlte/MainDisplay.svelte | 4 +-- .../src/routes/threlte/NewCircleTool.svelte | 6 ++-- .../web/src/routes/threlte/NewLineTool.svelte | 6 ++-- .../routes/threlte/NewRectangleTool.svelte | 6 ++-- .../src/routes/threlte/PassiveSketch.svelte | 4 +-- .../web/src/routes/threlte/Plane.svelte | 4 +-- .../src/routes/threlte/PlaneFeature.svelte | 6 ++-- .../web/src/routes/threlte/Point2D.svelte | 6 ++-- .../web/src/routes/threlte/Point3D.svelte | 6 ++-- .../src/routes/threlte/PointFeature.svelte | 4 +-- .../web/src/routes/threlte/Scene.svelte | 2 +- .../web/src/routes/threlte/SelectTool.svelte | 4 +-- .../routes/threlte/SelectableSurface.svelte | 6 ++-- .../web/src/routes/threlte/Sketch.svelte | 4 +-- .../src/routes/threlte/SketchFeature.svelte | 6 ++-- .../web/src/routes/threlte/Solid.svelte | 2 +- .../web/src/routes/threlte/SolidItem.svelte | 4 +-- .../web/src/routes/threlte/ToolBar.svelte | 4 +-- .../web/src/tests/unit/fixtures.js | 0 .../web/src/tests/unit/index.test.js | 2 +- .../web/static/actions/chamfer_min.svg | 0 .../web/static/actions/circle.svg | 0 .../web/static/actions/draft_min.svg | 0 .../web/static/actions/extrude_min.svg | 0 .../web/static/actions/fillet_min.svg | 0 .../web/static/actions/hole_min.svg | 0 .../web/static/actions/horizontal.svg | 0 .../web/static/actions/just_a_point.svg | 0 .../web/static/actions/line.svg | 0 .../web/static/actions/part.svg | 0 .../web/static/actions/plane_min.svg | 0 .../web/static/actions/point_min.svg | 0 .../web/static/actions/point_min_icon.svg | 0 .../web/static/actions/point_outline.svg | 0 .../web/static/actions/rectangle.svg | 0 .../web/static/actions/revolve_min.svg | 0 .../web/static/actions/simple_point_min.svg | 0 .../web/static/actions/sketch_min.svg | 0 .../web/static/actions/solve_min.svg | 0 .../web/static/actions/step_min.svg | 0 .../web/static/cadmium_logo_min.svg | 0 .../hdr/kloofendal_28d_misty_puresky_1k.hdr | Bin .../web/static/favicon.png | Bin .../web/static/github-mark.svg | 0 .../web/svelte.config.js | 0 applications/web/sveltekit.tsconfig.json | 33 ++++++++++++++++++ .../web/tailwind.config.cjs | 0 .../web/tests/e2e/test.ts | 0 {packages => applications}/web/tsconfig.json | 1 + .../web/vercel_build.sh | 0 {packages => applications}/web/vite.config.js | 4 +-- .../web/src/routes/cadmium/extrudeForm.svelte | 2 +- .../web/src/routes/cadmium/mainCanvas.svelte | 2 +- .../web/src/routes/cadmium/planeForm.svelte | 2 +- .../web/src/routes/cadmium/sketchForm.svelte | 2 +- .../routes/cadmium/solidContextMenu.svelte | 2 +- packages/shared/.gitignore | 1 + packages/shared/package.json | 11 ++++++ .../routes/threlte => shared}/projectUtils.ts | 8 ++--- .../src/routes/threlte => shared}/stores.ts | 10 +++--- packages/{web/src => shared}/typeGuards.ts | 0 packages/{web/src => shared}/types.d.ts | 0 pnpm-lock.yaml | 31 +++++++++++----- pnpm-workspace.yaml | 1 + 91 files changed, 178 insertions(+), 95 deletions(-) rename {packages => applications}/web/.eslintignore (100%) rename {packages => applications}/web/.eslintrc.cjs (100%) rename {packages => applications}/web/.gitignore (100%) rename {packages => applications}/web/.npmrc (100%) rename {packages => applications}/web/.prettierignore (100%) rename {packages => applications}/web/.prettierrc (100%) rename {packages => applications}/web/.vscode/settings.json (100%) rename {packages => applications}/web/README_svelte.md (100%) rename {packages => applications}/web/package.json (89%) rename {packages => applications}/web/playwright.config.js (100%) rename {packages => applications}/web/postcss.config.cjs (100%) rename {packages => applications}/web/src/app.html (100%) rename {packages => applications}/web/src/app.postcss (100%) rename {packages => applications}/web/src/global.d.ts (100%) rename {packages => applications}/web/src/routes/+layout.svelte (100%) rename {packages => applications}/web/src/routes/+layout.ts (100%) rename {packages => applications}/web/src/routes/+page.svelte (100%) rename {packages => applications}/web/src/routes/threlte/+page.svelte (97%) rename {packages => applications}/web/src/routes/threlte/AppBar.svelte (94%) rename {packages => applications}/web/src/routes/threlte/Arc.svelte (91%) rename {packages => applications}/web/src/routes/threlte/BottomBar.svelte (89%) rename {packages => applications}/web/src/routes/threlte/Circle.svelte (93%) rename {packages => applications}/web/src/routes/threlte/ExtrusionFeature.svelte (96%) rename {packages => applications}/web/src/routes/threlte/Face.svelte (96%) rename {packages => applications}/web/src/routes/threlte/FeatureHistory.svelte (94%) rename {packages => applications}/web/src/routes/threlte/Line.svelte (93%) rename {packages => applications}/web/src/routes/threlte/MainDisplay.svelte (95%) rename {packages => applications}/web/src/routes/threlte/NewCircleTool.svelte (97%) rename {packages => applications}/web/src/routes/threlte/NewLineTool.svelte (96%) rename {packages => applications}/web/src/routes/threlte/NewRectangleTool.svelte (97%) rename {packages => applications}/web/src/routes/threlte/PassiveSketch.svelte (98%) rename {packages => applications}/web/src/routes/threlte/Plane.svelte (98%) rename {packages => applications}/web/src/routes/threlte/PlaneFeature.svelte (93%) rename {packages => applications}/web/src/routes/threlte/Point2D.svelte (95%) rename {packages => applications}/web/src/routes/threlte/Point3D.svelte (95%) rename {packages => applications}/web/src/routes/threlte/PointFeature.svelte (93%) rename {packages => applications}/web/src/routes/threlte/Scene.svelte (98%) rename {packages => applications}/web/src/routes/threlte/SelectTool.svelte (93%) rename {packages => applications}/web/src/routes/threlte/SelectableSurface.svelte (98%) rename {packages => applications}/web/src/routes/threlte/Sketch.svelte (95%) rename {packages => applications}/web/src/routes/threlte/SketchFeature.svelte (97%) rename {packages => applications}/web/src/routes/threlte/Solid.svelte (99%) rename {packages => applications}/web/src/routes/threlte/SolidItem.svelte (97%) rename {packages => applications}/web/src/routes/threlte/ToolBar.svelte (96%) rename {packages => applications}/web/src/tests/unit/fixtures.js (100%) rename {packages => applications}/web/src/tests/unit/index.test.js (98%) rename {packages => applications}/web/static/actions/chamfer_min.svg (100%) rename {packages => applications}/web/static/actions/circle.svg (100%) rename {packages => applications}/web/static/actions/draft_min.svg (100%) rename {packages => applications}/web/static/actions/extrude_min.svg (100%) rename {packages => applications}/web/static/actions/fillet_min.svg (100%) rename {packages => applications}/web/static/actions/hole_min.svg (100%) rename {packages => applications}/web/static/actions/horizontal.svg (100%) rename {packages => applications}/web/static/actions/just_a_point.svg (100%) rename {packages => applications}/web/static/actions/line.svg (100%) rename {packages => applications}/web/static/actions/part.svg (100%) rename {packages => applications}/web/static/actions/plane_min.svg (100%) rename {packages => applications}/web/static/actions/point_min.svg (100%) rename {packages => applications}/web/static/actions/point_min_icon.svg (100%) rename {packages => applications}/web/static/actions/point_outline.svg (100%) rename {packages => applications}/web/static/actions/rectangle.svg (100%) rename {packages => applications}/web/static/actions/revolve_min.svg (100%) rename {packages => applications}/web/static/actions/simple_point_min.svg (100%) rename {packages => applications}/web/static/actions/sketch_min.svg (100%) rename {packages => applications}/web/static/actions/solve_min.svg (100%) rename {packages => applications}/web/static/actions/step_min.svg (100%) rename {packages => applications}/web/static/cadmium_logo_min.svg (100%) rename {packages => applications}/web/static/envmap/hdr/kloofendal_28d_misty_puresky_1k.hdr (100%) rename {packages => applications}/web/static/favicon.png (100%) rename {packages => applications}/web/static/github-mark.svg (100%) rename {packages => applications}/web/svelte.config.js (100%) create mode 100644 applications/web/sveltekit.tsconfig.json rename {packages => applications}/web/tailwind.config.cjs (100%) rename {packages => applications}/web/tests/e2e/test.ts (100%) rename {packages => applications}/web/tsconfig.json (92%) rename {packages => applications}/web/vercel_build.sh (100%) rename {packages => applications}/web/vite.config.js (79%) create mode 100644 packages/shared/.gitignore create mode 100644 packages/shared/package.json rename packages/{web/src/routes/threlte => shared}/projectUtils.ts (99%) rename packages/{web/src/routes/threlte => shared}/stores.ts (97%) rename packages/{web/src => shared}/typeGuards.ts (100%) rename packages/{web/src => shared}/types.d.ts (100%) diff --git a/README.md b/README.md index e7801cd1..f9330627 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ If you're just trying to kick the tires, [click here](https://cadmium-nine.verce To build locally using pnpm workspace: -``` +```shell git clone https://github.com/MattFerraro/CADmium.git cd CADmium/packages/web pnpm run build:wasm @@ -49,6 +49,26 @@ pnpm run dev You will need rust and wasm-pack working locally. See `vercel_build.sh` for an example of installing these dependencies. +## Running Tests + +```shell +pnpm test +``` + +Playwright is used for e2e testing. You may be prompted with a command to install it. + +For manjaro/archlinux folks it may report missing dependencies. On manjaro the missing dependencies are solved [thanks to this comment](https://github.com/microsoft/playwright/issues/2621#issuecomment-931530175): + +```shell +yay -S aur/enchant1.6 aur/icu66 aur/libwebp052 +``` + +Watch vitest unit tests only: + +```shell +pnpm test:unit -w +``` + ## Contributing I am not currently able to handle contributions. After the 0.1 release in April I will be looking for help in a few areas: diff --git a/packages/web/.eslintignore b/applications/web/.eslintignore similarity index 100% rename from packages/web/.eslintignore rename to applications/web/.eslintignore diff --git a/packages/web/.eslintrc.cjs b/applications/web/.eslintrc.cjs similarity index 100% rename from packages/web/.eslintrc.cjs rename to applications/web/.eslintrc.cjs diff --git a/packages/web/.gitignore b/applications/web/.gitignore similarity index 100% rename from packages/web/.gitignore rename to applications/web/.gitignore diff --git a/packages/web/.npmrc b/applications/web/.npmrc similarity index 100% rename from packages/web/.npmrc rename to applications/web/.npmrc diff --git a/packages/web/.prettierignore b/applications/web/.prettierignore similarity index 100% rename from packages/web/.prettierignore rename to applications/web/.prettierignore diff --git a/packages/web/.prettierrc b/applications/web/.prettierrc similarity index 100% rename from packages/web/.prettierrc rename to applications/web/.prettierrc diff --git a/packages/web/.vscode/settings.json b/applications/web/.vscode/settings.json similarity index 100% rename from packages/web/.vscode/settings.json rename to applications/web/.vscode/settings.json diff --git a/packages/web/README_svelte.md b/applications/web/README_svelte.md similarity index 100% rename from packages/web/README_svelte.md rename to applications/web/README_svelte.md diff --git a/packages/web/package.json b/applications/web/package.json similarity index 89% rename from packages/web/package.json rename to applications/web/package.json index 363f251b..eaf001db 100644 --- a/packages/web/package.json +++ b/applications/web/package.json @@ -3,8 +3,8 @@ "version": "0.0.1", "private": true, "scripts": { - "build:wasm:dev": "wasm-pack build --target web packages/cadmium --dev --no-typescript", - "build:wasm": "wasm-pack build --target web packages/cadmium", + "build:wasm:dev": "wasm-pack build --target web ../../packages/cadmium --dev --no-typescript", + "build:wasm": "wasm-pack build --target web ../../packages/cadmium", "dev": "vite dev", "build": "vite build", "build:serve": "npm run build && serve -p 5173 dist", @@ -50,6 +50,7 @@ "gsap": "^3.12.5", "js-file-download": "^0.4.12", "nurbs": "^1.1.1", + "shared": "workspace:*", "three": "^0.162.0", "troika-three-text": "^0.49.0", "vite-plugin-top-level-await": "^1.4.1", diff --git a/packages/web/playwright.config.js b/applications/web/playwright.config.js similarity index 100% rename from packages/web/playwright.config.js rename to applications/web/playwright.config.js diff --git a/packages/web/postcss.config.cjs b/applications/web/postcss.config.cjs similarity index 100% rename from packages/web/postcss.config.cjs rename to applications/web/postcss.config.cjs diff --git a/packages/web/src/app.html b/applications/web/src/app.html similarity index 100% rename from packages/web/src/app.html rename to applications/web/src/app.html diff --git a/packages/web/src/app.postcss b/applications/web/src/app.postcss similarity index 100% rename from packages/web/src/app.postcss rename to applications/web/src/app.postcss diff --git a/packages/web/src/global.d.ts b/applications/web/src/global.d.ts similarity index 100% rename from packages/web/src/global.d.ts rename to applications/web/src/global.d.ts diff --git a/packages/web/src/routes/+layout.svelte b/applications/web/src/routes/+layout.svelte similarity index 100% rename from packages/web/src/routes/+layout.svelte rename to applications/web/src/routes/+layout.svelte diff --git a/packages/web/src/routes/+layout.ts b/applications/web/src/routes/+layout.ts similarity index 100% rename from packages/web/src/routes/+layout.ts rename to applications/web/src/routes/+layout.ts diff --git a/packages/web/src/routes/+page.svelte b/applications/web/src/routes/+page.svelte similarity index 100% rename from packages/web/src/routes/+page.svelte rename to applications/web/src/routes/+page.svelte diff --git a/packages/web/src/routes/threlte/+page.svelte b/applications/web/src/routes/threlte/+page.svelte similarity index 97% rename from packages/web/src/routes/threlte/+page.svelte rename to applications/web/src/routes/threlte/+page.svelte index 22fee105..81756698 100644 --- a/packages/web/src/routes/threlte/+page.svelte +++ b/applications/web/src/routes/threlte/+page.svelte @@ -6,7 +6,7 @@ import BottomBar from "./BottomBar.svelte" import MainDisplay from "./MainDisplay.svelte" import ToolBar from "./ToolBar.svelte" - import { workbenchIsStale, wasmProject, project, projectIsStale, featureIndex } from "./stores" + import { workbenchIsStale, wasmProject, project, projectIsStale, featureIndex } from "shared/stores" // prettier-ignore const log = (function () { const context = "[+page.svelte]"; const color="gray"; return Function.prototype.bind.call(console.log, console, `%c${context}`, `font-weight:bold;color:${color};`)})() diff --git a/packages/web/src/routes/threlte/AppBar.svelte b/applications/web/src/routes/threlte/AppBar.svelte similarity index 94% rename from packages/web/src/routes/threlte/AppBar.svelte rename to applications/web/src/routes/threlte/AppBar.svelte index 641f436c..f9778536 100644 --- a/packages/web/src/routes/threlte/AppBar.svelte +++ b/applications/web/src/routes/threlte/AppBar.svelte @@ -1,13 +1,13 @@ diff --git a/packages/experiments/web/src/routes/cadmium/sketchForm.svelte b/packages/experiments/web/src/routes/cadmium/sketchForm.svelte index ea79764c..b4f1a1b4 100644 --- a/packages/experiments/web/src/routes/cadmium/sketchForm.svelte +++ b/packages/experiments/web/src/routes/cadmium/sketchForm.svelte @@ -7,7 +7,7 @@ looking_for, found, project_rust - } from "./stores" + } from "shared/stores" sketch_being_edited.set(item.name) let mode = "Select" diff --git a/packages/experiments/web/src/routes/cadmium/solidContextMenu.svelte b/packages/experiments/web/src/routes/cadmium/solidContextMenu.svelte index 1feadc9e..790c7fe0 100644 --- a/packages/experiments/web/src/routes/cadmium/solidContextMenu.svelte +++ b/packages/experiments/web/src/routes/cadmium/solidContextMenu.svelte @@ -1,6 +1,6 @@ diff --git a/applications/web/svelte.config.js b/applications/web/svelte.config.js index e1813f8a..dc13aca2 100644 --- a/applications/web/svelte.config.js +++ b/applications/web/svelte.config.js @@ -1,6 +1,10 @@ import { vitePreprocess } from "@sveltejs/vite-plugin-svelte" import adapter from "@sveltejs/adapter-static" +const prodBasePath = "/CADmium" +let base = process.env.NODE_ENV === "production" ? prodBasePath : "" +// base = prodBasePath + /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://kit.svelte.dev/docs/integrations#preprocessors @@ -15,9 +19,7 @@ const config = { assets: "dist", strict: false }), - paths: { - base: process.env.NODE_ENV === "development" ? "" : "/CADmium" - } + paths: { base } }, vitePlugin: { inspector: true diff --git a/applications/web/tests/e2e/test.ts b/applications/web/tests/e2e/test.ts index a928c5c7..9195d663 100644 --- a/applications/web/tests/e2e/test.ts +++ b/applications/web/tests/e2e/test.ts @@ -1,17 +1,17 @@ import { expect, test } from "@playwright/test" test("index page has expected title", async ({ page }) => { - await page.goto("/") + await page.goto("") // await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible() await expect(page).toHaveTitle("CADmium") }) test("has history pane", async ({ page }) => { - await page.goto("/CADmium") + await page.goto("") await expect(page.getByText("History")).toBeVisible() }) test("has origin in history panel", async ({ page }) => { - await page.goto("/CADmium") + await page.goto("") await expect(page.getByText("origin")).toBeVisible() }) diff --git a/packages/experiments/web/src/routes/cadmium/+page.svelte b/packages/experiments/web/src/routes/cadmium/+page.svelte index 095702bf..ec659811 100644 --- a/packages/experiments/web/src/routes/cadmium/+page.svelte +++ b/packages/experiments/web/src/routes/cadmium/+page.svelte @@ -16,13 +16,13 @@ new_realization_needed, sketch_being_edited } from "./stores.js" - // import init from '../../rust/cadmium/pkg/cadmium_bg.wasm?init'; import { default as init, Project } from "cadmium" import StepContextMenu from "./stepContextMenu.svelte" import SolidContextMenu from "./solidContextMenu.svelte" import ExtrudeForm from "./extrudeForm.svelte" import SketchForm from "./sketchForm.svelte" import PlaneForm from "./planeForm.svelte" + import { base } from "$app/paths" let num_steps_applied = 1000 // let realization = {} @@ -258,7 +258,7 @@
- logo + logo
CADmium
{$project.name || ""}
@@ -344,7 +344,7 @@ unhighlightSolid(solid_id) }} > - solid + solid {solid_id}
{/each} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index baecc1a7..d442b493 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -493,106 +493,106 @@ packages: optional: true dev: false - /@rollup/rollup-android-arm-eabi@4.14.0: - resolution: {integrity: sha512-jwXtxYbRt1V+CdQSy6Z+uZti7JF5irRKF8hlKfEnF/xJpcNGuuiZMBvuoYM+x9sr9iWGnzrlM0+9hvQ1kgkf1w==} + /@rollup/rollup-android-arm-eabi@4.14.1: + resolution: {integrity: sha512-fH8/o8nSUek8ceQnT7K4EQbSiV7jgkHq81m9lWZFIXjJ7lJzpWXbQFpT/Zh6OZYnpFykvzC3fbEvEAFZu03dPA==} cpu: [arm] os: [android] requiresBuild: true optional: true - /@rollup/rollup-android-arm64@4.14.0: - resolution: {integrity: sha512-fI9nduZhCccjzlsA/OuAwtFGWocxA4gqXGTLvOyiF8d+8o0fZUeSztixkYjcGq1fGZY3Tkq4yRvHPFxU+jdZ9Q==} + /@rollup/rollup-android-arm64@4.14.1: + resolution: {integrity: sha512-Y/9OHLjzkunF+KGEoJr3heiD5X9OLa8sbT1lm0NYeKyaM3oMhhQFvPB0bNZYJwlq93j8Z6wSxh9+cyKQaxS7PQ==} cpu: [arm64] os: [android] requiresBuild: true optional: true - /@rollup/rollup-darwin-arm64@4.14.0: - resolution: {integrity: sha512-BcnSPRM76/cD2gQC+rQNGBN6GStBs2pl/FpweW8JYuz5J/IEa0Fr4AtrPv766DB/6b2MZ/AfSIOSGw3nEIP8SA==} + /@rollup/rollup-darwin-arm64@4.14.1: + resolution: {integrity: sha512-+kecg3FY84WadgcuSVm6llrABOdQAEbNdnpi5X3UwWiFVhZIZvKgGrF7kmLguvxHNQy+UuRV66cLVl3S+Rkt+Q==} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-darwin-x64@4.14.0: - resolution: {integrity: sha512-LDyFB9GRolGN7XI6955aFeI3wCdCUszFWumWU0deHA8VpR3nWRrjG6GtGjBrQxQKFevnUTHKCfPR4IvrW3kCgQ==} + /@rollup/rollup-darwin-x64@4.14.1: + resolution: {integrity: sha512-2pYRzEjVqq2TB/UNv47BV/8vQiXkFGVmPFwJb+1E0IFFZbIX8/jo1olxqqMbo6xCXf8kabANhp5bzCij2tFLUA==} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.14.0: - resolution: {integrity: sha512-ygrGVhQP47mRh0AAD0zl6QqCbNsf0eTo+vgwkY6LunBcg0f2Jv365GXlDUECIyoXp1kKwL5WW6rsO429DBY/bA==} + /@rollup/rollup-linux-arm-gnueabihf@4.14.1: + resolution: {integrity: sha512-mS6wQ6Do6/wmrF9aTFVpIJ3/IDXhg1EZcQFYHZLHqw6AzMBjTHWnCG35HxSqUNphh0EHqSM6wRTT8HsL1C0x5g==} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.14.0: - resolution: {integrity: sha512-x+uJ6MAYRlHGe9wi4HQjxpaKHPM3d3JjqqCkeC5gpnnI6OWovLdXTpfa8trjxPLnWKyBsSi5kne+146GAxFt4A==} + /@rollup/rollup-linux-arm64-gnu@4.14.1: + resolution: {integrity: sha512-p9rGKYkHdFMzhckOTFubfxgyIO1vw//7IIjBBRVzyZebWlzRLeNhqxuSaZ7kCEKVkm/kuC9fVRW9HkC/zNRG2w==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-musl@4.14.0: - resolution: {integrity: sha512-nrRw8ZTQKg6+Lttwqo6a2VxR9tOroa2m91XbdQ2sUUzHoedXlsyvY1fN4xWdqz8PKmf4orDwejxXHjh7YBGUCA==} + /@rollup/rollup-linux-arm64-musl@4.14.1: + resolution: {integrity: sha512-nDY6Yz5xS/Y4M2i9JLQd3Rofh5OR8Bn8qe3Mv/qCVpHFlwtZSBYSPaU4mrGazWkXrdQ98GB//H0BirGR/SKFSw==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-powerpc64le-gnu@4.14.0: - resolution: {integrity: sha512-xV0d5jDb4aFu84XKr+lcUJ9y3qpIWhttO3Qev97z8DKLXR62LC3cXT/bMZXrjLF9X+P5oSmJTzAhqwUbY96PnA==} + /@rollup/rollup-linux-powerpc64le-gnu@4.14.1: + resolution: {integrity: sha512-im7HE4VBL+aDswvcmfx88Mp1soqL9OBsdDBU8NqDEYtkri0qV0THhQsvZtZeNNlLeCUQ16PZyv7cqutjDF35qw==} cpu: [ppc64le] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.14.0: - resolution: {integrity: sha512-SDDhBQwZX6LPRoPYjAZWyL27LbcBo7WdBFWJi5PI9RPCzU8ijzkQn7tt8NXiXRiFMJCVpkuMkBf4OxSxVMizAw==} + /@rollup/rollup-linux-riscv64-gnu@4.14.1: + resolution: {integrity: sha512-RWdiHuAxWmzPJgaHJdpvUUlDz8sdQz4P2uv367T2JocdDa98iRw2UjIJ4QxSyt077mXZT2X6pKfT2iYtVEvOFw==} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-s390x-gnu@4.14.0: - resolution: {integrity: sha512-RxB/qez8zIDshNJDufYlTT0ZTVut5eCpAZ3bdXDU9yTxBzui3KhbGjROK2OYTTor7alM7XBhssgoO3CZ0XD3qA==} + /@rollup/rollup-linux-s390x-gnu@4.14.1: + resolution: {integrity: sha512-VMgaGQ5zRX6ZqV/fas65/sUGc9cPmsntq2FiGmayW9KMNfWVG/j0BAqImvU4KTeOOgYSf1F+k6at1UfNONuNjA==} cpu: [s390x] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-gnu@4.14.0: - resolution: {integrity: sha512-C6y6z2eCNCfhZxT9u+jAM2Fup89ZjiG5pIzZIDycs1IwESviLxwkQcFRGLjnDrP+PT+v5i4YFvlcfAs+LnreXg==} + /@rollup/rollup-linux-x64-gnu@4.14.1: + resolution: {integrity: sha512-9Q7DGjZN+hTdJomaQ3Iub4m6VPu1r94bmK2z3UeWP3dGUecRC54tmVu9vKHTm1bOt3ASoYtEz6JSRLFzrysKlA==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-musl@4.14.0: - resolution: {integrity: sha512-i0QwbHYfnOMYsBEyjxcwGu5SMIi9sImDVjDg087hpzXqhBSosxkE7gyIYFHgfFl4mr7RrXksIBZ4DoLoP4FhJg==} + /@rollup/rollup-linux-x64-musl@4.14.1: + resolution: {integrity: sha512-JNEG/Ti55413SsreTguSx0LOVKX902OfXIKVg+TCXO6Gjans/k9O6ww9q3oLGjNDaTLxM+IHFMeXy/0RXL5R/g==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.14.0: - resolution: {integrity: sha512-Fq52EYb0riNHLBTAcL0cun+rRwyZ10S9vKzhGKKgeD+XbwunszSY0rVMco5KbOsTlwovP2rTOkiII/fQ4ih/zQ==} + /@rollup/rollup-win32-arm64-msvc@4.14.1: + resolution: {integrity: sha512-ryS22I9y0mumlLNwDFYZRDFLwWh3aKaC72CWjFcFvxK0U6v/mOkM5Up1bTbCRAhv3kEIwW2ajROegCIQViUCeA==} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.14.0: - resolution: {integrity: sha512-e/PBHxPdJ00O9p5Ui43+vixSgVf4NlLsmV6QneGERJ3lnjIua/kim6PRFe3iDueT1rQcgSkYP8ZBBXa/h4iPvw==} + /@rollup/rollup-win32-ia32-msvc@4.14.1: + resolution: {integrity: sha512-TdloItiGk+T0mTxKx7Hp279xy30LspMso+GzQvV2maYePMAWdmrzqSNZhUpPj3CGw12aGj57I026PgLCTu8CGg==} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-x64-msvc@4.14.0: - resolution: {integrity: sha512-aGg7iToJjdklmxlUlJh/PaPNa4PmqHfyRMLunbL3eaMO0gp656+q1zOKkpJ/CVe9CryJv6tAN1HDoR8cNGzkag==} + /@rollup/rollup-win32-x64-msvc@4.14.1: + resolution: {integrity: sha512-wQGI+LY/Py20zdUPq+XCem7JcPOyzIJBm3dli+56DJsQOHbnXZFEwgmnC6el1TPAfC8lBT3m+z69RmLykNUbew==} cpu: [x64] os: [win32] requiresBuild: true @@ -2817,28 +2817,28 @@ packages: glob: 7.2.3 dev: true - /rollup@4.14.0: - resolution: {integrity: sha512-Qe7w62TyawbDzB4yt32R0+AbIo6m1/sqO7UPzFS8Z/ksL5mrfhA0v4CavfdmFav3D+ub4QeAgsGEe84DoWe/nQ==} + /rollup@4.14.1: + resolution: {integrity: sha512-4LnHSdd3QK2pa1J6dFbfm1HN0D7vSK/ZuZTsdyUAlA6Rr1yTouUTL13HaDOGJVgby461AhrNGBS7sCGXXtT+SA==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.14.0 - '@rollup/rollup-android-arm64': 4.14.0 - '@rollup/rollup-darwin-arm64': 4.14.0 - '@rollup/rollup-darwin-x64': 4.14.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.14.0 - '@rollup/rollup-linux-arm64-gnu': 4.14.0 - '@rollup/rollup-linux-arm64-musl': 4.14.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.14.0 - '@rollup/rollup-linux-riscv64-gnu': 4.14.0 - '@rollup/rollup-linux-s390x-gnu': 4.14.0 - '@rollup/rollup-linux-x64-gnu': 4.14.0 - '@rollup/rollup-linux-x64-musl': 4.14.0 - '@rollup/rollup-win32-arm64-msvc': 4.14.0 - '@rollup/rollup-win32-ia32-msvc': 4.14.0 - '@rollup/rollup-win32-x64-msvc': 4.14.0 + '@rollup/rollup-android-arm-eabi': 4.14.1 + '@rollup/rollup-android-arm64': 4.14.1 + '@rollup/rollup-darwin-arm64': 4.14.1 + '@rollup/rollup-darwin-x64': 4.14.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.14.1 + '@rollup/rollup-linux-arm64-gnu': 4.14.1 + '@rollup/rollup-linux-arm64-musl': 4.14.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.14.1 + '@rollup/rollup-linux-riscv64-gnu': 4.14.1 + '@rollup/rollup-linux-s390x-gnu': 4.14.1 + '@rollup/rollup-linux-x64-gnu': 4.14.1 + '@rollup/rollup-linux-x64-musl': 4.14.1 + '@rollup/rollup-win32-arm64-msvc': 4.14.1 + '@rollup/rollup-win32-ia32-msvc': 4.14.1 + '@rollup/rollup-win32-x64-msvc': 4.14.1 fsevents: 2.3.3 /run-parallel@1.2.0: @@ -3613,7 +3613,7 @@ packages: dependencies: esbuild: 0.20.2 postcss: 8.4.38 - rollup: 4.14.0 + rollup: 4.14.1 optionalDependencies: fsevents: 2.3.3 From 899f2a12bd5dd735b10989f138864e6342a0caf6 Mon Sep 17 00:00:00 2001 From: av8ta Date: Mon, 8 Apr 2024 12:03:55 +1000 Subject: [PATCH 30/30] add base path for textures --- applications/web/src/routes/(CADmium)/Scene.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/web/src/routes/(CADmium)/Scene.svelte b/applications/web/src/routes/(CADmium)/Scene.svelte index da3a63c6..28630b36 100644 --- a/applications/web/src/routes/(CADmium)/Scene.svelte +++ b/applications/web/src/routes/(CADmium)/Scene.svelte @@ -11,6 +11,7 @@ import Plane from "./Plane.svelte" import Solid from "./Solid.svelte" import Sketch from "./Sketch.svelte" + import { base } from "$app/paths" // prettier-ignore const log = (function () { const context = "[Scene.svelte]"; const color="gray"; return Function.prototype.bind.call(console.log, console, `%c${context}`, `font-weight:bold;color:${color};`)})() @@ -142,7 +143,7 @@ - + {#each points as [pointName, point] (`${$workbench.name}-${pointName}`)}