From b1dc7af7beed812dbf03c996c7c2de35d4faf963 Mon Sep 17 00:00:00 2001 From: Tim Guggenmos Date: Wed, 7 Aug 2024 12:48:32 +0200 Subject: [PATCH] install rnnoise-wasm from npm + refactor dir paths with trainling slash --- packages/tui-components-svelte/package.json | 16 ++++++++-------- pnpm-lock.yaml | 12 +++++++----- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/packages/tui-components-svelte/package.json b/packages/tui-components-svelte/package.json index 940cc57..98effb6 100644 --- a/packages/tui-components-svelte/package.json +++ b/packages/tui-components-svelte/package.json @@ -18,14 +18,14 @@ "build": { "inputs": [ "default", - "!{projectRoot}/.svelte-kit", - "!{projectRoot}/build", - "!{projectRoot}/dist" + "!{projectRoot}/.svelte-kit/", + "!{projectRoot}/build/", + "!{projectRoot}/dist/" ], "outputs": [ - "{projectRoot}/.svelte-kit", - "{projectRoot}/build", - "{projectRoot}/dist" + "{projectRoot}/.svelte-kit/", + "{projectRoot}/build/", + "{projectRoot}/dist/" ] } }, @@ -36,7 +36,7 @@ ] }, "files": [ - "dist" + "dist/" ], "author": "", "license": "MIT", @@ -63,7 +63,7 @@ "vite": "^5.3.4" }, "dependencies": { - "@timephy/rnnoise-wasm": "file:../../../rnnoise-wasm", + "@timephy/rnnoise-wasm": "^1.0.0", "@timephy/tui-colors-tw": "workspace:*", "@timephy/tui-components-tw": "workspace:*", "@timephy/tui-icons-svelte": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb13432..538a0c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: packages/tui-components-svelte: dependencies: '@timephy/rnnoise-wasm': - specifier: file:../../../rnnoise-wasm - version: file:../rnnoise-wasm + specifier: ^1.0.0 + version: 1.0.0 '@timephy/tui-colors-tw': specifier: workspace:* version: link:../tui-colors-tw @@ -672,8 +672,8 @@ packages: svelte: ^5.0.0-next.96 || ^5.0.0 vite: ^5.0.0 - '@timephy/rnnoise-wasm@file:../rnnoise-wasm': - resolution: {directory: ../rnnoise-wasm, type: directory} + '@timephy/rnnoise-wasm@1.0.0': + resolution: {integrity: sha512-zzRdFyALbhaNIuEo3LKazPWxabatbPxkaBrHzRjGDlVHX2dFklh68HUENHlvHkKsq+OOQSC1ag5sGPDMDgg2CA==} '@types/body-parser@1.19.5': resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} @@ -1044,6 +1044,7 @@ packages: bun@1.1.9: resolution: {integrity: sha512-imtKSi5ieJYZ8H/YJIUy1xY91izXTV0iE28399vKiq3vjNaVz9/kzEHqZKDZcofYtknfnc5Izo4qaB5kpmQ+Yg==} + cpu: [arm64, x64] os: [darwin, linux, win32] hasBin: true @@ -1611,6 +1612,7 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} @@ -3327,7 +3329,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@timephy/rnnoise-wasm@file:../rnnoise-wasm': {} + '@timephy/rnnoise-wasm@1.0.0': {} '@types/body-parser@1.19.5': dependencies: