This commit is contained in:
Sirz Benjie 2025-07-03 02:00:22 +00:00 committed by GitHub
commit b35ee4f314
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 26 deletions

View File

@ -1,13 +0,0 @@
import { Graphviz } from "@hpcc-js/wasm/graphviz";
const graphviz = await Graphviz.load();
const inputFile = [];
for await (const chunk of process.stdin) {
inputFile.push(chunk);
}
const file = Buffer.concat(inputFile).toString("utf-8");
const svg = graphviz.dot(file, "svg");
process.stdout.write(svg);

View File

@ -22,14 +22,13 @@
"docs": "typedoc",
"depcruise": "depcruise src test",
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg",
"postinstall": "lefthook install && lefthook run post-merge",
"postinstall": "lefthook install && git submodule update --init --recursive",
"update-version:patch": "pnpm version patch --force --no-git-tag-version",
"update-version:minor": "pnpm version minor --force --no-git-tag-version",
"update-locales:remote": "git submodule update --progress --init --recursive --force --remote"
},
"devDependencies": {
"@biomejs/biome": "2.0.0",
"@hpcc-js/wasm": "^2.22.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.13.14",
"@vitest/coverage-istanbul": "^3.0.9",

View File

@ -45,9 +45,6 @@ importers:
'@biomejs/biome':
specifier: 2.0.0
version: 2.0.0
'@hpcc-js/wasm':
specifier: ^2.22.4
version: 2.22.4
'@types/jsdom':
specifier: ^21.1.7
version: 21.1.7
@ -436,10 +433,6 @@ packages:
'@gerrit0/mini-shiki@3.2.2':
resolution: {integrity: sha512-vaZNGhGLKMY14HbF53xxHNgFO9Wz+t5lTlGNpl2N9xFiKQ0I5oIe0vKjU9dh7Nb3Dw6lZ7wqUE0ri+zcdpnK+Q==}
'@hpcc-js/wasm@2.22.4':
resolution: {integrity: sha512-58JkRkxZffiBAbZhc7z+9iaaAOmn1cyxLL3rRwsUvco/I0Wwb7uVAlHM9HiU6XASe2k11jrIjCFff1t9QKjlqg==}
hasBin: true
'@inquirer/checkbox@4.1.4':
resolution: {integrity: sha512-d30576EZdApjAMceijXA5jDzRQHT/MygbC+J8I7EqA6f/FRpYxlRtRJbHF8gHeWYeSdOuTEJqonn7QLB1ELezA==}
engines: {node: '>=18'}
@ -2332,10 +2325,6 @@ snapshots:
'@shikijs/types': 3.2.1
'@shikijs/vscode-textmate': 10.0.2
'@hpcc-js/wasm@2.22.4':
dependencies:
yargs: 17.7.2
'@inquirer/checkbox@4.1.4(@types/node@22.13.14)':
dependencies:
'@inquirer/core': 10.1.9(@types/node@22.13.14)

4
pnpm-workspace.yaml Normal file
View File

@ -0,0 +1,4 @@
onlyBuiltDependencies:
- esbuild
- msw
- lefthook