feat: add wordle-solver-web nix package

This commit is contained in:
2026-08-19 21:46:40 +02:00
parent 9edf42cf82
commit 8845234529
4 changed files with 43 additions and 4 deletions
+4 -3
View File
@@ -4,14 +4,15 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"build-no-wasm": "run-s tsc vite:build",
"build": "run-s wasm-pack:release tsc vite:build",
"dev": "run-s wasm-pack:dev vite:dev",
"tsc": "tsc",
"vite:build": "vite build",
"vite:dev": "vite -c vite.config.dev.ts",
"vite:preview": "vite preview",
"wasm-pack:dev": "wasm-pack build --dev --features wasm-bindgen --manifest-path ../Cargo.toml",
"wasm-pack:release": "wasm-pack build --features wasm-bindgen --manifest-path ../Cargo.toml"
"wasm-pack:dev": "rm -rf pkg; wasm-pack build --dev --features wasm-bindgen --manifest-path ../Cargo.toml; mv ../pkg .",
"wasm-pack:release": "rm -rf pkg; wasm-pack build --features wasm-bindgen --manifest-path ../Cargo.toml; mv ../pkg ."
},
"devDependencies": {
"npm-run-all": "^4.1.5",
@@ -24,6 +25,6 @@
"dependencies": {
"esbuild": "^0.28.2",
"rollup": "^4.62.4",
"wordle-solver": "link:../pkg"
"wordle-solver": "link:./pkg"
}
}
+1 -1
View File
@@ -1850,6 +1850,6 @@ which@^1.2.9:
dependencies:
isexe "^2.0.0"
"wordle-solver@link:../pkg":
"wordle-solver@link:./pkg":
version "0.0.0"
uid ""