From 45dd2e7be3d736bfe722a1c38f4355dd2c9a1d26 Mon Sep 17 00:00:00 2001 From: pacoccino Date: Fri, 22 Mar 2024 16:43:27 +0100 Subject: [PATCH] fix versions --- README.md | 4 +--- examples/demo-app-worker/package.json | 2 +- examples/demo-app/package.json | 2 +- package.json | 2 +- pnpm-lock.yaml | 16 +++------------- 5 files changed, 7 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 215d195..c21098e 100644 --- a/README.md +++ b/README.md @@ -13,18 +13,16 @@ ## What ? -AI-Mask is a chrome **web extension** that serves as a gateway to **AI** models execution. It runs model **on-device** for apps which needs it, for **free**, and with full-**privacy**. +AI-Mask is a chrome **web extension** that serves as a local provider to **AI** models execution. It runs model **on-device** for web apps which needs it, for **free**, and with full-**privacy**. See it as the [Metamask](https://metamask.io/) of AI. **Try it !** [Install the extension](https://pacoccino.github.io/ai-mask/), then open the [Chat app](https://chatbot.opac.me) - [AI-Mask Demo.mp4](https://github.com/pacoccino/ai-mask/assets/1371207/f75e8b27-c91a-4bc6-bd14-8eae0d68050f) - ## Why ? On-device AI inference is getting quite a traction recently. Most of our devices are already capable of executing machine learning models and software compatibility is ready. diff --git a/examples/demo-app-worker/package.json b/examples/demo-app-worker/package.json index 6e04508..7c19916 100644 --- a/examples/demo-app-worker/package.json +++ b/examples/demo-app-worker/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "@ai-mask/sdk": "^0.7.0", + "@ai-mask/sdk": "workspace:^", "clsx": "^2.1.0", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/demo-app/package.json b/examples/demo-app/package.json index 9c8061b..46b3e27 100644 --- a/examples/demo-app/package.json +++ b/examples/demo-app/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "@ai-mask/sdk": "^0.6.0", + "@ai-mask/sdk": "workspace:^", "clsx": "^2.1.0", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/package.json b/package.json index 94cf42b..2c057a3 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/pacoccino/ai-mask" }, "scripts": { - "build": "pnpm -r --filter=!./forks/* build", + "build": "pnpm build-sdk && pnpm build-page && pnpm build-extension", "build-sdk": "pnpm -r --filter=@ai-mask/sdk... build", "build-page": "pnpm -r --filter=@ai-mask/demo-app... build", "build-extension": "pnpm -r --filter=@ai-mask/chrome-extension... build", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a998a48..814d67d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: examples/demo-app: dependencies: '@ai-mask/sdk': - specifier: ^0.6.0 - version: 0.6.0 + specifier: workspace:^ + version: link:../../packages/sdk clsx: specifier: ^2.1.0 version: 2.1.0 @@ -79,7 +79,7 @@ importers: examples/demo-app-worker: dependencies: '@ai-mask/sdk': - specifier: ^0.7.0 + specifier: workspace:^ version: link:../../packages/sdk clsx: specifier: ^2.1.0 @@ -619,16 +619,6 @@ packages: resolution: {integrity: sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ==} dev: true - /@ai-mask/core@0.5.0: - resolution: {integrity: sha512-fvrNRCni0/fNwOrL2TGKlrdQ21vhfxayNs3qo1/lVzqMTeyVIkrmhsHPpB8AAZFFa52aUhEpecAS71WmJJTMAg==} - dev: false - - /@ai-mask/sdk@0.6.0: - resolution: {integrity: sha512-9NIcF/eck3AttffYNMeZ8mT3/w9jHRe71qZ4whXmCl9MTOmgLZgo2ELRGILlAqd+vgT0h2Q/Za5w9SCQW+o9Lg==} - dependencies: - '@ai-mask/core': 0.5.0 - dev: false - /@alloc/quick-lru@5.2.0: resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'}