@live-change/db-server 0.5.16 → 0.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +0 -2
- package/build-docker-and-upload.sh +2 -4
- package/package.json +11 -11
package/Dockerfile
CHANGED
|
@@ -4,12 +4,10 @@ USER root
|
|
|
4
4
|
RUN npm -g config set user root
|
|
5
5
|
|
|
6
6
|
RUN npm install -g encoding-down
|
|
7
|
-
RUN npm install -g level-rocksdb
|
|
8
7
|
RUN npm install -g leveldown
|
|
9
8
|
RUN npm install -g levelup
|
|
10
9
|
RUN npm install -g memdown
|
|
11
10
|
RUN npm install -g node-lmdb
|
|
12
|
-
RUN npm install -g rocksdb
|
|
13
11
|
RUN npm install -g subleveldown
|
|
14
12
|
|
|
15
13
|
COPY package.json .
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
VERSION=`echo "console.log(require('./package.json').version)" | node`
|
|
3
|
+
PLATFORMS="linux/amd64,linux/arm64,linux/arm/v7"
|
|
3
4
|
echo building docker image for version $VERSION
|
|
4
|
-
docker build -t livechange/db-server:$VERSION -t livechange/db-server:latest .
|
|
5
|
-
echo uploading docker image to docker hub
|
|
6
|
-
docker push livechange/db-server:$VERSION
|
|
7
|
-
docker push livechange/db-server:latest
|
|
5
|
+
docker buildx build --platform $PLATFORMS -t livechange/db-server:$VERSION -t livechange/db-server:latest --push .
|
|
8
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/db-server",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.17",
|
|
4
4
|
"description": "Database with observable data for live queries",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"tape": "^5.3.2"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@live-change/dao": "0.5.
|
|
31
|
+
"@live-change/dao": "0.5.4",
|
|
32
32
|
"@live-change/dao-sockjs": "0.5.1",
|
|
33
|
-
"@live-change/dao-websocket": "0.5.
|
|
34
|
-
"@live-change/db": "^0.5.
|
|
35
|
-
"@live-change/db-admin": "^0.5.
|
|
36
|
-
"@live-change/db-client": "^0.5.
|
|
37
|
-
"@live-change/db-store-level": "^0.5.
|
|
38
|
-
"@live-change/db-store-lmdb": "^0.5.
|
|
39
|
-
"@live-change/db-store-observable-db": "^0.5.
|
|
40
|
-
"@live-change/db-store-rbtree": "^0.5.
|
|
33
|
+
"@live-change/dao-websocket": "0.5.4",
|
|
34
|
+
"@live-change/db": "^0.5.17",
|
|
35
|
+
"@live-change/db-admin": "^0.5.17",
|
|
36
|
+
"@live-change/db-client": "^0.5.17",
|
|
37
|
+
"@live-change/db-store-level": "^0.5.17",
|
|
38
|
+
"@live-change/db-store-lmdb": "^0.5.17",
|
|
39
|
+
"@live-change/db-store-observable-db": "^0.5.17",
|
|
40
|
+
"@live-change/db-store-rbtree": "^0.5.17",
|
|
41
41
|
"@live-change/sockjs": "0.4.1",
|
|
42
42
|
"express": "^4.18.1",
|
|
43
43
|
"line-reader": "^0.4.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"websocket": "^1.0.34",
|
|
50
50
|
"yargs": "^17.5.1"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "2cf454d526989864a722f68ad3b8752af6c9ce36"
|
|
53
53
|
}
|