Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Commit 512d668

Browse files
authored
build: COMPASS-3933: Fixing up deps (#38)
* build: Fixing up deps * fix: Update `javascript-stringify` - Was being used asa transitive dep from query-parser which updated to `javascript-stringify@2` causing test break - Also update to `mongodb-query-parser@2.0.0` mongodb-js/query-parser#22 * COMPASS-3933: Update electron 6 files * chore: cleanup - query-parser 2.0 - latest travis.yml template - remove electron-packager - cleanup readme * fix: remove storybook and fix another missing dep * fix(ci): Use xvfb-maybe for karma * fix: more package.json love * debugging travis * karma wasnt even used
1 parent 4c95d81 commit 512d668

File tree

11 files changed

+3624
-7479
lines changed

11 files changed

+3624
-7479
lines changed

.travis.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
sudo: required
2-
dist: trusty
1+
sudo: false
2+
dist: bionic
33
language: node_js
44
node_js:
5-
- 10.2.1
5+
- 12.4.0
66
env:
77
matrix:
88
- MONGODB_VERSION=stable MONGODB_TOPOLOGY=standalone
99
addons:
1010
apt:
1111
sources:
12-
- ubuntu-toolchain-r-test
12+
- sourceline: 'ppa:ubuntu-toolchain-r/test'
1313
packages:
1414
- libkrb5-dev
15-
before_script:
16-
- export DISPLAY=:99.0
17-
- sh -e /etc/init.d/xvfb start
18-
before_install:
19-
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> .npmrc
20-
script: npm run ci
21-
cache:
22-
directories:
23-
- $HOME/.electron
24-
- node_modules
15+
- libsecret-1-dev
16+
install:
17+
- npm ci
18+
script:
19+
- npm run ci
20+
cache: npm

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
Compass Schema Validation supports complex validation rules based on JSON Schema, along with the already supported MQL-based simple validation. Compared with previously available document validation, JSON Schema is much more flexible when creating complex validation rules.
66

7-
===
8-
97
## Features
108

119
- Showing, creating, editing and deleting schema validation rules.
@@ -23,6 +21,3 @@ Apache 2.0
2321

2422
[travis_img]: https://travis-ci.com/10gen/compass-schema-validation.svg?token=YR7x4T8Eq47MJVPbWMye&branch=master
2523
[travis_url]: https://travis-ci.org/10gen/compass-schema-validation
26-
[enzyme]: http://airbnb.io/enzyme/
27-
[enzyme-chai]: https://github.com/producthunt/chai-enzyme
28-
[jsdom]: https://github.com/tmpvar/jsdom

electron/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ if ( process.defaultApp || /[\\/]electron-prebuilt[\\/]/.test(process.execPath)
1616
function createWindow() {
1717
// Create the browser window.
1818
mainWindow = new BrowserWindow({
19-
width: 1024, height: 768, show: false
19+
width: 1024,
20+
height: 768,
21+
show: false,
22+
webPreferences: {
23+
nodeIntegration: true
24+
}
2025
});
2126

2227
// and load the index.html of the app.

karma.conf.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)