Commit b77b08c 1 parent 5113d4c commit b77b08c Copy full SHA for b77b08c
File tree 7 files changed +7920
-5148
lines changed
7 files changed +7920
-5148
lines changed Original file line number Diff line number Diff line change 95
95
.serverless /
96
96
97
97
# FuseBox cache
98
+
98
99
.fusebox /
99
100
100
101
# DynamoDB Local files
@@ -104,4 +105,12 @@ dist
104
105
.tern-port
105
106
106
107
# IntelliJ
107
- .idea
108
+ .idea
109
+
110
+ # Yarn v4
111
+ .yarn /*
112
+ ! .yarn /patches
113
+ ! .yarn /plugins
114
+ ! .yarn /releases
115
+ ! .yarn /sdks
116
+ ! .yarn /versions
Original file line number Diff line number Diff line change 1
- v14.19
1
+ 20
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ nodeLinker : node-modules
2
+
3
+ yarnPath : .yarn/releases/yarn-4.3.1.cjs
Original file line number Diff line number Diff line change 1
- FROM node:18 -alpine as builder
1
+ FROM node:20 -alpine as builder
2
2
3
3
WORKDIR /unleash-proxy
4
4
5
5
COPY . .
6
6
7
- RUN yarn install --frozen-lockfile --ignore-scripts
7
+ RUN corepack enable
8
+
9
+ ENV YARN_ENABLE_SCRIPTS=false
10
+
11
+ RUN yarn install --immutable
8
12
9
13
RUN yarn build
10
14
11
- RUN yarn install --production --frozen-lockfile --ignore-scripts --prefer-offline
15
+ RUN yarn workspaces focus -A --production
12
16
13
- FROM node:18 -alpine
17
+ FROM node:20 -alpine
14
18
15
19
# Upgrade (addresses OpenSSL CVE-2023-6237 && CVE-2024-2511)
16
20
RUN apk update && \
@@ -30,7 +34,7 @@ RUN chown -R node:node /unleash-proxy
30
34
31
35
ENTRYPOINT ["/sbin/tini" , "--" ]
32
36
33
- EXPOSE 4242
37
+ EXPOSE 3000
34
38
35
39
USER node
36
40
Original file line number Diff line number Diff line change 6
6
"types" : " dist/index.d.ts" ,
7
7
"scripts" : {
8
8
"build" : " tsc --pretty" ,
9
- "example" : " npm run build && node example" ,
9
+ "example" : " yarn run build && node example" ,
10
10
"lint" : " eslint ./src" ,
11
11
"test" : " jest" ,
12
12
"updateSnapshots" : " jest -u" ,
20
20
"url" : " git+https://github.com/Unleash/unleash-proxy.git"
21
21
},
22
22
"engines" : {
23
- "node" : " >=16 "
23
+ "node" : " >=20 "
24
24
},
25
25
"keywords" : [
26
26
" Unleash" ,
95
95
"qs" : " ^6.9.7" ,
96
96
"json5" : " ^2.2.2" ,
97
97
"cookiejar" : " ^2.1.4"
98
- }
98
+ },
99
+ "packageManager" : " yarn@4.3.1"
99
100
}
You can’t perform that action at this time.
0 commit comments