@boomerang-io/webapp-spa-server 1.3.10 → 1.3.11

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.
Files changed (3) hide show
  1. package/index.js +4 -5
  2. package/package.json +1 -2
  3. package/newrelic.js +0 -28
package/index.js CHANGED
@@ -28,8 +28,6 @@ function createBoomerangServer({
28
28
  APP_ROOT = "/",
29
29
  PORT = 3000,
30
30
  HTML_HEAD_INJECTED_DATA_KEYS = defaultHtmlHeadInjectDataKeys.join(),
31
- NEW_RELIC_APP_NAME,
32
- NEW_RELIC_LICENSE_KEY,
33
31
  HTML_HEAD_INJECTED_SCRIPTS,
34
32
  BUILD_DIR = "build",
35
33
  CORS_CONFIG,
@@ -38,10 +36,11 @@ function createBoomerangServer({
38
36
 
39
37
  const appCorsConfig = corsConfig || parseJSONString(CORS_CONFIG);
40
38
 
39
+ // not using new relic for now
41
40
  // Monitoring
42
- if (NEW_RELIC_APP_NAME && NEW_RELIC_LICENSE_KEY) {
43
- require("newrelic");
44
- }
41
+ // if (NEW_RELIC_APP_NAME && NEW_RELIC_LICENSE_KEY) {
42
+ // require("newrelic");
43
+ // }
45
44
 
46
45
  /**
47
46
  * Start Express app
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boomerang-io/webapp-spa-server",
3
3
  "description": "Webapp Server for React-based SPA w/ client-side routing",
4
- "version": "1.3.10",
4
+ "version": "1.3.11",
5
5
  "author": {
6
6
  "name": "Tim Bula",
7
7
  "email": "timrbula@gmail.com"
@@ -33,7 +33,6 @@
33
33
  "dotenv": "^16.0.3",
34
34
  "express": "^5.2.1",
35
35
  "helmet": "^6.0.0",
36
- "newrelic": "^9.15.0",
37
36
  "serialize-javascript": "^7.0.5",
38
37
  "yargs": "^17.6.0"
39
38
  },
package/newrelic.js DELETED
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * New Relic agent configuration.
5
- *
6
- * See lib/config.default.js in the agent distribution for a more complete
7
- * description of configuration variables and their potential values.
8
- */
9
- exports.config = {
10
- /**
11
- * Array of application names.
12
- */
13
- app_name: process.env.NEW_RELIC_APP_NAME,
14
- /**
15
- * Your New Relic license key.
16
- */
17
- license_key: process.env.NEW_RELIC_LICENSE_KEY,
18
- proxy_host: process.env.NEW_RELIC_PROXY_HOST,
19
- proxy_port: process.env.NEW_RELIC_PROXY_PORT,
20
- logging: {
21
- /**
22
- * Level at which to log. 'trace' is most useful to New Relic when diagnosing
23
- * issues with the agent, 'info' and higher will impose the least overhead on
24
- * production applications.
25
- */
26
- level: "info",
27
- },
28
- };