diff --git a/.vscode/settings.json b/.vscode/settings.json index b49f3f0..7076034 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.tabSize": 2, "typescript.tsdk": "node_modules/typescript/lib", - "deno.enablePaths": ["./packages/core/repl.ts", "./packages/edge/deno.ts"], - "deno.config": "./packages/edge/deno.jsonc" + "deno.config": "./packages/edge/deno.jsonc", + "deno.enable": true } \ No newline at end of file diff --git a/package.json b/package.json index e2392d3..4510e42 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "esno": "^0.16.3", "hastscript": "^7.2.0", "husky": "^8.0.3", - "pnpm": "^7.28.0", + "pnpm": "^7.29.1", "postcss": "^8.4.21", "postcss-font-grabber": "^3.1.0", "rehype": "^12.0.1", diff --git a/packages/analysis/dts.tsconfig.json b/packages/analysis/dts.tsconfig.json deleted file mode 100644 index f28edf8..0000000 --- a/packages/analysis/dts.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "preserve", - "jsxImportSource": "solid-js", - "declaration": true, - "emitDeclarationOnly": true, - "declarationDir": "./@types" - }, - "includes": [ - "src/**/*" - ], - "exclude": [ - "src/plugins/analyzer/**/*", - "node_modules", - "tests/**/*", - "@types/**/*", - "lib/**/*", - "scripts/*", - "*.ts" - ] -} \ No newline at end of file diff --git a/packages/analysis/package.json b/packages/analysis/package.json deleted file mode 100644 index e0b901a..0000000 --- a/packages/analysis/package.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "name": "@bundlejs/analysis", - "version": "0.0.0", - "access": "public", - "type": "module", - "description": "An animation library for the modern web which utilizes the Web Animation API (WAAPI) to create butter smooth animation.", - "typedocMain": "src/index.ts", - "types": "@types/index.d.ts", - "exports": { - ".": { - "require": "./lib/index.cjs", - "import": "./lib/index.mjs", - "default": "./lib/index.js" - }, - "./lib/*": "./lib/*", - "./types/*": "./@types/*", - "./@types/*": "./@types/*", - "./src/*": "./src/*" - }, - "files": [ - "lib", - "src", - "@types" - ], - "scripts": { - "build": "vite build", - "dev": "vite", - "test:run": "vitest run && pnpm deno", - "test": "vitest", - "repl": "esno repl.ts", - "deno": "deno run --allow-net --allow-env --allow-read --allow-write --allow-run ./repl.ts", - "dts": "del-cli @types/ && tsc --project dts.tsconfig.json", - "verify": "pnpm test:run && pnpm dts", - "pre-release": "ultra build && ultra verify" - }, - "ultra": { - "concurrent": [ - "verify", - "test:run" - ] - }, - "repository": { - "type": "git", - "url": "git+https://github.com/okikio/bundlejs.git", - "directory": "packages/analysis" - }, - "keywords": [ - "modern", - "bundlejs", - "bundle size checker", - "esbuild-wasm", - "gzip", - "brotli", - "deno", - "bundler", - "treeshake", - "bundlephobia", - "cdn", - "github", - "skypack", - "unpkg", - "compressed", - "jsx", - "minify", - "typescript", - "bundle analysis", - "package analyzer" - ], - "author": { - "name": "Okiki Ojo", - "email": "hey@okikio.dev", - "url": "https://okikio.dev" - }, - "bugs": { - "url": "https://github.com/okikio/bundlejs/issues" - }, - "homepage": "https://bundlejs.com", - "dependencies": { - "@bundlejs/core": "workspace:^0.0.0", - "bytes": "^3.1.2", - "d3": "^7.8.2", - "esbuild-wasm": "^0.17.11", - "nanoid": "^4.0.1", - "solid-js": "^1.6.11", - "webcola": "^3.4.0" - }, - "devDependencies": { - "@babel/core": "^7.21.0", - "@types/bytes": "^3.1.1", - "@types/d3": "^7.4.0", - "@types/node": "^18.14.6", - "del-cli": "^5.0.0", - "esno": "^0.16.3", - "jsdom": "^21.1.0", - "pnpm": "^7.28.0", - "typescript": "5.0.1-rc", - "ultra-runner": "^3.10.5", - "vite": "^4.1.4", - "vite-plugin-solid": "^2.6.1", - "vitest": "^0.29.2" - } -} \ No newline at end of file diff --git a/packages/analysis/repl.ts b/packages/analysis/repl.ts deleted file mode 100644 index c1039e0..0000000 --- a/packages/analysis/repl.ts +++ /dev/null @@ -1,3 +0,0 @@ -console.log("Cool"); - -export {}; \ No newline at end of file diff --git a/packages/analysis/src/charts/color.ts b/packages/analysis/src/charts/color.ts deleted file mode 100644 index 2339e86..0000000 --- a/packages/analysis/src/charts/color.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { ModuleTree, ModuleTreeLeaf } from "../types/types"; -import { HierarchyRectangularNode } from "d3"; - -export type CssColor = string; - -export const COLOR_DEFAULT_FILE: CssColor = "#db7100"; -export const COLOR_DEFAULT_OWN_SOURCE: CssColor = "#487ea4"; -export const COLOR_DEFAULT_VENDOR_SOURCE: CssColor = "#599e59"; - -export const COLOR_BASE: CssColor = "#cecece"; - -const colorDefault = (node: HierarchyRectangularNode): CssColor => { - if (node.children && node.children.length) { - const parents = node.ancestors(); - const hasNodeModules = parents.some(({ data: { name } }) => name === "node_modules"); - return hasNodeModules ? COLOR_DEFAULT_VENDOR_SOURCE : COLOR_DEFAULT_OWN_SOURCE; - } else { - return COLOR_DEFAULT_FILE; - } -}; - -export default colorDefault; \ No newline at end of file diff --git a/packages/analysis/src/charts/network/chart.tsx b/packages/analysis/src/charts/network/chart.tsx deleted file mode 100644 index 7efad74..0000000 --- a/packages/analysis/src/charts/network/chart.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import webcola from "webcola"; -import { SizeKey } from "../../types/types"; -import { Tooltip } from "./tooltip"; -import { Network } from "./network"; -import { NetworkLink, NetworkNode } from "./index"; -import { Component, createSignal } from "solid-js"; -import { onMountWithCleaning } from "../../utils/onMountWithCleaning"; - -export interface ChartProps { - sizeProperty: SizeKey; - links: NetworkLink[]; - nodes: NetworkNode[]; - groups: Record; -} - -export const Chart: Component = ({ sizeProperty, links, nodes, groups }) => { - const [showTooltip, setShowTooltip] = createSignal(false); - const [tooltipNode, setTooltipNode] = createSignal(undefined); - - onMountWithCleaning(() => { - const handleMouseOut = () => { - setShowTooltip(false); - }; - - document.addEventListener("mouseover", handleMouseOut); - return () => { - document.removeEventListener("mouseover", handleMouseOut); - }; - }); - - return ( - <> - { - setTooltipNode(node); - setShowTooltip(true); - }} - /> - - - ); -}; diff --git a/packages/analysis/src/charts/network/color.ts b/packages/analysis/src/charts/network/color.ts deleted file mode 100644 index fd320de..0000000 --- a/packages/analysis/src/charts/network/color.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { COLOR_DEFAULT_OWN_SOURCE, COLOR_DEFAULT_VENDOR_SOURCE, COLOR_BASE, CssColor } from "../color"; -import { NODE_MODULES } from "./util"; - -export const getModuleColor = ({ renderedLength, id }: { renderedLength: number; id: string }): CssColor => - renderedLength === 0 ? COLOR_BASE : NODE_MODULES.test(id) ? COLOR_DEFAULT_VENDOR_SOURCE : COLOR_DEFAULT_OWN_SOURCE; diff --git a/packages/analysis/src/charts/network/index.tsx b/packages/analysis/src/charts/network/index.tsx deleted file mode 100644 index 742d7d5..0000000 --- a/packages/analysis/src/charts/network/index.tsx +++ /dev/null @@ -1,69 +0,0 @@ -import { ModuleMeta, ModuleLengths, ModuleUID, SizeKey, VisualizerData } from "../../types/types"; -import webcola from "webcola"; -import { Main } from "./main"; -import { getAvailableSizeOptions } from "../sizes"; -import { CssColor } from "../color"; -import "../style/style-treemap.scss"; - -import { render } from "solid-js/web"; -import { createContext } from "solid-js"; - -export type NetworkNode = NodeInfo & { color: CssColor; radius: number } & webcola.Node; -export type NetworkLink = webcola.Link; - -export interface StaticData { - data: VisualizerData; - availableSizeProperties: SizeKey[]; - width: number; - height: number; -} - -export type NodeInfo = { uid: ModuleUID } & ModuleMeta & ModuleLengths; -export type ModuleNodeInfo = Map; - -export interface ChartData { - nodes: Record; -} - -export type Context = StaticData & ChartData; - -export const StaticContext = createContext({} as unknown as Context); - -const createNodeInfo = (data: VisualizerData, availableSizeProperties: SizeKey[], uid: ModuleUID): NodeInfo => { - const meta = data.nodeMetas[uid]; - const entries: ModuleLengths[] = Object.values(meta.moduleParts).map((partUid) => data.nodeParts[partUid]); - const sizes = Object.fromEntries(availableSizeProperties.map((key) => [key, 0])) as unknown as ModuleLengths; - - for (const renderInfo of entries) { - for (const sizeKey of availableSizeProperties) { - sizes[sizeKey] += renderInfo[sizeKey] ?? 0; - } - } - return { uid, ...sizes, ...meta }; -}; - -const drawChart = (parentNode: Element, data: VisualizerData, width: number, height: number): void => { - const availableSizeProperties = getAvailableSizeOptions(data.options); - - const nodes: Record = {}; - for (const uid of Object.keys(data.nodeMetas)) { - nodes[uid] = createNodeInfo(data, availableSizeProperties, uid); - } - - render(() => - -
- , - parentNode - ); -}; - -export default drawChart; diff --git a/packages/analysis/src/charts/network/main.tsx b/packages/analysis/src/charts/network/main.tsx deleted file mode 100644 index 635a34a..0000000 --- a/packages/analysis/src/charts/network/main.tsx +++ /dev/null @@ -1,144 +0,0 @@ -import { scaleSqrt, max } from "d3"; -import webcola from "webcola"; -import { SizeKey } from "../../types/types"; -import { SideBar } from "../sidebar"; -import { Chart } from "./chart"; -import { NODE_MODULES } from "./util"; -import { NetworkLink, NetworkNode, StaticContext } from "./index"; -import { getModuleColor } from "./color"; -import { useFilter } from "../use-filter"; -import { Component, useContext, createMemo, createSignal } from "solid-js"; - -export const Main: Component = () => { - const { availableSizeProperties, nodes, data, width, height } = useContext(StaticContext); - - const [sizeProperty, setSizeProperty] = createSignal(availableSizeProperties[0]); - - const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter(); - - const sizeScale = createMemo(() => { - const maxLines = max(Object.values(nodes), (d) => d[sizeProperty()]) as number; - const size = scaleSqrt().domain([1, maxLines]).range([5, 30]); - return size; - }); - - const processedNodes = Object.values(nodes) - .map((node) => { - const radius = sizeScale()(node[sizeProperty()]) + 1; - return { - ...node, - width: radius * 2, - height: radius * 2, - radius, - color: getModuleColor(node), - }; - }) - .filter((networkNode) => getModuleFilterMultiplier(networkNode) === 1) as Array; - - const groups: Record = {}; - for (const node of processedNodes) { - const match = NODE_MODULES.exec(node.id); - if (match) { - const [, nodeModuleName] = match; - groups[nodeModuleName] = groups[nodeModuleName] ?? { leaves: [], padding: 1 }; - groups[nodeModuleName].leaves?.push(node); - } - } - - const nodesCache = new Map(processedNodes.map((d) => [d.uid, d])); - - // webcola has weird types, layour require array of links to Node references, but Nodes are computed from later - const links: NetworkLink[] = Object.entries(data.nodeMetas) - // @ts-ignore - .flatMap(([sourceUid, { imported }]) => { - return imported.map(({ uid: targetUid }) => { - return { - source: nodesCache.get(sourceUid) as NetworkNode, - target: nodesCache.get(targetUid) as NetworkNode, - value: 1, - }; - }); - }) - .filter(({ source, target }) => { - return source && target; - }); - - const cola = webcola.adaptor({}).size([width, height]); - - const paddingX = 20; - const paddingY = 20; - - const pageBounds = { - x: paddingX, - y: paddingY, - width: width - paddingX, - height: height - paddingY, - }; - - const realGraphNodes = processedNodes.slice(0); - const topLeft = { x: pageBounds.x, y: pageBounds.y, fixed: 1 }; - const tlIndex = (processedNodes as webcola.InputNode[]).push(topLeft) - 1; - const bottomRight = { - x: pageBounds.x + pageBounds.width, - y: pageBounds.y + pageBounds.height, - fixed: 1, - }; - const brIndex = (processedNodes as webcola.InputNode[]).push(bottomRight) - 1; - const constraints = []; - for (let i = 0; i < realGraphNodes.length; i++) { - const node = realGraphNodes[i]; - constraints.push({ - axis: "x", - type: "separation", - left: tlIndex, - right: i, - gap: node.radius, - }); - constraints.push({ - axis: "y", - type: "separation", - left: tlIndex, - right: i, - gap: node.radius, - }); - constraints.push({ - axis: "x", - type: "separation", - left: i, - right: brIndex, - gap: node.radius, - }); - constraints.push({ - axis: "y", - type: "separation", - left: i, - right: brIndex, - gap: node.radius, - }); - } - - cola - .nodes(processedNodes) - .links(links) - //.groups(Object.values(groups)) - .groupCompactness(1e-3) - .constraints(constraints) - .jaccardLinkLengths(50, 0.7) - .avoidOverlaps(true) - .handleDisconnected(false) - .start(30, 30, 30, 30, false, true) - .stop(); - - return ( - <> - - - - ); -}; diff --git a/packages/analysis/src/charts/network/network.tsx b/packages/analysis/src/charts/network/network.tsx deleted file mode 100644 index 610ba50..0000000 --- a/packages/analysis/src/charts/network/network.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import webcola from "webcola"; -import { NetworkLink, NetworkNode, StaticContext } from "./index"; -import { COLOR_BASE } from "../color"; -import { For, Component, useContext } from "solid-js"; - -export interface NetworkProps { - onNodeHover: (event: NetworkNode) => void; - nodes: NetworkNode[]; - links: NetworkLink[]; - - groups: Record; -} - -export const Network: Component = ({ links, nodes, groups, onNodeHover }) => { - const { width, height } = useContext(StaticContext); - return ( - - - {Object.entries(groups).map(([name, group]) => { - const bounds = group.bounds; - return ( - - ); - })} - - - {links.map((link) => { - return ( - - ); - })} - - - {nodes.map((node) => { - return ( - { - evt.stopPropagation(); - onNodeHover(node); - }} - /> - ); - })} - - - ); -}; diff --git a/packages/analysis/src/charts/network/tooltip.tsx b/packages/analysis/src/charts/network/tooltip.tsx deleted file mode 100644 index e7ea82c..0000000 --- a/packages/analysis/src/charts/network/tooltip.tsx +++ /dev/null @@ -1,102 +0,0 @@ -import { SizeKey } from "../../types/types"; -import { Component, useContext, createMemo, createSignal } from "solid-js"; -import { bytes } from "@bundlejs/core/src/util"; -import { StaticContext, NetworkNode } from "./index"; -import { LABELS } from "../sizes"; -import onMountWithCleaning from "../../utils/onMountWithCleaning"; - -export interface TooltipProps { - node?: NetworkNode; - sizeProperty: SizeKey; - visible: boolean; -} - -const Tooltip_marginX = 10; -const Tooltip_marginY = 30; - -export const Tooltip: Component = ({ node, visible, sizeProperty }) => { - const { availableSizeProperties, data } = useContext(StaticContext); - - let ref: HTMLDivElement = null; - const [style, setStyle] = createSignal({}); - const content = createMemo(() => { - if (!node) return null; - - return ( - <> -
{node.id}
- {availableSizeProperties.map((sizeProp) => { - if (sizeProp === sizeProperty) { - return ( -
- - {LABELS[sizeProp]}: {bytes(node[sizeProp] ?? 0)} - -
- ); - } else { - return ( -
- {LABELS[sizeProp]}: {bytes(node[sizeProp] ?? 0)} -
- ); - } - })} - {node.uid && ( -
-
- Imported By: -
- {data.nodeMetas[node.uid].importedBy.map((params) => { - const { id } = data.nodeMetas[params.uid]; - return
{id}
; - })} -
- )} - - ); - }); - - const updatePosition = (mouseCoords: { x: number; y: number }) => { - if (!ref) return; - - const pos = { - left: mouseCoords.x + Tooltip_marginX, - top: mouseCoords.y + Tooltip_marginY, - }; - - const boundingRect = ref.getBoundingClientRect(); - - if (pos.left + boundingRect.width > window.innerWidth) { - // Shifting horizontally - pos.left = window.innerWidth - boundingRect.width; - } - - if (pos.top + boundingRect.height > window.innerHeight) { - // Flipping vertically - pos.top = mouseCoords.y - Tooltip_marginY - boundingRect.height; - } - - setStyle(pos); - }; - - onMountWithCleaning(() => { - const handleMouseMove = (event: MouseEvent) => { - updatePosition({ - x: event.pageX, - y: event.pageY, - }); - }; - - document.addEventListener("mousemove", handleMouseMove, true); - return () => { - document.removeEventListener("mousemove", handleMouseMove, true); - }; - }); - - return ( -
- {content()} -
- ); -}; diff --git a/packages/analysis/src/charts/network/util.ts b/packages/analysis/src/charts/network/util.ts deleted file mode 100644 index 0f35978..0000000 --- a/packages/analysis/src/charts/network/util.ts +++ /dev/null @@ -1 +0,0 @@ -export const NODE_MODULES = /.*(?:\/|\\\\)?node_modules(?:\/|\\\\)([^/\\]+)(?:\/|\\\\).+/; \ No newline at end of file diff --git a/packages/analysis/src/charts/sidebar.tsx b/packages/analysis/src/charts/sidebar.tsx deleted file mode 100644 index 744b290..0000000 --- a/packages/analysis/src/charts/sidebar.tsx +++ /dev/null @@ -1,72 +0,0 @@ -import { SizeKey } from "../types/types"; -import { LABELS } from "./sizes"; -import { Component, createSignal, JSX } from "solid-js"; - -export interface SideBarProps { - availableSizeProperties: SizeKey[]; - sizeProperty: SizeKey; - setSizeProperty: (key: SizeKey) => void; - onExcludeChange: (value: string) => void; - onIncludeChange: (value: string) => void; -} - -export const SideBar: Component = ({ - availableSizeProperties, - sizeProperty, - setSizeProperty, - onExcludeChange, - onIncludeChange, -}) => { - const [includeValue, setIncludeValue] = createSignal(""); - const [excludeValue, setExcludeValue] = createSignal(""); - - const handleSizePropertyChange = (sizeProp: SizeKey) => () => { - if (sizeProp !== sizeProperty) { - setSizeProperty(sizeProp); - } - }; - - const handleIncludeChange: JSX.EventHandlerUnion = (event) => { - const value = event.currentTarget.value; - setIncludeValue(value); - onIncludeChange(value); - }; - - const handleExcludeChange: JSX.EventHandlerUnion = (event) => { - const value = event.currentTarget.value; - setExcludeValue(value); - onExcludeChange(value); - }; - - return ( - - ); -}; diff --git a/packages/analysis/src/charts/sizes.ts b/packages/analysis/src/charts/sizes.ts deleted file mode 100644 index 6cff61c..0000000 --- a/packages/analysis/src/charts/sizes.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { SizeKey, VisualizerData } from "../types/types"; - -export const LABELS: Record = { - renderedLength: "Rendered", - gzipLength: "Gzip", - brotliLength: "Brotli", -}; - -export const getAvailableSizeOptions = (options: VisualizerData["options"]): SizeKey[] => { - const availableSizeProperties: SizeKey[] = ["renderedLength"]; - if (options.gzip) { - availableSizeProperties.push("gzipLength"); - } - if (options.brotli) { - availableSizeProperties.push("brotliLength"); - } - - return availableSizeProperties; -}; \ No newline at end of file diff --git a/packages/analysis/src/charts/style/_base.scss b/packages/analysis/src/charts/style/_base.scss deleted file mode 100644 index b93eca5..0000000 --- a/packages/analysis/src/charts/style/_base.scss +++ /dev/null @@ -1,145 +0,0 @@ -:root { - --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, - "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", - "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - --background-color: #f7eedf; - --text-color: #333; -} - -@media (prefers-color-scheme: dark) { - :root { - --background-color: #2b2d42; - --text-color: #edf2f4; - } -} - -html { - box-sizing: border-box; -} - -*, -*:before, -*:after { - box-sizing: inherit; -} - -html { - background-color: var(--background-color); - color: var(--text-color); - font-family: var(--font-family); -} - -body { - padding: 0; - margin: 0; -} - -html, -body { - height: 100%; - width: 100%; - overflow: hidden; -} - -body { - display: flex; - flex-direction: column; -} - -svg { - vertical-align: middle; - width: 100%; - height: 100%; - max-height: 100vh; -} - -main { - flex-grow: 1; - height: 100vh; - padding: 20px; -} - -.tooltip { - position: absolute; - z-index: 1070; - - border: 2px solid; - border-radius: 5px; - - padding: 5px; - - white-space: nowrap; - - font-size: 0.875rem; - - background-color: var(--background-color); - color: var(--text-color); -} - -.tooltip-hidden { - visibility: hidden; - opacity: 0; -} - -.sidebar { - position: fixed; - top: 0; - left: 0; - right: 0; - display: flex; - flex-direction: row; - font-size: 0.7rem; - align-items: center; - margin: 0 50px; - height: 20px; -} - -.size-selectors { - display: flex; - flex-direction: row; - align-items: center; -} - -.size-selector { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - margin-right: 1rem; - - input { - margin: 0 0.3rem 0 0; - } -} - -.filters { - flex: 1; - display: flex; - flex-direction: row; - align-items: center; -} - -.module-filters { - display: flex; -} - -.module-filter { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - - flex: 1; - - input { - flex: 1; - height: 1rem; - padding: 0.01rem; - font-size: 0.7rem; - margin-left: 0.3rem; - } - - & + & { - margin-left: 0.5rem; - } -} \ No newline at end of file diff --git a/packages/analysis/src/charts/style/style-network.scss b/packages/analysis/src/charts/style/style-network.scss deleted file mode 100644 index cf7be2f..0000000 --- a/packages/analysis/src/charts/style/style-network.scss +++ /dev/null @@ -1 +0,0 @@ -@import "./base"; \ No newline at end of file diff --git a/packages/analysis/src/charts/style/style-sunburst.scss b/packages/analysis/src/charts/style/style-sunburst.scss deleted file mode 100644 index 83accdb..0000000 --- a/packages/analysis/src/charts/style/style-sunburst.scss +++ /dev/null @@ -1,36 +0,0 @@ -@import "./base"; - -.details { - position: absolute; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - - top: calc(50% - 85px); - left: calc(50% - 85px); - - width: 170px; - height: 170px; - - font-size: 14px; - text-align: center; - color: var(--font-color); - z-index: 100; - overflow: hidden; - text-overflow: ellipsis; -} - -.details-size { - font-size: 0.8em; -} - -.details-name { - font-weight: bold; -} - -.details-percentage { - margin: 0.4em 0em; - font-size: 2.4em; - line-height: 1em; -} \ No newline at end of file diff --git a/packages/analysis/src/charts/style/style-treemap.scss b/packages/analysis/src/charts/style/style-treemap.scss deleted file mode 100644 index cf7be2f..0000000 --- a/packages/analysis/src/charts/style/style-treemap.scss +++ /dev/null @@ -1 +0,0 @@ -@import "./base"; \ No newline at end of file diff --git a/packages/analysis/src/charts/sunburst/chart.tsx b/packages/analysis/src/charts/sunburst/chart.tsx deleted file mode 100644 index 3eaa244..0000000 --- a/packages/analysis/src/charts/sunburst/chart.tsx +++ /dev/null @@ -1,61 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { HierarchyRectangularNode } from "d3"; -import { Tooltip } from "./tooltip"; -import { SunBurst } from "./sunburst"; - -import { createSignal, createMemo, Component, on } from "solid-js"; -import { createEffectWithCleaning } from "../../utils/createEffectWithCleaning"; - -export interface ChartProps { - root: HierarchyRectangularNode; - sizeProperty: SizeKey; - selectedNode: HierarchyRectangularNode | undefined; - setSelectedNode: (node: HierarchyRectangularNode | undefined) => void; -} - -type NodeSelectHandler = (node: HierarchyRectangularNode) => boolean; - -export const Chart: Component = ({ root, sizeProperty, selectedNode, setSelectedNode }) => { - const [tooltipNode, setTooltipNode] = createSignal(root); - - const isNodeHighlighted = createMemo(() => { - const highlightedNodes = new Set(tooltipNode() === root ? root.descendants() : tooltipNode().ancestors()); - return (node: HierarchyRectangularNode): boolean => { - return highlightedNodes.has(node); - }; - }); - - // @ts-ignore - createEffectWithCleaning(on( - () => [root], - () => { - const handleMouseOut = () => { - setTooltipNode(root); - }; - - handleMouseOut(); - document.addEventListener("mouseover", handleMouseOut); - - return () => { - document.removeEventListener("mouseover", handleMouseOut) - }; - } - )); - - return ( - <> - { - setTooltipNode(node); - }} - isNodeHighlighted={isNodeHighlighted()} - selectedNode={selectedNode} - onNodeClick={(node) => { - setSelectedNode(selectedNode === node ? undefined : node); - }} - /> - - - ); -}; diff --git a/packages/analysis/src/charts/sunburst/index.tsx b/packages/analysis/src/charts/sunburst/index.tsx deleted file mode 100644 index 7f2c8bb..0000000 --- a/packages/analysis/src/charts/sunburst/index.tsx +++ /dev/null @@ -1,106 +0,0 @@ -import { ModuleLengths, ModuleTree, ModuleTreeLeaf, SizeKey, VisualizerData } from "../../types/types"; -import { hierarchy, HierarchyNode, HierarchyRectangularNode, partition, PartitionLayout, Arc, arc as d3arc, scaleLinear, scaleSqrt } from "d3"; -import { isModuleTree } from "../../utils/is-module-tree"; -import { Main } from "./main"; -import { getAvailableSizeOptions } from "../sizes"; -import { generateUniqueId, Id } from "../uid"; -import "../style/style-sunburst.scss"; - -import { createContext } from "solid-js"; -import { render } from "solid-js/web"; - -export interface StaticData { - data: VisualizerData; - availableSizeProperties: SizeKey[]; - width: number; - height: number; -} - -export interface ModuleIds { - nodeUid: Id; -} - -export interface ChartData { - layout: PartitionLayout; - rawHierarchy: HierarchyNode; - getModuleSize: (node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey) => number; - getModuleIds: (node: ModuleTree | ModuleTreeLeaf) => ModuleIds; - size: number; - radius: number; - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - arc: Arc>; -} - -export type Context = StaticData & ChartData; -export const StaticContext = createContext({} as unknown as Context); - -const drawChart = (parentNode: Element, data: VisualizerData, width: number, height: number): void => { - const availableSizeProperties = getAvailableSizeOptions(data.options); - - const layout = partition(); - const rawHierarchy = hierarchy(data.tree); - - const nodeSizesCache = new Map(); - const nodeIdsCache = new Map(); - - const getModuleSize = (node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey) => - nodeSizesCache.get(node)?.[sizeKey] ?? 0; - - rawHierarchy.eachAfter((node) => { - const nodeData = node.data; - - nodeIdsCache.set(nodeData, { - nodeUid: generateUniqueId("node"), - }); - - const sizes: ModuleLengths = { renderedLength: 0, gzipLength: 0, brotliLength: 0 }; - if (isModuleTree(nodeData)) { - for (const sizeKey of availableSizeProperties) { - sizes[sizeKey] = nodeData.children.reduce((acc, child) => getModuleSize(child, sizeKey) + acc, 0); - } - } else { - for (const sizeKey of availableSizeProperties) { - sizes[sizeKey] = data.nodeParts[nodeData.uid][sizeKey]; - } - } - nodeSizesCache.set(nodeData, sizes); - }); - - const getModuleIds = (node: ModuleTree | ModuleTreeLeaf) => nodeIdsCache.get(node) as ModuleIds; - - const size = Math.min(width, height); - const radius = size / 2; - - const x = scaleLinear().range([0, 2 * Math.PI]); - const y = scaleSqrt().range([0, radius]); - - const arc = d3arc>() - .startAngle((d) => Math.max(0, Math.min(2 * Math.PI, x(d.x0)))) - .endAngle((d) => Math.max(0, Math.min(2 * Math.PI, x(d.x1)))) - .innerRadius((d) => y(d.y0)) - .outerRadius((d) => y(d.y1)); - - render(() => - -
- , - parentNode - ); -}; - -export default drawChart; diff --git a/packages/analysis/src/charts/sunburst/main.tsx b/packages/analysis/src/charts/sunburst/main.tsx deleted file mode 100644 index bc71810..0000000 --- a/packages/analysis/src/charts/sunburst/main.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { HierarchyRectangularNode } from "d3"; -import { SideBar } from "../sidebar"; -import { useFilter } from "../use-filter"; -import { Chart } from "./chart"; -import { StaticContext } from "./index"; -import { isModuleTree } from "../../utils/is-module-tree"; -import { useContext, createMemo, createSignal, Component } from "solid-js"; - -export const Main: Component = () => { - const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = useContext(StaticContext); - const [sizeProperty, setSizeProperty] = createSignal(availableSizeProperties[0]); - const [selectedNode, setSelectedNode] = createSignal | undefined>( - undefined - ); - - const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter(); - const getNodeSizeMultiplier = createMemo(() => { - if (selectedNode() === undefined) { - return (): number => 1; - } else if (isModuleTree(selectedNode().data)) { - const descendants = new Set(selectedNode().descendants().map((d) => d.data)); - return (node: ModuleTree | ModuleTreeLeaf): number => { - if (descendants.has(node)) { - return 3; - } - return 1; - }; - } else { - return (node: ModuleTree | ModuleTreeLeaf): number => { - if (node === selectedNode().data) { - return 3; - } - return 1; - }; - } - }); - - // root here always be the same as rawHierarchy even after layouting - const root = createMemo(() => { - const rootWithSizesAndSorted = rawHierarchy - .sum((node) => { - if (isModuleTree(node)) return 0; - const ownSize = getModuleSize(node, sizeProperty()); - const zoomMultiplier = getNodeSizeMultiplier()(node); - const filterMultiplier = getModuleFilterMultiplier(data.nodeMetas[data.nodeParts[node.uid].mainUid]); - - return ownSize * zoomMultiplier * filterMultiplier; - }) - .sort((a, b) => getModuleSize(a.data, sizeProperty()) - getModuleSize(b.data, sizeProperty())); - - return layout(rootWithSizesAndSorted); - }); - - return ( - <> - - - - ); -}; diff --git a/packages/analysis/src/charts/sunburst/node.tsx b/packages/analysis/src/charts/sunburst/node.tsx deleted file mode 100644 index 20b314c..0000000 --- a/packages/analysis/src/charts/sunburst/node.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import type { ModuleTree, ModuleTreeLeaf } from "../../types/types"; - -import { HierarchyRectangularNode } from "d3"; -import color from "../color"; - -import { Component } from "solid-js"; - -type NodeEventHandler = (event: HierarchyRectangularNode) => void; - -export interface NodeProps { - node: HierarchyRectangularNode; - onMouseOver: NodeEventHandler; - path: string; - highlighted: boolean; - selected: boolean; - onClick: NodeEventHandler; -} - -export const Node: Component = ({ node, onMouseOver, onClick, path, highlighted, selected }) => { - return ( - { - evt.stopPropagation(); - onMouseOver(node); - }} - onClick={(evt: MouseEvent) => { - evt.stopPropagation(); - onClick(node); - }} - opacity={highlighted ? 1 : 0.3} - stroke-width={selected ? 3 : undefined} - /> - ); -}; diff --git a/packages/analysis/src/charts/sunburst/sunburst.tsx b/packages/analysis/src/charts/sunburst/sunburst.tsx deleted file mode 100644 index ff00a51..0000000 --- a/packages/analysis/src/charts/sunburst/sunburst.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf } from "../../types/types"; -import { HierarchyRectangularNode } from "d3"; -import { StaticContext } from "./index"; -import { Node } from "./node"; -import { Component, useContext } from "solid-js"; - -export interface SunBurstProps { - root: HierarchyRectangularNode; - onNodeHover: (event: HierarchyRectangularNode) => void; - isNodeHighlighted: (node: HierarchyRectangularNode) => boolean; - selectedNode: HierarchyRectangularNode | undefined; - onNodeClick: (node: HierarchyRectangularNode) => void; -} - -export const SunBurst: Component = ({ - root, - onNodeHover, - isNodeHighlighted, - selectedNode, - onNodeClick, -}) => { - const { getModuleIds, size, arc, radius } = useContext(StaticContext); - - return ( - - - {root.descendants().map((node) => { - return ( - - ); - })} - - - ); -}; diff --git a/packages/analysis/src/charts/sunburst/tooltip.tsx b/packages/analysis/src/charts/sunburst/tooltip.tsx deleted file mode 100644 index 16c2736..0000000 --- a/packages/analysis/src/charts/sunburst/tooltip.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { bytes } from "@bundlejs/core/src/util"; -import { HierarchyRectangularNode } from "d3"; -import { LABELS } from "../sizes"; -import { StaticContext } from "./index"; -import { useContext, createMemo, Component } from "solid-js"; - -export interface TooltipProps { - node: HierarchyRectangularNode; - root: HierarchyRectangularNode; - sizeProperty: SizeKey; -} - -export const Tooltip: Component = ({ node, root, sizeProperty }) => { - const { availableSizeProperties, getModuleSize } = useContext(StaticContext); - - const content = createMemo(() => { - if (!node) return null; - - const mainSize = getModuleSize(node.data, sizeProperty); - - const percentageNum = (100 * mainSize) / getModuleSize(root.data, sizeProperty); - const percentage = percentageNum.toFixed(2); - const percentageString = percentage + "%"; - - return ( - <> -
{node.data.name}
-
{percentageString}
- {availableSizeProperties.map((sizeProp) => { - if (sizeProp === sizeProperty) { - return ( -
- - {LABELS[sizeProp]}: {bytes(getModuleSize(node.data, sizeProp))} - -
- ); - } else { - return ( -
- {LABELS[sizeProp]}: {bytes(getModuleSize(node.data, sizeProp))} -
- ); - } - })} - - ); - }); - - return
{content()}
; -}; diff --git a/packages/analysis/src/charts/treemap/chart.tsx b/packages/analysis/src/charts/treemap/chart.tsx deleted file mode 100644 index 7320bcb..0000000 --- a/packages/analysis/src/charts/treemap/chart.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { HierarchyRectangularNode } from "d3"; -import { TreeMap } from "./treemap"; -import { Tooltip } from "./tooltip"; - -import { Component, createSignal } from "solid-js"; -import { onMountWithCleaning } from "../../utils/onMountWithCleaning"; - -export interface ChartProps { - root: HierarchyRectangularNode; - sizeProperty: SizeKey; - selectedNode: HierarchyRectangularNode | undefined; - setSelectedNode: (node: HierarchyRectangularNode | undefined) => void; -} - -export const Chart: Component = ({ root, sizeProperty, selectedNode, setSelectedNode }) => { - const [showTooltip, setShowTooltip] = createSignal(false); - const [tooltipNode, setTooltipNode] = createSignal | undefined>( - undefined - ); - - onMountWithCleaning(() => { - const handleMouseOut = () => { - setShowTooltip(false); - }; - - document.addEventListener("mouseover", handleMouseOut); - return () => { - document.removeEventListener("mouseover", handleMouseOut); - }; - }); - - return ( - <> - { - setTooltipNode(node); - setShowTooltip(true); - }} - selectedNode={selectedNode} - onNodeClick={(node) => { - setSelectedNode(selectedNode === node ? undefined : node); - }} - /> - - - ); -}; diff --git a/packages/analysis/src/charts/treemap/color.ts b/packages/analysis/src/charts/treemap/color.ts deleted file mode 100644 index e3c5b41..0000000 --- a/packages/analysis/src/charts/treemap/color.ts +++ /dev/null @@ -1,92 +0,0 @@ -import type { ModuleTree, ModuleTreeLeaf } from "../../types/types"; - -import * as d3 from "d3"; -import { scaleSequential, scaleLinear } from "d3"; -import { hsl, RGBColor } from "d3"; - -import { COLOR_BASE, CssColor } from "../color"; -import { HierarchyNode } from "d3"; - -// https://www.w3.org/TR/WCAG20/#relativeluminancedef -const rc = 0.2126; -const gc = 0.7152; -const bc = 0.0722; -// low-gamma adjust coefficient -const lowc = 1 / 12.92; - -function adjustGamma(p: number) { - return Math.pow((p + 0.055) / 1.055, 2.4); -} - -function relativeLuminance(o: RGBColor) { - const rsrgb = o.r / 255; - const gsrgb = o.g / 255; - const bsrgb = o.b / 255; - - const r = rsrgb <= 0.03928 ? rsrgb * lowc : adjustGamma(rsrgb); - const g = gsrgb <= 0.03928 ? gsrgb * lowc : adjustGamma(gsrgb); - const b = bsrgb <= 0.03928 ? bsrgb * lowc : adjustGamma(bsrgb); - - return r * rc + g * gc + b * bc; -} - -export interface NodeColor { - backgroundColor: CssColor; - fontColor: CssColor; -} - -export type NodeColorGetter = (node: HierarchyNode) => NodeColor; - -const createRainbowColor = (root: HierarchyNode): NodeColorGetter => { - const colorParentMap = new Map, CssColor>(); - colorParentMap.set(root, COLOR_BASE); - - if (root.children != null) { - // d3.scaleSequential([8, 0], d3.interpolateCool) - let colorScale = scaleSequential([Math.max(root?.children?.length, 10), 0], d3.interpolateCool); // hsl(360 * n, 0.3, 0.85) - root.children.forEach((c, id) => { - colorParentMap.set(c, colorScale(id).toString()); - - colorScale = scaleSequential([Math.max(c?.children?.length ?? 0, 15), 5], d3.interpolateWarm); - c?.children?.forEach((child, id) => { - colorParentMap.set(child, colorScale(id).toString()); - - colorScale = scaleSequential([Math.max(child?.children?.length ?? 0, 20), 10], d3.interpolateCool); - child?.children?.forEach((c, id) => { - colorParentMap.set(c, colorScale(id).toString()); - }); - }); - }); - } - - const colorMap = new Map, NodeColor>(); - - const lightScale = scaleLinear().domain([0, root.height]).range([0.9, 0.3]); - - const getBackgroundColor = (node: HierarchyNode) => { - const parents = node.ancestors(); - const colorStr = - parents.length === 1 ? colorParentMap.get(parents[0]) : colorParentMap.get(parents[parents.length - 2]); - - const hslColor = hsl(colorStr as string); - hslColor.l = lightScale(node.depth); - - return hslColor; - }; - - return (node: HierarchyNode): NodeColor => { - if (!colorMap.has(node)) { - const backgroundColor = getBackgroundColor(node); - const l = relativeLuminance(backgroundColor.rgb()); - const fontColor = l > 0.19 ? "#000" : "#fff"; - colorMap.set(node, { - backgroundColor: backgroundColor.toString(), - fontColor, - }); - } - - return colorMap.get(node) as NodeColor; - }; -}; - -export default createRainbowColor; \ No newline at end of file diff --git a/packages/analysis/src/charts/treemap/const.ts b/packages/analysis/src/charts/treemap/const.ts deleted file mode 100644 index b41da88..0000000 --- a/packages/analysis/src/charts/treemap/const.ts +++ /dev/null @@ -1,2 +0,0 @@ -export const TOP_PADDING = 20; -export const PADDING = 2; \ No newline at end of file diff --git a/packages/analysis/src/charts/treemap/index.tsx b/packages/analysis/src/charts/treemap/index.tsx deleted file mode 100644 index ce9db21..0000000 --- a/packages/analysis/src/charts/treemap/index.tsx +++ /dev/null @@ -1,113 +0,0 @@ -import { ModuleLengths, ModuleTree, ModuleTreeLeaf, SizeKey, VisualizerData } from "../../types/types"; -import { hierarchy, HierarchyNode, treemap, TreemapLayout, treemapResquarify } from "d3"; -import { Main } from "./main"; -import { generateUniqueId, Id } from "../uid"; -import { getAvailableSizeOptions } from "../sizes"; -import createRainbowColor, { NodeColorGetter } from "./color"; -import { isModuleTree } from "../../utils/is-module-tree"; -import "../style/style-treemap.scss"; -import { PADDING, TOP_PADDING } from "./const"; - -import { createContext } from "solid-js"; -import { render } from "solid-js/web"; - -export interface StaticData { - data: VisualizerData; - availableSizeProperties: SizeKey[]; - width: number; - height: number; -} - -export interface ModuleIds { - nodeUid: Id; - clipUid: Id; -} - -export interface ChartData { - layout: TreemapLayout; - rawHierarchy: HierarchyNode; - getModuleSize: (node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey) => number; - getModuleIds: (node: ModuleTree | ModuleTreeLeaf) => ModuleIds; - getModuleColor: NodeColorGetter; -} - -export type Context = StaticData & ChartData; - -export const StaticContext = createContext({} as unknown as Context); - -const drawChart = (parentNode: Element, data: VisualizerData, width: number, height: number): void => { - const availableSizeProperties = getAvailableSizeOptions(data.options); - - console.time("layout create"); - - const layout = treemap() - .size([width, height]) - .paddingOuter(PADDING) - .paddingTop(TOP_PADDING) - .paddingInner(PADDING) - .round(true) - .tile(treemapResquarify); - - console.timeEnd("layout create"); - - console.time("rawHierarchy create"); - const rawHierarchy = hierarchy(data.tree); - console.timeEnd("rawHierarchy create"); - - const nodeSizesCache = new Map(); - - const nodeIdsCache = new Map(); - - const getModuleSize = (node: ModuleTree | ModuleTreeLeaf, sizeKey: SizeKey) => - nodeSizesCache.get(node)?.[sizeKey] ?? 0; - - console.time("rawHierarchy eachAfter cache"); - rawHierarchy.eachAfter((node) => { - const nodeData = node.data; - - nodeIdsCache.set(nodeData, { - nodeUid: generateUniqueId("node"), - clipUid: generateUniqueId("clip"), - }); - - const sizes: ModuleLengths = { renderedLength: 0, gzipLength: 0, brotliLength: 0 }; - if (isModuleTree(nodeData)) { - for (const sizeKey of availableSizeProperties) { - sizes[sizeKey] = nodeData.children.reduce((acc, child) => getModuleSize(child, sizeKey) + acc, 0); - } - } else { - for (const sizeKey of availableSizeProperties) { - sizes[sizeKey] = data.nodeParts[nodeData.uid][sizeKey] ?? 0; - } - } - nodeSizesCache.set(nodeData, sizes); - }); - console.timeEnd("rawHierarchy eachAfter cache"); - - const getModuleIds = (node: ModuleTree | ModuleTreeLeaf) => nodeIdsCache.get(node) as ModuleIds; - - console.time("color"); - const getModuleColor = createRainbowColor(rawHierarchy); - console.timeEnd("color"); - - render(() => - -
- , - parentNode - ); -}; - -export default drawChart; diff --git a/packages/analysis/src/charts/treemap/main.tsx b/packages/analysis/src/charts/treemap/main.tsx deleted file mode 100644 index 14715df..0000000 --- a/packages/analysis/src/charts/treemap/main.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { HierarchyRectangularNode } from "d3"; -import { SideBar } from "../sidebar"; -import { Chart } from "./chart"; -import { StaticContext } from "./index"; -import { useFilter } from "../use-filter"; -import { isModuleTree } from "../../utils/is-module-tree"; -import { Component, useContext, createMemo, createSignal } from "solid-js"; - -export const Main: Component = () => { - const { availableSizeProperties, rawHierarchy, getModuleSize, layout, data } = useContext(StaticContext); - const [sizeProperty, setSizeProperty] = createSignal(availableSizeProperties[0]); - const [selectedNode, setSelectedNode] = createSignal | undefined>( - undefined - ); - - const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter(); - - console.time("getNodeSizeMultiplier"); - const getNodeSizeMultiplier = createMemo(() => { - const rootSize = getModuleSize(rawHierarchy.data, sizeProperty()); - const selectedSize = selectedNode() ? getModuleSize(selectedNode().data, sizeProperty()) : 1; - const multiplier = rootSize * 0.2 > selectedSize ? (rootSize * 0.2) / selectedSize : 3; - if (selectedNode() === undefined) { - return (): number => 1; - } else if (isModuleTree(selectedNode().data)) { - const leaves = new Set(selectedNode().leaves().map((d) => d.data)); - return (node: ModuleTree | ModuleTreeLeaf): number => { - if (leaves.has(node)) { - return multiplier; - } - return 1; - }; - } else { - return (node: ModuleTree | ModuleTreeLeaf): number => { - if (node === selectedNode().data) { - return multiplier; - } - return 1; - }; - } - }); - console.timeEnd("getNodeSizeMultiplier"); - - console.time("root hierarchy compute"); - // root here always be the same as rawHierarchy even after layouting - const root = createMemo(() => { - const rootWithSizesAndSorted = rawHierarchy - .sum((node) => { - if (isModuleTree(node)) return 0; - const ownSize = getModuleSize(node, sizeProperty()); - const zoomMultiplier = getNodeSizeMultiplier()(node); - const filterMultiplier = getModuleFilterMultiplier(data.nodeMetas[data.nodeParts[node.uid].mainUid]); - - return ownSize * zoomMultiplier * filterMultiplier; - }) - .sort((a, b) => getModuleSize(a.data, sizeProperty()) - getModuleSize(b.data, sizeProperty())); - - return layout(rootWithSizesAndSorted); - }); - - console.timeEnd("root hierarchy compute"); - - return ( - <> - - - - ); -}; diff --git a/packages/analysis/src/charts/treemap/node.tsx b/packages/analysis/src/charts/treemap/node.tsx deleted file mode 100644 index 1800804..0000000 --- a/packages/analysis/src/charts/treemap/node.tsx +++ /dev/null @@ -1,111 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { bytes } from "@bundlejs/core/src/util"; -import { HierarchyRectangularNode } from "d3"; -import { StaticContext } from "./index"; -import { PADDING, TOP_PADDING } from "./const"; -import { Component, useContext, createRenderEffect, on } from "solid-js"; - -type NodeEventHandler = (event: HierarchyRectangularNode) => void; - -export interface NodeProps { - node: HierarchyRectangularNode; - onMouseOver: NodeEventHandler; - selected: boolean; - onClick: NodeEventHandler; -} - -export const Node: Component = ({ node, onMouseOver, onClick, selected }) => { - const { getModuleColor } = useContext(StaticContext); - const { backgroundColor, fontColor } = getModuleColor(node); - const { x0, x1, y1, y0, data, children = null } = node; - - let textRef: SVGTextElement = null; - let textRectRef: DOMRect = null; - - const width = x1 - x0; - const height = y1 - y0; - - const textProps: Record = { - "font-size": "0.7em", - "dominant-baseline": "middle", - "text-anchor": "middle", - x: width / 2, - }; - if (children != null) { - textProps.y = (TOP_PADDING + PADDING) / 2; - } else { - textProps.y = height / 2; - } - - createRenderEffect(on( - () => [children, height, width], - () => { - if (width == 0 || height == 0 || !textRef) { - return; - } - - if (textRectRef == null) { - textRectRef = textRef.getBoundingClientRect(); - } - - let scale = 1; - if (children != null) { - scale = Math.min( - (width * 0.9) / textRectRef.width, - Math.min(height, TOP_PADDING + PADDING) / textRectRef.height - ); - scale = Math.min(1, scale); - textRef.setAttribute("y", String(Math.min(TOP_PADDING + PADDING, height) / 2 / scale)); - textRef.setAttribute("x", String(width / 2 / scale)); - } else { - scale = Math.min((width * 0.9) / textRectRef.width, (height * 0.9) / textRectRef.height); - scale = Math.min(1, scale); - textRef.setAttribute("y", String(height / 2 / scale)); - textRef.setAttribute("x", String(width / 2 / scale)); - } - - textRef.setAttribute("transform", `scale(${scale.toFixed(2)})`); - } - )); - - if (width == 0 || height == 0) { - return null; - } - - return ( - { - event.stopPropagation(); - onClick(node); - }} - onMouseOver={(event: MouseEvent) => { - event.stopPropagation(); - onMouseOver(node); - }} - > - - { - if (window.getSelection()?.toString() !== "") { - event.stopPropagation(); - } - }} - {...textProps} - > - {data.name} - - - ); -}; diff --git a/packages/analysis/src/charts/treemap/tooltip.tsx b/packages/analysis/src/charts/treemap/tooltip.tsx deleted file mode 100644 index 80b22d1..0000000 --- a/packages/analysis/src/charts/treemap/tooltip.tsx +++ /dev/null @@ -1,151 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { bytes } from "@bundlejs/core/src/util"; -import { LABELS } from "../sizes"; -import { HierarchyRectangularNode } from "d3"; -import { StaticContext } from "./index"; -import { isModuleTree } from "../../utils/is-module-tree"; - -import { Component, createSignal, createMemo, useContext } from "solid-js"; -import onMountWithCleaning from "../../utils/onMountWithCleaning"; - -export interface TooltipProps { - node?: HierarchyRectangularNode; - root: HierarchyRectangularNode; - sizeProperty: SizeKey; - visible: boolean; -} - -const Tooltip_marginX = 10; -const Tooltip_marginY = 30; - -const RENDRED = ( - - {LABELS.renderedLength} is a byte size of individual file after transformations and treeshake. - -); - -const COMPRESSED = ( - - {LABELS.gzipLength} and {LABELS.brotliLength} is a byte size of individual file after individual{" "} - transformations, -
treeshake and compression. -
-); - -export const Tooltip: Component = ({ node, visible, root, sizeProperty }) => { - const { availableSizeProperties, getModuleSize, data } = useContext(StaticContext); - - let ref: HTMLDivElement = null; - const [style, setStyle] = createSignal({}); - - const content = createMemo(() => { - if (!node) return null; - - const mainSize = getModuleSize(node.data, sizeProperty); - - const percentageNum = (100 * mainSize) / getModuleSize(root.data, sizeProperty); - const percentage = percentageNum.toFixed(2); - const percentageString = percentage + "%"; - - const path = node - .ancestors() - .reverse() - .map((d) => d.data.name) - .join("/"); - - let dataNode = null; - if (!isModuleTree(node.data)) { - const mainUid = data.nodeParts[node.data.uid].mainUid; - dataNode = data.nodeMetas[mainUid]; - } - - return ( - <> -
{path}
- {availableSizeProperties.map((sizeProp) => { - if (sizeProp === sizeProperty) { - return ( -
- - {LABELS[sizeProp]}: {bytes(mainSize)} - {" "} - ({percentageString}) -
- ); - } else { - return ( -
- {LABELS[sizeProp]}: {bytes(getModuleSize(node.data, sizeProp))} -
- ); - } - })} -
- {dataNode && dataNode.importedBy.length > 0 && ( -
-
- Imported By: -
- {dataNode.importedBy.map((params) => { - const id = data.nodeMetas[params.uid].id; - return
{id}
; - })} -
- )} -
- {RENDRED} - {(data.options.gzip || data.options.brotli) && ( - <> -
- {COMPRESSED} - - )} - - ); - }); - - const updatePosition = (mouseCoords: { x: number; y: number }) => { - if (!ref) return; - - const pos = { - left: mouseCoords.x + Tooltip_marginX, - top: mouseCoords.y + Tooltip_marginY, - }; - - const boundingRect = ref.getBoundingClientRect(); - - if (pos.left + boundingRect.width > window.innerWidth) { - // Shifting horizontally - pos.left = window.innerWidth - boundingRect.width; - } - - if (pos.top + boundingRect.height > window.innerHeight) { - // Flipping vertically - pos.top = mouseCoords.y - Tooltip_marginY - boundingRect.height; - } - - setStyle(pos); - }; - - onMountWithCleaning(() => { - const handleMouseMove = (event: MouseEvent) => { - updatePosition({ - x: event.pageX, - y: event.pageY, - }); - }; - - document.addEventListener("mousemove", handleMouseMove, true); - return () => { - document.removeEventListener("mousemove", handleMouseMove, true); - }; - }); - - return ( -
- {content()} -
- ); -}; - -export default Tooltip; diff --git a/packages/analysis/src/charts/treemap/treemap.tsx b/packages/analysis/src/charts/treemap/treemap.tsx deleted file mode 100644 index 722f307..0000000 --- a/packages/analysis/src/charts/treemap/treemap.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { ModuleTree, ModuleTreeLeaf, SizeKey } from "../../types/types"; -import { group, HierarchyNode, HierarchyRectangularNode } from "d3"; -import { Node } from "./node"; -import { StaticContext } from "./index"; -import { Component, useContext, createMemo } from "solid-js"; - -export interface TreeMapProps { - root: HierarchyRectangularNode; - onNodeHover: (event: HierarchyRectangularNode) => void; - selectedNode: HierarchyRectangularNode | undefined; - onNodeClick: (node: HierarchyRectangularNode) => void; -} - -export const TreeMap: Component = ({ root, onNodeHover, selectedNode, onNodeClick }) => { - const { width, height, getModuleIds } = useContext(StaticContext); - - console.time("layering"); - // this will make groups by height - const nestedData = createMemo(() => { - const nestedDataMap = group(root.descendants(), (d: HierarchyNode) => d.height); - const nestedData = Array.from(nestedDataMap, ([key, values]) => ({ - key, - values, - })); - nestedData.sort((a, b) => b.key - a.key); - return nestedData; - }); - console.timeEnd("layering"); - - return ( - - {nestedData().map((params) => { - return ( - - {params.values.map((node) => { - return ( - } - onMouseOver={onNodeHover} - selected={selectedNode === node} - onClick={onNodeClick} - /> - ); - })} - - ); - })} - - ); -}; diff --git a/packages/analysis/src/charts/uid.ts b/packages/analysis/src/charts/uid.ts deleted file mode 100644 index 070e3cb..0000000 --- a/packages/analysis/src/charts/uid.ts +++ /dev/null @@ -1,31 +0,0 @@ -let count = 0; - -export class Id { - private _id: string; - private _href: string; - - constructor(id: string) { - this._id = id; - const url = new URL(window.location.href); - url.hash = id; - this._href = url.toString(); - } - - get id(): Id["_id"] { - return this._id; - } - - get href(): Id["_href"] { - return this._href; - } - - toString(): string { - return `url(${this.href})`; - } -} - -export function generateUniqueId(name: string): Id { - count += 1; - const id = ["O", name, count].filter(Boolean).join("-"); - return new Id(id); -} \ No newline at end of file diff --git a/packages/analysis/src/charts/use-filter.ts b/packages/analysis/src/charts/use-filter.ts deleted file mode 100644 index a220972..0000000 --- a/packages/analysis/src/charts/use-filter.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { createSignal, createMemo } from "solid-js"; - -export type FilterSetter = (value: string) => void; - -const throttleFilter = (callback: FilterSetter, limit: number): typeof callback => { - let waiting = false; - return (val: string): void => { - if (!waiting) { - callback(val); - waiting = true; - setTimeout(() => { - waiting = false; - }, limit); - } - }; -}; - -export type UseFilter = { - includeFilter: string; - excludeFilter: string; - setIncludeFilter: FilterSetter; - setExcludeFilter: FilterSetter; - getModuleFilterMultiplier: (data: { id: string }) => number; -}; - -export const useFilter = (): UseFilter => { - const [includeFilter, setIncludeFilter] = createSignal(""); - const [excludeFilter, setExcludeFilter] = createSignal(""); - - const setIncludeFilterTrottled = createMemo(() => throttleFilter(setIncludeFilter, 200)); - const setExcludeFilterTrottled = createMemo(() => throttleFilter(setExcludeFilter, 200)); - - const isModuleIncluded = createMemo(() => { - if (includeFilter() === "") { - return () => true; - } - try { - const re = new RegExp(includeFilter()); - return ({ id }: { id: string }) => re.test(id); - } catch (err) { - return () => false; - } - }); - - const isModuleExcluded = createMemo(() => { - if (excludeFilter() === "") { - return () => false; - } - try { - const re = new RegExp(excludeFilter()); - return ({ id }: { id: string }) => re.test(id); - } catch (err) { - return () => false; - } - }); - - const isDefaultInclude = includeFilter() === ""; - - const getModuleFilterMultiplier = createMemo(() => { - return (data: { id: string }) => { - if (isDefaultInclude) { - return isModuleExcluded()(data) ? 0 : 1; - } - return isModuleExcluded()(data) && !isModuleIncluded()(data) ? 0 : 1; - }; - }); - - return { - getModuleFilterMultiplier: getModuleFilterMultiplier(), - includeFilter: includeFilter(), - excludeFilter: excludeFilter(), - setExcludeFilter: setExcludeFilterTrottled(), - setIncludeFilter: setIncludeFilterTrottled(), - }; -}; diff --git a/packages/analysis/src/index.ts b/packages/analysis/src/index.ts deleted file mode 100644 index 241f628..0000000 --- a/packages/analysis/src/index.ts +++ /dev/null @@ -1,27 +0,0 @@ -// Based off of https://github.com/btd/esbuild-visualizer -import type { TemplateType } from "./types/template-types"; -import type { ModuleMeta, ModulePart, ModuleTree, ModuleUID, VisualizerData } from "./types/types"; - -import type { Metadata } from "./types/metafile"; -import type { OutputFile } from "esbuild-wasm"; -import { AnalyzerOptions, visualizer } from "./plugin/index"; - - -/** - * Generates interactive zoomable charts displaing the size of output files. - * It's a great way to determine what causes the bundle size to be so large. - */ -// analysis?: TemplateType | boolean, -// metafile: Boolean(CONFIG.analysis), -export const analyze = async (metadata: Metadata, outputFiles: OutputFile[], opts: AnalyzerOptions = {}, logger = console.log) => { - try { - return await visualizer(metadata, outputFiles, { - title: "Bundle Analysis", - ...opts - }); - } catch (err) { - let { stack } = (err as Error); - logger([`[Analyzer] ${err}`, stack], "warning"); - console.warn(err, stack); - } -}; diff --git a/packages/analysis/src/plugin/build-stats.ts b/packages/analysis/src/plugin/build-stats.ts deleted file mode 100644 index cfac2d9..0000000 --- a/packages/analysis/src/plugin/build-stats.ts +++ /dev/null @@ -1,49 +0,0 @@ -import type { VisualizerData } from "../types/types"; -import type { TemplateType } from "../types/template-types"; - -const htmlEscape = (str: string) => - str - .replace(/&/g, "&") - .replace(/"/g, """) - .replace(/'/g, "'") - .replace(//g, ">"); - -interface BuildHtmlOptions { - title: string; - data: VisualizerData; - template: TemplateType; -} - -export async function buildHtml({ title, data, template }: BuildHtmlOptions): Promise { - return ` - - - - - - - ${htmlEscape(title)} - - - -
- - - - `; -} diff --git a/packages/analysis/src/plugin/compress.ts b/packages/analysis/src/plugin/compress.ts deleted file mode 100644 index 4076461..0000000 --- a/packages/analysis/src/plugin/compress.ts +++ /dev/null @@ -1,24 +0,0 @@ -// import { gzip, getWASM } from "../../../deno/denoflate/mod"; -// import { compress } from "@bundlejs/core/src/deno/denoflate/mod"; - -export type SizeGetter = (code: Uint8Array) => Promise; - -export const emptySizeGetter: SizeGetter = () => Promise.resolve(0); -export const gzipSizeGetter: SizeGetter = async (code: Uint8Array) => { - // @bundlejs/core/src/deno/denoflate/mod.ts - // ../../../core/src/deno/denoflate/mod - const { gzip, getWASM } = await import("@bundlejs/core/src/deno/denoflate/mod"); - await getWASM(); - - const data = await gzip(code, 9); - // const data = []; - return data.length; -}; - -export const brotliSizeGetter: SizeGetter = async (code: Uint8Array) => { - // @bundlejs/core/deno/brotli/mod.ts - // ../../../core/src/deno/brotli/mod - const { compress } = await import("@bundlejs/core/src/deno/brotli/mod"); - const data = await compress(code, code.length, 11); - return data.length; -}; \ No newline at end of file diff --git a/packages/analysis/src/plugin/data.ts b/packages/analysis/src/plugin/data.ts deleted file mode 100644 index 068ee21..0000000 --- a/packages/analysis/src/plugin/data.ts +++ /dev/null @@ -1,140 +0,0 @@ -import type { GetModuleInfo } from "../types/rollup"; -import type { ModuleLengths, ModuleTree, ModuleTreeLeaf } from "../types/types"; - -import { isModuleTree } from "../utils/is-module-tree"; -import { ModuleMapper } from "./module-mapper"; - -interface MappedNode { - uid: string; -} - -const addToPath = (moduleId: string, tree: ModuleTree, modulePath: string[], node: MappedNode): void => { - if (modulePath.length === 0) { - throw new Error(`Error adding node to path ${moduleId}`); - } - - const [head, ...rest] = modulePath; - - if (rest.length === 0) { - tree.children.push({ ...node, name: head }); - return; - } else { - let newTree = tree.children.find((folder): folder is ModuleTree => folder.name === head && isModuleTree(folder)); - - if (!newTree) { - newTree = { name: head, children: [] }; - tree.children.push(newTree); - } - addToPath(moduleId, newTree, rest, node); - return; - } -}; - -// TODO try to make it without recursion, but still typesafe -const mergeSingleChildTrees = (tree: ModuleTree): ModuleTree | ModuleTreeLeaf => { - if (tree.children.length === 1) { - const child = tree.children[0]; - const name = `${tree.name}/${child.name}`; - if (isModuleTree(child)) { - tree.name = name; - tree.children = child.children; - return mergeSingleChildTrees(tree); - } else { - return { - name, - uid: child.uid, - }; - } - } else { - tree.children = tree.children.map((node) => { - if (isModuleTree(node)) { - return mergeSingleChildTrees(node); - } else { - return node; - } - }); - return tree; - } -}; - -export const buildTree = ( - bundleId: string, - modules: Array, - mapper: ModuleMapper -): ModuleTree => { - const tree: ModuleTree = { - name: bundleId, - children: [], - }; - - for (const { id, renderedLength, gzipLength, brotliLength } of modules) { - const bundleModuleUid = mapper.setNodePart(bundleId, id, { renderedLength, gzipLength, brotliLength }); - - const trimmedModuleId = mapper.trimProjectRootId(id); - - const pathParts = trimmedModuleId.split(/\\|\//).filter((p) => p !== ""); - addToPath(trimmedModuleId, tree, pathParts, { uid: bundleModuleUid }); - } - - tree.children = tree.children.map((node) => { - if (isModuleTree(node)) { - return mergeSingleChildTrees(node); - } else { - return node; - } - }); - - return tree; -}; - -export const mergeTrees = (trees: Array): ModuleTree => { - const newTree = { - name: "root", - children: trees, - isRoot: true, - }; - - return newTree; -}; - -export const addLinks = (startModuleId: string, getModuleInfo: GetModuleInfo, mapper: ModuleMapper): void => { - const processedNodes: Record = {}; - - const moduleIds = [startModuleId]; - - while (moduleIds.length > 0) { - const moduleId = moduleIds.shift() as string; - - if (processedNodes[moduleId]) { - continue; - } else { - processedNodes[moduleId] = true; - } - - const moduleInfo = getModuleInfo(moduleId); - - if (!moduleInfo) { - return; - } - - if (moduleInfo.isEntry) { - mapper.setNodeMeta(moduleId, { isEntry: true }); - } - if (moduleInfo.isExternal) { - mapper.setNodeMeta(moduleId, { isExternal: true }); - } - - for (const importedId of moduleInfo.importedIds) { - mapper.addImportedByLink(importedId, moduleId); - mapper.addImportedLink(moduleId, importedId); - - moduleIds.push(importedId); - } - for (const importedId of moduleInfo.dynamicallyImportedIds) { - mapper.addImportedByLink(importedId, moduleId); - mapper.addImportedLink(moduleId, importedId, true); - - moduleIds.push(importedId); - } - } -}; \ No newline at end of file diff --git a/packages/analysis/src/plugin/index.ts b/packages/analysis/src/plugin/index.ts deleted file mode 100644 index da7cda4..0000000 --- a/packages/analysis/src/plugin/index.ts +++ /dev/null @@ -1,130 +0,0 @@ -import type { TemplateType } from "../types/template-types"; -import type { ModuleLengths, ModuleTree, ModuleTreeLeaf, VisualizerData } from "../types/types"; -import type { Metadata, MetadataOutput } from "../types/metafile"; -import type { ModuleInfo } from "../types/rollup"; -import type { OutputFile } from "esbuild-wasm"; - -import { ModuleMapper } from "./module-mapper"; -import { addLinks, buildTree, mergeTrees } from "./data"; -import { buildHtml } from "./build-stats"; - -import { gzipSizeGetter, brotliSizeGetter, emptySizeGetter } from "./compress"; - -/** - * Analyzer options - */ -export interface AnalyzerOptions { - title?: string; - template?: TemplateType | boolean; - gzipSize?: boolean; - brotliSize?: boolean; -} - -export const visualizer = async (metadata: Metadata, outputFiles: OutputFile[], opts: AnalyzerOptions = {}): Promise => { - const title = opts.title ?? "Esbuild Visualizer"; - const template = (opts.template == true ? "treemap" : opts.template as TemplateType) ?? "treemap"; - const projectRoot = ""; - - let outputFilesMap = new Map(); - outputFiles.forEach(({ path, contents }) => { - outputFilesMap.set(path, contents); - }); - // console.log(metadata, outputFiles, Array.from(outputFilesMap.entries())); - - const gzipSize = !!opts.gzipSize; - const brotliSize = !!opts.brotliSize; - const gzip = gzipSize ? gzipSizeGetter : emptySizeGetter; - const brotli = brotliSize ? brotliSizeGetter : emptySizeGetter; - - const ModuleLengths = async ({ - id, - mod - }: { - id: string; - mod: { bytesInOutput: number }; - }): Promise => { - const code = outputFilesMap.get(id); - let faultyCode = code == null || code == undefined || code?.length == 0; - let [gzipLength, brotliLength, renderedLength] = await Promise.all(faultyCode ? [0, 0, mod.bytesInOutput] : [gzip(code), brotli(code), code?.length]) - const result = { - id, - gzipLength, - brotliLength, - renderedLength - }; - return result; - }; - - const roots: Array = []; - const mapper = new ModuleMapper(projectRoot); - - // collect trees - for (const [bundleId, bundle] of Object.entries(metadata.outputs)) { - const modules = await Promise.all( - Object - .entries(bundle.inputs) - .map(([id, mod]) => ModuleLengths({ id, mod })) - ); - const tree = buildTree(bundleId, modules, mapper); - - const code = outputFilesMap.get(bundleId); - if (tree.children.length === 0 && code) { - const bundleSizes = await ModuleLengths({ - id: bundleId, - mod: { bytesInOutput: code?.length } - }); - - const facadeModuleId = `${bundleId}-unknown`; - const bundleUid = mapper.setNodePart(bundleId, facadeModuleId, bundleSizes); - mapper.setNodeMeta(facadeModuleId, { isEntry: true }); - const leaf: ModuleTreeLeaf = { name: bundleId, uid: bundleUid }; - roots.push(leaf); - } else { - roots.push(tree); - } - } - - const getModuleInfo = (bundle: MetadataOutput) => (moduleId: string): ModuleInfo => { - const input = metadata.inputs?.[moduleId]; - - const imports = input?.imports.map((i) => i.path); - - const code = outputFilesMap.get(moduleId); - - return { - renderedLength: code?.length ?? bundle.inputs?.[moduleId]?.bytesInOutput ?? 0, - importedIds: imports ?? [], - dynamicallyImportedIds: [], - isEntry: bundle.entryPoint === moduleId, - isExternal: false, - }; - }; - - for (const [bundleId, bundle] of Object.entries(metadata.outputs)) { - if (bundle.entryPoint == null) continue; - - addLinks(bundleId, getModuleInfo(bundle), mapper); - } - - const tree = mergeTrees(roots); - - const data: VisualizerData = { - version: 3.0, - tree, - nodeParts: mapper.getNodeParts(), - nodeMetas: mapper.getNodeMetas(), - env: {}, - options: { - gzip: gzipSize, - brotli: brotliSize - }, - }; - - const fileContent: string = await buildHtml({ - title, - data, - template, - }); - - return fileContent; -}; diff --git a/packages/analysis/src/plugin/module-mapper.ts b/packages/analysis/src/plugin/module-mapper.ts deleted file mode 100644 index 20c1447..0000000 --- a/packages/analysis/src/plugin/module-mapper.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { customAlphabet } from "nanoid/non-secure"; - -import type { ModuleImport, ModuleMeta, ModulePart, ModuleLengths, ModuleUID } from "../types/types"; - -const nanoid = customAlphabet("1234567890abcdef", 4); - -const UNIQUE_PREFIX = nanoid(); -let COUNTER = 0; - -const uniqueId = (): ModuleUID => `${UNIQUE_PREFIX}-${COUNTER++}`; - -type ModuleIdStorage = { - uid: ModuleUID; - meta: Omit & { imported: Set; importedBy: Set }; -}; - -export class ModuleMapper { - private nodeParts: Record = {}; - private nodeMetas: Record = {}; - - constructor(private projectRoot: string | RegExp) {} - - trimProjectRootId(moduleId: string): string { - return moduleId.replace(this.projectRoot, ""); - } - - getModuleUid(moduleId: string): ModuleUID { - if (!(moduleId in this.nodeMetas)) { - this.nodeMetas[moduleId] = { - uid: uniqueId(), - meta: { id: this.trimProjectRootId(moduleId), moduleParts: {}, imported: new Set(), importedBy: new Set() }, - }; - } - - return this.nodeMetas[moduleId].uid; - } - - getBundleModuleUid(bundleId: string, moduleId: string): ModuleUID { - if (!(moduleId in this.nodeMetas)) { - this.nodeMetas[moduleId] = { - uid: uniqueId(), - meta: { id: this.trimProjectRootId(moduleId), moduleParts: {}, imported: new Set(), importedBy: new Set() }, - }; - } - if (!(bundleId in this.nodeMetas[moduleId].meta.moduleParts)) { - this.nodeMetas[moduleId].meta.moduleParts[bundleId] = uniqueId(); - } - - return this.nodeMetas[moduleId].meta.moduleParts[bundleId]; - } - - setNodePart(bundleId: string, moduleId: string, value: ModuleLengths): ModuleUID { - const uid = this.getBundleModuleUid(bundleId, moduleId); - if (uid in this.nodeParts) { - throw new Error( - `Override module: bundle id ${bundleId}, module id ${moduleId}, value ${JSON.stringify( - value - )}, existing value: ${JSON.stringify(this.nodeParts[uid])}` - ); - } - this.nodeParts[uid] = { ...value, mainUid: this.getModuleUid(moduleId) }; - return uid; - } - - setNodeMeta(moduleId: string, value: { isEntry?: boolean; isExternal?: boolean }): void { - this.getModuleUid(moduleId); - this.nodeMetas[moduleId].meta.isEntry = value.isEntry; - this.nodeMetas[moduleId].meta.isExternal = value.isExternal; - } - - hasNodePart(bundleId: string, moduleId: string): boolean { - if (!(moduleId in this.nodeMetas)) { - return false; - } - if (!(bundleId in this.nodeMetas[moduleId].meta.moduleParts)) { - return false; - } - if (!(this.nodeMetas[moduleId].meta.moduleParts[bundleId] in this.nodeParts)) { - return false; - } - return true; - } - - getNodeParts(): ModuleMapper["nodeParts"] { - return this.nodeParts; - } - - getNodeMetas(): Record { - const nodeMetas: Record = {}; - for (const { uid, meta } of Object.values(this.nodeMetas)) { - nodeMetas[uid] = { - ...meta, - imported: [...meta.imported].map((rawImport) => { - const [uid, dynamic] = rawImport.split(","); - const importData: ModuleImport = { uid }; - if (dynamic === "true") { - importData.dynamic = true; - } - return importData; - }), - importedBy: [...meta.importedBy].map((rawImport) => { - const [uid, dynamic] = rawImport.split(","); - const importData: ModuleImport = { uid }; - if (dynamic === "true") { - importData.dynamic = true; - } - return importData; - }), - }; - } - return nodeMetas; - } - - addImportedByLink(targetId: string, sourceId: string): void { - const sourceUid = this.getModuleUid(sourceId); - this.getModuleUid(targetId); - this.nodeMetas[targetId].meta.importedBy.add(sourceUid); - } - - addImportedLink(sourceId: string, targetId: string, dynamic = false): void { - const targetUid = this.getModuleUid(targetId); - this.getModuleUid(sourceId); - this.nodeMetas[sourceId].meta.imported.add(String([targetUid, dynamic])); - } -} \ No newline at end of file diff --git a/packages/analysis/src/types/metafile.d.ts b/packages/analysis/src/types/metafile.d.ts deleted file mode 100644 index 83020e8..0000000 --- a/packages/analysis/src/types/metafile.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export interface MetadataOutput { - bytes: number; - inputs: { - [path: string]: { - bytesInOutput: number; - }; - }; - imports: { - path: string; - kind: string; - }[]; - exports: string[]; - entryPoint?: string; -} - -export interface Metadata { - inputs: { - [path: string]: { - bytes: number; - imports: { - path: string; - kind: string; - }[]; - }; - }; - outputs: { - [path: string]: MetadataOutput; - }; -} diff --git a/packages/analysis/src/types/rollup.d.ts b/packages/analysis/src/types/rollup.d.ts deleted file mode 100644 index 3eea68e..0000000 --- a/packages/analysis/src/types/rollup.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export type ModuleInfo = { - renderedLength: number; - isEntry: boolean; - isExternal: boolean; - importedIds: string[]; - dynamicallyImportedIds: string[]; -}; - -export type GetModuleInfo = (moduleId: string) => ModuleInfo | null; diff --git a/packages/analysis/src/types/template-types.ts b/packages/analysis/src/types/template-types.ts deleted file mode 100644 index e9c5d51..0000000 --- a/packages/analysis/src/types/template-types.ts +++ /dev/null @@ -1,5 +0,0 @@ -export type TemplateType = "sunburst" | "treemap" | "network"; - -export const templates: ReadonlyArray = ["sunburst", "treemap", "network"]; - -export default templates; diff --git a/packages/analysis/src/types/types.d.ts b/packages/analysis/src/types/types.d.ts deleted file mode 100644 index 4580689..0000000 --- a/packages/analysis/src/types/types.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -export type SizeKey = "renderedLength" | "gzipLength" | "brotliLength"; - -export type ModuleUID = string; -export type BundleId = string; - -export interface ModuleTreeLeaf { - name: string; - uid: ModuleUID; -} - -export interface ModuleTree { - name: string; - children: Array; -} - -export type ModulePart = { - mainUid: ModuleUID; -} & ModuleLengths; - -export type ModuleImport = { - uid: ModuleUID; - dynamic?: boolean; -}; - -export type ModuleMeta = { - moduleParts: Record; - importedBy: ModuleImport[]; - imported: ModuleImport[]; - isEntry?: boolean; - isExternal?: boolean; - id: string; -}; - -export interface ModuleLengths { - renderedLength: number; - gzipLength: number; - brotliLength: number; -} - -export interface VisualizerData { - version: number; - tree: ModuleTree; - nodeParts: Record; - nodeMetas: Record; - env: { - [key: string]: unknown; - }; - options: { - gzip: boolean; - brotli: boolean; - }; -} \ No newline at end of file diff --git a/packages/analysis/src/utils/createEffectWithCleaning.ts b/packages/analysis/src/utils/createEffectWithCleaning.ts deleted file mode 100644 index 37e979d..0000000 --- a/packages/analysis/src/utils/createEffectWithCleaning.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { createEffect, onCleanup } from "solid-js"; - -// Based off of @suid/system/createEffectWithCleaning -export function createEffectWithCleaning(effect: () => () => void) { - let lastCleanup: (() => void) | undefined; - onCleanup(() => lastCleanup?.()); - createEffect<(() => void) | undefined>((prevCleanup) => { - if (prevCleanup) { - lastCleanup = undefined; - prevCleanup?.(); - } - - // @ts-ignore - return (lastCleanup = effect()); - }); -} - -export default createEffectWithCleaning; \ No newline at end of file diff --git a/packages/analysis/src/utils/is-module-tree.ts b/packages/analysis/src/utils/is-module-tree.ts deleted file mode 100644 index 91bab33..0000000 --- a/packages/analysis/src/utils/is-module-tree.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { ModuleTree, ModuleTreeLeaf } from "../types/types"; - -export const isModuleTree = (mod: ModuleTree | ModuleTreeLeaf): mod is ModuleTree => "children" in mod; \ No newline at end of file diff --git a/packages/analysis/src/utils/onMountWithCleaning.ts b/packages/analysis/src/utils/onMountWithCleaning.ts deleted file mode 100644 index 4afdec4..0000000 --- a/packages/analysis/src/utils/onMountWithCleaning.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { onCleanup, onMount } from "solid-js"; - -// Based off of @suid/system/onMountWithCleaning -export function onMountWithCleaning(effect: () => () => void) { - let lastCleanup: (() => void) | undefined; - onCleanup(() => lastCleanup?.()); - onMount(() => { - lastCleanup = effect(); - }); -} - -export default onMountWithCleaning; \ No newline at end of file diff --git a/packages/analysis/tests/repl.test.ts b/packages/analysis/tests/repl.test.ts deleted file mode 100644 index f9fc27c..0000000 --- a/packages/analysis/tests/repl.test.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { describe, test, expect, it } from "vitest"; - -describe("suite", async () => { - it("first bundle test", async () => { - expect("Hello").toBe("Hello"); - }) -}) diff --git a/packages/analysis/tsconfig.json b/packages/analysis/tsconfig.json deleted file mode 100644 index b2223dc..0000000 --- a/packages/analysis/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "compilerOptions": { - "jsx": "preserve", - "jsxImportSource": "solid-js", - "moduleResolution": "node", - "target": "ES2021", - "module": "ES2020", - "lib": [ - "ES2021", - "DOM", - "DOM.Iterable", - "WebWorker" - ], - "sourceMap": true, - "outDir": "lib", - "resolveJsonModule": true, - "isolatedModules": true, - "esModuleInterop": true - }, - "include": [ - "src" - ], - "exclude": [ - "node_modules", - "docs" - ] -} \ No newline at end of file diff --git a/packages/analysis/vite.config.ts b/packages/analysis/vite.config.ts deleted file mode 100644 index 6588c8d..0000000 --- a/packages/analysis/vite.config.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { defineConfig } from "vitest/config"; - -import SOLID from 'vite-plugin-solid'; -export default defineConfig({ - plugins: [SOLID()], - test: {}, - build: { - target: ["chrome99"], - sourcemap: true, - outDir: "lib", - assetsInlineLimit: 0, - lib: { - entry: "./src/index.ts", - name: 'analysis' - }, - rollupOptions: { - output: [ - { - format: "es", - entryFileNames: "[name].mjs", - chunkFileNames: "[name]-[hash].mjs" - }, - { - format: "cjs", - entryFileNames: "[name].cjs", - chunkFileNames: "[name]-[hash].cjs" - }, - { - format: "umd", - entryFileNames: "[name].js", - inlineDynamicImports: true, - name: "analysis" - } - ] - } - } -}) diff --git a/packages/core/src/build.ts b/packages/core/src/build.ts index ed5962d..1de5a5f 100644 --- a/packages/core/src/build.ts +++ b/packages/core/src/build.ts @@ -119,7 +119,7 @@ export async function build(opts: BuildConfig = {}, filesystem = TheFileSystem): // Stores content from all external outputed files, this is for checking the gzip size when dealing with CSS and other external files let outputs: ESBUILD.OutputFile[] = []; let contents: ESBUILD.OutputFile[] = []; - let result: ESBUILD.BuildResult = null; + let result: ESBUILD.BuildResult; try { try { @@ -172,16 +172,16 @@ export async function build(opts: BuildConfig = {}, filesystem = TheFileSystem): const message = `${ansiMsgs.length} warning(s) `; dispatchEvent(LOGGER_WARN, message); } - + // Create an array of assets and actual output files, this will later be used to calculate total file size outputs = await Promise.all( - [...get()["assets"]] + [...(get()["assets"] ?? [])] .concat(result?.outputFiles as ESBUILD.OutputFile[]) ); contents = await Promise.all( outputs - ?.map(({ path, text, contents }): ESBUILD.OutputFile => { + .map(({ path, text, contents }): ESBUILD.OutputFile | null => { if (/\.map$/.test(path)) return null; @@ -199,7 +199,7 @@ export async function build(opts: BuildConfig = {}, filesystem = TheFileSystem): }) // Remove null output files - ?.filter(x => ![undefined, null].includes(x)) + .filter(x => x !== null && x !== undefined) as ESBUILD.OutputFile[] ); // Ensure a fresh filesystem on every run @@ -224,6 +224,7 @@ export async function build(opts: BuildConfig = {}, filesystem = TheFileSystem): if (!("msgs" in e)) { dispatchEvent(BUILD_ERROR, e); } + throw e; } } \ No newline at end of file diff --git a/packages/core/src/utils/get-esbuild.ts b/packages/core/src/utils/get-esbuild.ts index 7c057ea..bacba83 100644 --- a/packages/core/src/utils/get-esbuild.ts +++ b/packages/core/src/utils/get-esbuild.ts @@ -1,11 +1,11 @@ -import type * as ESBUILD from "esbuild-wasm"; +// import type * as ESBUILD from "https://esm.sh/esbuild-wasm@0.17.11"; import type { Platform } from "../configs/platform.ts"; import { PLATFORM_AUTO } from "../configs/platform.ts"; -import pkg from "../../package.json" assert { type: "json" }; +// import pkg from "../../package.json" assert { type: "json" }; -const { dependencies } = pkg; -const version = dependencies["esbuild-wasm"].replaceAll(/[^0-9.-]/g, ""); +// const { dependencies } = pkg; +// const version = dependencies["esbuild-wasm"].replaceAll(/[^0-9.-]/g, ""); /** * Determines which esbuild skew to use depending on the platform option supplied, @@ -19,7 +19,7 @@ const version = dependencies["esbuild-wasm"].replaceAll(/[^0-9.-]/g, ""); * @returns esbuild module */ import * as DenoEsbuild from "https://deno.land/x/esbuild@v0.17.11/wasm.js"; -export async function getEsbuild(platform: Platform = PLATFORM_AUTO): Promise { +export async function getEsbuild(platform: Platform = PLATFORM_AUTO) { try { return DenoEsbuild; // switch (platform) { diff --git a/packages/edge/README.md b/packages/edge/README.md index c25a101..cc40738 100644 --- a/packages/edge/README.md +++ b/packages/edge/README.md @@ -1,4 +1,4 @@ deno install --allow-read --allow-write --allow-env --allow-net --allow-run --no-check -r -f https://deno.land/x/deploy/deployctl.ts -deployctl deploy --project=bundlejs --exclude=node_modules --import-map=packages/edge/import_map.json --token=... packages/edge/deno.ts +deployctl deploy --project=bundlejs --exclude=node_modules --import-map=packages/edge/import_map.json --token=... packages/edge/mod.ts diff --git a/packages/edge/bundle.ts b/packages/edge/bundle.ts new file mode 100644 index 0000000..90a99da --- /dev/null +++ b/packages/edge/bundle.ts @@ -0,0 +1,126 @@ +// @ts-ignore Workers are undefined +const worker = globalThis?.Worker; +// @ts-ignore Workers are undefined +globalThis.Worker = worker ?? class { + constructor() { } +}; + +import type { BuildConfig, CompressConfig, ESBUILD } from "@bundlejs/core"; +import type { Config } from "./mod.ts"; +import { headers } from "./mod.ts"; +import { setFile as setGist } from "./gist.ts"; + +import { build, setFile, deepAssign, useFileSystem, createConfig, compress } from "@bundlejs/core/src/index.ts"; +import ESBUILD_WASM from "@bundlejs/core/src/wasm.ts"; + +import { createNotice } from "@bundlejs/core/src/utils/create-notice.ts"; + +const FileSystem = useFileSystem(); +export const timeFormatter = new Intl.RelativeTimeFormat("en", { + style: "narrow", + numeric: "auto", +}); + +export type BundleResult = { + query: string, + rawQuery: string, + config: Config + input: string, + size: Omit>, "content">, + time: string, + rawTime: number, + fileId?: string, + rawFile?: string, + warnings?: string[], + metafile?: ESBUILD.Metafile +} + +export const inputModelResetValue = [ + 'export * from "@okikio/animate";' +].join("\n"); + +let WASM_MODULE: Uint8Array; // = await ESBUILD_WASM(); +let wasmModule: WebAssembly.Module; // = new WebAssembly.Module(WASM_MODULE); + +export async function bundle(url: URL, initialValue: string, initialConfig: Config) { + const fs = await FileSystem; + const start = performance.now(); + + setFile(fs, "/index.tsx", initialValue); + + const metafileQuery = url.searchParams.has("metafile"); + const analysisQuery = url.searchParams.has("analysis"); + + const enableMetafile = analysisQuery || + metafileQuery || + Boolean(initialConfig?.analysis); + + const polyfillQuery = url.searchParams.has("polyfill"); + + const configObj: BuildConfig & { compression?: CompressConfig } = deepAssign({ + polyfill: polyfillQuery, + compression: createConfig("compress", initialConfig.compression), + }, initialConfig, { + entryPoints: ["/index.tsx"], + esbuild: enableMetafile ? { + metafile: enableMetafile + } : {}, + init: { + platform: "deno-wasm", + worker: false, + wasmModule + }, + } as BuildConfig); + console.log({ configObj }) + + if (!WASM_MODULE) WASM_MODULE = await ESBUILD_WASM(); + if (!wasmModule) wasmModule = new WebAssembly.Module(WASM_MODULE); + const result = await build(configObj, FileSystem); + const end = performance.now(); + + let resultText = ""; + console.log({ + result, + contentes: result.contents, + outputs: result.outputFiles + }) + const { content: _content, ...size } = await compress( + result.contents.map((x: { contents: Uint8Array; path: string; text: string }) => { + if (x.path === "/index.js") { + resultText = x.text; + } + + return x.contents; + }), + configObj.compression + ); + + const { init: _init, ...printableConfig } = createConfig("build", configObj); + const duration = (end - start); + + if (!resultText) { resultText = result.contents[0].text; } + + const fileId = await setGist(url.href, resultText); + const finalResult: BundleResult = { + query: decodeURIComponent(url.search), + rawQuery: encodeURIComponent(url.search), + config: printableConfig, + input: initialValue, + size, + time: timeFormatter.format(duration / 1000, "seconds"), + rawTime: duration, + fileId, + ...(!fileId ? { rawFile: resultText } : {}), + ...(result?.warnings?.length > 0 ? { warnings: await createNotice(result.warnings, "warning", false) } : {}), + ...(metafileQuery && result?.metafile ? { metafile: result?.metafile } : {}) + } + + return new Response(JSON.stringify(finalResult), { + status: 200, + headers: [ + ...headers, + ['Cache-Control', 'max-age=30, s-maxage=30, public'], + ['Content-Type', 'application/json'] + ], + }) +} \ No newline at end of file diff --git a/packages/edge/deno.lock b/packages/edge/deno.lock index e1fe808..33e101a 100644 --- a/packages/edge/deno.lock +++ b/packages/edge/deno.lock @@ -58,7 +58,20 @@ "https://deno.land/std@0.178.0/async/retry.ts": "5efa3ba450ac0c07a40a82e2df296287b5013755d232049efd7ea2244f15b20f", "https://deno.land/std@0.178.0/async/tee.ts": "47e42d35f622650b02234d43803d0383a89eb4387e1b83b5a40106d18ae36757", "https://deno.land/std@0.178.0/http/server.ts": "cbb17b594651215ba95c01a395700684e569c165a567e4e04bba327f41197433", + "https://deno.land/std@0.179.0/async/abortable.ts": "73acfb3ed7261ce0d930dbe89e43db8d34e017b063cf0eaa7d215477bf53442e", + "https://deno.land/std@0.179.0/async/deadline.ts": "c5facb0b404eede83e38bd2717ea8ab34faa2ffb20ef87fd261fcba32ba307aa", + "https://deno.land/std@0.179.0/async/debounce.ts": "adab11d04ca38d699444ac8a9d9856b4155e8dda2afd07ce78276c01ea5a4332", + "https://deno.land/std@0.179.0/async/deferred.ts": "42790112f36a75a57db4a96d33974a936deb7b04d25c6084a9fa8a49f135def8", + "https://deno.land/std@0.179.0/async/delay.ts": "73aa04cec034c84fc748c7be49bb15cac3dd43a57174bfdb7a4aec22c248f0dd", + "https://deno.land/std@0.179.0/async/mod.ts": "f04344fa21738e5ad6bea37a6bfffd57c617c2d372bb9f9dcfd118a1b622e576", + "https://deno.land/std@0.179.0/async/mux_async_iterator.ts": "70c7f2ee4e9466161350473ad61cac0b9f115cff4c552eaa7ef9d50c4cbb4cc9", + "https://deno.land/std@0.179.0/async/pool.ts": "fd082bd4aaf26445909889435a5c74334c017847842ec035739b4ae637ae8260", + "https://deno.land/std@0.179.0/async/retry.ts": "5efa3ba450ac0c07a40a82e2df296287b5013755d232049efd7ea2244f15b20f", + "https://deno.land/std@0.179.0/async/tee.ts": "47e42d35f622650b02234d43803d0383a89eb4387e1b83b5a40106d18ae36757", + "https://deno.land/std@0.179.0/http/server.ts": "cbb17b594651215ba95c01a395700684e569c165a567e4e04bba327f41197433", "https://deno.land/std@0.97.0/fmt/colors.ts": "db22b314a2ae9430ae7460ce005e0a7130e23ae1c999157e3bb77cf55800f7e4", + "https://deno.land/x/base64@v0.2.1/base.ts": "47dc8d68f07dc91524bdd6db36eccbe59cf4d935b5fc09f27357a3944bb3ff7b", + "https://deno.land/x/base64@v0.2.1/base64url.ts": "18bbf879b31f1f32cca8adaa2b6885ae325c2cec6a66c5817b684ca12c46ad5e", "https://deno.land/x/denoflate@1.2.1/mod.ts": "f5628e44b80b3d80ed525afa2ba0f12408e3849db817d47a883b801f9ce69dd6", "https://deno.land/x/denoflate@1.2.1/pkg/denoflate.js": "b9f9ad9457d3f12f28b1fb35c555f57443427f74decb403113d67364e4f2caf4", "https://deno.land/x/denoflate@1.2.1/pkg/denoflate_bg.wasm.js": "d581956245407a2115a3d7e8d85a9641c032940a8e810acbd59ca86afd34d44d", @@ -78,6 +91,8 @@ "https://deno.land/x/esbuild@v0.17.11/mod.js": "4f4e61964a551d9c0baf5bb19e973cf631cf8c66ddaf01e70070f8a100fc938c", "https://deno.land/x/esbuild@v0.17.11/wasm.d.ts": "dc279a3a46f084484453e617c0cabcd5b8bd1920c0e562e4ea02dfc828c8f968", "https://deno.land/x/esbuild@v0.17.11/wasm.js": "4030e7b50941ec6e06704c6b5f1f6416cc0f7f35f63daf63f184b728bea79a30", + "https://deno.land/x/sha1@v1.0.3/deps.ts": "2e1af51a48c8507017fdb057b950366601b177fb7e73d5de54c1b3e0e115d72e", + "https://deno.land/x/sha1@v1.0.3/mod.ts": "146a101c9776cc9c807053c93f23e4b321ade5251f65745df418f4a75d5fd27b", "https://deno.land/x/tty@0.1.4/ansi_regex.ts": "1d3b0c7289164f93c9ebafe3bbd05a723568a250cc5c29c0cc922ff55af9a238", "https://deno.land/x/tty@0.1.4/combining.ts": "a615e9479d8bc901e3a727e5cae83c0aa1d4ca1e75fa040861d9905d16b30ffc", "https://deno.land/x/tty@0.1.4/is_interactive.ts": "37080d92399827215e60a57d97013aefbdbc038e7a5d2346abd298a7010525e6", @@ -87,10 +102,163 @@ "https://deno.land/x/tty@0.1.4/tty_sync.ts": "ad5d986dbd561e5768c49bf48a54580521bdfe95aa41869e8c84d99dbae0ff08", "https://deno.land/x/tty@0.1.4/util.ts": "fd50eb009b46f01461f3d38decaf4366c4970bbd818edc39b58a574efe67dbb7", "https://deno.land/x/tty@0.1.4/wcwidth.ts": "ab712adbbe4a07c27cc0ab89b99c3a77d28fe911c0fd1c8cebd867efc1fb4416", + "https://deno.land/x/upstash_redis@v1.20.1/mod.ts": "f1a992becfa0885c41706cfed6ba7c97fc8b87662d2f5161559629694b5bcb56", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/append.ts": "7c1612a3a5543926afb8dd3ca8086e5d7ef5c3dcbda0ca30eb720259e707f651", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/bitcount.ts": "8efbd9bfa25a58daf0773adaf00f7ae2c6a7a6a621f11158c53bcfe88d12b255", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/bitop.ts": "dcaa11a96429b0fb5595a63967f7e8751683785a0baba87d7aa027df03fcd06e", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/bitpos.ts": "2c74aa14054407f66a12764f9cd2a3ca16a5d4f4f59c70815274362c015aa428", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/command.ts": "082d3246db2ebf4b70dac81e15e41125c20c3a04fc3795e710c47118d908bd27", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/dbsize.ts": "7509e8630675755e82d7294a556466f1b36cb3caf3829f836b25cdb7cf95e404", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/decr.ts": "3ee6c714f01b12f9fa9bd755d99b098f7c7b42c50ff1589e6c47ccb720fef3c2", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/decrby.ts": "1abe00bb7a8f935413dd3a5030d94df1761cd44c0bcffa5caa641f8e32d0961f", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/del.ts": "898bf42c3f758bae1d3d2a9d9ac82e1fdfdf72179caa65fd8c42ebe191db6cea", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/echo.ts": "8bcb79701c8fe9439c2fd92f0a83d5db663c8e084da65c8cbb851a071b8c8bb6", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/eval.ts": "99d740003e7769e26f5511896f65a57ee4c987ec875b744cefe1f2522cfd2c05", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/evalsha.ts": "da213bf79e83b6895dc8805dc033e00fa357f95728fef87ab7e066d0aa0683d3", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/exists.ts": "96310238f26a8569a0100a36f2dc2bc60de371736fe723809ceb4c49c8a6cc74", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/expire.ts": "f9ea57ea9e3c801c1f628d74f55337cf04f9184c8f3e75f55528dee29c881fad", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/expireat.ts": "ec738e5cca59c56b0d43e564ef16951cdda963b4849850ced1df3ba62596994c", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/flushall.ts": "365876a9cfe254286da033f275ac4a0d11349c96cacd1461f0d3c23b07957ac6", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/flushdb.ts": "369e628d24ce41ba6c0518a955c48e2a9359dd4b831d7211fc8d0621ccfc0af7", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/get.ts": "ef4968bc57ffc5826d178f56bdade982b6d93ab875d2bb516363beefef52fc59", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/getbit.ts": "c29aec972672a1827796a2b4419ccc5b91d8d080fd237eb2b1cc4cdd88d2967b", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/getdel.ts": "b2caaffdf46957769c2c278e637cf8d8f1a594e4747a0bb7ef0155e1b121754d", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/getrange.ts": "65deab3bd5ea316693fb966912ba4a1114c619c2a1d00b72599e40c532456481", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/getset.ts": "df7ded3779f9faf329c2023097db901302aaeece7bde0691ae61ea1daf967b39", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hdel.ts": "e777b005f41ee3078593dddf89d72275af7a66050fcc7ed93221caffd9a71810", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hexists.ts": "4f96fcdf8b15a982922b6bf9cfa9fc891582b5da9b0eb9d92a9eb13594c99048", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hget.ts": "5566c8e0a0f9ecdb9e65a66cfc740d224c90d9a172558361abc180c1dc2e9522", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hgetall.ts": "64b7edc984a385ef64e046e4761e83dbfb460c310893b02e9ef7390a1ca30bd5", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hincrby.ts": "d112a0bf6de6ee49ef43053687f263b300cd6ff8da999299b423906ce9e06b3c", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hincrbyfloat.ts": "e22c06c24fbaa51849938e65e89daca9e77a95229154c1a99a9514124ad057ef", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hkeys.ts": "516edcd187a3d5387201db43adacfe029fe87d687224e46d3fa5694fd01c07ba", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hlen.ts": "2b1e8c671706e32f83246cf94e828e5e6d8c3c39373ce4c27fee41bc3b239bc1", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hmget.ts": "2ee9bfe03982411fb0b1f58be7332b44afe38906c3e9d90ac35ba2e0e14ac8ec", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hmset.ts": "c9388d874f8825be5b3f2c991b46686b942df35b6abd39bcdb2a829c6348f905", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hrandfield.ts": "1128cea1d732b99e8993a2ad472f654d77829e31de0f2fbd0143dfbe793a01f2", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hscan.ts": "5297cf93d7231494456fcd0318fbea916aa7338dc19d442a787426834390e5c0", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hset.ts": "ebb77f26c642ea9791402c08aaf8149e66f035122b971bcb07de403187e95291", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hsetnx.ts": "4e51c84029d748cd56374d02b6fadb58b372b6274723c89505454c874a4a764c", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hstrlen.ts": "9fd3e3ff9dda9fd1592f24c08e30224f905a76de057099d848dd1c5e7c3fdc3d", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/hvals.ts": "a8dc9595641af7aa9eabdeab2b4dc6d08ce6de28491c44d0154f547fbea0a212", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/incr.ts": "1cdbddd6d29bec792f0ba8f435cbdced660d7f23d87a444c850e5d4c400cc398", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/incrby.ts": "ccbaae06a96987ddeba48ac999e3274c63f37fc5d2ee8de4780c8845b3829a55", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/incrbyfloat.ts": "07e87c6ca61dfb5220df723f8f6d442a7b0878586bf765914f45998269432e5d", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_arrappend.ts": "8f5caf88bb2613cd8bb3ec68dd886972acffc43117dffcbc862d42f145ae19d6", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_arrindex.ts": "16b97c86cc34ab538604030c1b9230659527cb779ec26c2184d5d841b876abdc", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_arrinsert.ts": "726ab53b7a02ae9333492b313dece1e97fc851e47b9cec55959de2e822e8f3bd", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_arrlen.ts": "e28500e9f11b7d4973ae00ca5b1074b04c01783b566742f174099a830639fa90", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_arrpop.ts": "46e3106812588f025cd69826773910dca405a38866fe7a47d732b6cb0f912122", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_arrtrim.ts": "522f1e87e13c925defb199cb9cb4ec3fa1fc31ff46ab91a7ec8f036f7bf21e06", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_clear.ts": "8c2983461dca5c96533ab2c4f5e6806870c623e7ba398d3e450bd8f60a38bcbe", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_del.ts": "4c33d54ab872a7eb9280b10bd8d159b2e608c75beba78d9b04446b887fcb3e1e", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_forget.ts": "9169fdf0dc88ac7c6bbf47c111d4a8f6f23f5355928ed92fc8487932eaac116f", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_get.ts": "aa8cdd20b3817566fd1e35382832e0b9227d4295429a713726e82691e9d55de4", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_mget.ts": "1d04a88f54831f7da6b5b9dc29c85d96dc42006a7ee17df187e96a4efcd39566", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_numincrby.ts": "09a3382c075b91ddccfb8f127d126968db98a8d35a13f55e8b40e81f82724c27", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_nummultby.ts": "61073f851e7c0efd27a10fe248cd64599da138ca42343f4ada10e2c0266bb004", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_objkeys.ts": "dd02c4c8a5ce28a2b5d145b0b97e15e20ce0edafd081c8d39ef4ba54e098d952", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_objlen.ts": "ea8ed1ddcc62e6f6783b944dc0eb2824633d2c47640faf990ebb9883506fe728", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_resp.ts": "b1ffb9b8b72d478d5e7562a704e53fbfb9a6469ebfc7b4deed2a2ff6a148ecb2", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_set.ts": "92187349968f796273e671ce001a7b3e0905d65602d135f172a44dc071b4ea36", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_strappend.ts": "c97ba72a1fdf2d531e86c0ef5b1b0bdf5da83361df896c9be07163425e71005f", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_strlen.ts": "38710b0b0f16e895048154c908363c1aa99cfea1ab2249e2f1f4ce55fb2dfc20", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_toggle.ts": "95e58d17d3499fe624eff249610e30773e884e8fcc6949d67fdfe9d56e5d74f7", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/json_type.ts": "89cb90fd2c3b0685bb04e51dfd6ee00c967cbd4e6c292dba3c6568aeefa13460", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/keys.ts": "36dd4074c17d59b8913679d881f9ef0a9d64be5843b4ddcd9633f9c22f1ad5e3", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lindex.ts": "19fdf660c92984aff4c3e8c50f2b7a6b92430d6ba79822ecb8c21de534f4aafa", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/linsert.ts": "1792c369262f6145fbb99a91d047ce01a07dccad07962b4a4e34f4b818669ca9", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/llen.ts": "0c82404707e01288e1fd347a92b245b07cdb4f6d9f1ccdc653d61df78e493104", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lmove.ts": "1bda0e31af0c33341368ea8e2f463078ce6caeff7dcc044dac3531a96652d760", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lpop.ts": "36d61a02a1658ed86fc966d314afab3690b8e4275fdc6229694fc9c8def0313e", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lpos.ts": "62bf0b311b74f5284f00fe31e8374f6f3b9b4ec8a868309bbb7787c952251744", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lpush.ts": "77da2034c6f2143604cea38ea6cc1248564cb9d65b727f0b140ae51dea18088f", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lpushx.ts": "cc12838b65ec8940c52a6a1677baa49716a4246d70284cb2e5fd50f6896caa34", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lrange.ts": "05c3315fd9c5f587a66176e64ad73b627f2ac16e06fc680fd357cd1684c538f6", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lrem.ts": "17979b4b14d5f76f2f4165ab1f5fd5ea9ad57f8c537f0994b5306553f4955a10", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/lset.ts": "b4bf2d63090082a37b5f07f7b1a84e13315c286a90b673ac9877f97b94dc3af4", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/ltrim.ts": "645ed938098b8bdea5511edb10961fdd174b85876fb912f6dc5f01dca83721e0", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/mget.ts": "1c3d158b324528bf297df2e3569038d5ab3f2a2c5725c37fffe8e9f52aee0e40", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/mod.ts": "cb89037006af15e6bb1dec977b0535bd3a336609cadfc89979013e6932a76af1", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/mset.ts": "1bd2071ff2c1300469c5052fe22482a528e9486770adce358842f9e63631bbba", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/msetnx.ts": "c444321245e5e8380834646d032d819036f0cdfc4a4cf21e1f7ef13375994e37", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/persist.ts": "8b2084e4f463e35c6a73a95f62109c3c7e04771cf2ee5a7fbd0591f79bd220f6", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/pexpire.ts": "9671f8fc89d3a435adf51fefd1b3dec2c646399da11ddbe8a071c8967236c682", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/pexpireat.ts": "102acd28e00ade7cdaecd71cbffb9f3898973e0341ac9ae4e75baa8aa413e656", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/ping.ts": "c2a3bdacbdd2bbd67490e434f4ef705dd230d0ee1b7362491ee8fcf331c88d5e", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/psetex.ts": "3d5f50d81f18fedf2972b9faeefc955e770500102f6670616bcae72aeea7e6bc", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/pttl.ts": "1dc04eebde6a97fe3ab1fa5a21f70fbbf20d0587275b55c67d84176020f0c53a", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/publish.ts": "e736798115caf72cdf7bde9f4aad0a65bb1c63097956f9877b521df16aeac473", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/randomkey.ts": "ef02967dd2b2cfcfe9842850b840c4bd02af5ee1938d98d97ef8d751d0223f06", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/rename.ts": "57ea600f060cbf73220afcb413097e5b022315c991417602980a5907d696bec9", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/renamenx.ts": "63873b5add504aeb469df82bca2603d5077e12a9258ea43434047bd5daba763e", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/rpop.ts": "05f54a6f69a5b646b467bf6ecce6832807a586ba448ccf5b438b5c286dff3bc7", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/rpush.ts": "ccf283281faba2107a467121445edec7d117132b0899b6d4a4dd5079cf83d80a", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/rpushx.ts": "08d3ac8e377dd7792cb7a5591dea5d3464608ecabaa3760d8950f77fc60dbdd4", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sadd.ts": "8242a9d4e34e2f2fe7e6032e7eee5ced4c724aeb2597c5e431d568a6426a9ada", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/scan.ts": "d8eed51a34134190e90c3b77bfbf807cbb1080273ac1028f81beea5dadc2d6d8", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/scard.ts": "c0cd0a9560e729dde42c9370bedbbcabe8beb559dcdab37c712e990ad1ab6f47", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/script_exists.ts": "ec34a802ad8ccccecd149acbd5fce8e83299eb867b27a832ae32590dc877dc18", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/script_flush.ts": "c88cd9df52cc3e7f5039d5c2739b6d7137087407e1ad992513cd5794f69bc528", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/script_load.ts": "2bb0eddfe4c0a0d49efce6ed62318e9ee1482d8f31905b43c91981e2c02cf557", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sdiff.ts": "9caca14e5d21c2fca58b724735b69ac4c0ebafadbda4402bff5e78bf7ebdd97d", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sdiffstore.ts": "f02b0280dfc2671fa630cceacfddf8c4fd67d0577f9616e43f5ce538228e21db", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/set.ts": "10630826a4ec10d24b8ef867e3d817d671111b5999bac5df0683f26677b8070b", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/setbit.ts": "7e1dfa1f29e50412c742e862d560e953010212d3e0d6f1ff5f6829f111255ee6", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/setex.ts": "a4bb2007a6f6d43b1d207680e8cb40a9d1eedeff1188755a1a9937a510bad4e2", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/setnx.ts": "c4a0ae9ea88a3c9e3576863221cee1f5974c1e86f20701b0df7483b78d8dda1d", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/setrange.ts": "d5598d0e8f0d901d09293dc3cdd934827b07173d1b3617fafa5e9fb79dad19a5", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sinter.ts": "8e650a63534e9ecdf0b94e11666fe37e6e8b66184a7a96bfb7f25375b794899d", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sinterstore.ts": "60b04d306de90048c11f50851725d3398735ba918dfcb965e52546f174ba9b29", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sismember.ts": "dcaeb0422ef38d02793c3680950dafcbcf3a935130c9923b0bf62d80d7db604c", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/smembers.ts": "69ebcf8a4d384b0c15709e875e56ad3b8c61cf79034a8c30c88c0795a36ecf67", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/smismember.ts": "47457d5211e051f314eb16565b0ea15bb6341be497daaeaea2b5fb284cbb3b9d", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/smove.ts": "64d7c5b8d4d4f17cb10e0aa024b371dbe59c22f96248388bdc63411fbc093106", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/spop.ts": "96cdec492f2ad652c6eb50bf4f838aba1247c12dc641ca63aa1c7af9a1caa464", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/srandmember.ts": "e429f6f96e00f8cc19fbeed53cebe52740f0417d7b15ec2ed1f20a9ecb51c043", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/srem.ts": "0b3f22a1f68739aaec4e7eb24d4c4a0a21a20e76169abe5d12e8c414dc612203", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sscan.ts": "2d9980294af9e7533d071ac5cc681a4353be6f6d44a08f543eaba014fe6fb0d1", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/strlen.ts": "c4473211982ab1928be97a0508355c938d85c5e407eb50c031cf60222ed76748", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sunion.ts": "17288149935bb1d5d5ee2a573316f8548279b2f40fc489e21f0d7b67165b3de9", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/sunionstore.ts": "e1fd559d77ee55045f449a70c16b64d51a76c39dd91cca5acb08b3674804fd65", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/time.ts": "a9369529c7f90dad581399729756833e07aa021113c81e884728b1d88180c42b", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/touch.ts": "de30108091d443f1d839784068a24e23a31cfa2849bb2830ae880637cd6c6bee", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/ttl.ts": "59c6bb55279eeca818ded3b064a4468c207dc20a9bb1adf041a7641db25cf2bf", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/type.ts": "45f6a2cf5bef44067d85d399dbe996d519797dad91b125b592082adb0cd21346", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/unlink.ts": "8e4f798f269e1d90b09cd651e6bb7299d73ac0851b63d528bd1977415eae66a7", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zadd.ts": "81b17c7f0b640b8bcbb6151e5753ed1b8d56bafd13be171c608bafcfaa6e6041", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zcard.ts": "aabcb2807530ca78b4e5209d2d438ec5ed63b4a2024d6f62fe7cc5447816c2f2", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zcount.ts": "ad88591dcefc8bcaa24f32dbcfff35f82a61ccd36a562429b3ff8216ac754146", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zdiffstore.ts": "6007fb514e79593e3b37a7872a711849c3c4506419c908e9e12328568b243000", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zincrby.ts": "e58e72348f27cad636320a76a6461b6e7708c990027b8709b3a7ac84120617be", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zinterstore.ts": "6fb94390fb902e74dbc577a614d7e315e13d5c47309675b938fdb323f7cca06f", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zlexcount.ts": "ced0b60c255f81008ddb7a8ae75d55493035ac37050fba681e416e723c3ceadc", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zmscore.ts": "ac8162797d0d35f0a72651b3db953cfbb2f56cccc911d42934c8e7cd66d12d11", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zpopmax.ts": "3367e079bc3e07a0e6f7eda43ec52a1929e287a1e261cf5c63df32f275b9b567", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zpopmin.ts": "b8998941e29ebe7a5e9b2df43faabffe9126f7a3682debe34c92b2cb0190e6a3", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zrange.ts": "7a3d840525aa17bd7fc06062c6919a5affe3a36c240895dcd22f96b7884774c5", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zrank.ts": "a5010f33b3b18f6d28fda1b45275840f11b31d162e8ffca5cb60785fc15c9b38", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zrem.ts": "d5fa92243158fe1c0ddd161d7aef7c4fab3d6d2180dc6e478d8a423aac0078da", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zremrangebylex.ts": "0c023863bd770f842150ea3218b391e9317c1edcd3ebb22a610fbcb71797aa81", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zremrangebyrank.ts": "44a08191c50edd38d83e025a83cea4ac8e240981aa7a7e24f9a2931f5a380d6c", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zremrangebyscore.ts": "20d5c9f19b2bd67b84790ebb83092541318b16701623d9787c60f24db92b71ff", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zrevrank.ts": "55a50470a8c089e61325d16a8cd42ea376c1fb4857df5ea4b1a2d8fb5e328a32", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zscan.ts": "eab7069ba31cb8b24df3db139b4f8899af0342ea43327463608ef4e92cd06fdf", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zscore.ts": "1977f586cbc9374dda8d4ad790c7b3c0a34cbde6d91cf6a7e5b064ed030a77ad", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/commands/zunionstore.ts": "67393ede82edfe0708ad9f2eb8ef78a1e3099ee7365f9925ce22097e465452cb", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/error.ts": "17c357eab8dca7700286355581e395d64f454bd5c478444f12be273d8a3e5ffe", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/http.ts": "d8eec68aecc4225f36ad68c59d1d07e7749e54943b43e57e0c9c4ca79c6d1f51", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/pipeline.ts": "8d87a2bf56fab3b52e132e96488ab13f290f7f8d02b4c32ba6db96d7529bb0b5", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/redis.ts": "c67c2a47590a54f0f1c7681a15194fc56aeca0f32ef4e8d3ed1eaaefe3e6df1f", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/script.ts": "4f7510a8511b9cc4fe63d8c14e381bd753cc2b296d88904c6c0e1bb950b31a4e", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/types.ts": "ec63152f10f9eb7ac103ec013b30b7967865b4facfbf59d776ede723f9b876e3", + "https://deno.land/x/upstash_redis@v1.20.1/pkg/util.ts": "bda4f5eb90ff82d2443ec8908a376079a44af328ee64390d2e5ee7687a171556", + "https://deno.land/x/upstash_redis@v1.20.1/version.ts": "fb553d493437bc431a81483e2940d14fc1a31e476128ef89e1e77db317ea4baf", "https://deno.land/x/wait@0.1.12/deps.ts": "5e26f3a59058cd8870ff0168340a1808c13fef289940ecc8c96e46a89a17514d", "https://deno.land/x/wait@0.1.12/log_symbols.ts": "cdf2d0aa44754d10fddd55999e933886a4d753f2acfc1219f629427ccc776ac7", "https://deno.land/x/wait@0.1.12/mod.ts": "83211441439cd0f794f4e95fbb6c766929dd6886169100d3bdf2ea1ea5e3adfe", "https://deno.land/x/wait@0.1.12/spinners.ts": "289346d54f8d6152a5dcd67b67e47784cf9b7a8a8f6f0b6dc041ebc2ef6bb76c", + "https://denopkg.com/chiefbiiko/std-encoding@v1.0.0/mod.ts": "4a927e5cd1d9b080d72881eb285b3b94edb6dadc1828aeb194117645f4481ac0", "https://esm.sh/esbuild-wasm@0.17.11": "c2ba7b80197986f2e8a5d65510368e997b60b818efd42ff848c7dcb7e6941d45", "https://esm.sh/resolve.exports@2.0.0": "3e724ab7d354595d2f64840b1ea7e959f1ee77e9e246306e36a3e32097bed330", "https://esm.sh/resolve.exports@2.0.1": "7c0611e1c21644b4d076ccf4b9f04a5b47b1c59d30aff7bd719e4daaa0e286af", @@ -116,6 +284,7 @@ "esbuild": "esbuild@0.17.11", "esbuild-wasm": "esbuild-wasm@0.17.11", "esbuild-wasm@^0.17.11": "esbuild-wasm@0.17.11", + "octokit": "octokit@2.0.14_@octokit+core@4.2.0", "pnpm@^7.28.0": "pnpm@7.28.0", "resolve.exports": "resolve.exports@2.0.0", "text-encoding-shim@^1.0.5": "text-encoding-shim@1.0.5", @@ -584,10 +753,229 @@ "fastq": "fastq@1.15.0" } }, + "@octokit/app@13.1.2_@octokit+core@4.2.0": { + "integrity": "sha512-Kf+h5sa1SOI33hFsuHvTsWj1jUrjp1x4MuiJBq7U/NicfEGa6nArPUoDnyfP/YTmcQ5cQ5yvOgoIBkbwPg6kzQ==", + "dependencies": { + "@octokit/auth-app": "@octokit/auth-app@4.0.9", + "@octokit/auth-unauthenticated": "@octokit/auth-unauthenticated@3.0.4", + "@octokit/core": "@octokit/core@4.2.0", + "@octokit/oauth-app": "@octokit/oauth-app@4.2.0", + "@octokit/plugin-paginate-rest": "@octokit/plugin-paginate-rest@6.0.0_@octokit+core@4.2.0", + "@octokit/types": "@octokit/types@9.0.0", + "@octokit/webhooks": "@octokit/webhooks@10.7.0" + } + }, + "@octokit/auth-app@4.0.9": { + "integrity": "sha512-VFpKIXhHO+kVJtane5cEvdYPtjDKCOI0uKsRrsZfJP+uEu7rcPbQCLCcRKgyT+mUIzGr1IIOmwP/lFqSip1dXA==", + "dependencies": { + "@octokit/auth-oauth-app": "@octokit/auth-oauth-app@5.0.5", + "@octokit/auth-oauth-user": "@octokit/auth-oauth-user@2.1.1", + "@octokit/request": "@octokit/request@6.2.3", + "@octokit/request-error": "@octokit/request-error@3.0.3", + "@octokit/types": "@octokit/types@9.0.0", + "@types/lru-cache": "@types/lru-cache@5.1.1", + "deprecation": "deprecation@2.3.1", + "lru-cache": "lru-cache@6.0.0", + "universal-github-app-jwt": "universal-github-app-jwt@1.1.1", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/auth-oauth-app@5.0.5": { + "integrity": "sha512-UPX1su6XpseaeLVCi78s9droxpGtBWIgz9XhXAx9VXabksoF0MyI5vaa1zo1njyYt6VaAjFisC2A2Wchcu2WmQ==", + "dependencies": { + "@octokit/auth-oauth-device": "@octokit/auth-oauth-device@4.0.4", + "@octokit/auth-oauth-user": "@octokit/auth-oauth-user@2.1.1", + "@octokit/request": "@octokit/request@6.2.3", + "@octokit/types": "@octokit/types@9.0.0", + "@types/btoa-lite": "@types/btoa-lite@1.0.0", + "btoa-lite": "btoa-lite@1.0.0", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/auth-oauth-device@4.0.4": { + "integrity": "sha512-Xl85BZYfqCMv+Uvz33nVVUjE7I/PVySNaK6dRRqlkvYcArSr9vRcZC9KVjXYObGRTCN6mISeYdakAZvWEN4+Jw==", + "dependencies": { + "@octokit/oauth-methods": "@octokit/oauth-methods@2.0.5", + "@octokit/request": "@octokit/request@6.2.3", + "@octokit/types": "@octokit/types@9.0.0", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/auth-oauth-user@2.1.1": { + "integrity": "sha512-JgqnNNPf9CaWLxWm9uh2WgxcaVYhxBR09NVIPTiMU2dVZ3FObOHs3njBiLNw+zq84k+rEdm5Y7AsiASrZ84Apg==", + "dependencies": { + "@octokit/auth-oauth-device": "@octokit/auth-oauth-device@4.0.4", + "@octokit/oauth-methods": "@octokit/oauth-methods@2.0.5", + "@octokit/request": "@octokit/request@6.2.3", + "@octokit/types": "@octokit/types@9.0.0", + "btoa-lite": "btoa-lite@1.0.0", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/auth-token@3.0.3": { + "integrity": "sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA==", + "dependencies": { "@octokit/types": "@octokit/types@9.0.0" } + }, + "@octokit/auth-unauthenticated@3.0.4": { + "integrity": "sha512-AT74XGBylcLr4lmUp1s6mjSUgphGdlse21Qjtv5DzpX1YOl5FXKwvNcZWESdhyBbpDT8VkVyLFqa/7a7eqpPNw==", + "dependencies": { + "@octokit/request-error": "@octokit/request-error@3.0.3", + "@octokit/types": "@octokit/types@9.0.0" + } + }, + "@octokit/core@4.2.0": { + "integrity": "sha512-AgvDRUg3COpR82P7PBdGZF/NNqGmtMq2NiPqeSsDIeCfYFOZ9gddqWNQHnFdEUf+YwOj4aZYmJnlPp7OXmDIDg==", + "dependencies": { + "@octokit/auth-token": "@octokit/auth-token@3.0.3", + "@octokit/graphql": "@octokit/graphql@5.0.5", + "@octokit/request": "@octokit/request@6.2.3", + "@octokit/request-error": "@octokit/request-error@3.0.3", + "@octokit/types": "@octokit/types@9.0.0", + "before-after-hook": "before-after-hook@2.2.3", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/endpoint@7.0.5": { + "integrity": "sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA==", + "dependencies": { + "@octokit/types": "@octokit/types@9.0.0", + "is-plain-object": "is-plain-object@5.0.0", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/graphql@5.0.5": { + "integrity": "sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ==", + "dependencies": { + "@octokit/request": "@octokit/request@6.2.3", + "@octokit/types": "@octokit/types@9.0.0", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/oauth-app@4.2.0": { + "integrity": "sha512-gyGclT77RQMkVUEW3YBeAKY+LBSc5u3eC9Wn/Uwt3WhuKuu9mrV18EnNpDqmeNll+mdV02yyBROU29Tlili6gg==", + "dependencies": { + "@octokit/auth-oauth-app": "@octokit/auth-oauth-app@5.0.5", + "@octokit/auth-oauth-user": "@octokit/auth-oauth-user@2.1.1", + "@octokit/auth-unauthenticated": "@octokit/auth-unauthenticated@3.0.4", + "@octokit/core": "@octokit/core@4.2.0", + "@octokit/oauth-authorization-url": "@octokit/oauth-authorization-url@5.0.0", + "@octokit/oauth-methods": "@octokit/oauth-methods@2.0.5", + "@types/aws-lambda": "@types/aws-lambda@8.10.111", + "fromentries": "fromentries@1.3.2", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/oauth-authorization-url@5.0.0": { + "integrity": "sha512-y1WhN+ERDZTh0qZ4SR+zotgsQUE1ysKnvBt1hvDRB2WRzYtVKQjn97HEPzoehh66Fj9LwNdlZh+p6TJatT0zzg==", + "dependencies": {} + }, + "@octokit/oauth-methods@2.0.5": { + "integrity": "sha512-yQP6B5gE3axNxuM3U9KqWs/ErAQ+WLPaPgC/7EjsZsQibkf8sjdAfF8/y/EJW+Dd05XQvadX4WhQZPMnO1SE1A==", + "dependencies": { + "@octokit/oauth-authorization-url": "@octokit/oauth-authorization-url@5.0.0", + "@octokit/request": "@octokit/request@6.2.3", + "@octokit/request-error": "@octokit/request-error@3.0.3", + "@octokit/types": "@octokit/types@9.0.0", + "btoa-lite": "btoa-lite@1.0.0" + } + }, + "@octokit/openapi-types@16.0.0": { + "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==", + "dependencies": {} + }, + "@octokit/plugin-paginate-rest@6.0.0_@octokit+core@4.2.0": { + "integrity": "sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw==", + "dependencies": { + "@octokit/core": "@octokit/core@4.2.0", + "@octokit/types": "@octokit/types@9.0.0" + } + }, + "@octokit/plugin-rest-endpoint-methods@7.0.1_@octokit+core@4.2.0": { + "integrity": "sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA==", + "dependencies": { + "@octokit/core": "@octokit/core@4.2.0", + "@octokit/types": "@octokit/types@9.0.0", + "deprecation": "deprecation@2.3.1" + } + }, + "@octokit/plugin-retry@4.1.3_@octokit+core@4.2.0": { + "integrity": "sha512-3YKBj7d0J/4mpEc4xzMociWsMNl5lZqrpAnYcW6mqiSGF3wFjU+c6GHih6GLClk31JNvKDr0x9jc5cfm7evkZg==", + "dependencies": { + "@octokit/core": "@octokit/core@4.2.0", + "@octokit/types": "@octokit/types@9.0.0", + "bottleneck": "bottleneck@2.19.5" + } + }, + "@octokit/plugin-throttling@5.0.1_@octokit+core@4.2.0": { + "integrity": "sha512-I4qxs7wYvYlFuY3PAUGWAVPhFXG3RwnvTiSr5Fu/Auz7bYhDLnzS2MjwV8nGLq/FPrWwYiweeZrI5yjs1YG4tQ==", + "dependencies": { + "@octokit/core": "@octokit/core@4.2.0", + "@octokit/types": "@octokit/types@9.0.0", + "bottleneck": "bottleneck@2.19.5" + } + }, + "@octokit/request-error@3.0.3": { + "integrity": "sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==", + "dependencies": { + "@octokit/types": "@octokit/types@9.0.0", + "deprecation": "deprecation@2.3.1", + "once": "once@1.4.0" + } + }, + "@octokit/request@6.2.3": { + "integrity": "sha512-TNAodj5yNzrrZ/VxP+H5HiYaZep0H3GU0O7PaF+fhDrt8FPrnkei9Aal/txsN/1P7V3CPiThG0tIvpPDYUsyAA==", + "dependencies": { + "@octokit/endpoint": "@octokit/endpoint@7.0.5", + "@octokit/request-error": "@octokit/request-error@3.0.3", + "@octokit/types": "@octokit/types@9.0.0", + "is-plain-object": "is-plain-object@5.0.0", + "node-fetch": "node-fetch@2.6.9", + "universal-user-agent": "universal-user-agent@6.0.0" + } + }, + "@octokit/types@9.0.0": { + "integrity": "sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw==", + "dependencies": { + "@octokit/openapi-types": "@octokit/openapi-types@16.0.0" + } + }, + "@octokit/webhooks-methods@3.0.2": { + "integrity": "sha512-Vlnv5WBscf07tyAvfDbp7pTkMZUwk7z7VwEF32x6HqI+55QRwBTcT+D7DDjZXtad/1dU9E32x0HmtDlF9VIRaQ==", + "dependencies": {} + }, + "@octokit/webhooks-types@6.10.0": { + "integrity": "sha512-lDNv83BeEyxxukdQ0UttiUXawk9+6DkdjjFtm2GFED+24IQhTVaoSbwV9vWWKONyGLzRmCQqZmoEWkDhkEmPlw==", + "dependencies": {} + }, + "@octokit/webhooks@10.7.0": { + "integrity": "sha512-zZBbQMpXXnK/ki/utrFG/TuWv9545XCSLibfDTxrYqR1PmU6zel02ebTOrA7t5XIGHzlEOc/NgISUIBUe7pMFA==", + "dependencies": { + "@octokit/request-error": "@octokit/request-error@3.0.3", + "@octokit/webhooks-methods": "@octokit/webhooks-methods@3.0.2", + "@octokit/webhooks-types": "@octokit/webhooks-types@6.10.0", + "aggregate-error": "aggregate-error@3.1.0" + } + }, + "@types/aws-lambda@8.10.111": { + "integrity": "sha512-8HR9UjIKmoemEzE2BviVtFkeenxfbizSu8raFjnT2VXxguZZ2JTlNww7INOH7IA0J/zRa3TjOftkYq6hVNkxDA==", + "dependencies": {} + }, "@types/better-sqlite3@7.6.3": { "integrity": "sha512-YS64N9SNDT/NAvou3QNdzAu3E2om/W/0dhORimtPGLef+zSK5l1vDzfsWb4xgXOgfhtOI5ZDTRxnvRPb22AIVQ==", "dependencies": { "@types/node": "@types/node@18.14.6" } }, + "@types/btoa-lite@1.0.0": { + "integrity": "sha512-wJsiX1tosQ+J5+bY5LrSahHxr2wT+uME5UDwdN1kg4frt40euqA+wzECkmq4t5QbveHiJepfdThgQrPw6KiSlg==", + "dependencies": {} + }, + "@types/jsonwebtoken@9.0.1": { + "integrity": "sha512-c5ltxazpWabia/4UzhIoaDcIza4KViOQhdbjRlfcIGVnsE3c3brkz9Z+F/EeJIECOQP7W7US2hNE930cWWkPiw==", + "dependencies": { "@types/node": "@types/node@18.14.6" } + }, + "@types/lru-cache@5.1.1": { + "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==", + "dependencies": {} + }, "@types/minimist@1.2.2": { "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", "dependencies": {} @@ -604,6 +992,13 @@ "integrity": "sha512-TgfOX+mGY/NyNxJLIbDWrO9DjGoVSW9+aB8H2yy1fy32jsvxijhmyJI9fDFgvz3YP4lvJaq9DzdR/M1bOgVc9g==", "dependencies": {} }, + "aggregate-error@3.1.0": { + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dependencies": { + "clean-stack": "clean-stack@2.2.0", + "indent-string": "indent-string@4.0.0" + } + }, "aggregate-error@4.0.1": { "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", "dependencies": { @@ -638,6 +1033,10 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dependencies": {} }, + "before-after-hook@2.2.3": { + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", + "dependencies": {} + }, "binary-extensions@2.2.0": { "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dependencies": {} @@ -646,6 +1045,10 @@ "integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==", "dependencies": {} }, + "bottleneck@2.19.5": { + "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", + "dependencies": {} + }, "brace-expansion@1.1.11": { "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dependencies": { @@ -657,6 +1060,14 @@ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dependencies": { "fill-range": "fill-range@7.0.1" } }, + "btoa-lite@1.0.0": { + "integrity": "sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA==", + "dependencies": {} + }, + "buffer-equal-constant-time@1.0.1": { + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "dependencies": {} + }, "buffer-from@1.1.2": { "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dependencies": {} @@ -703,6 +1114,10 @@ "readdirp": "readdirp@3.6.0" } }, + "clean-stack@2.2.0": { + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dependencies": {} + }, "clean-stack@4.2.0": { "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", "dependencies": { "escape-string-regexp": "escape-string-regexp@5.0.0" } @@ -767,6 +1182,10 @@ "slash": "slash@4.0.0" } }, + "deprecation@2.3.1": { + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", + "dependencies": {} + }, "dir-glob@3.0.1": { "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dependencies": { "path-type": "path-type@4.0.0" } @@ -775,6 +1194,10 @@ "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", "dependencies": {} }, + "ecdsa-sig-formatter@1.0.11": { + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { "safe-buffer": "safe-buffer@5.2.1" } + }, "entities@2.2.0": { "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", "dependencies": {} @@ -927,6 +1350,10 @@ "path-exists": "path-exists@4.0.0" } }, + "fromentries@1.3.2": { + "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", + "dependencies": {} + }, "fs-extra@10.1.0": { "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dependencies": { @@ -1023,6 +1450,10 @@ "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dependencies": {} }, + "indent-string@4.0.0": { + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dependencies": {} + }, "indent-string@5.0.0": { "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", "dependencies": {} @@ -1071,6 +1502,10 @@ "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", "dependencies": {} }, + "is-plain-object@5.0.0": { + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dependencies": {} + }, "is-stream@3.0.0": { "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dependencies": {} @@ -1094,6 +1529,30 @@ "universalify": "universalify@2.0.0" } }, + "jsonwebtoken@9.0.0": { + "integrity": "sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==", + "dependencies": { + "jws": "jws@3.2.2", + "lodash": "lodash@4.17.21", + "ms": "ms@2.1.3", + "semver": "semver@7.3.8" + } + }, + "jwa@1.4.1": { + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "buffer-equal-constant-time@1.0.1", + "ecdsa-sig-formatter": "ecdsa-sig-formatter@1.0.11", + "safe-buffer": "safe-buffer@5.2.1" + } + }, + "jws@3.2.2": { + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "jwa@1.4.1", + "safe-buffer": "safe-buffer@5.2.1" + } + }, "kind-of@6.0.3": { "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dependencies": {} @@ -1110,6 +1569,10 @@ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dependencies": { "p-locate": "p-locate@5.0.0" } }, + "lodash@4.17.21": { + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dependencies": {} + }, "lru-cache@6.0.0": { "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dependencies": { "yallist": "yallist@4.0.0" } @@ -1208,6 +1671,10 @@ "kind-of": "kind-of@6.0.3" } }, + "ms@2.1.3": { + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dependencies": {} + }, "mustache@4.2.0": { "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", "dependencies": {} @@ -1216,6 +1683,10 @@ "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "dependencies": {} }, + "node-fetch@2.6.9": { + "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", + "dependencies": { "whatwg-url": "whatwg-url@5.0.0" } + }, "node-forge@1.3.1": { "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", "dependencies": {} @@ -1246,6 +1717,19 @@ "validate-npm-package-name": "validate-npm-package-name@4.0.0" } }, + "octokit@2.0.14_@octokit+core@4.2.0": { + "integrity": "sha512-z6cgZBFxirpFEQ1La8Lg83GCs5hOV2EPpkYYdjsGNbfQMv8qUGjq294MiRBCbZqLufviakGsPUxaNKe3JrPmsA==", + "dependencies": { + "@octokit/app": "@octokit/app@13.1.2_@octokit+core@4.2.0", + "@octokit/core": "@octokit/core@4.2.0", + "@octokit/oauth-app": "@octokit/oauth-app@4.2.0", + "@octokit/plugin-paginate-rest": "@octokit/plugin-paginate-rest@6.0.0_@octokit+core@4.2.0", + "@octokit/plugin-rest-endpoint-methods": "@octokit/plugin-rest-endpoint-methods@7.0.1_@octokit+core@4.2.0", + "@octokit/plugin-retry": "@octokit/plugin-retry@4.1.3_@octokit+core@4.2.0", + "@octokit/plugin-throttling": "@octokit/plugin-throttling@5.0.1_@octokit+core@4.2.0", + "@octokit/types": "@octokit/types@9.0.0" + } + }, "once@1.4.0": { "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dependencies": { "wrappy": "wrappy@1.0.2" } @@ -1407,6 +1891,10 @@ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "dependencies": { "queue-microtask": "queue-microtask@1.2.3" } }, + "safe-buffer@5.2.1": { + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dependencies": {} + }, "selfsigned@2.1.1": { "integrity": "sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==", "dependencies": { "node-forge": "node-forge@1.3.1" } @@ -1520,6 +2008,10 @@ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dependencies": { "is-number": "is-number@7.0.0" } }, + "tr46@0.0.3": { + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dependencies": {} + }, "trim-newlines@4.0.2": { "integrity": "sha512-GJtWyq9InR/2HRiLZgpIKv+ufIKrVrvjQWEj7PxAXNc5dwbNJkqhAUoAGgzRmULAnoOM5EIpveYd3J2VeSAIew==", "dependencies": {} @@ -1536,6 +2028,17 @@ "integrity": "sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==", "dependencies": { "busboy": "busboy@1.6.0" } }, + "universal-github-app-jwt@1.1.1": { + "integrity": "sha512-G33RTLrIBMFmlDV4u4CBF7dh71eWwykck4XgaxaIVeZKOYZRAAxvcGMRFTUclVY6xoUPQvO4Ne5wKGxYm/Yy9w==", + "dependencies": { + "@types/jsonwebtoken": "@types/jsonwebtoken@9.0.1", + "jsonwebtoken": "jsonwebtoken@9.0.0" + } + }, + "universal-user-agent@6.0.0": { + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dependencies": {} + }, "universalify@2.0.0": { "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "dependencies": {} @@ -1573,6 +2076,17 @@ "rollup": "rollup@3.18.0" } }, + "webidl-conversions@3.0.1": { + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dependencies": {} + }, + "whatwg-url@5.0.0": { + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "tr46@0.0.3", + "webidl-conversions": "webidl-conversions@3.0.1" + } + }, "which@2.0.2": { "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dependencies": { "isexe": "isexe@2.0.0" } diff --git a/packages/edge/deno.ts b/packages/edge/deno.ts deleted file mode 100644 index 2e5f277..0000000 --- a/packages/edge/deno.ts +++ /dev/null @@ -1,144 +0,0 @@ -#!/usr/bin/env -S deno run --unstable -A --config deno.jsonc -import { serve } from "https://deno.land/std/http/server.ts"; - -// @ts-ignore Workers are undefined -const worker = globalThis?.Worker; -// @ts-ignore Workers are undefined -globalThis.Worker = worker ?? class { - constructor() {} -}; - -import type { BuildConfig, CompressConfig } from "@bundlejs/core"; -import { build, setFile, deepAssign, useFileSystem, createConfig, compress, lzstring } from "@bundlejs/core/src/index.ts"; -import ESBUILD_WASM from "@bundlejs/core/src/wasm.ts"; - -import { createNotice } from "@bundlejs/core/src/utils/create-notice.ts"; -import { parseShareURLQuery, parseConfig } from "./src/_parse-query.ts"; -import styleText from "./style.ts"; - -const FileSystem = useFileSystem(); -const timeFormatter = new Intl.RelativeTimeFormat("en", { - style: "narrow", - numeric: "auto", -}); - -const inputModelResetValue = [ - 'export * from "@okikio/animate";' -].join("\n"); - -let WASM_MODULE: Uint8Array = await ESBUILD_WASM(); -let wasmModule: WebAssembly.Module = new WebAssembly.Module(WASM_MODULE); -serve(async (req: Request) => { - try { - const fs = await FileSystem; - const start = performance.now(); - - const url = new URL(req.url); - console.log(url.href) - - if (url.pathname === "/favicon.ico") - return Response.redirect("https://bundlejs.com/favicon/favicon.ico"); - - const initialValue = parseShareURLQuery(url) || inputModelResetValue; - const { init: _, entryPoints: _2, ascii: _3, ...initialConfig } = parseConfig(url) || {}; - - setFile(fs, "/index.tsx", initialValue); - - const metafileQuery = url.searchParams.has("metafile"); - const analysisQuery = url.searchParams.has("analysis"); - - const enableMetafile = analysisQuery || - metafileQuery || - Boolean(initialConfig?.analysis); - - const polyfillQuery = url.searchParams.has("polyfill"); - - const configObj: BuildConfig & { compression?: CompressConfig } = deepAssign({ - polyfill: polyfillQuery, - compression: createConfig("compress", initialConfig.compression), - }, initialConfig, { - entryPoints: ["/index.tsx"], - esbuild: enableMetafile ? { - metafile: enableMetafile - } : {}, - init: { - platform: "deno-wasm", - worker: false, - wasmModule - }, - } as BuildConfig); - console.log({ configObj }) - - if (!WASM_MODULE) WASM_MODULE = await ESBUILD_WASM(); - if (!wasmModule) wasmModule = new WebAssembly.Module(WASM_MODULE); - const result = await build(configObj, FileSystem); - const end = performance.now(); - - const headers = Object.entries({ - "Access-Control-Allow-Origin": "*", - "Access-Control-Allow-Methods": "GET" - }) - - let resultText = ""; - const { content: _content, ...size } = await compress( - result.contents.map((x: { contents: Uint8Array; path: string; text: string }) => { - if (x.path === "/index.js") { - resultText = x.text; - } - - return x.contents; - }), - configObj.compression - ); - - const { init: _init, ...printableConfig } = createConfig("build", configObj); - const duration = (end - start); - - const compressedResult = lzstring.compressToBase64(resultText || result.contents[0].text); - return new Response(JSON.stringify({ - query: decodeURIComponent(url.search), - rawQuery: encodeURIComponent(url.search), - config: printableConfig, - input: initialValue, - size, - time: timeFormatter.format(duration / 1000, "seconds"), - rawTime: duration, - file: compressedResult, - ...(result?.warnings?.length > 0 ? { warnings: [...await createNotice(result.warnings, "warning", false)] } : {}), - ...(metafileQuery && result?.metafile ? { metafile: result?.metafile } : {}) - }), { - status: 200, - headers: [ - ...headers, - ['Cache-Control', 'max-age=30, s-maxage=30, public'], - ['Content-Type', 'application/json'] - ], - }) - } catch (e) { - if ("msgs" in e) { - try { - // console.log("Reached error", styleText) - return new Response([ - ``, - `
${e.msgs.join("\n")}
` - ].join(""), - { - status: 404, - headers: [ - ['Content-Type', 'text/html'] - ] - } - ) - } catch (e) { - console.warn({ msgsError: e }) - } - } - - console.error(e) - - return new Response( - JSON.stringify({ error: e.toString() }), - { status: 400, } - ) - } -}); \ No newline at end of file diff --git a/packages/edge/dts.tsconfig.json b/packages/edge/dts.tsconfig.json deleted file mode 100644 index ffa5bdc..0000000 --- a/packages/edge/dts.tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "declaration": true, - "emitDeclarationOnly": true, - "declarationDir": "./@types" - }, - "includes": [ - "src/**/*" - ], - "exclude": [ - "node_modules", - "tests/**/*", - "@types/**/*", - "lib/**/*", - "scripts/*", - "*.ts" - ] -} \ No newline at end of file diff --git a/packages/edge/generate-result.ts b/packages/edge/generate-result.ts new file mode 100644 index 0000000..95c4212 --- /dev/null +++ b/packages/edge/generate-result.ts @@ -0,0 +1,128 @@ +import type { Redis } from "https://deno.land/x/upstash_redis/mod.ts"; +import type { BundleResult } from "./bundle.ts"; +import { getFile } from "./gist.ts"; +import { headers } from "./mod.ts"; + +export const timeFormatter = new Intl.RelativeTimeFormat("en", { + style: "narrow", + numeric: "auto", +}) + +export const docs = { + examples: [ + "(new) /?badge or /?badge=detailed", + "(new) /?badge-style=for-the-badge", + "(new) /?file", + "(new) /?metafile", + "(new) /?polyfill", + `/?q=(import)@okikio/emitter,(import)@okikio/animate,(import)@okikio/animate,(import)@okikio/animate,(import)@okikio/animate,@okikio/animate,typescript@beta,vue,react`, + `/?treeshake=[T],[{ animate }],[{ animate as B }],[* as TR],[{ type animate }],[*],[*],[*],[*]`, + `/?text="export * as PR18 from \"@okikio/animate\";\nexport { animate as animate2 } from \"@okikio/animate\";"`, + `/?share=MYewdgziA2CmB00QHMAUAiAwiG6CUQA`, + `/?config={"cdn":"skypack","compression":"brotli","esbuild":{"format":"cjs","minify":false,"treeShaking":false}}`, + ], + docs: [ + `(new) /?badge - Generates a badge (if you want more details, set \`?badge=detailed\` you will get the uncompressed size and the mobules being bundled listed)`, + `(new) /?badge-style - Various badge styles supported by http://shields.io (https://shields.io/#:~:text=PREFIX%3E%26suffix%3D%3CSUFFIX%3E-,Styles,-The%20following%20styles)`, + `(new) /?file - Resulting bundled code(you can actually import this into your javascript file and start using it https://stackblitz.com/edit/vitejs-vite-iquaht?file=src%2Fmain.ts&terminal=dev)`, + `(new) /?metafile - Esbuild bundle metafile which can be used w / https://esbuild.github.io/analyze/ (hoping to have this built-in in the future)`, + `(new) /?polyfill - Polyfill Node built-ins`, + `/?q or /?query - Represents the module, e.g. react, vue, etc... You can add (import) in-front of a specific module to make it an import instead of an export`, + `/?treeshake - Represents the export/imports to treeshake. The treeshake syntax allows for specifying multiple exports per package (check the example above). The square brackets represent seperate packages, and everything inside the square brackets, are the exported methods, types, etc...`, + `/?text - Represents the input code as a string (it's meant for short strings, we recommend using \`/?share\` for longer strings)`, + `/?share - Represents \`compressed\` string version of the input code (it's used for large input code)`, + `/?config - Represents the configurations to use when building the bundle (the docs cover the config in detail https://blog.okikio.dev/documenting-an-online-bundler-bundlejs#heading-configuration)`, + ], +} + +export async function generateResult(jsonKey: string, badgeKey: string, value: BundleResult, url: URL, redis: Redis, cached: boolean, duration: number) { + const metafileQuery = url.searchParams.has("metafile"); + const fileQuery = url.searchParams.has("file"); + const badgeQuery = url.searchParams.has("badge"); + const badgeResult = url.searchParams.get("badge"); + const badgeStyle = url.searchParams.get("badge-style"); + + if (badgeQuery) { + const { size } = value as { + size: { + "type": string, + "rawUncompressedSize": number, + "uncompressedSize": string, + "rawCompressedSize": number, + "compressedSize": string, + "size": string + } + }; + const detailedBadge = badgeResult?.includes("detail"); + const urlQuery = encodeURIComponent(`https://bundlejs.com/${url.search}`); + const query = url.searchParams.get("q") ?? "@okikio/animate"; + const detailBadgeText = detailedBadge ? + `${encodeURIComponent(`${size.uncompressedSize} `)}-->${encodeURIComponent(` `)}` : + ""; + const detailBadgeName = `bundlejs${detailedBadge ? encodeURIComponent(` (${query})`) : ""}`; + const imgUrl = new URL( + `https://img.shields.io/badge/${detailBadgeName}-${detailBadgeText}${encodeURIComponent(`${size.compressedSize} (gzip)`) + }-blue?link=${urlQuery}` + ); + if (badgeStyle) { + imgUrl.searchParams.append("style", badgeStyle); + } + + const imgShield = await fetch(imgUrl).then(res => res.text()); + await redis.set(badgeKey, imgShield, { ex: 7200 }) + + return new Response(imgShield, { + status: 200, + headers: [ + ...headers, + ['Cache-Control', 'max-age=30, s-maxage=30, public'], + ['Content-Type', 'image/svg+xml'] + ], + }) + } + + if (fileQuery) { + const { fileId, rawFile } = value; + const fileResult = fileId ? await getFile(fileId) ?? "" : rawFile + return new Response(fileResult, { + status: 200, + headers: [ + ...headers, + ['Cache-Control', 'max-age=30, s-maxage=30, public'], + ['Content-Type', 'text/javascript'] + ], + }) + } + + if (metafileQuery && value.metafile) { + return new Response(JSON.stringify(value.metafile), { + status: 200, + headers: [ + ...headers, + ['Cache-Control', 'max-age=30, s-maxage=30, public'], + ['Content-Type', 'application/json'] + ], + }) + } + + const { rawFile: _rawFile, metafile: _metafile, ...usefulInfo } = value; + const finalResult = { + ...usefulInfo, + ...docs, + ...( + cached ? { + time: timeFormatter.format(duration / 1000, "seconds"), + rawTime: duration + } : {} + ) + }; + + return new Response(JSON.stringify(finalResult), { + status: 200, + headers: [ + ...headers, + ['Cache-Control', 'max-age=30, s-maxage=30, public'], + ['Content-Type', 'application/json'] + ], + }) +} \ No newline at end of file diff --git a/packages/edge/gist.ts b/packages/edge/gist.ts new file mode 100644 index 0000000..e55258b --- /dev/null +++ b/packages/edge/gist.ts @@ -0,0 +1,87 @@ +import { Octokit } from "npm:octokit"; + +export const octokit = new Octokit({ + auth: Deno.env.get('GITHUB_AUTH_TOKEN') +}) + +export const BUNDLE_FILE_PATH = "index.js"; +export async function setFile(url: string, text: string) { + const newUrl = new URL(url); + newUrl.hostname = "deno.bundlejs.dev"; + + console.log({ url, text }) + return ( + await octokit.request('POST /gists', { + description: `Result of ${newUrl.href}`, + 'public': true, + files: { + 'README.md': { + content: `Hey 👋, this is a gist which stores the final bundle results of the bundlejs api, learn more on the website https://bundlejs.com. This is the result of ${newUrl.href}.` + }, + [BUNDLE_FILE_PATH]: { + content: text + } + }, + headers: { + 'X-GitHub-Api-Version': '2022-11-28' + } + }) + ).data.id +} + +export async function listFiles(page = 0) { + return ( + await octokit.request('GET /gists/public', { + page, + headers: { + 'X-GitHub-Api-Version': '2022-11-28' + } + }) + ).data +} + +export async function getFile(id: string) { + const req = await octokit.request('GET /gists/{gist_id}', { + gist_id: id, + headers: { + 'X-GitHub-Api-Version': '2022-11-28' + } + }); + + const data = req.data; + const result = data.files![BUNDLE_FILE_PATH]!; + if (result.truncated && result.raw_url) { + return await fetch(result.raw_url).then(res => res.text()); + } + + return result?.content; +} + +export function deleteFile(id: string) { + return octokit.request('DELETE /gists/{gist_id}', { + gist_id: id, + headers: { + 'X-GitHub-Api-Version': '2022-11-28' + } + }); +} + +export async function clearFiles() { + let page = 0; + while (true) { + try { + const files = await listFiles(page); + if (files.length <= 0) break; + + for (const file of files) { + await deleteFile(file.id) + } + + page ++; + } catch (e) { + console.warn(e); + + break; + } + } +} \ No newline at end of file diff --git a/packages/edge/mod.ts b/packages/edge/mod.ts new file mode 100644 index 0000000..93c92ea --- /dev/null +++ b/packages/edge/mod.ts @@ -0,0 +1,195 @@ +#!/usr/bin/env -S deno run --unstable -A --config deno.jsonc +import type { BuildConfig, CompressConfig } from "@bundlejs/core"; +import type { BundleResult } from "./bundle.ts"; + +import { Redis } from "https://deno.land/x/upstash_redis/mod.ts"; +import { serve } from "https://deno.land/std/http/server.ts"; + +// @ts-ignore Workers are undefined +const worker = globalThis?.Worker; +// @ts-ignore Workers are undefined +globalThis.Worker = worker ?? class { + constructor() {} +}; + +import { deepAssign, createConfig, lzstring } from "@bundlejs/core/src/index.ts"; +import { parseShareURLQuery, parseConfig } from "./parse-query.ts"; +import { generateResult, } from "./generate-result.ts"; +import styleText from "./style.ts"; + +import { bundle, inputModelResetValue } from "./bundle.ts"; +import { clearFiles as clearGists, deleteFile as deleteGist } from "./gist.ts"; +const { compressToBase64 } = lzstring; + +export const headers = Object.entries({ + "Access-Control-Allow-Origin": "*", + "Access-Control-Allow-Methods": "GET" +}) + +export type Config = BuildConfig & { + compression?: CompressConfig, + analysis?: boolean | string +}; + +serve(async (req: Request) => { + try { + const url = new URL(req.url); + console.log(url.href) + + if (url.pathname === "/favicon.ico") + return Response.redirect("https://bundlejs.com/favicon/favicon.ico"); + + const redis = new Redis({ + url: Deno.env.get('UPSTASH_URL') ?? "", + token: Deno.env.get('UPSTASH_TOKEN') ?? "", + }) + + if (url.pathname === "/clear-all-cache-123") { + await redis.flushall() + await clearGists(); + + return new Response("Cleared entire cache...careful now.") + } + + const initialValue = parseShareURLQuery(url) || inputModelResetValue; + const { init: _, entryPoints: _2, ascii: _3, ...initialConfig } = (parseConfig(url) || {}) as Config; + + console.log({ + paht: url.pathname + }) + + const metafileQuery = url.searchParams.has("metafile"); + const analysisQuery = url.searchParams.has("analysis"); + + const badgeQuery = url.searchParams.has("badge"); + const polyfill = url.searchParams.has("polyfill"); + const enableMetafile = analysisQuery || + metafileQuery || + Boolean(initialConfig?.analysis); + + const configObj: Config = deepAssign( + { + polyfill, + compression: createConfig("compress", initialConfig.compression) + } as Config, + initialConfig, + { + entryPoints: ["/index.tsx"], + esbuild: enableMetafile ? { + metafile: enableMetafile + } : {}, + init: { + platform: "deno-wasm", + worker: false + }, + } as Config + ); + console.log(configObj) + + const jsonKey = `json-${ + compressToBase64( + JSON.stringify({ + ...configObj, + initialValue: initialValue.trim(), + }).trim() + ).slice(0, 512 - 1) + }`; + + const badgeResult = url.searchParams.get("badge"); + const badgeStyle = url.searchParams.get("badge-style"); + const badgeKey = `badge-${ + compressToBase64( + JSON.stringify({ + jsonKey, + badgeResult, + badgeStyle + }).trim() + ).slice(0, 512 - 1) + }`; + + if (url.pathname === "/delete-cache") { + try { + const JSONResult = await redis.get(jsonKey); + await redis.del(jsonKey, badgeKey); + if (JSONResult && JSONResult.fileId) { + await deleteGist(JSONResult.fileId); + } + return new Response("Deleted from cache!"); + } catch (e) { + console.warn(e); + return new Response("Error, deleting from cache"); + } + } + + if (url.pathname !== "/no-cache") { + const BADGEResult = await redis.get(badgeKey); + if (badgeQuery && BADGEResult) { + return new Response(BADGEResult, { + status: 200, + headers: [ + ...headers, + ['Cache-Control', 'max-age=3600, s-maxage=30, public'], + ['Content-Type', 'application/json'] + ], + }) + } + + const start = Date.now(); + const JSONResult = await redis.get(jsonKey); + if (JSONResult) { + return await generateResult(jsonKey, badgeKey, JSONResult, url, redis, true, Date.now() - start); + } + } + + const start = Date.now(); + const response = await bundle(url, initialValue, initialConfig); + + if (!response.ok) { + const headers = response.headers; + const status = response.status; + return new Response(await response.arrayBuffer(), { + headers, + status + }); + } + + const value: BundleResult = await response.json(); + const prevValue = await redis.set(jsonKey, JSON.stringify(value), { ex: 86400, get: true }); + await redis.del(badgeKey); + + if (prevValue) { + const jsonPrevValue: BundleResult = typeof prevValue == "object" ? prevValue : JSON.parse(prevValue); + if (typeof jsonPrevValue == "object" && jsonPrevValue.fileId) { + await deleteGist(jsonPrevValue.fileId) + } + } + + return await generateResult(jsonKey, badgeKey, value, url, redis, false, Date.now() - start); + } catch (e) { + if ("msgs" in e) { + try { + return new Response( + [ + ``, + `
${e.msgs.join("\n")}
` + ].join(""), + { + status: 404, + headers: [ + ['Content-Type', 'text/html'] + ] + } + ) + } catch (e) { + console.warn({ msgsError: e }) + } + } + + console.error(e) + + return new Response( + JSON.stringify({ error: e.toString() }), + { status: 400, } + ) + } +}); \ No newline at end of file diff --git a/packages/edge/package.json b/packages/edge/package.json deleted file mode 100644 index 9a5633f..0000000 --- a/packages/edge/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "@bundlejs/edge", - "version": "0.0.0", - "access": "public", - "type": "module", - "description": "An animation library for the modern web which utilizes the Web Animation API (WAAPI) to create butter smooth animation.", - "typedocMain": "src/index.ts", - "types": "@types/index.d.ts", - "files": [ - "lib", - "src", - "@types" - ], - "scripts": { - "start": "wrangler dev", - "deploy": "wrangler publish", - "build": "vite build", - "dev": "wrangler dev", - "dts": "del-cli @types/ && tsc --project dts.tsconfig.json", - "pre-release": "pnpm build" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/okikio/bundlejs.git", - "directory": "packages/edge" - }, - "keywords": [ - "modern", - "bundlejs", - "bundle size checker", - "esbuild-wasm", - "gzip", - "brotli", - "deno", - "bundler", - "treeshake", - "bundlephobia", - "cdn", - "github", - "skypack", - "unpkg", - "compressed", - "jsx", - "minify", - "typescript", - "edge" - ], - "author": { - "name": "Okiki Ojo", - "email": "hey@okikio.dev", - "url": "https://okikio.dev" - }, - "bugs": { - "url": "https://github.com/okikio/bundlejs/issues" - }, - "homepage": "https://bundlejs.com", - "dependencies": { - "@bundlejs/core": "workspace:^0.0.0", - "esbuild-wasm": "^0.17.11", - "text-encoding-shim": "^1.0.5" - }, - "devDependencies": { - "@cloudflare/workers-types": "^4.20230228.0", - "@types/node": "^18.14.6", - "del-cli": "^5.0.0", - "pnpm": "^7.28.0", - "typescript": "5.0.1-rc", - "vite": "^4.1.4", - "vite-plugin-cp": "^1.0.0", - "wrangler": "2.12.0" - } -} \ No newline at end of file diff --git a/packages/edge/src/_parse-query.ts b/packages/edge/parse-query.ts similarity index 100% rename from packages/edge/src/_parse-query.ts rename to packages/edge/parse-query.ts diff --git a/packages/edge/src/index.ts b/packages/edge/src/index.ts deleted file mode 100644 index 33a4f82..0000000 --- a/packages/edge/src/index.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { TextEncoder as Encoder, TextDecoder as Decoder } from 'text-encoding-shim'; - -type EncoderType = typeof globalThis.TextEncoder; -type DecoderType = typeof globalThis.TextDecoder; - -globalThis.performance = globalThis.performance ?? { now: Date.now } as Performance; -globalThis.TextEncoder = globalThis.TextEncoder ?? Encoder as unknown as EncoderType; -globalThis.TextDecoder = globalThis.TextDecoder ?? Decoder as unknown as DecoderType; -globalThis.location = globalThis.location ?? new URL("http://localhost:3000/") as unknown as Location; - -import type { BuildConfig, CompressConfig } from "@bundlejs/core/src/index.ts"; -import { build, setFile, deepAssign, useFileSystem, createConfig, bytes } from "@bundlejs/core/lib/index.mjs"; - -import { parseShareURLQuery, parseConfig } from "./_parse-query.ts"; -import wasmUrl from "../../core/lib/esbuild.wasm?url"; - -const timeFormatter = new Intl.RelativeTimeFormat("en", { - style: "narrow", - numeric: "auto", -}); - -const inputModelResetValue = [ - 'export * from "@okikio/animate";' -].join("\n"); - -const FileSystem = useFileSystem(); -export default { - async fetch( - request: Request, - env: Env, - ctx: ExecutionContext - ): Promise { - try { - const fs = await FileSystem; - const start = performance.now(); - - const url = new URL(request.url); - const initialValue = parseShareURLQuery(url) || inputModelResetValue; - const { init: _, entryPoints: _2, ascii: _3, ...initialConfig } = parseConfig(url) || {}; - - setFile(fs, "/index.tsx", initialValue); - - const configObj: BuildConfig & CompressConfig = deepAssign({}, initialConfig, { - entryPoints: ["/index.tsx"], - esbuild: { - treeShaking: true, - metafile: url.searchParams.has("analysis") || - url.searchParams.has("metafile") || - Boolean(initialConfig?.analysis) - }, - init: { - platform: "browser", - worker: false, - // wasmModule - wasmURL: wasmUrl - }, - } as BuildConfig); - console.log({ configObj }) - const result = await build(configObj, FileSystem); - - if (url.searchParams.has("file")) { - const fileBundle = result.contents[0]; - return new Response(fileBundle.contents, { - status: 200, - headers: [ - ['Cache-Control', 'max-age=8640, s-maxage=86400, public'], - ['Content-Type', 'text/javascript'] - ], - }) - } - - // const size = await compress(result.contents.map(x => x.contents), configObj); - const uncompressedSize = bytes( - result.contents.reduce((acc, content) => acc + content.contents.byteLength, 0) - ) as string; - - const cs = new CompressionStream('gzip'); - const compressedStream = new Blob(result.contents.map(x => x.contents.buffer)).stream().pipeThrough(cs); - const compressedSize = bytes(new Uint8Array(await new Response(compressedStream).arrayBuffer()).byteLength); - - if (url.searchParams.has("badge")) { - const urlQuery = encodeURIComponent(`https://bundlejs.com/${url.search}`); - const imgShield = await fetch(`https://img.shields.io/badge/bundlejs-${encodeURIComponent(compressedSize)}-blue?link=${urlQuery}&link=${urlQuery}`).then(res => res.text()); - return new Response(imgShield, { - status: 200, - headers: [ - ['Cache-Control', 'max-age=8640, s-maxage=86400, public'], - ['Content-Type', 'image/svg+xml'] - ], - }) - } - - const end = performance.now(); - const { init: _init, ...printableConfig } = createConfig("build", configObj); - return new Response(JSON.stringify({ - query: url.search, - config: printableConfig, - input: initialValue, - size: { - type: "gzip", - - uncompressedSize, - compressedSize, - }, - time: timeFormatter.format((end - start) / 1000, "seconds"), - rawTime: (end - start) / 1000, - }), { - status: 200, - headers: [ - ['Cache-Control', 'max-age=8640, s-maxage=86400, public'], - ['Content-Type', 'application/json'] - ], - }) - } catch (e) { - console.error(e) - - return new Response( - JSON.stringify({ error: (e as Error).toString() }), - { status: 400, } - ) - } - }, -}; - - -/** - * Welcome to Cloudflare Workers! This is your first worker. - * - * - Run `wrangler dev src/index.ts` in your terminal to start a development server - * - Open a browser tab at http://localhost:8787/ to see your worker in action - * - Run `wrangler publish src/index.ts --name my-worker` to publish your worker - * - * Learn more at https://developers.cloudflare.com/workers/ - */ - -export interface Env { - // Example binding to KV. Learn more at https://developers.cloudflare.com/workers/runtime-apis/kv/ - // MY_KV_NAMESPACE: KVNamespace; - // - // Example binding to Durable Object. Learn more at https://developers.cloudflare.com/workers/runtime-apis/durable-objects/ - // MY_DURABLE_OBJECT: DurableObjectNamespace; - // - // Example binding to R2. Learn more at https://developers.cloudflare.com/workers/runtime-apis/r2/ - // MY_BUCKET: R2Bucket; - // - // Example binding to a Service. Learn more at https://developers.cloudflare.com/workers/runtime-apis/service-bindings/ - // MY_SERVICE: Fetcher; -} - diff --git a/packages/edge/tsconfig.json b/packages/edge/tsconfig.json deleted file mode 100644 index eb362c2..0000000 --- a/packages/edge/tsconfig.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - /* Visit https://aka.ms/tsconfig.json to read more about this file */ - - /* Projects */ - // "incremental": true, /* Enable incremental compilation */ - // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ - // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */ - // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects */ - // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ - // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ - - /* Language and Environment */ - "target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, - - // Add support for Web Workers - "lib": [ - "ES2022", - "DOM", - "DOM.Iterable" - ] /* Specify a set of bundled library declaration files that describe the target runtime environment. */, - // "jsx": "react" /* Specify what JSX code is generated. */, - // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ - // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ - // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */ - // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ - // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.` */ - // "reactNamespace": "", /* Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit. */ - // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ - // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ - - /* Modules */ - "module": "es2022" /* Specify what module code is generated. */, - // "rootDir": "./", /* Specify the root folder within your source files. */ - "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */, - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ - // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ - // "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */ - "types": [ - "@cloudflare/workers-types", - "DOM" - ] /* Specify type package names to be included without being referenced in a source file. */, - // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ - "resolveJsonModule": true /* Enable importing .json files */, - // "noResolve": true, /* Disallow `import`s, `require`s or ``s from expanding the number of files TypeScript should add to a project. */ - - /* JavaScript Support */ - "allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */, - "checkJs": false /* Enable error reporting in type-checked JavaScript files. */, - // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */ - - /* Emit */ - // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ - // "declarationMap": true, /* Create sourcemaps for d.ts files. */ - // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ - // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */ - // "outDir": "./", /* Specify an output folder for all emitted files. */ - // "removeComments": true, /* Disable emitting comments. */ - // "noEmit": true /* Disable emitting files from a compilation. */, - // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ - // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types */ - // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ - // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ - // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ - // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ - // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ - // "newLine": "crlf", /* Set the newline character for emitting files. */ - // "stripInternal": true, /* Disable emitting declarations that have `@internal` in their JSDoc comments. */ - // "noEmitHelpers": true, /* Disable generating custom helper functions like `__extends` in compiled output. */ - // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ - // "preserveConstEnums": true, /* Disable erasing `const enum` declarations in generated code. */ - // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ - // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ - - /* Interop Constraints */ - "isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */, - "allowSyntheticDefaultImports": true /* Allow 'import x from y' when a module doesn't have a default export. */, - // "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */, - // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ - "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, - - // Allow importing `.ts` files directly - "allowImportingTsExtensions": true, - /* Type Checking */ - "strict": true /* Enable all strict type-checking options. */, - // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */ - // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */ - // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ - // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */ - // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ - // "noImplicitThis": true, /* Enable error reporting when `this` is given the type `any`. */ - // "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */ - // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ - // "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */ - // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */ - // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ - // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ - // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ - // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ - // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ - // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */ - // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ - // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ - - /* Completeness */ - // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */, - }, - "includes": ["src/**/*"], - "exclude": [ - "node_modules", - "tests/**/*", - "@types/**/*", - "lib/**/*", - "scripts/*", - "*.ts" - ] -} diff --git a/packages/edge/vite.config.ts b/packages/edge/vite.config.ts deleted file mode 100644 index a08130e..0000000 --- a/packages/edge/vite.config.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { defineConfig } from "vite"; -import copy from 'vite-plugin-cp'; - -export default defineConfig({ - build: { - target: ["chrome110"], - sourcemap: true, - outDir: "dist", - assetsInlineLimit: 0, - lib: { - entry: "./src/index.ts", - name: "bundlejs" - }, - rollupOptions: { - plugins: [ - copy({ - targets: [ - // @ts-ignore - { src: 'src/esbuild.wasm', dest: './lib' }, - ] - }) - ], - external: ["esbuild"] - }, - }, -}); diff --git a/packages/edge/wrangler.toml b/packages/edge/wrangler.toml deleted file mode 100644 index 7cba797..0000000 --- a/packages/edge/wrangler.toml +++ /dev/null @@ -1,8 +0,0 @@ -name = "edge" -main = "src/index.ts" -compatibility_date = "2023-02-22" -node_compat = true - -# [build] -# command = "npm run build" -# cwd = "dist" diff --git a/packages/website/.npmrc b/packages/website/.npmrc deleted file mode 100644 index 941e196..0000000 --- a/packages/website/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -# Expose Astro dependencies for `pnpm` users -shamefully-hoist=false -strict-peer-dependencies=false diff --git a/packages/website/README.md b/packages/website/README.md deleted file mode 100644 index 9393bac..0000000 --- a/packages/website/README.md +++ /dev/null @@ -1,75 +0,0 @@ -# [bundlejs](https://bundlejs.com) - -> ✨ New ✨ [bundlejs.com](https://bundlejs.com) is the new official domain for `bundlejs`. - -bundle - An online npm package bundle size checker | Product Hunt [![Open In Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/okikio/bundle/blob/main/README.md) - -A small online tool for checking the minified gzip/brotli size of npm packages. - -I used [monaco-editor](https://github.com/microsoft/monaco-editor) for the code-editor, [esbuild](https://github.com/evanw/esbuild) as bundler and treeshaker respectively, [denoflate](https://github.com/hazae41/denoflate) as a wasm port of gzip, [deno\_brotli](https://github.com/denosaurs/deno_brotli) as a wasm port of brotli, [deno\_lz4](https://github.com/denosaurs/deno_lz4) as a wasm port of lz4, [bytes](https://github.com/visionmedia/bytes.js) to convert the compressed size to human readable values, [esbuild-visualizer](https://github.com/btd/esbuild-visualizer) to visualize and analyze your esbuild bundle to see which modules are taking up space, [umami](https://github.com/mikecao/umami) for private, publicly available analytics and general usage stats all without cookies, and [countapi-js](https://github.com/mlomb/countapi-js) to keep track of the number of page visits, in a private and secure way. - -This project was greatly influenced by [@hardfists](https://github.com/hardfist) [neo-tools](https://github.com/hardfist/neo-tools) and [@mizchi's](https://github.com/mizchi) [uniroll](https://github.com/mizchi/uniroll) projects. - -**bundlejs** is a quick and easy way to bundle your projects, minify and see it's gzip size. It's an online tool similar to [bundlephobia](https://bundlephobia.com), but **bundle** does all the bundling locally on you browser and can treeshake and bundle multiple packages (both commonjs and esm) together, all without having to install any npm packages and with typescript support. - -The project isn't perfect, and I am still working on an autocomplete, hover intellisence, better mobile support and the high memory usage of **esbuild** and **monaco** as well as some edge case packages, e.g. **monaco-editor**. - -If there is something I missed, a mistake, or a feature you would like added please create an issue or a pull request and I'll try to get to it. You can contribute to this project at [okikio/bundle](https://github.com/okikio/bundle). - -**bundle** uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) as the style of commit, and the [Commitizen CLI](http://commitizen.github.io/cz-cli/) to make commits easier. - -You can join the discussion on [github discussions](https://github.com/okikio/bundle/discussions). - -> Some of bundlejs.com's latest features were inspired by [egoist/play-esbuild](https://github.com/egoist/play-esbuild) and [hyrious/esbuild-repl](https://github.com/hyrious/esbuild-repl), check them out they each use esbuild in different ways. - -## URL Queries & Shareable Links - -You can now use search queries in **bundle**, all you need to do is add this to the url -`?q={packages}&treeshake={methods to treeshake}` - -e.g. -You want `react`, `react-dom`, `vue`, and `@okikio/animate`, but only want the `Animate` and `toStr` methods exported from `@okikio/animate`. - -You would add this to the url [bundlejs.com/?q=react,react-dom,vue,@okikio/animate&treeshake=[\*],[\*],[\*],[{Animate,toStr}]](https://bundlejs.com/?q=react,react-dom,vue,@okikio/animate&treeshake=[*],[*],[*],[{Animate,toStr}]) - -If you only want a couple packages and don't care to treeshake, then all you need is something like this, [bundlejs.com?q=react,react-dom,vue,@okikio/animate](https://bundlejs.com/?q=react,react-dom,vue,@okikio/animate) - -There is another way to share a reproduciable bundle, the sharable link. Shareble links look like this [/?share=PTAEGEB...](https://bundlejs.com/?share=PTAEGEBsEsGMGtQCUCuA7UAzA9gJ1AC4AWApqAELoAmkJVoA1KALLRrSbR2OgDiAXtAAOQ7kICGCcQHMyAZ2j8SAKBIAPIXgKgAVFlzYAtqABEAAWzxoV7MHHtD4giRMBuIA) with the string value of the input code editor being compressed into a string and placed into the URL. - -In order to create a shareble link, you click the `Share` button, it copies the share url to your clipboard, and from there you can paste where you wish. - -> If you would like to bundle your code when the share URL is loaded, add `bundle` to the url, e.g. [/?bundle&q=@okikio/animate](https://bundlejs.com/?q=@okikio/animate&bundle) or [/?bundle&share=PTAEGEBs...](https://bundlejs.com/?bundle&share=PTAEGEBsEsGMGtQCUCuA7UAzA9gJ1AC4AWApqAELoAmkJVoA1KALLRrSbR2OgDiAXtAAOQ7kICGCcQHMyAZ2j8SAKBIAPIXgKgAVFlzYAtqABEAAWzxoV7MHHtD4giRMBuIA) - - -## Badges - -You can also add bundle badges, they look like this, - -[![Open Bundle](./public/badge-light.svg)](https://bundlejs.com/) [![Open Bundle](./public/badge-dark.svg)](https://bundlejs.com/) - -All you need to do is to add this to your `README.md` -```md -# Light Mode Badge -[![Open Bundle](https://bundlejs.com/badge-light.svg)](https://bundlejs.com/) - -# Dark Mode Badge -[![Open Bundle](https://bundlejs.com/badge-dark.svg)](https://bundlejs.com/) -``` - -You can use the [URL Queries & Shareable Links](#url-queries--shareable-links) above, to create unique bundles, when users clicks on the badge. - - -## Backers - -Backers are awesome people and organizations who use, enjoy, and donate to the project. The list of backers who love and support this project are, - - - - - - - diff --git a/packages/website/TODO.md b/packages/website/TODO.md deleted file mode 100644 index 78cb483..0000000 --- a/packages/website/TODO.md +++ /dev/null @@ -1,12 +0,0 @@ -# Todo - -[] Add versioning to bundlejs url -[] Make the activity buttons take up entire space on mobile -[] Use spring-easing for search animation -[] Switch to codemirror for touch supported devices -[] Make console functional -[] Revamp analysis -[] Allow for running code in isolated and sandboxed environments -[] Support sponsors automatically getting access to a link shortener for easy sharing to social media -[] Sponsors get the ability to save settings into an account -[] \ No newline at end of file diff --git a/packages/website/astro.config.ts b/packages/website/astro.config.ts deleted file mode 100644 index 7190f02..0000000 --- a/packages/website/astro.config.ts +++ /dev/null @@ -1,186 +0,0 @@ -import { defineConfig } from "astro/config"; - -import { FileSystemIconLoader } from "unplugin-icons/loaders"; -import Icons from "unplugin-icons/vite"; - -import ServiceWorker from "astrojs-service-worker"; -import Sitemap from "@astrojs/sitemap"; -import SolidJS from "@astrojs/solid-js"; -import Tailwind from "@astrojs/tailwind"; -import MDX from "@astrojs/mdx"; - -const outDir = "./dist"; - -/** - * https://github.com/rollup/plugins/blob/master/packages/json/src/index.js - * - * This source code is licensed under the MIT license found in the - * LICENSE file at - * https://github.com/rollup/plugins/blob/master/LICENSE - */ - -import { rollup } from "rollup"; -import dts from "rollup-plugin-dts"; - -const SPECIAL_QUERY_RE = /[\?&](?:worker|sharedworker|raw|url)\b/; -const dtsExtRE = /\?dts$/; - -// strip UTF-8 BOM -export function stripBomTag(content) { - if (content.charCodeAt(0) === 0xfeff) { - return content.slice(1); - } - - return content; -} - -// Based on https://medium.com/@martin_hotell/typescript-library-tips-rollup-your-types-995153cc81c7 -// ^ This was a great help -const generateDTS = async (id) => { - const bundle = await rollup({ - // path to your declaration files root - input: id, - plugins: [dts({ - respectExternal: true - })], - }); - - const { output } = await bundle.generate({ - file: "dist/js/config.d.ts", - format: "es" - }); - - const result = output?.[0]?.code; - return result; -}; - -function DTS() { - return { - name: "vite:dts", - async transform(dts, id) { - if (!dtsExtRE.test(id)) return null; - if (SPECIAL_QUERY_RE.test(id)) return null; - - id = id.replace(dtsExtRE, ""); - dts = stripBomTag(dts); - - try { - if (!this.meta.watchMode) dts = await generateDTS(id); - return `export default ${JSON.stringify(dts)}`; - } catch (e) { - const errorMessageList = /[\d]+/.exec(e.message); - const position = errorMessageList && parseInt(errorMessageList[0], 10); - const msg = position - ? `, invalid DTS syntax found at line ${position}` - : "."; - this.error("Failed to parse DTS file" + msg, e.idx); - - return `export default ${JSON.stringify(dts)}`; - } - } - }; -} - -// https://astro.build/config -export default defineConfig({ - outDir, - build: { format: "file" }, - site: "https://bundlejs.com", - markdown: { - shikiConfig: { - theme: "github-dark", - wrap: false - } - }, - integrations: [ - SolidJS(), - Tailwind({ - config: { applyBaseStyles: false } - }), - Sitemap(), - MDX(), - - ServiceWorker({ - registration: { autoRegister: false }, - // @ts-ignore - workbox: { - skipWaiting: false, - clientsClaim: false, - - // globDirectory: outDir, - globPatterns: ["**/*.{html,js,css,svg,ttf,woff2,png,webp,jpg,jpeg,wasm,ico,json,xml}"], // - ignoreURLParametersMatching: [/index\.html\?(.*)/, /\\?(.*)/], - cleanupOutdatedCaches: true, - - // Define runtime caching rules. - runtimeCaching: [ - { - // Match any request that starts with https://api.producthunt.com, https://api.countapi.xyz, https://opencollective.com, etc... - urlPattern: - /^https:\/\/((?:api\.producthunt\.com)|(?:api\.countapi\.xyz)|(?:opencollective\.com)|(?:giscus\.bundlejs\.com)|(?:bundlejs\.com\/take-measurement))/, - // Apply a network-first strategy. - handler: "NetworkFirst", - method: "GET", - options: { - cacheableResponse: { - statuses: [0, 200] - }, - } - }, - { - // Match any request that ends with .png, .jpg, .jpeg, .svg, etc.... - urlPattern: - /workbox\-(.*)\.js|\.(?:png|jpg|jpeg|svg|webp|map|ts|wasm|css)$|^https:\/\/(?:cdn\.polyfill\.io)/, - // Apply a stale-while-revalidate strategy. - handler: "StaleWhileRevalidate", - method: "GET", - options: { - cacheableResponse: { - statuses: [0, 200] - } - } - }, - { - // Cache `monaco-editor` etc... - urlPattern: - /(?:chunks|assets|favicon|fonts|giscus)\/(.*)$/, - // Apply a network-first strategy. - handler: "CacheFirst", - method: "GET", - options: { - cacheableResponse: { - statuses: [0, 200] - }, - } - }, - ] - } - }) - ], - vite: { - worker: { format: "es" }, - ssr: { external: ["svgo"] }, - plugins: [ - DTS(), - Icons({ - autoInstall: true, - compiler: "solid", - defaultClass: "icon", - customCollections: { - // a helper to load icons from the file system - // files under `./assets/icons` with `.svg` extension will be loaded as it's file name - // you can also provide a transform callback to change each icon (optional) - "local": FileSystemIconLoader("./src/icons"), - }, - iconCustomizer(collection, icon, props) { - // customize this @iconify icon in this collection - if (collection === "local") { - props.width = "24"; - props.height = "24"; - props.viewBox = "0 0 1024 1024"; - } - }, - }) - ] - } -}); \ No newline at end of file diff --git a/packages/website/auto-imports.d.ts b/packages/website/auto-imports.d.ts deleted file mode 100644 index 08908ed..0000000 --- a/packages/website/auto-imports.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -// Generated by 'unplugin-auto-import' -export {} -declare global { - -} diff --git a/packages/website/package.json b/packages/website/package.json deleted file mode 100644 index 823d69c..0000000 --- a/packages/website/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "@bundlejs/website", - "version": "0.0.5", - "private": true, - "type": "module", - "license": "MIT", - "scripts": { - "build:ts-libs": "esno ./scripts/ts-lib-files.ts", - "build:all": "ultra build:ts-libs && pnpm build", - "dev": "astro dev", - "start": "astro dev", - "build": "astro build", - "preview": "astro preview", - "test": "vitest", - "test:run": "vitest run", - "pre-release": "pnpm build:all && pnpm test:run" - }, - "dependencies": { - "@bundlejs/core": "workspace:^0.0.0", - "@dprint/formatter": "^0.2.0", - "@okikio/emitter": "^2.1.7", - "@okikio/native": "^3.0.1", - "@okikio/sharedworker": "^1.0.4", - "@typescript/vfs": "^1.4.0", - "comlink": "^4.4.1", - "countapi-js": "^1.0.2", - "monaco-editor": "^0.36.1", - "solid-js": "^1.6.11", - "spring-easing": "^2.1.0", - "tippy.js": "^6.3.7", - "transferables": "^1.0.3", - "workbox-window": "^6.5.4" - }, - "devDependencies": { - "@astrojs/mdx": "^0.17.2", - "@astrojs/sitemap": "^1.1.0", - "@astrojs/solid-js": "^2.0.2", - "@astrojs/tailwind": "^3.0.1", - "@babel/core": "^7.21.0", - "@iconify-json/fluent": "^1.1.18", - "@iconify-json/mdi": "^1.1.49", - "@iconify/json": "^2.2.30", - "@types/offscreencanvas": "^2019.7.0", - "astro": "2.0.17", - "astrojs-service-worker": "^0.0.9", - "babel-preset-solid": "^1.6.10", - "clsx": "^1.2.1", - "esbuild-wasm": "^0.17.11", - "esno": "^0.16.3", - "fast-glob": "^3.2.12", - "pnpm": "^7.28.0", - "postcss": "^8.4.21", - "rollup": "^3.18.0", - "rollup-plugin-dts": "^5.2.0", - "sass": "^1.58.3", - "tailwindcss": "^3.2.7", - "typescript": "5.0.1-rc", - "ultra-runner": "^3.10.5", - "unplugin-icons": "^0.15.3", - "vite": "^4.1.4", - "vitest": "^0.29.2" - } -} diff --git a/packages/website/public/BingSiteAuth.xml b/packages/website/public/BingSiteAuth.xml deleted file mode 100644 index e6afd71..0000000 --- a/packages/website/public/BingSiteAuth.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - 563BCF2F5A52416328FB9ABFA1959AEE - \ No newline at end of file diff --git a/packages/website/public/_headers b/packages/website/public/_headers deleted file mode 100644 index bdc866a..0000000 --- a/packages/website/public/_headers +++ /dev/null @@ -1,59 +0,0 @@ -/* - X-Frame-Options: SAMEORIGIN - X-Content-Type-Options: nosniff - X-XSS-Protection: 1; mode=block - Referrer-Policy: strict-origin-when-cross-origin - Strict-Transport-Security: max-age=63072000; includeSubDomains; preload - Cache-Control: max-age=480, stale-while-revalidate=360, public - Accept-CH: DPR, Viewport-Width, Width - Access-Control-Allow-Origin: * - X-UA-Compatible: IE=edge - Content-Security-Policy: default-src 'self'; font-src 'self' https://fonts.gstatic.com; style-src 'self' 'unsafe-inline'; img-src 'self' https://res.cloudinary.com https://api.producthunt.com https://opencollective.com data:; script-src 'self' https://opencollective.com https://*.bundlejs.com https://bundlejs.com https://cdn.polyfill.io data: 'unsafe-eval' 'unsafe-inline'; connect-src 'self' https:; block-all-mixed-content; upgrade-insecure-requests; base-uri 'self'; object-src 'none'; worker-src 'self'; manifest-src 'self'; media-src 'self' https://res.cloudinary.com; form-action 'self'; frame-src 'self' https://opencollective.com https://*.bundlejs.com https://bundlejs.com; frame-ancestors 'self' https:; - Permissions-Policy: geolocation=(), microphone=(), usb=(), sync-xhr=(self), camera=(), browsing-topics=(), join-ad-interest-group=(), run-ad-auction=() - -/*.css - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: text/css - -/js/*.ttf - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: font/ttf - -/css/fonts/*.woff2 - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: font/woff2 - -/*.js - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: text/javascript - -/js/sw.js - Cache-Control: public, max-age=60, stale-while-revalidate=480 - Content-Type: text/javascript - -/js/*.worker.js - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: text/javascript - -/js/*.min.js - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: text/javascript - -/js/esbuild.wasm - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: wasm - -/js/theme.min.js - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: text/javascript - -/manifest.json - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: application/manifest+json - -/favicon/* - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - -/*.svg - Cache-Control: public, max-age=4800, stale-while-revalidate=480 - Content-Type: image/svg+xml diff --git a/packages/website/public/badge-dark.svg b/packages/website/public/badge-dark.svg deleted file mode 100644 index d5a27af..0000000 --- a/packages/website/public/badge-dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/website/public/badge-light.svg b/packages/website/public/badge-light.svg deleted file mode 100644 index e5c8a3d..0000000 --- a/packages/website/public/badge-light.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/website/public/bundle.svg b/packages/website/public/bundle.svg deleted file mode 100644 index f3519d1..0000000 --- a/packages/website/public/bundle.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/website/public/docs/index.html b/packages/website/public/docs/index.html deleted file mode 100644 index e32f42d..0000000 --- a/packages/website/public/docs/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Typedoc Placeholder - - - - - \ No newline at end of file diff --git a/packages/website/public/dprint-typescript-plugin.wasm b/packages/website/public/dprint-typescript-plugin.wasm deleted file mode 100644 index ad875cfecb6a63c0d858e13fedbd6140f5e9b481..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5403931 zcmZNaEY4+QU|?W;&SaRtRA0{kA{grv80#4l*y_Q6u|9#h9wft94`J3ZB(Q*F7{KC; z^$;FoeF8g36s(jL%z_)ikiY>JK$2suPvC@!)k6(rtV>|5XRJ$Ls;^_L2aya33=9bj zU^Yk`WNIB$aUDYfYkhqk$XzTTim@KzUXVNw++eVUEcNv@^^7$T*VchuTLW@?9oQpv z^&mMWFv$us3F1qTIV>Oxz$!svAW4uYV;y4+$elF_EcJCD0jNLfAm-K7gA_A^jIB># ztYNH4V6CqM%Q4r~)G*dCPY~}DXJlk#3p)!7FIbchEY8Bu!otnK!odONakH@Vu&}c*vam3+ zaI>z4sI3!b`~a97A96fCKd(;K~}I{21ZUSfPslYNEqa8kjd=q4BQ-ie2g3{ ztQ?FC9DIDN3=E8nEFha1IXGB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