Skip to content

Commit 4f24385

Browse files
committed
Upgrade yarn to version 4
1 parent 299e950 commit 4f24385

File tree

5 files changed

+5197
-3454
lines changed

5 files changed

+5197
-3454
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.yarn/
12
node_modules/
23
coverage/
34
dist/

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
task:
33
image: node:22-alpine
44
working_dir: /home/node
5-
command: sh -c "yarn install && yarn run start-build"
5+
command: sh -c "corepack enable && yarn set version berry && yarn install && yarn run start-build"
66
restart: no
77
volumes:
88
- "./:/home/node"

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"email": "juffalow@juffalow.com",
1010
"url": "https://juffalow.com"
1111
},
12-
"bin": {
13-
"pentest-tool-lite": "./src/index"
14-
},
12+
"bin": "./src/index",
1513
"dependencies": {
1614
"@google-cloud/web-risk": "^4.0.1",
1715
"commander": "^6.0.0",
@@ -59,5 +57,6 @@
5957
"penetration-test",
6058
"analyzer",
6159
"analyser"
62-
]
60+
],
61+
"packageManager": "yarn@4.5.3"
6362
}

0 commit comments

Comments
 (0)