diff --git a/demos/gallery/.vscode/tasks.json b/demos/gallery/.vscode/tasks.json index e734416fad..120545d06c 100644 --- a/demos/gallery/.vscode/tasks.json +++ b/demos/gallery/.vscode/tasks.json @@ -1,15 +1,36 @@ { "version": "2.0.0", "tasks": [ + { + "label": "gen-types-watch", + "type": "npm", + "script": "gen-types-watch", + "problemMatcher": [ + "$tsc-watch" + ], + "presentation": { + "group": "group-build" + } + }, + { + "label": "bundle-watch", + "type": "npm", + "script": "bundle-watch", + "problemMatcher": [], + "presentation": { + "group": "group-build" + } + }, { "label": "build", - "type": "shell", - "command": "npm run dev", + "dependsOn": [ + "gen-types-watch", + "bundle-watch", + ], "group": { "kind": "build", "isDefault": true - }, - "problemMatcher": [] + } } ] } \ No newline at end of file diff --git a/demos/gallery/index.html b/demos/gallery/index.html index f3cfe7cec9..ce8863467b 100644 --- a/demos/gallery/index.html +++ b/demos/gallery/index.html @@ -11,7 +11,12 @@
- + \ No newline at end of file diff --git a/demos/gallery/package.json b/demos/gallery/package.json index b1cc5a25e4..f9291f63cf 100644 --- a/demos/gallery/package.json +++ b/demos/gallery/package.json @@ -4,12 +4,15 @@ "version": "0.0.0", "type": "module", "scripts": { - "clean": "rimraf --glob types dist *.tsbuildinfo", + "clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo", + "bundle": "vite build", + "bundle-watch": "vite", + "gen-types": "tsc --project tsconfig.json", + "gen-types-watch": "npm run gen-types -- --watch", + "build": "run-p gen-types bundle", "lint": "eslint ./src", - "dev": "vite", - "preview": "vite preview", + "lint-fix": "eslint --fix src/**/*.ts", "gen-filejson": "node ./util/dir2json ./samples", - "build": "npm run gen-filejson", "update": "npx --yes npm-check-updates -u -t minor" }, "dependencies": { @@ -17,14 +20,19 @@ "@fluentui/react-hooks": "8.8.16", "@fluentui/react-icons-mdl2": "1.3.80", "@fluentui/react-nav-preview": "0.10.1", - "d3-random": "3" + "d3-random": "3", + "@hpcc-js/composite": "^3.1.1", + "@hpcc-js/map": "^3.1.1" }, "devDependencies": { "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "@vitejs/plugin-react-swc": "3.7.1", "react": "18.3.1", - "react-dom": "18.3.1", - "vite": "5.4.11" + "react-dom": "18.3.1" + }, + "peerDependencies": { + "react": "18.3.1", + "react-dom": "18.3.1" } } \ No newline at end of file diff --git a/demos/gallery/samples/samples.json b/demos/gallery/samples/samples.json index 39d68aff9f..b4559fbb98 100644 --- a/demos/gallery/samples/samples.json +++ b/demos/gallery/samples/samples.json @@ -299,6 +299,27 @@ } ] }, + { + "path": "./samples/chart/dataMeta", + "name": "dataMeta", + "type": "folder", + "children": [ + { + "path": "./samples/chart/dataMeta/PieColumn.js", + "name": "PieColumn.js", + "type": "file", + "imports": { + "@hpcc-js/chart": [ + "Column", + "Pie" + ], + "@hpcc-js/layout": [ + "FlexGrid" + ] + } + } + ] + }, { "path": "./samples/chart/Gantt", "name": "Gantt", @@ -681,27 +702,6 @@ "SummaryC" ] } - }, - { - "path": "./samples/chart/dataMeta", - "name": "dataMeta", - "type": "folder", - "children": [ - { - "path": "./samples/chart/dataMeta/PieColumn.js", - "name": "PieColumn.js", - "type": "file", - "imports": { - "@hpcc-js/chart": [ - "Column", - "Pie" - ], - "@hpcc-js/layout": [ - "FlexGrid" - ] - } - } - ] } ] }, @@ -901,22 +901,22 @@ } }, { - "path": "./samples/common/SVGWidget.js", - "name": "SVGWidget.js", + "path": "./samples/common/Shape.js", + "name": "Shape.js", "type": "file", "imports": { "@hpcc-js/common": [ - "SVGWidget" + "Shape" ] } }, { - "path": "./samples/common/Shape.js", - "name": "Shape.js", + "path": "./samples/common/SVGWidget.js", + "name": "SVGWidget.js", "type": "file", "imports": { "@hpcc-js/common": [ - "Shape" + "SVGWidget" ] } }, diff --git a/demos/gallery/src/App.tsx b/demos/gallery/src/App.tsx index 4305fb4043..af01fe48c2 100644 --- a/demos/gallery/src/App.tsx +++ b/demos/gallery/src/App.tsx @@ -3,8 +3,8 @@ import { DrawerProps, makeStyles, tokens } from "@fluentui/react-components"; import { useConst } from "@fluentui/react-hooks"; import { NavDrawer, NavDrawerBody, NavDrawerHeader } from "@fluentui/react-nav-preview"; import { JSEditor } from "@hpcc-js/codemirror"; -import { AutosizeHpccJSComponent } from "./HpccJSAdapter"; -import { Samples } from "./Samples"; +import { AutosizeHpccJSComponent } from "./HpccJSAdapter.tsx"; +import { Samples } from "./Samples.tsx"; function useLocationSearch() { const [search, setSearch] = React.useState(window.location.search); diff --git a/demos/gallery/src/index.tsx b/demos/gallery/src/index.tsx new file mode 100644 index 0000000000..cae57daa00 --- /dev/null +++ b/demos/gallery/src/index.tsx @@ -0,0 +1,14 @@ +import React, { StrictMode } from "react"; +import { createRoot } from "react-dom/client"; +import { FluentProvider, webLightTheme } from "@fluentui/react-components"; +import { App } from "./App.tsx"; + +export function main() { + createRoot(document.getElementById("root")!).render( + + + + + + ); +} diff --git a/demos/gallery/src/main.tsx b/demos/gallery/src/main.tsx deleted file mode 100644 index 3d2d16566d..0000000000 --- a/demos/gallery/src/main.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { StrictMode } from "react"; -import { createRoot } from "react-dom/client"; -import { FluentProvider, webLightTheme } from "@fluentui/react-components"; -import { App } from "./App.tsx"; - -import "@hpcc-js/common/font-awesome/css/font-awesome.min.css"; - -createRoot(document.getElementById("root")!).render( - - - - - -); diff --git a/demos/gallery/tsconfig.json b/demos/gallery/tsconfig.json index 7b89992693..86f3d32424 100644 --- a/demos/gallery/tsconfig.json +++ b/demos/gallery/tsconfig.json @@ -7,6 +7,7 @@ "emitDeclarationOnly": true, "declaration": true, "declarationDir": "types", + "jsx": "react", "strict": false, "noImplicitAny": false, "noImplicitThis": false, diff --git a/demos/gallery/vite.config.ts b/demos/gallery/vite.config.ts new file mode 100644 index 0000000000..54448997c8 --- /dev/null +++ b/demos/gallery/vite.config.ts @@ -0,0 +1,33 @@ +import { defineConfig } from "vite"; +import { resolve } from "path"; +import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; +import { hpccBundleNames } from "@hpcc-js/esbuild-plugins"; +import pkg from "./package.json" with { type: "json" }; + +const { alias, external, globals } = hpccBundleNames(pkg); + +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, "src/index.tsx"), + name: pkg.name, + fileName: "index", + }, + rollupOptions: { + external, + output: { + globals, + }, + }, + sourcemap: true + }, + resolve: { + alias + }, + esbuild: { + minifyIdentifiers: false + }, + plugins: [ + cssInjectedByJsPlugin() + ], +}); diff --git a/demos/imdb/package.json b/demos/imdb/package.json index a54c96cc95..11d2b73b8e 100644 --- a/demos/imdb/package.json +++ b/demos/imdb/package.json @@ -19,7 +19,5 @@ "@hpcc-js/util": "^3.1.0", "d3-fetch": "^1" }, - "devDependencies": { - "vite": "5.4.11" - } + "devDependencies": {} } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 283723ab07..4aae465a89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,10 @@ "npm-run-all": "4.1.5", "playwright": "1.49.0", "rimraf": "5.0.10", - "typescript": "5.6.3", + "typescript": "5.7.2", + "vite": "5.4.11", + "vite-plugin-css-injected-by-js": "3.5.2", + "vite-plugin-static-copy": "2.1.0", "vitest": "2.1.5" } }, @@ -34,6 +37,8 @@ "@fluentui/react-hooks": "8.8.16", "@fluentui/react-icons-mdl2": "1.3.80", "@fluentui/react-nav-preview": "0.10.1", + "@hpcc-js/composite": "^3.1.1", + "@hpcc-js/map": "^3.1.1", "d3-random": "3" }, "devDependencies": { @@ -41,8 +46,11 @@ "@types/react-dom": "18.3.1", "@vitejs/plugin-react-swc": "3.7.1", "react": "18.3.1", - "react-dom": "18.3.1", - "vite": "5.4.11" + "react-dom": "18.3.1" + }, + "peerDependencies": { + "react": "18.3.1", + "react-dom": "18.3.1" } }, "demos/imdb": { @@ -57,9 +65,7 @@ "@hpcc-js/util": "^3.1.0", "d3-fetch": "^1" }, - "devDependencies": { - "vite": "5.4.11" - } + "devDependencies": {} }, "node_modules/@ampproject/remapping": { "version": "2.3.0", @@ -202,9 +208,9 @@ } }, "node_modules/@clack/core": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@clack/core/-/core-0.3.4.tgz", - "integrity": "sha512-H4hxZDXgHtWTwV3RAVenqcC4VbJZNegbBjlPvzOzCouXtS2y3sDvlO3IsbrPNWuLWPPlYVYPghQdSF64683Ldw==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@clack/core/-/core-0.3.5.tgz", + "integrity": "sha512-5cfhQNH+1VQ2xLQlmzXMqUoiaH0lRBq9/CLW9lTyMbuKLC3+xEK01tHVvyut++mLOn5urSHmkm6I0Lg9MaJSTQ==", "license": "MIT", "dependencies": { "picocolors": "^1.0.0", @@ -228,7 +234,6 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", - "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -238,26 +243,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@dagrejs/dagre": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@dagrejs/dagre/-/dagre-1.1.4.tgz", - "integrity": "sha512-QUTc54Cg/wvmlEUxB+uvoPVKFazM1H18kVHBQNmK2NbrDR5ihOCR6CXLnDSZzMcSQKJtabPUWridBOlJM3WkDg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@dagrejs/graphlib": "2.2.4" - } - }, - "node_modules/@dagrejs/graphlib": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@dagrejs/graphlib/-/graphlib-2.2.4.tgz", - "integrity": "sha512-mepCf/e9+SKYy1d02/UkvSy6+6MoyXhVxP8lLDfA7BPE1X1d4dR0sZznmbM8/XVJ1GPM+Svnx7Xj6ZweByWUkw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">17.0.0" - } - }, "node_modules/@discoveryjs/json-ext": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", @@ -1331,9 +1316,9 @@ } }, "node_modules/@fluentui/react-icons": { - "version": "2.0.265", - "resolved": "https://registry.npmjs.org/@fluentui/react-icons/-/react-icons-2.0.265.tgz", - "integrity": "sha512-bpiB4LGKv7LA6BsTHYLWuK6IH7CqqJYooHJfjaQ1i90OPfXpTmV1G/HB+6dIsmbAdKS14Z2bKM6Qb+yP3Ojuyg==", + "version": "2.0.266", + "resolved": "https://registry.npmjs.org/@fluentui/react-icons/-/react-icons-2.0.266.tgz", + "integrity": "sha512-r979n3hfnK4IfT24BYURIlYRL84pnAT0sP2vIo2Sl36NiIBLXmNjqF+vJCzcNmi6eOHvDnupwLw20cF1Iwop5w==", "license": "MIT", "dependencies": { "@griffel/react": "^1.0.0", @@ -3702,9 +3687,9 @@ } }, "node_modules/@nx/devkit": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-20.1.2.tgz", - "integrity": "sha512-MTEWiEST7DhzZ2QmrixLnHfYVDZk7QN9omLL8m+5Etcn/3ZKa1aAo9Amd2MkUM+0MPoTKnxoGdw0fQUpAy21Mg==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-20.1.3.tgz", + "integrity": "sha512-+bNCRNSHKS7SS4Q2xI/p4hhd4mIibIbeF+hpF3TLO5wxyXbrYGSdhCVK5SwclwWUN/KhcKQjOrVGW5CKAm7HAw==", "dev": true, "license": "MIT", "dependencies": { @@ -3738,9 +3723,9 @@ } }, "node_modules/@nx/nx-darwin-arm64": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-20.1.2.tgz", - "integrity": "sha512-PJ91TQhd28kitDBubKUOXMYvrtSDrG+rr8MsIe9cHo1CvU9smcGVBwuHBxniq0DXsyOX/5GL6ngq7hjN2nQ3XQ==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-20.1.3.tgz", + "integrity": "sha512-m0Rwawht7Jwq6u2QPmAtsv+khFsTUIZUfiO1kXGcKOX3nQdJ7i82zLRd5yGbrDTAyRbAsgWO3v8zWQyhC1oGjw==", "cpu": [ "arm64" ], @@ -3755,9 +3740,9 @@ } }, "node_modules/@nx/nx-darwin-x64": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-20.1.2.tgz", - "integrity": "sha512-1fopau7nxIhTF26vDTIzMxl15AtW4FvUSdy+r1mNRKrKyjjpqnlu00SQBW7JzGV0agDD1B/61yYei5Q2aMOt7Q==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-20.1.3.tgz", + "integrity": "sha512-WsQK1sxOJFzD0vOtFqSHpLzWuFO4vG7G1PUyJ1Y5mPo4vbRslqoAUTqF7n42bBRPY/lE2aT7BqAAj8hm4PgcnQ==", "cpu": [ "x64" ], @@ -3772,9 +3757,9 @@ } }, "node_modules/@nx/nx-freebsd-x64": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-20.1.2.tgz", - "integrity": "sha512-55YgIp3v4zz7xMzJO93dtglbOTER2XdS6jrCt8GbKaWGFl5drRrBoNGONtiGNU7C3hLx1VsorbynCkJT18PjKQ==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-20.1.3.tgz", + "integrity": "sha512-HV57XMtCVPy/0LZtifcEHbOpVNKLTOBFUoUXkmGYBmAKfw7lccfF600/tunTCZ4aijsD6+opEeGHzlDUK0Ir1w==", "cpu": [ "x64" ], @@ -3789,9 +3774,9 @@ } }, "node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-20.1.2.tgz", - "integrity": "sha512-sMhNA8uAV43UYVEXEa8TZ8Fjpom4CGq1umTptEGOF4TTtdNn2AUBreg+0bVODM8MMSzRWGI1VbkZzHESnAPwqw==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-20.1.3.tgz", + "integrity": "sha512-RzP0vc4yhXktKxz7iiwVYFkgpyb5TN/lLGcKLMM4kjuyYJ0IUX58Kk5FDoqCy+HMKiMfGyTOT4fP+/UEsgW6qQ==", "cpu": [ "arm" ], @@ -3806,9 +3791,9 @@ } }, "node_modules/@nx/nx-linux-arm64-gnu": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-20.1.2.tgz", - "integrity": "sha512-bsevarNHglaYLmIvPNQOdHrBnBgaW3EOUM0flwaXdWuZbL1bWx8GoVwHp9yJpZOAOfIF/Nhq5iTpaZB2nYFrAA==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-20.1.3.tgz", + "integrity": "sha512-WCaU5AiGx21C3t3v4+d7nrA1r5Xc5Wk7yVxZFWh+mKHdcqk1JebDIr1qj/7yoKHD2R9k2Vp5x5Kd0pzAGS8AyA==", "cpu": [ "arm64" ], @@ -3823,9 +3808,9 @@ } }, "node_modules/@nx/nx-linux-arm64-musl": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-20.1.2.tgz", - "integrity": "sha512-GFZTptkhZPL/iZ3tYDmspIcPEaXyy/L/o59gyp33GoFAAyDhiXIF7J1Lz81Xn8VKrX6TvEY8/9qSh86pb7qzDQ==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-20.1.3.tgz", + "integrity": "sha512-lKAvR9jNyx/qvk3UZGYNJAoK5mkZc+rDD4gA23tOGYPjNrWHJEgbWycCk5A9tQ4QX4CskCNmkgQx0lOMdLeXsw==", "cpu": [ "arm64" ], @@ -3840,9 +3825,9 @@ } }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.1.2.tgz", - "integrity": "sha512-yqEW/iglKT4d9lgfnwSNhmDzPxCkRhtdmZqOYpGDM0eZFwYwJF+WRGjW8xIqMj8PA1yrGItzXZOmyFjJqHAF2w==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.1.3.tgz", + "integrity": "sha512-RKNm7RnTgCSl2HstDb/qMKO9r8o81EUe+UZB5fgjNR89PB757iHUX30kM0xbkiRZui1vIkMAvWcNsidxBnGGfg==", "cpu": [ "x64" ], @@ -3857,9 +3842,9 @@ } }, "node_modules/@nx/nx-linux-x64-musl": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-20.1.2.tgz", - "integrity": "sha512-SP6PpWT4cQVrC4WJQdpfADrYJQzkbhgmcGleWbpr7II1HJgOsAcvoDwQGpPQX+3Wo+VBiNecvUAOzacMQkXPGw==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-20.1.3.tgz", + "integrity": "sha512-aCXEWt1WQDPLzgp5I+NfqaP0y4ZKi2aauZMnSO6KE54MnZmvB+B4HQMZvqHM3dfU0jluvLRBmVIPLeTHiCccrw==", "cpu": [ "x64" ], @@ -3874,9 +3859,9 @@ } }, "node_modules/@nx/nx-win32-arm64-msvc": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-20.1.2.tgz", - "integrity": "sha512-JZQx9gr39LY3D7uleiXlpxUsavuOrOQNBocwKHkAMnykaT/e1VCxTnm/hk+2b4foWwfURTqoRiFEba70iiCdYg==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-20.1.3.tgz", + "integrity": "sha512-625rRYFfoCTu73bjDZ+jOLU0lvEN2heiiUGlErc6GchfcWuIcZy16oyYQzZX69UQqryGkkZVTaoyMXhGS5p7Tg==", "cpu": [ "arm64" ], @@ -3891,9 +3876,9 @@ } }, "node_modules/@nx/nx-win32-x64-msvc": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-20.1.2.tgz", - "integrity": "sha512-6GmT8iswDiCvJaCtW9DpWeAQmLS/kfAuRLYBisfzlONuLPaDdjhgVIxZBqqUSFfclwcVz+NhIOGvdr0aGFZCtQ==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-20.1.3.tgz", + "integrity": "sha512-XUbxSB6vUWoixNyCXkaXGkeUy/syqFOBXVh5Wbi6bqwTJ5o6EFUxCnzK/JsK55dfOz+I/jMXJzDWYEDAsikTSA==", "cpu": [ "x64" ], @@ -5215,9 +5200,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.27.3.tgz", - "integrity": "sha512-EzxVSkIvCFxUd4Mgm4xR9YXrcp976qVaHnqom/Tgm+vU79k4vV4eYTjmRvGfeoW8m9LVcsAy/lGjcgVegKEhLQ==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.27.4.tgz", + "integrity": "sha512-2Y3JT6f5MrQkICUyRVCw4oa0sutfAsgaSsb0Lmmy1Wi2y7X5vT9Euqw4gOsCyy0YfKURBg35nhUKZS4mDcfULw==", "cpu": [ "arm" ], @@ -5228,9 +5213,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.27.3.tgz", - "integrity": "sha512-LJc5pDf1wjlt9o/Giaw9Ofl+k/vLUaYsE2zeQGH85giX2F+wn/Cg8b3c5CDP3qmVmeO5NzwVUzQQxwZvC2eQKw==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.27.4.tgz", + "integrity": "sha512-wzKRQXISyi9UdCVRqEd0H4cMpzvHYt1f/C3CoIjES6cG++RHKhrBj2+29nPF0IB5kpy9MS71vs07fvrNGAl/iA==", "cpu": [ "arm64" ], @@ -5241,9 +5226,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.27.3.tgz", - "integrity": "sha512-OuRysZ1Mt7wpWJ+aYKblVbJWtVn3Cy52h8nLuNSzTqSesYw1EuN6wKp5NW/4eSre3mp12gqFRXOKTcN3AI3LqA==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.27.4.tgz", + "integrity": "sha512-PlNiRQapift4LNS8DPUHuDX/IdXiLjf8mc5vdEmUR0fF/pyy2qWwzdLjB+iZquGr8LuN4LnUoSEvKRwjSVYz3Q==", "cpu": [ "arm64" ], @@ -5254,9 +5239,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.27.3.tgz", - "integrity": "sha512-xW//zjJMlJs2sOrCmXdB4d0uiilZsOdlGQIC/jjmMWT47lkLLoB1nsNhPUcnoqyi5YR6I4h+FjBpILxbEy8JRg==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.27.4.tgz", + "integrity": "sha512-o9bH2dbdgBDJaXWJCDTNDYa171ACUdzpxSZt+u/AAeQ20Nk5x+IhA+zsGmrQtpkLiumRJEYef68gcpn2ooXhSQ==", "cpu": [ "x64" ], @@ -5267,9 +5252,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.27.3.tgz", - "integrity": "sha512-58E0tIcwZ+12nK1WiLzHOD8I0d0kdrY/+o7yFVPRHuVGY3twBwzwDdTIBGRxLmyjciMYl1B/U515GJy+yn46qw==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.27.4.tgz", + "integrity": "sha512-NBI2/i2hT9Q+HySSHTBh52da7isru4aAAo6qC3I7QFVsuhxi2gM8t/EI9EVcILiHLj1vfi+VGGPaLOUENn7pmw==", "cpu": [ "arm64" ], @@ -5280,9 +5265,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.27.3.tgz", - "integrity": "sha512-78fohrpcVwTLxg1ZzBMlwEimoAJmY6B+5TsyAZ3Vok7YabRBUvjYTsRXPTjGEvv/mfgVBepbW28OlMEz4w8wGA==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.27.4.tgz", + "integrity": "sha512-wYcC5ycW2zvqtDYrE7deary2P2UFmSh85PUpAx+dwTCO9uw3sgzD6Gv9n5X4vLaQKsrfTSZZ7Z7uynQozPVvWA==", "cpu": [ "x64" ], @@ -5293,9 +5278,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.27.3.tgz", - "integrity": "sha512-h2Ay79YFXyQi+QZKo3ISZDyKaVD7uUvukEHTOft7kh00WF9mxAaxZsNs3o/eukbeKuH35jBvQqrT61fzKfAB/Q==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.27.4.tgz", + "integrity": "sha512-9OwUnK/xKw6DyRlgx8UizeqRFOfi9mf5TYCw1uolDaJSbUmBxP85DE6T4ouCMoN6pXw8ZoTeZCSEfSaYo+/s1w==", "cpu": [ "arm" ], @@ -5306,9 +5291,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.27.3.tgz", - "integrity": "sha512-Sv2GWmrJfRY57urktVLQ0VKZjNZGogVtASAgosDZ1aUB+ykPxSi3X1nWORL5Jk0sTIIwQiPH7iE3BMi9zGWfkg==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.27.4.tgz", + "integrity": "sha512-Vgdo4fpuphS9V24WOV+KwkCVJ72u7idTgQaBoLRD0UxBAWTF9GWurJO9YD9yh00BzbkhpeXtm6na+MvJU7Z73A==", "cpu": [ "arm" ], @@ -5319,9 +5304,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.27.3.tgz", - "integrity": "sha512-FPoJBLsPW2bDNWjSrwNuTPUt30VnfM8GPGRoLCYKZpPx0xiIEdFip3dH6CqgoT0RnoGXptaNziM0WlKgBc+OWQ==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.27.4.tgz", + "integrity": "sha512-pleyNgyd1kkBkw2kOqlBx+0atfIIkkExOTiifoODo6qKDSpnc6WzUY5RhHdmTdIJXBdSnh6JknnYTtmQyobrVg==", "cpu": [ "arm64" ], @@ -5332,9 +5317,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.27.3.tgz", - "integrity": "sha512-TKxiOvBorYq4sUpA0JT+Fkh+l+G9DScnG5Dqx7wiiqVMiRSkzTclP35pE6eQQYjP4Gc8yEkJGea6rz4qyWhp3g==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.27.4.tgz", + "integrity": "sha512-caluiUXvUuVyCHr5DxL8ohaaFFzPGmgmMvwmqAITMpV/Q+tPoaHZ/PWa3t8B2WyoRcIIuu1hkaW5KkeTDNSnMA==", "cpu": [ "arm64" ], @@ -5345,9 +5330,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.27.3.tgz", - "integrity": "sha512-v2M/mPvVUKVOKITa0oCFksnQQ/TqGrT+yD0184/cWHIu0LoIuYHwox0Pm3ccXEz8cEQDLk6FPKd1CCm+PlsISw==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.27.4.tgz", + "integrity": "sha512-FScrpHrO60hARyHh7s1zHE97u0KlT/RECzCKAdmI+LEoC1eDh/RDji9JgFqyO+wPDb86Oa/sXkily1+oi4FzJQ==", "cpu": [ "ppc64" ], @@ -5358,9 +5343,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.27.3.tgz", - "integrity": "sha512-LdrI4Yocb1a/tFVkzmOE5WyYRgEBOyEhWYJe4gsDWDiwnjYKjNs7PS6SGlTDB7maOHF4kxevsuNBl2iOcj3b4A==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.27.4.tgz", + "integrity": "sha512-qyyprhyGb7+RBfMPeww9FlHwKkCXdKHeGgSqmIXw9VSUtvyFZ6WZRtnxgbuz76FK7LyoN8t/eINRbPUcvXB5fw==", "cpu": [ "riscv64" ], @@ -5371,9 +5356,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.27.3.tgz", - "integrity": "sha512-d4wVu6SXij/jyiwPvI6C4KxdGzuZOvJ6y9VfrcleHTwo68fl8vZC5ZYHsCVPUi4tndCfMlFniWgwonQ5CUpQcA==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.27.4.tgz", + "integrity": "sha512-PFz+y2kb6tbh7m3A7nA9++eInGcDVZUACulf/KzDtovvdTizHpZaJty7Gp0lFwSQcrnebHOqxF1MaKZd7psVRg==", "cpu": [ "s390x" ], @@ -5384,9 +5369,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.3.tgz", - "integrity": "sha512-/6bn6pp1fsCGEY5n3yajmzZQAh+mW4QPItbiWxs69zskBzJuheb3tNynEjL+mKOsUSFK11X4LYF2BwwXnzWleA==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.4.tgz", + "integrity": "sha512-Ni8mMtfo+o/G7DVtweXXV/Ol2TFf63KYjTtoZ5f078AUgJTmaIJnj4JFU7TK/9SVWTaSJGxPi5zMDgK4w+Ez7Q==", "cpu": [ "x64" ], @@ -5397,9 +5382,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.3.tgz", - "integrity": "sha512-nBXOfJds8OzUT1qUreT/en3eyOXd2EH5b0wr2bVB5999qHdGKkzGzIyKYaKj02lXk6wpN71ltLIaQpu58YFBoQ==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.4.tgz", + "integrity": "sha512-5AeeAF1PB9TUzD+3cROzFTnAJAcVUGLuR8ng0E0WXGkYhp6RD6L+6szYVX+64Rs0r72019KHZS1ka1q+zU/wUw==", "cpu": [ "x64" ], @@ -5410,9 +5395,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.27.3.tgz", - "integrity": "sha512-ogfbEVQgIZOz5WPWXF2HVb6En+kWzScuxJo/WdQTqEgeyGkaa2ui5sQav9Zkr7bnNCLK48uxmmK0TySm22eiuw==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.27.4.tgz", + "integrity": "sha512-yOpVsA4K5qVwu2CaS3hHxluWIK5HQTjNV4tWjQXluMiiiu4pJj4BN98CvxohNCpcjMeTXk/ZMJBRbgRg8HBB6A==", "cpu": [ "arm64" ], @@ -5423,9 +5408,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.27.3.tgz", - "integrity": "sha512-ecE36ZBMLINqiTtSNQ1vzWc5pXLQHlf/oqGp/bSbi7iedcjcNb6QbCBNG73Euyy2C+l/fn8qKWEwxr+0SSfs3w==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.27.4.tgz", + "integrity": "sha512-KtwEJOaHAVJlxV92rNYiG9JQwQAdhBlrjNRp7P9L8Cb4Rer3in+0A+IPhJC9y68WAi9H0sX4AiG2NTsVlmqJeQ==", "cpu": [ "ia32" ], @@ -5436,9 +5421,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.27.3.tgz", - "integrity": "sha512-vliZLrDmYKyaUoMzEbMTg2JkerfBjn03KmAw9CykO0Zzkzoyd7o3iZNam/TpyWNjNT+Cz2iO3P9Smv2wgrR+Eg==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.27.4.tgz", + "integrity": "sha512-3j4jx1TppORdTAoBJRd+/wJRGCPC0ETWkXOecJ6PPZLj6SptXkrXcNqdj0oclbKML6FkQltdz7bBA3rUSirZug==", "cpu": [ "x64" ], @@ -5647,15 +5632,15 @@ } }, "node_modules/@swc/core": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.9.2.tgz", - "integrity": "sha512-dYyEkO6mRYtZFpnOsnYzv9rY69fHAHoawYOjGOEcxk9WYtaJhowMdP/w6NcOKnz2G7GlZaenjkzkMa6ZeQeMsg==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.9.3.tgz", + "integrity": "sha512-oRj0AFePUhtatX+BscVhnzaAmWjpfAeySpM1TCbxA1rtBDeH/JDhi5yYzAKneDYtVtBvA7ApfeuzhMC9ye4xSg==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@swc/counter": "^0.1.3", - "@swc/types": "^0.1.15" + "@swc/types": "^0.1.17" }, "engines": { "node": ">=10" @@ -5665,16 +5650,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.9.2", - "@swc/core-darwin-x64": "1.9.2", - "@swc/core-linux-arm-gnueabihf": "1.9.2", - "@swc/core-linux-arm64-gnu": "1.9.2", - "@swc/core-linux-arm64-musl": "1.9.2", - "@swc/core-linux-x64-gnu": "1.9.2", - "@swc/core-linux-x64-musl": "1.9.2", - "@swc/core-win32-arm64-msvc": "1.9.2", - "@swc/core-win32-ia32-msvc": "1.9.2", - "@swc/core-win32-x64-msvc": "1.9.2" + "@swc/core-darwin-arm64": "1.9.3", + "@swc/core-darwin-x64": "1.9.3", + "@swc/core-linux-arm-gnueabihf": "1.9.3", + "@swc/core-linux-arm64-gnu": "1.9.3", + "@swc/core-linux-arm64-musl": "1.9.3", + "@swc/core-linux-x64-gnu": "1.9.3", + "@swc/core-linux-x64-musl": "1.9.3", + "@swc/core-win32-arm64-msvc": "1.9.3", + "@swc/core-win32-ia32-msvc": "1.9.3", + "@swc/core-win32-x64-msvc": "1.9.3" }, "peerDependencies": { "@swc/helpers": "*" @@ -5686,9 +5671,9 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.9.2.tgz", - "integrity": "sha512-nETmsCoY29krTF2PtspEgicb3tqw7Ci5sInTI03EU5zpqYbPjoPH99BVTjj0OsF53jP5MxwnLI5Hm21lUn1d6A==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.9.3.tgz", + "integrity": "sha512-hGfl/KTic/QY4tB9DkTbNuxy5cV4IeejpPD4zo+Lzt4iLlDWIeANL4Fkg67FiVceNJboqg48CUX+APhDHO5G1w==", "cpu": [ "arm64" ], @@ -5704,9 +5689,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.9.2.tgz", - "integrity": "sha512-9gD+bwBz8ZByjP6nZTXe/hzd0tySIAjpDHgkFiUrc+5zGF+rdTwhcNrzxNHJmy6mw+PW38jqII4uspFHUqqxuQ==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.9.3.tgz", + "integrity": "sha512-IaRq05ZLdtgF5h9CzlcgaNHyg4VXuiStnOFpfNEMuI5fm5afP2S0FHq8WdakUz5WppsbddTdplL+vpeApt/WCQ==", "cpu": [ "x64" ], @@ -5722,9 +5707,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.9.2.tgz", - "integrity": "sha512-kYq8ief1Qrn+WmsTWAYo4r+Coul4dXN6cLFjiPZ29Cv5pyU+GFvSPAB4bEdMzwy99rCR0u2P10UExaeCjurjvg==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.9.3.tgz", + "integrity": "sha512-Pbwe7xYprj/nEnZrNBvZfjnTxlBIcfApAGdz2EROhjpPj+FBqBa3wOogqbsuGGBdCphf8S+KPprL1z+oDWkmSQ==", "cpu": [ "arm" ], @@ -5740,9 +5725,9 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.9.2.tgz", - "integrity": "sha512-n0W4XiXlmEIVqxt+rD3ZpkogsEWUk1jJ+i5bQNgB+1JuWh0fBE8c/blDgTQXa0GB5lTPVDZQussgdNOCnAZwiA==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.9.3.tgz", + "integrity": "sha512-AQ5JZiwNGVV/2K2TVulg0mw/3LYfqpjZO6jDPtR2evNbk9Yt57YsVzS+3vHSlUBQDRV9/jqMuZYVU3P13xrk+g==", "cpu": [ "arm64" ], @@ -5758,9 +5743,9 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.9.2.tgz", - "integrity": "sha512-8xzrOmsyCC1zrx2Wzx/h8dVsdewO1oMCwBTLc1gSJ/YllZYTb04pNm6NsVbzUX2tKddJVRgSJXV10j/NECLwpA==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.9.3.tgz", + "integrity": "sha512-tzVH480RY6RbMl/QRgh5HK3zn1ZTFsThuxDGo6Iuk1MdwIbdFYUY034heWUTI4u3Db97ArKh0hNL0xhO3+PZdg==", "cpu": [ "arm64" ], @@ -5776,9 +5761,9 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.9.2.tgz", - "integrity": "sha512-kZrNz/PjRQKcchWF6W292jk3K44EoVu1ad5w+zbS4jekIAxsM8WwQ1kd+yjUlN9jFcF8XBat5NKIs9WphJCVXg==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.9.3.tgz", + "integrity": "sha512-ivXXBRDXDc9k4cdv10R21ccBmGebVOwKXT/UdH1PhxUn9m/h8erAWjz5pcELwjiMf27WokqPgaWVfaclDbgE+w==", "cpu": [ "x64" ], @@ -5794,9 +5779,9 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.9.2.tgz", - "integrity": "sha512-TTIpR4rjMkhX1lnFR+PSXpaL83TrQzp9znRdp2TzYrODlUd/R20zOwSo9vFLCyH6ZoD47bccY7QeGZDYT3nlRg==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.9.3.tgz", + "integrity": "sha512-ILsGMgfnOz1HwdDz+ZgEuomIwkP1PHT6maigZxaCIuC6OPEhKE8uYna22uU63XvYcLQvZYDzpR3ms47WQPuNEg==", "cpu": [ "x64" ], @@ -5812,9 +5797,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.9.2.tgz", - "integrity": "sha512-+Eg2d4icItKC0PMjZxH7cSYFLWk0aIp94LNmOw6tPq0e69ax6oh10upeq0D1fjWsKLmOJAWEvnXlayZcijEXDw==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.9.3.tgz", + "integrity": "sha512-e+XmltDVIHieUnNJHtspn6B+PCcFOMYXNJB1GqoCcyinkEIQNwC8KtWgMqUucUbEWJkPc35NHy9k8aCXRmw9Kg==", "cpu": [ "arm64" ], @@ -5830,9 +5815,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.9.2.tgz", - "integrity": "sha512-nLWBi4vZDdM/LkiQmPCakof8Dh1/t5EM7eudue04V1lIcqx9YHVRS3KMwEaCoHLGg0c312Wm4YgrWQd9vwZ5zQ==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.9.3.tgz", + "integrity": "sha512-rqpzNfpAooSL4UfQnHhkW8aL+oyjqJniDP0qwZfGnjDoJSbtPysHg2LpcOBEdSnEH+uIZq6J96qf0ZFD8AGfXA==", "cpu": [ "ia32" ], @@ -5848,9 +5833,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.9.2.tgz", - "integrity": "sha512-ik/k+JjRJBFkXARukdU82tSVx0CbExFQoQ78qTO682esbYXzjdB5eLVkoUbwen299pnfr88Kn4kyIqFPTje8Xw==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.9.3.tgz", + "integrity": "sha512-3YJJLQ5suIEHEKc1GHtqVq475guiyqisKSoUnoaRtxkDaW5g1yvPt9IoSLOe2mRs7+FFhGGU693RsBUSwOXSdQ==", "cpu": [ "x64" ], @@ -5882,9 +5867,9 @@ } }, "node_modules/@swc/types": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.15.tgz", - "integrity": "sha512-XKaZ+dzDIQ9Ot9o89oJQ/aluI17+VvUnIpYJTcZtvv1iYX6MzHh3Ik2CSR7MdPKpPwfZXHBeCingb2b4PoDVdw==", + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.17.tgz", + "integrity": "sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -6129,6 +6114,13 @@ "@types/d3-selection": "^1" } }, + "node_modules/@types/dagre": { + "version": "0.7.52", + "resolved": "https://registry.npmjs.org/@types/dagre/-/dagre-0.7.52.tgz", + "integrity": "sha512-XKJdy+OClLk3hketHi9Qg6gTfe1F3y+UFnHxKA2rn9Dw+oXa4Gb378Ztz9HlMgZKSxpPmn4BNVh9wgkpvrK1uw==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/dojo": { "version": "1.9.48", "resolved": "https://registry.npmjs.org/@types/dojo/-/dojo-1.9.48.tgz", @@ -6289,9 +6281,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "18.19.64", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.64.tgz", - "integrity": "sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==", + "version": "18.19.66", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.66.tgz", + "integrity": "sha512-14HmtUdGxFUalGRfLLn9Gc1oNWvWh5zNbsyOLo5JV6WARSeN1QcEBKRnZm9QqNfrutgsl/hY4eJW63aZ44aBCg==", "dev": true, "license": "MIT", "dependencies": { @@ -7244,6 +7236,20 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/apache-arrow": { "version": "17.0.0", "resolved": "https://registry.npmjs.org/apache-arrow/-/apache-arrow-17.0.0.tgz", @@ -7266,9 +7272,9 @@ } }, "node_modules/apache-arrow/node_modules/@types/node": { - "version": "20.17.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.6.tgz", - "integrity": "sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==", + "version": "20.17.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.8.tgz", + "integrity": "sha512-ahz2g6/oqbKalW9sPv6L2iRbhLnojxjYWspAqhjvqSWBgGebEJT5GvRmk0QXPj3sbC6rU0GTQjPLQkmR8CObvA==", "dev": true, "license": "MIT", "dependencies": { @@ -7439,9 +7445,9 @@ } }, "node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz", + "integrity": "sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==", "dev": true, "license": "MIT", "dependencies": { @@ -7545,6 +7551,19 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -7762,9 +7781,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001680", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz", - "integrity": "sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==", + "version": "1.0.30001684", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", + "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", "dev": true, "funding": [ { @@ -7882,6 +7901,44 @@ "node": ">= 16" } }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/chownr": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", @@ -9042,6 +9099,17 @@ "d3-transition": "^1.3.2" } }, + "node_modules/dagre": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/dagre/-/dagre-0.8.5.tgz", + "integrity": "sha512-/aTqmnRta7x7MCCpExk7HQL2O4owCT2h8NT//9I1OQ9vt29Pa0BzSAkR5lwFUcQ7491yVi/3CXU9jQ5o0Mn2Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graphlib": "^2.1.8", + "lodash": "^4.17.15" + } + }, "node_modules/dargs": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", @@ -9727,34 +9795,34 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.63", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.63.tgz", - "integrity": "sha512-ddeXKuY9BHo/mw145axlyWjlJ1UBt4WK3AlvkT7W2AbqfRQoacVoRUCF6wL3uIx/8wT9oLKXzI+rFqHHscByaA==", + "version": "1.5.65", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.65.tgz", + "integrity": "sha512-PWVzBjghx7/wop6n22vS2MLU8tKGd4Q91aCEGhG/TYmW6PP5OcSXcdnxTe1NNt0T66N8D6jxh4kC8UsdzOGaIw==", "dev": true, "license": "ISC" }, "node_modules/embla-carousel": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.4.0.tgz", - "integrity": "sha512-sUzm4DGGsdZCom7LEO38Uu6C7oQoFfPorKDf/f7j2EeRCMhHSOt3CvF+pHCaI6N+x5Y8/tfLueJ0WZlgUREnew==", + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.5.1.tgz", + "integrity": "sha512-JUb5+FOHobSiWQ2EJNaueCNT/cQU9L6XWBbWmorWPQT9bkbk+fhsuLr8wWrzXKagO3oWszBO7MSx+GfaRk4E6A==", "license": "MIT" }, "node_modules/embla-carousel-autoplay": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/embla-carousel-autoplay/-/embla-carousel-autoplay-8.4.0.tgz", - "integrity": "sha512-AJHXrnaY+Tf4tb/+oItmJSpz4P0WvS62GrW5Z4iFY3zsH0mkKcijzd04LIkj0P4DkTazIBEuXple+nUVmuMsrQ==", + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/embla-carousel-autoplay/-/embla-carousel-autoplay-8.5.1.tgz", + "integrity": "sha512-FnZklFpePfp8wbj177UwVaGFehgs+ASVcJvYLWTtHuYKURynCc3IdDn2qrn0E5Qpa3g9yeGwCS4p8QkrZmO8xg==", "license": "MIT", "peerDependencies": { - "embla-carousel": "8.4.0" + "embla-carousel": "8.5.1" } }, "node_modules/embla-carousel-fade": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/embla-carousel-fade/-/embla-carousel-fade-8.4.0.tgz", - "integrity": "sha512-d2/Pk/gHnlLCwE0MuwjLxLn22ngTf1rS17KT+TsYctVCApvDvxwgn5bDrwSpwg4BZhO4+xIrWw293rAHjCDewQ==", + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/embla-carousel-fade/-/embla-carousel-fade-8.5.1.tgz", + "integrity": "sha512-n7vRe2tsTW0vc0Xxtk3APoxhUSXIGh/lGRKYtBJS/SWDeXf9E3qVUst4MfHhwXaHlfu5PLqG3xIEDAr2gwbbNA==", "license": "MIT", "peerDependencies": { - "embla-carousel": "8.4.0" + "embla-carousel": "8.5.1" } }, "node_modules/emoji-regex": { @@ -10022,15 +10090,15 @@ } }, "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", + "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", "dev": true, "license": "MIT", "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "is-callable": "^1.2.7", + "is-date-object": "^1.0.5", + "is-symbol": "^1.0.4" }, "engines": { "node": ">= 0.4" @@ -11497,6 +11565,16 @@ "dev": true, "license": "MIT" }, + "node_modules/graphlib": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/graphlib/-/graphlib-2.1.8.tgz", + "integrity": "sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.15" + } + }, "node_modules/graphql": { "version": "16.9.0", "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.9.0.tgz", @@ -12128,6 +12206,22 @@ "dev": true, "license": "MIT" }, + "node_modules/is-async-function": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz", + "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", @@ -12141,6 +12235,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/is-boolean-object": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", @@ -12266,6 +12373,22 @@ "node": ">=0.10.0" } }, + "node_modules/is-finalizationregistry": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.0.tgz", + "integrity": "sha512-qfMdqbAQEwBw78ZyReKnlA8ezmPdb9BemzIIip/JkjaZUhitfXDkkr+3QTboW0JrSXT1QWyYShpvnNHGZ4c4yA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -12275,6 +12398,22 @@ "node": ">=8" } }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -12338,6 +12477,19 @@ "dev": true, "license": "MIT" }, + "node_modules/is-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", @@ -12462,6 +12614,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-set": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-shared-array-buffer": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", @@ -12563,7 +12728,6 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -12572,6 +12736,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-weakmap": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", + "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-weakref": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", @@ -12585,6 +12762,23 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-weakset": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz", + "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-wsl": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", @@ -13680,9 +13874,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.13", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.13.tgz", - "integrity": "sha512-8rYBO+MsWkgjDSOvLomYnzhdwEG51olQ4zL5KXnNJWV5MNmrb4rTZdrtkhxjnD/QyZUqR/Z/XDsUs/4ej2nx0g==", + "version": "0.30.14", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.14.tgz", + "integrity": "sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==", "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" @@ -14470,9 +14664,9 @@ "license": "MIT" }, "node_modules/msw": { - "version": "2.6.5", - "resolved": "https://registry.npmjs.org/msw/-/msw-2.6.5.tgz", - "integrity": "sha512-PnlnTpUlOrj441kYQzzFhzMzMCGFT6a2jKUBG7zSpLkYS5oh8Arrbc0dL8/rNAtxaoBy0EVs2mFqj2qdmWK7lQ==", + "version": "2.6.6", + "resolved": "https://registry.npmjs.org/msw/-/msw-2.6.6.tgz", + "integrity": "sha512-npfIIVRHKQX3Lw4aLWX4wBh+lQwpqdZNyJYB5K/+ktK8NhtkdsTxGK7WDrgknozcVyRI7TOqY6yBS9j2FTR+YQ==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -14515,9 +14709,9 @@ } }, "node_modules/msw/node_modules/type-fest": { - "version": "4.27.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.27.0.tgz", - "integrity": "sha512-3IMSWgP7C5KSQqmo1wjhKrwsvXAtF33jO3QY+Uy++ia7hqvgSK6iXbbg5PbDBc1P2ZbNEDgejOrN4YooXvhwCw==", + "version": "4.29.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.29.0.tgz", + "integrity": "sha512-RPYt6dKyemXJe7I6oNstcH24myUGSReicxcHTvCLgzm4e0n8y05dGvcGB15/SoPRBmhlMthWQ9pvKyL81ko8nQ==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -14589,9 +14783,9 @@ "license": "ISC" }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -14777,6 +14971,16 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/npm-bundled": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.1.tgz", @@ -15020,9 +15224,9 @@ } }, "node_modules/nx": { - "version": "20.1.2", - "resolved": "https://registry.npmjs.org/nx/-/nx-20.1.2.tgz", - "integrity": "sha512-CvjmuQmI0RWLYZxRSIgQZmzsQv6dPp9oI0YZE3L1dagBPfTf5Cun65I0GLt7bdkDnVx2PGYkDbIoJSv2/V+83Q==", + "version": "20.1.3", + "resolved": "https://registry.npmjs.org/nx/-/nx-20.1.3.tgz", + "integrity": "sha512-mipsacEpn0gLd/4NSlOgyHW6Ozl++8ZIfuv42RtZEnS3BaGnnW+L2dkt85h4zffq+zBILoudd/VDFzaLY7Yrfw==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -15065,16 +15269,16 @@ "nx-cloud": "bin/nx-cloud.js" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "20.1.2", - "@nx/nx-darwin-x64": "20.1.2", - "@nx/nx-freebsd-x64": "20.1.2", - "@nx/nx-linux-arm-gnueabihf": "20.1.2", - "@nx/nx-linux-arm64-gnu": "20.1.2", - "@nx/nx-linux-arm64-musl": "20.1.2", - "@nx/nx-linux-x64-gnu": "20.1.2", - "@nx/nx-linux-x64-musl": "20.1.2", - "@nx/nx-win32-arm64-msvc": "20.1.2", - "@nx/nx-win32-x64-msvc": "20.1.2" + "@nx/nx-darwin-arm64": "20.1.3", + "@nx/nx-darwin-x64": "20.1.3", + "@nx/nx-freebsd-x64": "20.1.3", + "@nx/nx-linux-arm-gnueabihf": "20.1.3", + "@nx/nx-linux-arm64-gnu": "20.1.3", + "@nx/nx-linux-arm64-musl": "20.1.3", + "@nx/nx-linux-x64-gnu": "20.1.3", + "@nx/nx-linux-x64-musl": "20.1.3", + "@nx/nx-win32-arm64-msvc": "20.1.3", + "@nx/nx-win32-x64-msvc": "20.1.3" }, "peerDependencies": { "@swc-node/register": "^1.8.0", @@ -16071,9 +16275,9 @@ "license": "ISC" }, "node_modules/psl": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.10.0.tgz", - "integrity": "sha512-KSKHEbjAnpUuAUserOq0FxGXCUrzC3WniuSJhvdbs102rL55266ZcHBqLWOsG30spQMlPdpy7icATiAQehg/iA==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.13.0.tgz", + "integrity": "sha512-BFwmFXiJoFqlUpZ5Qssolv15DMyc84gTBds1BjsV1BfXEo1UyyD7GsmN67n7J77uRhoSNW1AXtXKPLcBFQn9Aw==", "license": "MIT", "dependencies": { "punycode": "^2.3.1" @@ -16492,6 +16696,19 @@ "node": ">= 6" } }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, "node_modules/rechoir": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", @@ -16519,6 +16736,28 @@ "node": ">=8" } }, + "node_modules/reflect.getprototypeof": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.7.tgz", + "integrity": "sha512-bMvFGIUKlc/eSfXNX+aZ+EL95/EgZzuwA0OBPTbZZDEJw/0AkentjMuM1oiRfwHrshqk4RzdgiTg5CcDalXN5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "which-builtin-type": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/regenerator-runtime": { "version": "0.14.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", @@ -16536,9 +16775,9 @@ } }, "node_modules/regex-recursion": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-4.2.1.tgz", - "integrity": "sha512-QHNZyZAeKdndD1G3bKAbBEKOSSK4KOHQrAJ01N1LJeb0SoH4DJIeFhp0uUpETgONifS4+P3sOgoA1dhzgrQvhA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-4.3.0.tgz", + "integrity": "sha512-5LcLnizwjcQ2ALfOj95MjcatxyqF5RPySx9yT+PaXu3Gox2vyAtLDjHB8NTJLtMGkvyau6nI3CfpwFCjPUIs/A==", "dev": true, "license": "MIT", "dependencies": { @@ -16715,9 +16954,9 @@ } }, "node_modules/rollup": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.3.tgz", - "integrity": "sha512-SLsCOnlmGt9VoZ9Ek8yBK8tAdmPHeppkw+Xa7yDlCEhDTvwYei03JlWo1fdc7YTfLZ4tD8riJCUyAgTbszk1fQ==", + "version": "4.27.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.4.tgz", + "integrity": "sha512-RLKxqHEMjh/RGLsDxAEsaLO3mWgyoU6x9w6n1ikAzet4B3gI2/3yP6PWY2p9QzRTh6MfEIXB3MwsOY0Iv3vNrw==", "license": "MIT", "dependencies": { "@types/estree": "1.0.6" @@ -16730,24 +16969,24 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.27.3", - "@rollup/rollup-android-arm64": "4.27.3", - "@rollup/rollup-darwin-arm64": "4.27.3", - "@rollup/rollup-darwin-x64": "4.27.3", - "@rollup/rollup-freebsd-arm64": "4.27.3", - "@rollup/rollup-freebsd-x64": "4.27.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.27.3", - "@rollup/rollup-linux-arm-musleabihf": "4.27.3", - "@rollup/rollup-linux-arm64-gnu": "4.27.3", - "@rollup/rollup-linux-arm64-musl": "4.27.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.27.3", - "@rollup/rollup-linux-riscv64-gnu": "4.27.3", - "@rollup/rollup-linux-s390x-gnu": "4.27.3", - "@rollup/rollup-linux-x64-gnu": "4.27.3", - "@rollup/rollup-linux-x64-musl": "4.27.3", - "@rollup/rollup-win32-arm64-msvc": "4.27.3", - "@rollup/rollup-win32-ia32-msvc": "4.27.3", - "@rollup/rollup-win32-x64-msvc": "4.27.3", + "@rollup/rollup-android-arm-eabi": "4.27.4", + "@rollup/rollup-android-arm64": "4.27.4", + "@rollup/rollup-darwin-arm64": "4.27.4", + "@rollup/rollup-darwin-x64": "4.27.4", + "@rollup/rollup-freebsd-arm64": "4.27.4", + "@rollup/rollup-freebsd-x64": "4.27.4", + "@rollup/rollup-linux-arm-gnueabihf": "4.27.4", + "@rollup/rollup-linux-arm-musleabihf": "4.27.4", + "@rollup/rollup-linux-arm64-gnu": "4.27.4", + "@rollup/rollup-linux-arm64-musl": "4.27.4", + "@rollup/rollup-linux-powerpc64le-gnu": "4.27.4", + "@rollup/rollup-linux-riscv64-gnu": "4.27.4", + "@rollup/rollup-linux-s390x-gnu": "4.27.4", + "@rollup/rollup-linux-x64-gnu": "4.27.4", + "@rollup/rollup-linux-x64-musl": "4.27.4", + "@rollup/rollup-win32-arm64-msvc": "4.27.4", + "@rollup/rollup-win32-ia32-msvc": "4.27.4", + "@rollup/rollup-win32-x64-msvc": "4.27.4", "fsevents": "~2.3.2" } }, @@ -18228,9 +18467,9 @@ } }, "node_modules/ts-api-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.0.tgz", - "integrity": "sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.2.tgz", + "integrity": "sha512-ZF5gQIQa/UmzfvxbHZI3JXN0/Jt+vnAfAviNRAMc491laiK6YCLpCW9ft8oaCRFOTxCZtUTE6XB0ZQAe3olntw==", "dev": true, "license": "MIT", "engines": { @@ -18895,9 +19134,9 @@ } }, "node_modules/typed-array-byte-offset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", - "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.3.tgz", + "integrity": "sha512-GsvTyUHTriq6o/bHcTd0vM7OQ9JEdlvluu9YISaA7+KzDzPaIzEeDFNkTfhdE3MYcNhNi0vq/LlegYgIs5yPAw==", "dev": true, "license": "MIT", "dependencies": { @@ -18906,7 +19145,8 @@ "for-each": "^0.3.3", "gopd": "^1.0.1", "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" + "is-typed-array": "^1.1.13", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -18916,18 +19156,18 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", - "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", + "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-proto": "^1.0.3", "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" + "possible-typed-array-names": "^1.0.0", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -18944,9 +19184,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -19414,6 +19654,35 @@ "url": "https://opencollective.com/vitest" } }, + "node_modules/vite-plugin-css-injected-by-js": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/vite-plugin-css-injected-by-js/-/vite-plugin-css-injected-by-js-3.5.2.tgz", + "integrity": "sha512-2MpU/Y+SCZyWUB6ua3HbJCrgnF0KACAsmzOQt1UvRVJCGF6S8xdA3ZUhWcWdM9ivG4I5az8PnQmwwrkC2CAQrQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "vite": ">2.0.0-0" + } + }, + "node_modules/vite-plugin-static-copy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-2.1.0.tgz", + "integrity": "sha512-n8lEOIVM00Y/zronm0RG8RdPyFd0SAAFR0sii3NWmgG3PSCyYMsvUNRQTlb3onp1XeMrKIDwCrPGxthKvqX9OQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.3", + "fast-glob": "^3.2.11", + "fs-extra": "^11.1.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "vite": "^5.0.0" + } + }, "node_modules/vite/node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -19809,6 +20078,53 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/which-builtin-type": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.0.tgz", + "integrity": "sha512-I+qLGQ/vucCby4tf5HsLmGueEla4ZhwTBSqaooS+Y0BuxN4Cp+okmGuV+8mXZ84KDI9BA+oklo+RzKg0ONdSUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", + "is-async-function": "^2.0.0", + "is-date-object": "^1.0.5", + "is-finalizationregistry": "^1.1.0", + "is-generator-function": "^1.0.10", + "is-regex": "^1.1.4", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.15" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-collection": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", + "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/which-typed-array": { "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", @@ -20470,7 +20786,7 @@ }, "devDependencies": { "@hpcc-js/esbuild-plugins": "^1.3.0", - "@hpcc-js/preact-shim": "^3.0.0", + "preact": "10.24.3", "react-data-grid": "7.0.0-beta.47" } }, @@ -20946,17 +21262,18 @@ "@hpcc-js/util": "^3.2.0" }, "devDependencies": { - "@dagrejs/dagre": "1.1.4", "@hpcc-js/esbuild-plugins": "^1.3.0", "@hpcc-js/wasm-graphviz": "1.6.1", "@types/d3-transition": "1.3.6", + "@types/dagre": "0.7.52", "d3-force": "^1", "d3-geo": "^1", "d3-interpolate-path": "2.3.0", "d3-sankey": "^0", "d3-shape": "^1", "d3-tile": "^1", - "d3-transition": "^1" + "d3-transition": "^1", + "dagre": "0.8.5" } }, "packages/html": { diff --git a/package.json b/package.json index e8fe2e763e..0a6f577479 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,10 @@ "npm-run-all": "4.1.5", "playwright": "1.49.0", "rimraf": "5.0.10", - "typescript": "5.6.3", + "typescript": "5.7.2", + "vite": "5.4.11", + "vite-plugin-css-injected-by-js": "3.5.2", + "vite-plugin-static-copy": "2.1.0", "vitest": "2.1.5" }, "overrides": { diff --git a/packages/api/.vscode/launch.json b/packages/api/.vscode/launch.json index 3ee32e4122..f41798cc0a 100644 --- a/packages/api/.vscode/launch.json +++ b/packages/api/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "test-browser", "type": "msedge", "request": "launch", - "url": "http://localhost:8888", + "url": "http://localhost:63315", "webRoot": "${workspaceFolder}", "outFiles": [ "${workspaceFolder}/**/*.js", @@ -28,6 +28,34 @@ "${workspaceFolder}/**/*.js", "!**/node_modules/**" ], + }, + { + "name": "index.html", + "request": "launch", + "type": "msedge", + "url": "http://localhost:5173/index.html", + "runtimeArgs": [ + "--disable-web-security" + ], + "webRoot": "${workspaceFolder}", + "outFiles": [ + "${workspaceFolder}/**/*.js", + "!**/node_modules/**" + ] + }, + { + "name": "index-preview.html", + "request": "launch", + "type": "msedge", + "url": "file://${workspaceFolder}/index-preview.html", + "runtimeArgs": [ + "--disable-web-security" + ], + "webRoot": "${workspaceFolder}", + "outFiles": [ + "${workspaceFolder}/**/*.js", + "!**/node_modules/**" + ] } ] } \ No newline at end of file diff --git a/packages/api/package.json b/packages/api/package.json index 298ddf6933..902b8fea79 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -3,15 +3,17 @@ "version": "3.2.0", "description": "hpcc-js - Viz api", "type": "module", + "main": "./dist/index.umd.cjs", + "module": "./dist/index.js", "exports": { ".": { "types": "./types/index.d.ts", - "default": "./dist/index.js" + "import": "./dist/index.js", + "require": "./dist/index.umd.cjs" }, "./dist/*": "./dist/*" }, - "module": "./dist/index.js", - "browser": "./dist/index.js", + "browser": "./dist/index.umd.cjs", "types": "./types/index.d.ts", "files": [ "dist/*", @@ -20,8 +22,8 @@ ], "scripts": { "clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo", - "bundle": "node esbuild.js", - "bundle-watch": "npm run bundle -- --development --watch", + "bundle": "vite build", + "bundle-watch": "vite", "gen-types": "tsc --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", @@ -31,7 +33,8 @@ "test-browser": "vitest run --project browser", "test": "vitest run", "coverage": "vitest run --coverage", - "update": "npx -y npm-check-updates -u -t minor" + "update": "npx --yes npm-check-updates -u -t minor", + "update-major": "npx --yes npm-check-updates -u" }, "dependencies": { "@hpcc-js/common": "^3.2.0" diff --git a/packages/api/tsconfig.json b/packages/api/tsconfig.json index 318ecdd23e..d0b91b3df7 100644 --- a/packages/api/tsconfig.json +++ b/packages/api/tsconfig.json @@ -10,6 +10,7 @@ "strict": true, "noImplicitAny": false, "strictNullChecks": false, + "isolatedModules": true, "skipLibCheck": true, "allowImportingTsExtensions": true, "lib": [ diff --git a/packages/api/vite.config.ts b/packages/api/vite.config.ts new file mode 100644 index 0000000000..0c0d753250 --- /dev/null +++ b/packages/api/vite.config.ts @@ -0,0 +1,33 @@ +import { defineConfig } from "vite"; +import { resolve } from "path"; +import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; +import { hpccBundleNames } from "@hpcc-js/esbuild-plugins"; +import pkg from "./package.json" with { type: "json" }; + +const { alias, external, globals } = hpccBundleNames(pkg); + +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, "src/index.ts"), + name: pkg.name, + fileName: "index", + }, + rollupOptions: { + external, + output: { + globals, + }, + }, + sourcemap: true + }, + resolve: { + alias + }, + esbuild: { + minifyIdentifiers: false + }, + plugins: [ + cssInjectedByJsPlugin() + ], +}); diff --git a/packages/api/vitest.workspace.ts b/packages/api/vitest.workspace.ts index fa7bb0720b..722950dd03 100644 --- a/packages/api/vitest.workspace.ts +++ b/packages/api/vitest.workspace.ts @@ -1,6 +1,6 @@ -import { defineWorkspace } from 'vitest/config'; -import baseWorkspace from '../../vitest.workspace.ts'; +import { defineWorkspace } from "vitest/config"; +import baseWorkspace from "../../vitest.workspace.ts"; export default defineWorkspace([ ...baseWorkspace -]) \ No newline at end of file +]); \ No newline at end of file diff --git a/packages/chart/.vscode/launch.json b/packages/chart/.vscode/launch.json index 7c2436335f..6bb554878b 100644 --- a/packages/chart/.vscode/launch.json +++ b/packages/chart/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "test-browser", "type": "msedge", "request": "launch", - "url": "http://localhost:8888", + "url": "http://localhost:63315", "webRoot": "${workspaceFolder}", "outFiles": [ "${workspaceFolder}/**/*.js", @@ -33,7 +33,21 @@ "name": "index.html", "request": "launch", "type": "msedge", - "url": "file:///${workspaceFolder}/index.html", + "url": "http://localhost:5500/index.html", + "runtimeArgs": [ + "--disable-web-security" + ], + "webRoot": "${workspaceFolder}", + "outFiles": [ + "${workspaceFolder}/**/*.js", + "!**/node_modules/**" + ] + }, + { + "name": "index-preview.html", + "request": "launch", + "type": "msedge", + "url": "file://${workspaceFolder}/index-preview.html", "runtimeArgs": [ "--disable-web-security" ], diff --git a/packages/chart/index-preview.html b/packages/chart/index-preview.html new file mode 100644 index 0000000000..778584f12d --- /dev/null +++ b/packages/chart/index-preview.html @@ -0,0 +1,97 @@ + + + + + Home + + + + + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/chart/index.html b/packages/chart/index.html index 6f902b3894..4464af916e 100644 --- a/packages/chart/index.html +++ b/packages/chart/index.html @@ -23,21 +23,8 @@ margin-top: 20px; } - - - + + diff --git a/packages/chart/package.json b/packages/chart/package.json index 3f75cf0809..c6fd3e5740 100644 --- a/packages/chart/package.json +++ b/packages/chart/package.json @@ -3,26 +3,27 @@ "version": "3.2.0", "description": "hpcc-js - Viz Chart", "type": "module", + "main": "./dist/index.umd.cjs", + "module": "./dist/index.js", "exports": { ".": { "types": "./types/index.d.ts", - "default": "./dist/index.js" + "import": "./dist/index.js", + "require": "./dist/index.umd.cjs" }, "./dist/*": "./dist/*" }, - "module": "./dist/index.js", - "browser": "./dist/index.js", + "browser": "./dist/index.umd.cjs", "types": "./types/index.d.ts", "files": [ "dist/*", "src/*", - "types/*", - "font-awesome/**/*" + "types/*" ], "scripts": { "clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo", - "bundle": "node esbuild.js", - "bundle-watch": "npm run bundle -- --development --watch", + "bundle": "vite build", + "bundle-watch": "vite --port 5500", "gen-types": "tsc --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", diff --git a/packages/chart/src/Bullet.ts b/packages/chart/src/Bullet.ts index a3adc91fe2..b63f26f559 100644 --- a/packages/chart/src/Bullet.ts +++ b/packages/chart/src/Bullet.ts @@ -112,7 +112,6 @@ export class Bullet extends HTMLWidget { titleWidth = bbox.width; } }); - titleWidth; // Gap between title and bullet bar. // Bullet Chart --- const chart = d3Bullet() diff --git a/packages/chart/src/D3Cloud.ts b/packages/chart/src/D3Cloud.ts index dd23227718..f840706320 100644 --- a/packages/chart/src/D3Cloud.ts +++ b/packages/chart/src/D3Cloud.ts @@ -270,7 +270,10 @@ function cloudSprite(contextAndRatio, d, data, di) { c.translate((x + (w >> 1)) / ratio, (y + (h >> 1)) / ratio); if (d.rotate) c.rotate(d.rotate * cloudRadians); c.fillText(d.text, 0, 0); - if (d.padding) c.lineWidth = 2 * d.padding, c.strokeText(d.text, 0, 0); + if (d.padding) { + c.lineWidth = 2 * d.padding; + c.strokeText(d.text, 0, 0); + } c.restore(); d.width = w; d.height = h; diff --git a/packages/chart/src/__tests__/test3.ts b/packages/chart/src/__tests__/test3.ts index bd4a614596..3078975edb 100644 --- a/packages/chart/src/__tests__/test3.ts +++ b/packages/chart/src/__tests__/test3.ts @@ -1,5 +1,4 @@ import { Column } from "../Column"; -import { Line } from "../Line"; Line; import { Pie } from "../Pie"; export class Test3 extends Column { diff --git a/packages/chart/src/test.ts b/packages/chart/src/test.ts index 5b20e403cc..46c86ee617 100644 --- a/packages/chart/src/test.ts +++ b/packages/chart/src/test.ts @@ -1,5 +1,4 @@ import { Column } from "./Column"; -import { Line } from "./Line"; Line; import { Pie } from "./Pie"; export { Test3 as Test }; diff --git a/packages/chart/tsconfig.json b/packages/chart/tsconfig.json index 3cd3be3a69..22c2fb9695 100644 --- a/packages/chart/tsconfig.json +++ b/packages/chart/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "isolatedModules": true, "skipLibCheck": true, "allowImportingTsExtensions": true, "lib": [ diff --git a/packages/chart/vite.config.ts b/packages/chart/vite.config.ts new file mode 100644 index 0000000000..0c0d753250 --- /dev/null +++ b/packages/chart/vite.config.ts @@ -0,0 +1,33 @@ +import { defineConfig } from "vite"; +import { resolve } from "path"; +import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; +import { hpccBundleNames } from "@hpcc-js/esbuild-plugins"; +import pkg from "./package.json" with { type: "json" }; + +const { alias, external, globals } = hpccBundleNames(pkg); + +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, "src/index.ts"), + name: pkg.name, + fileName: "index", + }, + rollupOptions: { + external, + output: { + globals, + }, + }, + sourcemap: true + }, + resolve: { + alias + }, + esbuild: { + minifyIdentifiers: false + }, + plugins: [ + cssInjectedByJsPlugin() + ], +}); diff --git a/packages/chart/vitest.workspace.ts b/packages/chart/vitest.workspace.ts index fa7bb0720b..722950dd03 100644 --- a/packages/chart/vitest.workspace.ts +++ b/packages/chart/vitest.workspace.ts @@ -1,6 +1,6 @@ -import { defineWorkspace } from 'vitest/config'; -import baseWorkspace from '../../vitest.workspace.ts'; +import { defineWorkspace } from "vitest/config"; +import baseWorkspace from "../../vitest.workspace.ts"; export default defineWorkspace([ ...baseWorkspace -]) \ No newline at end of file +]); \ No newline at end of file diff --git a/packages/codemirror/.vscode/launch.json b/packages/codemirror/.vscode/launch.json index 967172fec7..08c38b6a06 100644 --- a/packages/codemirror/.vscode/launch.json +++ b/packages/codemirror/.vscode/launch.json @@ -33,7 +33,21 @@ "name": "index.html", "request": "launch", "type": "msedge", - "url": "file:///${workspaceFolder}/index.html", + "url": "http://localhost:5501/index.html", + "runtimeArgs": [ + "--disable-web-security" + ], + "webRoot": "${workspaceFolder}", + "outFiles": [ + "${workspaceFolder}/**/*.js", + "!**/node_modules/**" + ] + }, + { + "name": "index-preview.html", + "request": "launch", + "type": "msedge", + "url": "file://${workspaceFolder}/index-preview.html", "runtimeArgs": [ "--disable-web-security" ], diff --git a/packages/codemirror/index-preview.html b/packages/codemirror/index-preview.html new file mode 100644 index 0000000000..54f3b7f7db --- /dev/null +++ b/packages/codemirror/index-preview.html @@ -0,0 +1,85 @@ + + + + + Home + + + + + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/codemirror/index.html b/packages/codemirror/index.html index a990e85ef4..bcf87546d6 100644 --- a/packages/codemirror/index.html +++ b/packages/codemirror/index.html @@ -25,35 +25,41 @@ - - -

ESM Quick Test

+ + + +

ESM Quick Test

+
+ + + + \ No newline at end of file diff --git a/packages/common/index.html b/packages/common/index.html index a4cc12208e..6eb04986a3 100644 --- a/packages/common/index.html +++ b/packages/common/index.html @@ -23,26 +23,13 @@ margin-top: 20px; } - - -

ESM Quick Test

- - - - - - + Home + + + -
- + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/composite/index.html b/packages/composite/index.html index cecdb20587..810ce3087b 100644 --- a/packages/composite/index.html +++ b/packages/composite/index.html @@ -16,38 +16,21 @@ margin-top: 50px; } - #placeholder { + #placeholder, + #placeholder2 { width: 100%; height: 500px; background-color: #fff; margin-top: 20px; } - - -

ESM Quick Test

+ + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/ddl-shim/index.html b/packages/ddl-shim/index.html new file mode 100644 index 0000000000..f75c0aec4f --- /dev/null +++ b/packages/ddl-shim/index.html @@ -0,0 +1,43 @@ + + + + + Home + + + + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/ddl-shim/package.json b/packages/ddl-shim/package.json index 55f084ce07..b2199e86d2 100644 --- a/packages/ddl-shim/package.json +++ b/packages/ddl-shim/package.json @@ -3,15 +3,17 @@ "version": "3.0.0", "description": "hpcc-js DDL parser", "type": "module", + "main": "./dist/index.umd.cjs", + "module": "./dist/index.js", "exports": { ".": { "types": "./types/index.d.ts", - "default": "./dist/index.js" + "import": "./dist/index.js", + "require": "./dist/index.umd.cjs" }, "./dist/*": "./dist/*" }, - "module": "./dist/index.js", - "browser": "./dist/index.js", + "browser": "./dist/index.umd.cjs", "types": "./types/index.d.ts", "files": [ "dist/*", @@ -24,8 +26,8 @@ "generate-v1": "ts-json-schema-generator --tsconfig tsconfig-schema.json --type DDLSchema > ./schema/v1.json", "generate-v2": "ts-json-schema-generator --tsconfig tsconfig-schema.json --type Schema > ./schema/v2.json", "generate": "run-p generate-v1 generate-v2", - "bundle": "node esbuild.js", - "bundle-watch": "npm run bundle -- --development --watch", + "bundle": "vite build", + "bundle-watch": "vite", "gen-types": "tsc --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "npm-run-all --serial generate --parallel gen-types bundle", diff --git a/packages/ddl-shim/tsconfig.json b/packages/ddl-shim/tsconfig.json index 3cd3be3a69..22c2fb9695 100644 --- a/packages/ddl-shim/tsconfig.json +++ b/packages/ddl-shim/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "isolatedModules": true, "skipLibCheck": true, "allowImportingTsExtensions": true, "lib": [ diff --git a/packages/ddl-shim/vite.config.ts b/packages/ddl-shim/vite.config.ts new file mode 100644 index 0000000000..0c0d753250 --- /dev/null +++ b/packages/ddl-shim/vite.config.ts @@ -0,0 +1,33 @@ +import { defineConfig } from "vite"; +import { resolve } from "path"; +import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; +import { hpccBundleNames } from "@hpcc-js/esbuild-plugins"; +import pkg from "./package.json" with { type: "json" }; + +const { alias, external, globals } = hpccBundleNames(pkg); + +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, "src/index.ts"), + name: pkg.name, + fileName: "index", + }, + rollupOptions: { + external, + output: { + globals, + }, + }, + sourcemap: true + }, + resolve: { + alias + }, + esbuild: { + minifyIdentifiers: false + }, + plugins: [ + cssInjectedByJsPlugin() + ], +}); diff --git a/packages/ddl-shim/vitest.workspace.ts b/packages/ddl-shim/vitest.workspace.ts index fa7bb0720b..722950dd03 100644 --- a/packages/ddl-shim/vitest.workspace.ts +++ b/packages/ddl-shim/vitest.workspace.ts @@ -1,6 +1,6 @@ -import { defineWorkspace } from 'vitest/config'; -import baseWorkspace from '../../vitest.workspace.ts'; +import { defineWorkspace } from "vitest/config"; +import baseWorkspace from "../../vitest.workspace.ts"; export default defineWorkspace([ ...baseWorkspace -]) \ No newline at end of file +]); \ No newline at end of file diff --git a/packages/dgrid/.vscode/launch.json b/packages/dgrid/.vscode/launch.json index 7c2436335f..c5cfcf1c82 100644 --- a/packages/dgrid/.vscode/launch.json +++ b/packages/dgrid/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "test-browser", "type": "msedge", "request": "launch", - "url": "http://localhost:8888", + "url": "http://localhost:63315", "webRoot": "${workspaceFolder}", "outFiles": [ "${workspaceFolder}/**/*.js", @@ -33,7 +33,21 @@ "name": "index.html", "request": "launch", "type": "msedge", - "url": "file:///${workspaceFolder}/index.html", + "url": "http://localhost:5506/index.html", + "runtimeArgs": [ + "--disable-web-security" + ], + "webRoot": "${workspaceFolder}", + "outFiles": [ + "${workspaceFolder}/**/*.js", + "!**/node_modules/**" + ] + }, + { + "name": "index-preview.html", + "request": "launch", + "type": "msedge", + "url": "file://${workspaceFolder}/index-preview.html", "runtimeArgs": [ "--disable-web-security" ], diff --git a/packages/dgrid/index-preview.html b/packages/dgrid/index-preview.html new file mode 100644 index 0000000000..46b46ac818 --- /dev/null +++ b/packages/dgrid/index-preview.html @@ -0,0 +1,83 @@ + + + + + Home + + + + + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/dgrid/index.html b/packages/dgrid/index.html index 1807e680fd..1ffc41f3cc 100644 --- a/packages/dgrid/index.html +++ b/packages/dgrid/index.html @@ -25,27 +25,13 @@ - - -

ESM Quick Test

+ + + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/dgrid2/index.html b/packages/dgrid2/index.html index 3d9a327465..7b30996ed7 100644 --- a/packages/dgrid2/index.html +++ b/packages/dgrid2/index.html @@ -23,29 +23,13 @@ margin-top: 20px; } - - -

ESM Quick Test

+ + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/eclwatch/index.html b/packages/eclwatch/index.html index 86775a961c..10baeaa82f 100644 --- a/packages/eclwatch/index.html +++ b/packages/eclwatch/index.html @@ -23,81 +23,24 @@ margin-top: 20px; } - - +

ESM Quick Test

+ + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/form/index.html b/packages/form/index.html index 6f902b3894..e753f459be 100644 --- a/packages/form/index.html +++ b/packages/form/index.html @@ -23,67 +23,88 @@ margin-top: 20px; } - - - +

ESM Quick Test

diff --git a/packages/form/package.json b/packages/form/package.json index e79655596c..4c6056a7f8 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -3,26 +3,27 @@ "version": "3.1.0", "description": "hpcc-js - Viz Form", "type": "module", + "main": "./dist/index.umd.cjs", + "module": "./dist/index.js", "exports": { ".": { "types": "./types/index.d.ts", - "default": "./dist/index.js" + "import": "./dist/index.js", + "require": "./dist/index.umd.cjs" }, "./dist/*": "./dist/*" }, - "module": "./dist/index.js", - "browser": "./dist/index.js", + "browser": "./dist/index.umd.cjs", "types": "./types/index.d.ts", "files": [ "dist/*", "src/*", - "types/*", - "font-awesome/**/*" + "types/*" ], "scripts": { "clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo", - "bundle": "node esbuild.js", - "bundle-watch": "npm run bundle -- --development --watch", + "bundle": "vite build", + "bundle-watch": "vite --port 5508", "gen-types": "tsc --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", diff --git a/packages/form/tsconfig.json b/packages/form/tsconfig.json index 3cd3be3a69..22c2fb9695 100644 --- a/packages/form/tsconfig.json +++ b/packages/form/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "isolatedModules": true, "skipLibCheck": true, "allowImportingTsExtensions": true, "lib": [ diff --git a/packages/form/vite.config.ts b/packages/form/vite.config.ts new file mode 100644 index 0000000000..0c0d753250 --- /dev/null +++ b/packages/form/vite.config.ts @@ -0,0 +1,33 @@ +import { defineConfig } from "vite"; +import { resolve } from "path"; +import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; +import { hpccBundleNames } from "@hpcc-js/esbuild-plugins"; +import pkg from "./package.json" with { type: "json" }; + +const { alias, external, globals } = hpccBundleNames(pkg); + +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, "src/index.ts"), + name: pkg.name, + fileName: "index", + }, + rollupOptions: { + external, + output: { + globals, + }, + }, + sourcemap: true + }, + resolve: { + alias + }, + esbuild: { + minifyIdentifiers: false + }, + plugins: [ + cssInjectedByJsPlugin() + ], +}); diff --git a/packages/form/vitest.workspace.ts b/packages/form/vitest.workspace.ts index fa7bb0720b..722950dd03 100644 --- a/packages/form/vitest.workspace.ts +++ b/packages/form/vitest.workspace.ts @@ -1,6 +1,6 @@ -import { defineWorkspace } from 'vitest/config'; -import baseWorkspace from '../../vitest.workspace.ts'; +import { defineWorkspace } from "vitest/config"; +import baseWorkspace from "../../vitest.workspace.ts"; export default defineWorkspace([ ...baseWorkspace -]) \ No newline at end of file +]); \ No newline at end of file diff --git a/packages/graph/.vscode/launch.json b/packages/graph/.vscode/launch.json index 7c2436335f..811343de27 100644 --- a/packages/graph/.vscode/launch.json +++ b/packages/graph/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "test-browser", "type": "msedge", "request": "launch", - "url": "http://localhost:8888", + "url": "http://localhost:63315", "webRoot": "${workspaceFolder}", "outFiles": [ "${workspaceFolder}/**/*.js", @@ -33,7 +33,21 @@ "name": "index.html", "request": "launch", "type": "msedge", - "url": "file:///${workspaceFolder}/index.html", + "url": "http://localhost:5509/index.html", + "runtimeArgs": [ + "--disable-web-security" + ], + "webRoot": "${workspaceFolder}", + "outFiles": [ + "${workspaceFolder}/**/*.js", + "!**/node_modules/**" + ] + }, + { + "name": "index-preview.html", + "request": "launch", + "type": "msedge", + "url": "file://${workspaceFolder}/index-preview.html", "runtimeArgs": [ "--disable-web-security" ], diff --git a/packages/graph/index-preview.html b/packages/graph/index-preview.html new file mode 100644 index 0000000000..cfbe3691d9 --- /dev/null +++ b/packages/graph/index-preview.html @@ -0,0 +1,144 @@ + + + + + Home + + + + + + + + + +

ESM Quick Test

+
+ +
+ + + + + \ No newline at end of file diff --git a/packages/graph/index.html b/packages/graph/index.html index 09b31d5b6e..6e2052755c 100644 --- a/packages/graph/index.html +++ b/packages/graph/index.html @@ -26,68 +26,16 @@ - - - - - -

ESM Quick Test

-
-
+
+ + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/html/index.html b/packages/html/index.html index 5342205e5b..b8d5167ed4 100644 --- a/packages/html/index.html +++ b/packages/html/index.html @@ -23,51 +23,41 @@ margin-top: 20px; } - - -

ESM Quick Test

+ + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/layout/index.html b/packages/layout/index.html index a76ccdd0a4..861e5cadca 100644 --- a/packages/layout/index.html +++ b/packages/layout/index.html @@ -23,27 +23,6 @@ margin-top: 20px; } - - @@ -51,12 +30,9 @@

ESM Quick Test

+ + + + +

ESM Quick Test

+
+ +
+ + + + + \ No newline at end of file diff --git a/packages/map/index.html b/packages/map/index.html index 799f119cc8..f3afc9a038 100644 --- a/packages/map/index.html +++ b/packages/map/index.html @@ -24,37 +24,13 @@ margin-top: 20px; } - -

ESM Quick Test

+ + + +
+ + + + \ No newline at end of file diff --git a/packages/markdown-it-plugins/index.html b/packages/markdown-it-plugins/index.html index 67702d5c13..c6f1120706 100644 --- a/packages/markdown-it-plugins/index.html +++ b/packages/markdown-it-plugins/index.html @@ -21,30 +21,13 @@ height: 100%; } - -
+ + + +

ESM Quick Test

+
+ + + + \ No newline at end of file diff --git a/packages/observablehq-compiler/index.html b/packages/observablehq-compiler/index.html index ed07c93d27..ada145f2e7 100644 --- a/packages/observablehq-compiler/index.html +++ b/packages/observablehq-compiler/index.html @@ -23,21 +23,6 @@ margin-top: 20px; } - - - @@ -45,24 +30,24 @@

ESM Quick Test

+ + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/other/index.html b/packages/other/index.html index 826a71ddba..617dcc9e3a 100644 --- a/packages/other/index.html +++ b/packages/other/index.html @@ -23,43 +23,31 @@ margin-top: 20px; } - - -

ESM Quick Test

diff --git a/packages/other/package.json b/packages/other/package.json index 65716bb292..d0fc9a5e06 100644 --- a/packages/other/package.json +++ b/packages/other/package.json @@ -3,26 +3,27 @@ "version": "3.1.1", "description": "hpcc-js - Viz Other", "type": "module", + "main": "./dist/index.umd.cjs", + "module": "./dist/index.js", "exports": { ".": { "types": "./types/index.d.ts", - "default": "./dist/index.js" + "import": "./dist/index.js", + "require": "./dist/index.umd.cjs" }, "./dist/*": "./dist/*" }, - "module": "./dist/index.js", - "browser": "./dist/index.js", + "browser": "./dist/index.umd.cjs", "types": "./types/index.d.ts", "files": [ "dist/*", "src/*", - "types/*", - "font-awesome/**/*" + "types/*" ], "scripts": { "clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo", - "bundle": "node esbuild.js", - "bundle-watch": "npm run bundle -- --development --watch", + "bundle": "vite build", + "bundle-watch": "vite --port 5515", "gen-types": "tsc --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", diff --git a/packages/other/tsconfig.json b/packages/other/tsconfig.json index 3cd3be3a69..22c2fb9695 100644 --- a/packages/other/tsconfig.json +++ b/packages/other/tsconfig.json @@ -11,6 +11,7 @@ "noImplicitAny": false, "noImplicitThis": false, "strictNullChecks": false, + "isolatedModules": true, "skipLibCheck": true, "allowImportingTsExtensions": true, "lib": [ diff --git a/packages/other/vite.config.ts b/packages/other/vite.config.ts new file mode 100644 index 0000000000..0c0d753250 --- /dev/null +++ b/packages/other/vite.config.ts @@ -0,0 +1,33 @@ +import { defineConfig } from "vite"; +import { resolve } from "path"; +import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; +import { hpccBundleNames } from "@hpcc-js/esbuild-plugins"; +import pkg from "./package.json" with { type: "json" }; + +const { alias, external, globals } = hpccBundleNames(pkg); + +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, "src/index.ts"), + name: pkg.name, + fileName: "index", + }, + rollupOptions: { + external, + output: { + globals, + }, + }, + sourcemap: true + }, + resolve: { + alias + }, + esbuild: { + minifyIdentifiers: false + }, + plugins: [ + cssInjectedByJsPlugin() + ], +}); diff --git a/packages/other/vitest.workspace.ts b/packages/other/vitest.workspace.ts index fa7bb0720b..722950dd03 100644 --- a/packages/other/vitest.workspace.ts +++ b/packages/other/vitest.workspace.ts @@ -1,6 +1,6 @@ -import { defineWorkspace } from 'vitest/config'; -import baseWorkspace from '../../vitest.workspace.ts'; +import { defineWorkspace } from "vitest/config"; +import baseWorkspace from "../../vitest.workspace.ts"; export default defineWorkspace([ ...baseWorkspace -]) \ No newline at end of file +]); \ No newline at end of file diff --git a/packages/phosphor/.vscode/launch.json b/packages/phosphor/.vscode/launch.json index 967172fec7..5ef13781dc 100644 --- a/packages/phosphor/.vscode/launch.json +++ b/packages/phosphor/.vscode/launch.json @@ -33,7 +33,21 @@ "name": "index.html", "request": "launch", "type": "msedge", - "url": "file:///${workspaceFolder}/index.html", + "url": "http://localhost:5516/index.html", + "runtimeArgs": [ + "--disable-web-security" + ], + "webRoot": "${workspaceFolder}", + "outFiles": [ + "${workspaceFolder}/**/*.js", + "!**/node_modules/**" + ] + }, + { + "name": "index-preview.html", + "request": "launch", + "type": "msedge", + "url": "file://${workspaceFolder}/index-preview.html", "runtimeArgs": [ "--disable-web-security" ], diff --git a/packages/phosphor/index-preview.html b/packages/phosphor/index-preview.html new file mode 100644 index 0000000000..27ab6db9a0 --- /dev/null +++ b/packages/phosphor/index-preview.html @@ -0,0 +1,88 @@ + + + + + Home + + + + + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/phosphor/index.html b/packages/phosphor/index.html index 6c9780af58..24f28793a1 100644 --- a/packages/phosphor/index.html +++ b/packages/phosphor/index.html @@ -25,23 +25,6 @@ - - - - @@ -49,7 +32,7 @@

ESM Quick Test

+ + + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/react/index.html b/packages/react/index.html index fef20f8fb6..41d2d0c992 100644 --- a/packages/react/index.html +++ b/packages/react/index.html @@ -23,31 +23,13 @@ margin-top: 20px; } - - -

ESM Quick Test

+ + + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/timeline/index.html b/packages/timeline/index.html index 325730588d..d70e585017 100644 --- a/packages/timeline/index.html +++ b/packages/timeline/index.html @@ -23,54 +23,32 @@ margin-top: 20px; } - -

ESM Quick Test

+ + + +

ESM Quick Test

+
+ + + + + \ No newline at end of file diff --git a/packages/tree/index.html b/packages/tree/index.html index 81b8836953..862d0d5411 100644 --- a/packages/tree/index.html +++ b/packages/tree/index.html @@ -23,28 +23,13 @@ margin-top: 20px; } - - -

ESM Quick Test