mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-09 09:52:17 +02:00
[Dev] Remove warnings from pnpm
interactions (#6061)
* Add pnpm-workspace.yaml to configure dependencies that are allowed to build * Remove dependency-graph.json * Go back to && which is cross-platform * Remove obsolete `depcruise:graph` command * Set `shellEmulator` config key to `true` This makes `package.json` scripts work more reliably cross-platform --------- Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
f6a434689c
commit
8f0c864547
@ -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);
|
|
@ -21,15 +21,13 @@
|
|||||||
"biome-ci": "biome ci --diagnostic-level=error --reporter=github --no-errors-on-unmatched",
|
"biome-ci": "biome ci --diagnostic-level=error --reporter=github --no-errors-on-unmatched",
|
||||||
"docs": "typedoc",
|
"docs": "typedoc",
|
||||||
"depcruise": "depcruise src test",
|
"depcruise": "depcruise src test",
|
||||||
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg",
|
"postinstall": "lefthook install; git submodule update --init --recursive",
|
||||||
"postinstall": "lefthook install && lefthook run post-merge",
|
|
||||||
"update-version:patch": "pnpm version patch --force --no-git-tag-version",
|
"update-version:patch": "pnpm version patch --force --no-git-tag-version",
|
||||||
"update-version:minor": "pnpm version minor --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"
|
"update-locales:remote": "git submodule update --progress --init --recursive --force --remote"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "2.0.0",
|
"@biomejs/biome": "2.0.0",
|
||||||
"@hpcc-js/wasm": "^2.22.4",
|
|
||||||
"@types/jsdom": "^21.1.7",
|
"@types/jsdom": "^21.1.7",
|
||||||
"@types/node": "^22.13.14",
|
"@types/node": "^22.13.14",
|
||||||
"@vitest/coverage-istanbul": "^3.0.9",
|
"@vitest/coverage-istanbul": "^3.0.9",
|
||||||
|
@ -45,9 +45,6 @@ importers:
|
|||||||
'@biomejs/biome':
|
'@biomejs/biome':
|
||||||
specifier: 2.0.0
|
specifier: 2.0.0
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
'@hpcc-js/wasm':
|
|
||||||
specifier: ^2.22.4
|
|
||||||
version: 2.22.4
|
|
||||||
'@types/jsdom':
|
'@types/jsdom':
|
||||||
specifier: ^21.1.7
|
specifier: ^21.1.7
|
||||||
version: 21.1.7
|
version: 21.1.7
|
||||||
@ -436,10 +433,6 @@ packages:
|
|||||||
'@gerrit0/mini-shiki@3.2.2':
|
'@gerrit0/mini-shiki@3.2.2':
|
||||||
resolution: {integrity: sha512-vaZNGhGLKMY14HbF53xxHNgFO9Wz+t5lTlGNpl2N9xFiKQ0I5oIe0vKjU9dh7Nb3Dw6lZ7wqUE0ri+zcdpnK+Q==}
|
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':
|
'@inquirer/checkbox@4.1.4':
|
||||||
resolution: {integrity: sha512-d30576EZdApjAMceijXA5jDzRQHT/MygbC+J8I7EqA6f/FRpYxlRtRJbHF8gHeWYeSdOuTEJqonn7QLB1ELezA==}
|
resolution: {integrity: sha512-d30576EZdApjAMceijXA5jDzRQHT/MygbC+J8I7EqA6f/FRpYxlRtRJbHF8gHeWYeSdOuTEJqonn7QLB1ELezA==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
@ -2332,10 +2325,6 @@ snapshots:
|
|||||||
'@shikijs/types': 3.2.1
|
'@shikijs/types': 3.2.1
|
||||||
'@shikijs/vscode-textmate': 10.0.2
|
'@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)':
|
'@inquirer/checkbox@4.1.4(@types/node@22.13.14)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@inquirer/core': 10.1.9(@types/node@22.13.14)
|
'@inquirer/core': 10.1.9(@types/node@22.13.14)
|
||||||
|
6
pnpm-workspace.yaml
Normal file
6
pnpm-workspace.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
onlyBuiltDependencies:
|
||||||
|
- esbuild
|
||||||
|
- msw
|
||||||
|
- lefthook
|
||||||
|
|
||||||
|
shellEmulator: true
|
Loading…
Reference in New Issue
Block a user