Skip to content

Commit 6a1771b

Browse files
authored
Merge pull request #4 from jordojordo/pnpm
Migrate to pnpm - update deps
2 parents b908af6 + 7b5d706 commit 6a1771b

File tree

5 files changed

+1784
-1497
lines changed

5 files changed

+1784
-1497
lines changed

Containerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
FROM node:22 AS build
22

3+
ENV PNPM_HOME="/pnpm"
4+
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN corepack enable
6+
37
WORKDIR /usr/src/app
48
COPY package*.json ./
5-
RUN yarn
9+
RUN pnpm install
610
COPY . .
7-
RUN yarn build
11+
RUN pnpm build
812

913
FROM node:22
1014
WORKDIR /usr/src/app

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,20 +118,20 @@ send('Hello, ThothScript!');
118118
To set up the thothscript-operator, ensure you have Node.js installed, then run:
119119

120120
```bash
121-
yarn install
121+
pnpm install
122122
```
123123

124124
## Usage
125125
Start the server with:
126126

127127
```bash
128-
yarn start
128+
pnpm start
129129
```
130130

131131
For development, watch for changes in the source files:
132132

133133
```bash
134-
yarn dev
134+
pnpm dev
135135
```
136136

137137
## License

package.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
{
22
"name": "gptscript-operator",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"main": "index.js",
55
"license": "MIT",
66
"type": "module",
7+
"packageManager": "pnpm@9.12.1",
78
"scripts": {
89
"build": "tsc && mkdir -p dist/tools && cp -r src/tools/* dist/tools/",
9-
"clean": "rm -rf dist && yarn cache clean",
10+
"clean": "rm -rf dist && pnpm cache clean",
1011
"start": "node dist/server.js",
1112
"dev": "tsx watch src/server.ts",
1213
"lint": "npx eslint .",
1314
"format": "npx eslint . --fix"
1415
},
1516
"dependencies": {
16-
"@gptscript-ai/gptscript": "^0.9.4",
17+
"@gptscript-ai/gptscript": "^0.9.5",
1718
"body-parser": "^1.20.3",
18-
"express": "^4.19.2",
19-
"ws": "^8.17.1"
19+
"express": "^4.21.1",
20+
"ws": "^8.18.0"
2021
},
2122
"devDependencies": {
23+
"@types/body-parser": "^1.19.5",
2224
"@types/express": "^5.0.0",
23-
"@types/node": "^22.7.2",
24-
"@types/ws": "^8.5.10",
25-
"eslint": "^9.2.0",
26-
"globals": "^15.1.0",
27-
"sse.js": "^2.4.1",
28-
"tsx": "^4.10.1",
29-
"typescript": "^5.4.5"
25+
"@types/node": "^22.7.5",
26+
"@types/ws": "^8.5.12",
27+
"eslint": "^9.12.0",
28+
"globals": "^15.11.0",
29+
"sse.js": "^2.5.0",
30+
"tsx": "^4.19.1",
31+
"typescript": "^5.6.3"
3032
}
3133
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy