Skip to content

Commit 2de9158

Browse files
committed
Fix: Update install instruction back to npm
1 parent 26d66fd commit 2de9158

File tree

2 files changed

+10
-63
lines changed

2 files changed

+10
-63
lines changed

README.md

Lines changed: 4 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ An Electron-based desktop application for interacting with various AI models via
1616

1717
- Node.js (v18+)
1818
- npm
19-
- pnpm (v10.x)
2019

2120
### Installation
2221

@@ -26,70 +25,25 @@ An Electron-based desktop application for interacting with various AI models via
2625
cd tensorblock-studio
2726
```
2827

29-
2. Install pnpm globally (If you don't have it installed)
28+
2. Install dependencies:
3029
```bash
31-
npm install -g pnpm@latest-10
30+
npm install
3231
```
3332

34-
3. Install dependencies:
35-
```bash
36-
pnpm install
37-
```
38-
39-
### Migrate from npm
40-
41-
1. Remove current `node_modules` folder. (If you have it)
42-
43-
2. Remove `package-lock.json` file from the root. (If you have it)
44-
45-
3. Install pnpm globally (If you don't have it installed)
46-
```bash
47-
npm install -g pnpm@latest-10
48-
```
49-
50-
4. Install dependencies:
51-
```bash
52-
pnpm install
53-
```
54-
55-
5. If you receive the warning:
56-
```base
57-
╭ Warning ───────────────────────────────────────────────────────────────────────────────────╮
58-
│ │
59-
│ Ignored build scripts: electron, esbuild. │
60-
│ Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts. │
61-
│ │
62-
╰────────────────────────────────────────────────────────────────────────────────────────────╯
63-
```
64-
Run ```pnpm approve-builds``` and allow all build scripts.
65-
6633
### Development
6734

6835
Run the application in development mode:
6936

7037
```bash
71-
pnpm run dev
72-
```
73-
74-
Or:
75-
76-
```bash
77-
npm run dev # This will also use pnpm to run the scripts
38+
npm run dev
7839
```
7940

80-
8141
### Building for Production
8242

8343
Package the application for your current platform:
8444

8545
```bash
86-
pnpm run electron:build:current_platform
87-
```
88-
89-
Or:
90-
91-
```bash
92-
npm run electron:build:current_platform # This will also use pnpm to run the scripts
46+
npm run electron:build:current_platform
9347
```
9448

9549
## Architecture

package.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,15 @@
55
"type": "module",
66
"main": "app/out-tsc/main.js",
77
"scripts": {
8-
"dev": "concurrently \"pnpm electron:serve\" \"pnpm vite:dev\"",
8+
"dev": "concurrently \"npm run npm:electron:serve\" \"npm run npm:vite:dev\"",
99
"vite:dev": "vite",
10-
"build": "vite build && pnpm run electron:serve-tsc",
11-
"build:prod": "vite build --mode production && pnpm run electron:serve-tsc",
10+
"build": "vite build && npm run npm:electron:serve-tsc",
11+
"build:prod": "vite build --mode production && npm run npm:electron:serve-tsc",
1212
"electron:serve-tsc": "tsc -p app/tsconfig.json",
13-
"electron:serve": "wait-on tcp:5173 && pnpm run electron:serve-tsc && electron . --serve",
14-
"electron:build:current_platform": "rimraf ./release/ && pnpm run build:prod && electron-builder build --publish=never",
13+
"electron:serve": "wait-on tcp:5173 && npm run electron:serve-tsc && electron . --serve",
14+
"electron:build:current_platform": "rimraf ./release/ && npm run build:prod && electron-builder build --publish=never",
1515
"lint": "eslint .",
16-
"preview": "vite preview",
17-
"npm:dev": "concurrently \"npm run npm:electron:serve\" \"npm run npm:vite:dev\"",
18-
"npm:vite:dev": "vite",
19-
"npm:build": "vite build && npm run npm:electron:serve-tsc",
20-
"npm:build:prod": "vite build --mode production && npm run npm:electron:serve-tsc",
21-
"npm:electron:serve-tsc": "tsc -p app/tsconfig.json",
22-
"npm:electron:serve": "wait-on tcp:5173 && npm run electron:serve-tsc && electron . --serve",
23-
"npm:electron:build:current_platform": "rimraf ./release/ && npm run build:prod && electron-builder build --publish=never"
16+
"preview": "vite preview"
2417
},
2518
"dependencies": {
2619
"@ai-sdk/fireworks": "^0.2.5",

0 commit comments

Comments
 (0)