Skip to content

Commit

Permalink
reorganize packages
Browse files Browse the repository at this point in the history
  • Loading branch information
duranb committed Feb 12, 2025
1 parent e848dcd commit eb60424
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 53 deletions.
57 changes: 18 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,40 @@
"version": "node ./scripts/version.js"
},
"dependencies": {
"@codemirror/autocomplete": "^6.16.0",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.10.1",
"@codemirror/lint": "^6.5.0",
"@fontsource/jetbrains-mono": "^5.0.19",
"@lezer/generator": "^1.7.0",
"@lezer/highlight": "^1.2.0",
"@lezer/lr": "^1.4.0",
"@nasa-jpl/aerie-ampcs": "^1.0.5",
"@nasa-jpl/seq-json-schema": "^1.3.1",
"@nasa-jpl/stellar": "^1.1.18",
"@neodrag/svelte": "^2.0.6",
"@streamparser/json": "^0.0.17",
"@sveltejs/adapter-node": "5.0.1",
"@sveltejs/kit": "^2.5.4",
"@tanstack/svelte-virtual": "^3.11.2",
"ag-grid-community": "32.2.0",
"ajv": "^8.12.0",
"bootstrap": "^5.3.0",
"bootstrap-icons": "^1.11.0",
"codemirror": "^6.0.1",
"cookie": "^0.6.0",
"d3-array": "^3.2.4",
"d3-axis": "^3.0.0",
"d3-brush": "^3.0.0",
"d3-drag": "^3.0.0",
"d3-format": "^3.1.0",
"d3-quadtree": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-scale-chromatic": "^3.0.0",
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-time": "^3.1.0",
"d3-zoom": "^3.0.0",
"fastest-levenshtein": "^1.0.16",
"graphql-ws": "^5.16.2",
"json-source-map": "^0.6.1",
Expand All @@ -78,18 +90,9 @@
"toastify-js": "^1.12.0"
},
"devDependencies": {
"@codemirror/autocomplete": "^6.16.0",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.10.1",
"@codemirror/lint": "^6.5.0",
"@lezer/generator": "^1.7.0",
"@lezer/highlight": "^1.2.0",
"@lezer/lr": "^1.4.0",
"@playwright/test": "^1.49.1",
"@neodrag/svelte": "^2.0.6",
"@poppanator/sveltekit-svg": "^4.2.1",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tanstack/svelte-virtual": "^3.11.2",
"@testing-library/svelte": "^4.0.2",
"@types/cookie": "^0.6.0",
"@types/d3-array": "^3.0.5",
Expand All @@ -114,9 +117,6 @@
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "^1.4.0",
"cloc": "2.0.0-cloc",
"codemirror": "^6.0.1",
"d3-format": "^3.1.0",
"d3-zoom": "^3.0.0",
"esbuild": "^0.24.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
4 changes: 2 additions & 2 deletions vite.worker-build-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { writeFile } from 'fs/promises';
* @returns {string[]}
*/
export function normalizePaths(root, path) {
return (Array.isArray(path) ? path : [path]).map(path => resolve(root, path)).map(normalizePath);
return (Array.isArray(path) ? path : [path]).map(subpath => resolve(root, subpath)).map(normalizePath);
}

/**
Expand All @@ -37,7 +37,7 @@ export const WorkerBuildPlugin = (paths, config) => ({
}
const root = process.cwd();
const { outdir = './static' } = config;
let files = normalizePaths(root, paths);
const files = normalizePaths(root, paths);

// If npm run build, make an optimized build
const ctx = await esbuild.context({
Expand Down

0 comments on commit eb60424

Please sign in to comment.