Skip to content

Commit eab4bcd

Browse files
Merge pull request #3589 from RedisInsight/build/feature/RI-5413-enhance-web-builds
Build/feature/ri 5413 enhance web builds
2 parents e904d3b + 09aca06 commit eab4bcd

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ jobs:
707707
command: |
708708
yarn install
709709
yarn --cwd redisinsight/api/ install
710+
yarn --cwd redisinsight/ install
710711
yarn build:statics
711712
no_output_timeout: 15m
712713
- run:
@@ -799,9 +800,12 @@ jobs:
799800
npm install --global yarn
800801
801802
# set ALL_REDIS_COMMANDS=$(curl $ALL_REDIS_COMMANDS_RAW_URL)
803+
# install dependencies
802804
yarn install
803805
yarn --cwd redisinsight/api/ install
806+
yarn --cwd redisinsight/ install
804807
yarn build:statics:win
808+
805809
if [ << parameters.env >> == 'prod' ]; then
806810
yarn package:prod
807811
rm -rf release/win-unpacked

redisinsight/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"email": "[email protected]",
1212
"url": "https://redis.com/redis-enterprise/redis-insight"
1313
},
14-
"scripts": {},
14+
"scripts": {
15+
"postinstall": "npx patch-package"
16+
},
1517
"resolutions": {
1618
"**/semver": "^7.5.2"
1719
},
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/node_modules/sqlite3/package.json b/node_modules/sqlite3/package.json
2+
index ab413ff..a54b830 100644
3+
--- a/node_modules/sqlite3/package.json
4+
+++ b/node_modules/sqlite3/package.json
5+
@@ -9,7 +9,6 @@
6+
},
7+
"binary": {
8+
"napi_versions": [
9+
- 3,
10+
6
11+
]
12+
},

0 commit comments

Comments
 (0)