Skip to content

Commit

Permalink
fix unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdemartini committed Aug 5, 2019
1 parent 38f87f1 commit 2bb2852
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 43 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"jest-watch-typeahead": "^0.3.1",
"lerna": "^3.15.0",
"lerna-alias": "^3.0.2",
"markdown-table": "^1.1.3",
"pkg-up": "^3.1.0",
"semver": "^6.1.1",
"ts-jest": "^24.0.2",
Expand Down
4 changes: 3 additions & 1 deletion packages/data-access-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@
"test:watch": "ts-scripts test --watch . --"
},
"dependencies": {
"@apollographql/graphql-playground-html": "^1.6.24",
"@terascope/data-access": "^0.12.6",
"@terascope/data-types": "^0.5.2",
"@terascope/elasticsearch-api": "^2.1.1",
"@terascope/utils": "^0.14.1",
"accepts": "^1.3.7",
"apollo-server-express": "^2.6.5",
"body-parser": "1.19.0",
"elasticsearch-store": "^0.10.3",
"graphql": "^14.3.1",
"graphql-iso-date": "^3.6.1",
"graphql-tag": "^2.10.1",
"graphql-type-json": "^0.3.0",
"terafoundation": "^0.11.2",
"xlucene-evaluator": "^0.9.6"
Expand Down
1 change: 0 additions & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"got": "^9.6.0",
"ip": "^1.1.5",
"is-ci": "^2.0.0",
"markdown-table": "^1.1.3",
"ms": "^2.1.2",
"pkg-up": "^3.1.0",
"semver": "^6.1.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/teraslice-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@
"lodash": "^4.17.11",
"node-yaml": "^4.0.0",
"prompts": "^2.1.0",
"syncprompt": "^2.0.0",
"teraslice-client-js": "^0.7.2",
"tmp": "^0.1.0",
"tty-table": "^2.7.0",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"yargs": "^13.2.4",
"yeoman-environment": "^2.3.4",
"yeoman-generator": "^4.0.1",
Expand Down
5 changes: 3 additions & 2 deletions packages/teraslice/lib/workers/worker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ class Worker {
const { context } = this;
this.isInitialized = true;

await this.executionContext.initialize();

const stateStore = makeStateStore(context);
const analyticsStore = makeAnalyticsStore(context);
this.stores.stateStore = await stateStore;
Expand All @@ -88,6 +86,9 @@ class Worker {

await this.client.start();

// initialize the execution context next
await this.executionContext.initialize();

try {
if (this.metrics != null) {
await this.metrics.initialize();
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"test": "echo '* tests not supported yet'"
},
"dependencies": {
"@terascope/data-access": "^0.12.6",
"@terascope/utils": "^0.14.1",
"apollo-boost": "^0.4.3",
"apollo-client": "^2.6.3",
Expand All @@ -38,6 +37,7 @@
"semantic-ui-react": "^0.87.2"
},
"devDependencies": {
"@terascope/data-access": "^0.12.6",
"@types/jest": "24.0.15",
"@types/node": "12.6.9",
"@types/react": "16.8.23",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-components/src/SuccessMessage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Redirect } from 'react-router';
import { Redirect } from 'react-router-dom';
import { Message, Icon } from 'semantic-ui-react';

const SuccessMessage: React.FC<Props> = ({
Expand Down
1 change: 1 addition & 0 deletions packages/ui-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"apollo-boost": "^0.4.3",
"apollo-client": "^2.6.3",
"graphql": "^14.3.1",
"graphql-tag": "^2.10.1",
"history": "^4.9.0",
"npm-watch": "^0.6.0",
"prop-types": "^15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-core/src/components/Logout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import gql from 'graphql-tag';
import { Query, ApolloConsumer } from 'react-apollo';
import { Redirect } from 'react-router';
import { Redirect } from 'react-router-dom';
import { parseErrorInfo } from '@terascope/utils';
import {
LoadingPage,
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-data-access/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@
"apollo-boost": "^0.4.3",
"apollo-client": "^2.6.3",
"css-loader": "^3.0.0",
"date-fns": "^1.30.1",
"graphql": "^14.3.1",
"graphql-tag": "^2.10.1",
"history": "^4.9.0",
"prop-types": "^15.7.2",
"query-string": "^6.8.2",
"react": "^16.8.6",
"react-apollo": "^2.5.7",
"react-dom": "^16.8.6",
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/bench/data-entity-suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

/* eslint-disable no-unused-expressions */

const { times } = require('@terascope/utils');
const { Suite } = require('./helpers');
const FakeDataEntity = require('./fixtures/fake-data-entity');
const { DataEntity } = require('../dist/src');
const { DataEntity, times } = require('../dist/src');

const data = {};

Expand Down
3 changes: 1 addition & 2 deletions packages/xlucene-evaluator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"is-cidr": "^3.0.0",
"latlon-geohash": "^1.1.0",
"lodash": "^4.17.11",
"pegjs-backtrace": "^0.2.0",
"rambda": "^2.11.1"
"pegjs-backtrace": "^0.2.0"
},
"devDependencies": {
"elasticsearch": "^15.4.1",
Expand Down
33 changes: 4 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
dependencies:
apollo-env "0.5.1"

"@apollographql/[email protected]":
"@apollographql/[email protected]", "@apollographql/graphql-playground-html@^1.6.24":
version "1.6.24"
resolved "https://registry.yarnpkg.com/@apollographql/graphql-playground-html/-/graphql-playground-html-1.6.24.tgz#3ce939cb127fb8aaa3ffc1e90dff9b8af9f2e3dc"
integrity sha512-8GqG48m1XqyXh4mIZrtB5xOhUwSsh1WsrrsaZQOEYYql3YN9DEu9OOSg0ILzXHZo/h2Q74777YE4YzlArQzQEQ==
Expand Down Expand Up @@ -3000,7 +3000,7 @@ [email protected]:
mime-types "~2.1.11"
negotiator "0.6.1"

accepts@^1.3.5, accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
accepts@^1.3.5, accepts@^1.3.7, accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.7:
version "1.3.7"
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==
Expand Down Expand Up @@ -4064,13 +4064,6 @@ binaryextensions@^2.1.2:
resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-2.1.2.tgz#c83c3d74233ba7674e4f313cb2a2b70f54e94b7c"
integrity sha512-xVNN69YGDghOqCCtA6FI7avYrr02mTJjOgB0/f1VPD3pJC8QEvjTKWc4epDx8AqxxA75NI0QpVM2gPJXUbE4Tg==

bindings@^1.2.1:
version "1.5.0"
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==
dependencies:
file-uri-to-path "1.0.0"

bl@^1.0.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.2.tgz#a160911717103c07410cef63ef51b397c025af9c"
Expand Down Expand Up @@ -7409,11 +7402,6 @@ file-type@^6.1.0:
resolved "https://registry.yarnpkg.com/file-type/-/file-type-6.2.0.tgz#e50cd75d356ffed4e306dc4f5bcf52a79903a919"
integrity sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==

[email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==

fileset@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0"
Expand Down Expand Up @@ -11135,11 +11123,6 @@ map-visit@^1.0.0:
dependencies:
object-visit "^1.0.0"

markdown-table@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.3.tgz#9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60"
integrity sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==

marked@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e"
Expand Down Expand Up @@ -11718,7 +11701,7 @@ mz@^2.5.0:
object-assign "^4.0.1"
thenify-all "^1.0.0"

nan@^2.10.0, nan@^2.4.0:
nan@^2.10.0:
version "2.12.1"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552"
integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw==
Expand Down Expand Up @@ -14089,7 +14072,7 @@ query-string@^5.0.1:
object-assign "^4.1.0"
strict-uri-encode "^1.0.0"

query-string@^6.8.1:
query-string@^6.8.1, query-string@^6.8.2:
version "6.8.2"
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.8.2.tgz#36cb7e452ae11a4b5e9efee83375e0954407b2f6"
integrity sha512-J3Qi8XZJXh93t2FiKyd/7Ec6GNifsjKXUsVFkSBj/kjLsDylWhnCz4NT1bkPcKotttPW+QbKGqqPH8OoI2pdqw==
Expand Down Expand Up @@ -16164,14 +16147,6 @@ symbol-tree@^3.2.2:
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6"
integrity sha1-rifbOPZgp64uHDt9G8KQgZuFGeY=

syncprompt@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/syncprompt/-/syncprompt-2.0.0.tgz#b4f303d385e6a0e214614a12d22e8d97234669a4"
integrity sha512-tPYCsLGWTDRlET7cen2iAwbmO+lSwfIdKoLkUPC41t/54UhqbzpwXL4RhODu5fQnmZdQZlEFKeD0W/BysU5WEg==
dependencies:
bindings "^1.2.1"
nan "^2.4.0"

table@^5.2.3:
version "5.2.3"
resolved "https://registry.yarnpkg.com/table/-/table-5.2.3.tgz#cde0cc6eb06751c009efab27e8c820ca5b67b7f2"
Expand Down

0 comments on commit 2bb2852

Please sign in to comment.