Skip to content

Commit

Permalink
chore(plugin-server): remove unused vm libraries that are made availa…
Browse files Browse the repository at this point in the history
…ble as imports
  • Loading branch information
bretthoerner committed Nov 16, 2023
1 parent 6c16a42 commit 8a96401
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions plugin-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
"@babel/standalone": "^7.18.12",
"@google-cloud/bigquery": "^5.6.0",
"@google-cloud/pubsub": "3.0.1",
"@google-cloud/storage": "^5.8.5",
"@maxmind/geoip2-node": "^3.4.0",
Expand All @@ -59,10 +58,8 @@
"asn1.js": "^5.4.1",
"aws-sdk": "^2.927.0",
"escape-string-regexp": "^4.0.0",
"ethers": "^5.5.2",
"faker": "^5.5.3",
"fast-deep-equal": "^3.1.3",
"generic-pool": "^3.7.1",
"graphile-worker": "0.13.0",
"hot-shots": "^9.2.0",
"ioredis": "^4.27.6",
Expand All @@ -82,7 +79,6 @@
"prom-client": "^14.2.0",
"re2": "^1.20.3",
"safe-stable-stringify": "^2.4.0",
"snowflake-sdk": "^1.6.10",
"tail": "^2.2.6",
"uuid": "^8.3.2",
"v8-profiler-next": "^1.9.0",
Expand Down
8 changes: 0 additions & 8 deletions plugin-server/src/worker/vm/imports.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
import * as bigquery from '@google-cloud/bigquery'
import * as pubsub from '@google-cloud/pubsub'
import * as gcs from '@google-cloud/storage'
import * as contrib from '@posthog/plugin-contrib'
import * as scaffold from '@posthog/plugin-scaffold'
import * as AWS from 'aws-sdk'
import crypto from 'crypto'
import * as ethers from 'ethers'
import * as faker from 'faker'
import * as genericPool from 'generic-pool'
import * as jsonwebtoken from 'jsonwebtoken'
import * as pg from 'pg'
import snowflake from 'snowflake-sdk'
import { PassThrough } from 'stream'
import * as url from 'url'
import * as zlib from 'zlib'
Expand All @@ -25,16 +21,12 @@ export const AVAILABLE_IMPORTS = {
'test-utils/write-to-file': writeToFile,
}
: {}),
'@google-cloud/bigquery': bigquery,
'@google-cloud/pubsub': pubsub,
'@google-cloud/storage': gcs,
'@posthog/plugin-contrib': contrib,
'@posthog/plugin-scaffold': scaffold,
'aws-sdk': AWS,
ethers: ethers,
'generic-pool': genericPool,
'node-fetch': trackedFetch,
'snowflake-sdk': snowflake,
crypto: crypto,
jsonwebtoken: jsonwebtoken,
faker: faker,
Expand Down

0 comments on commit 8a96401

Please sign in to comment.