Skip to content

Commit 2c82110

Browse files
committed
feat: setup gitpod
1 parent df70b5e commit 2c82110

File tree

4 files changed

+43
-3
lines changed

4 files changed

+43
-3
lines changed

.gitpod.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This configuration file was automatically generated by Gitpod.
2+
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
3+
# and commit this file to your remote git repository to share the goodness with others.
4+
5+
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
6+
7+
tasks:
8+
- init: npm install
9+
command: npm run prepare && npm run start:dev
10+
11+

package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"test": "jest",
99
"start": "mprocs --config ./config/mprocs.yml",
1010
"start:dev": "mprocs --config ./config/mprocs.dev.yml",
11+
"prepare": "mkdr db log benchmarks",
1112
"reset": "rm -r db log && mkdir db log",
1213
"get": "node ./src/single-client-proxy.js --set false --get true",
1314
"set": "node ./src/single-client-proxy.js --set true --get false",
@@ -18,7 +19,7 @@
1819
"type": "git",
1920
"url": "git+https://github.com/ChakshuGautam/stylusdb-js.git"
2021
},
21-
"author": "ChakshuGautam",
22+
"author": "Yash Mittal (@techsavvyash), Rahul Shrimali (@rahul-shrimali), Chakshu Gautam (@ChakshuGautam)",
2223
"license": "ISC",
2324
"bugs": {
2425
"url": "https://github.com/ChakshuGautam/stylusdb-js/issues"

src/utils/stream-parsers/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ function parseServerStream(pkt) {
1717
})
1818
.map((item) => {
1919
item = item.trim();
20-
// return simdjson.lazyParse(item).valueForKeyPath("");
21-
return JSON.parse(item);
20+
return simdjson.lazyParse(item).valueForKeyPath("");
21+
// return JSON.parse(item);
2222
});
2323
}
2424

0 commit comments

Comments
 (0)