fix: newrelic deps and setup db and cache for local development purposes

This commit is contained in:
Karol Sójko 2022-06-24 15:18:41 +02:00
parent d21d752029
commit ff09ae0a47
No known key found for this signature in database
GPG key ID: A50543BF560BDEB0
23 changed files with 85 additions and 395 deletions

6
.env.sample Normal file
View file

@ -0,0 +1,6 @@
DB_PORT=3306
DB_USERNAME=std_notes_user
DB_PASSWORD=changeme123
DB_DATABASE=standard_notes_db
REDIS_PORT=6379

3
.gitignore vendored
View file

@ -18,3 +18,6 @@ newrelic_agent.log
packages/files/uploads/* packages/files/uploads/*
!packages/files/uploads/.gitkeep !packages/files/uploads/.gitkeep
data/*
!data/.gitkeep

219
.pnp.cjs generated
View file

@ -64,10 +64,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@lerna-lite/list", "npm:1.5.1"],\ ["@lerna-lite/list", "npm:1.5.1"],\
["@lerna-lite/run", "npm:1.5.1"],\ ["@lerna-lite/run", "npm:1.5.1"],\
["@types/jest", "npm:28.1.3"],\ ["@types/jest", "npm:28.1.3"],\
["@types/newrelic", "npm:7.0.3"],\
["@types/node", "npm:18.0.0"],\ ["@types/node", "npm:18.0.0"],\
["@typescript-eslint/parser", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:5.29.0"],\ ["@typescript-eslint/parser", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:5.29.0"],\
["eslint", "npm:8.18.0"],\ ["eslint", "npm:8.18.0"],\
["eslint-config-prettier", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:8.5.0"],\ ["eslint-config-prettier", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:8.5.0"],\
["newrelic", "npm:8.14.1"],\
["prettier", "npm:2.7.1"],\ ["prettier", "npm:2.7.1"],\
["ts-node", "virtual:9e9d2b94dac68914cfc6173c41e92914f6d1fe30b9ab6e163c2043744960a73d771c78f37827a8773b7adeb75f4b67f907cd8c18197a7807ce979a4aea3b2602#npm:10.8.1"],\ ["ts-node", "virtual:9e9d2b94dac68914cfc6173c41e92914f6d1fe30b9ab6e163c2043744960a73d771c78f37827a8773b7adeb75f4b67f907cd8c18197a7807ce979a4aea3b2602#npm:10.8.1"],\
["typescript", "patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=7ad353"]\ ["typescript", "patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=7ad353"]\
@ -1100,15 +1102,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["@grpc/proto-loader", [\ ["@grpc/proto-loader", [\
["npm:0.5.6", {\
"packageLocation": "./.yarn/cache/@grpc-proto-loader-npm-0.5.6-ef97ffeb0b-13fe76d84a.zip/node_modules/@grpc/proto-loader/",\
"packageDependencies": [\
["@grpc/proto-loader", "npm:0.5.6"],\
["lodash.camelcase", "npm:4.3.0"],\
["protobufjs", "npm:6.11.3"]\
],\
"linkType": "HARD"\
}],\
["npm:0.6.13", {\ ["npm:0.6.13", {\
"packageLocation": "./.yarn/cache/@grpc-proto-loader-npm-0.6.13-658ac26dfb-863417e961.zip/node_modules/@grpc/proto-loader/",\ "packageLocation": "./.yarn/cache/@grpc-proto-loader-npm-0.6.13-658ac26dfb-863417e961.zip/node_modules/@grpc/proto-loader/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1730,13 +1723,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["@newrelic/aws-sdk", [\ ["@newrelic/aws-sdk", [\
["npm:3.1.0", {\
"packageLocation": "./.yarn/cache/@newrelic-aws-sdk-npm-3.1.0-7c3485a153-5601d90c78.zip/node_modules/@newrelic/aws-sdk/",\
"packageDependencies": [\
["@newrelic/aws-sdk", "npm:3.1.0"]\
],\
"linkType": "SOFT"\
}],\
["npm:4.1.2", {\ ["npm:4.1.2", {\
"packageLocation": "./.yarn/cache/@newrelic-aws-sdk-npm-4.1.2-9930120a02-610f6353a7.zip/node_modules/@newrelic/aws-sdk/",\ "packageLocation": "./.yarn/cache/@newrelic-aws-sdk-npm-4.1.2-9930120a02-610f6353a7.zip/node_modules/@newrelic/aws-sdk/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1744,20 +1730,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\ ],\
"linkType": "SOFT"\ "linkType": "SOFT"\
}],\ }],\
["virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:4.1.2", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-aws-sdk-virtual-b2151ed930/0/cache/@newrelic-aws-sdk-npm-4.1.2-9930120a02-610f6353a7.zip/node_modules/@newrelic/aws-sdk/",\
"packageDependencies": [\
["@newrelic/aws-sdk", "virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:4.1.2"],\
["@types/newrelic", null],\
["newrelic", "npm:8.6.0"],\
["semver", "npm:7.3.7"]\
],\
"packagePeers": [\
"@types/newrelic",\
"newrelic"\
],\
"linkType": "HARD"\
}],\
["virtual:b659d4d19ce37732618223b586685dc7b27d11c52dca80d8411fdda38a4e6a7967776a5d7bdcce0be779cd6a41e2d84f8bbd3d3b5c06ce5ae40ad814517dfcfb#npm:4.1.2", {\ ["virtual:b659d4d19ce37732618223b586685dc7b27d11c52dca80d8411fdda38a4e6a7967776a5d7bdcce0be779cd6a41e2d84f8bbd3d3b5c06ce5ae40ad814517dfcfb#npm:4.1.2", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-aws-sdk-virtual-a259cc13ec/0/cache/@newrelic-aws-sdk-npm-4.1.2-9930120a02-610f6353a7.zip/node_modules/@newrelic/aws-sdk/",\ "packageLocation": "./.yarn/__virtual__/@newrelic-aws-sdk-virtual-a259cc13ec/0/cache/@newrelic-aws-sdk-npm-4.1.2-9930120a02-610f6353a7.zip/node_modules/@newrelic/aws-sdk/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1771,29 +1743,9 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"newrelic"\ "newrelic"\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:3.1.0", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-aws-sdk-virtual-9720173dde/0/cache/@newrelic-aws-sdk-npm-3.1.0-7c3485a153-5601d90c78.zip/node_modules/@newrelic/aws-sdk/",\
"packageDependencies": [\
["@newrelic/aws-sdk", "virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:3.1.0"],\
["@types/newrelic", null],\
["newrelic", "npm:7.5.2"]\
],\
"packagePeers": [\
"@types/newrelic",\
"newrelic"\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@newrelic/koa", [\ ["@newrelic/koa", [\
["npm:5.0.0", {\
"packageLocation": "./.yarn/cache/@newrelic-koa-npm-5.0.0-c9c6a0e1dc-e98d921b96.zip/node_modules/@newrelic/koa/",\
"packageDependencies": [\
["@newrelic/koa", "npm:5.0.0"]\
],\
"linkType": "SOFT"\
}],\
["npm:6.1.2", {\ ["npm:6.1.2", {\
"packageLocation": "./.yarn/cache/@newrelic-koa-npm-6.1.2-df0f7c71b5-e269d37b13.zip/node_modules/@newrelic/koa/",\ "packageLocation": "./.yarn/cache/@newrelic-koa-npm-6.1.2-df0f7c71b5-e269d37b13.zip/node_modules/@newrelic/koa/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1801,19 +1753,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\ ],\
"linkType": "SOFT"\ "linkType": "SOFT"\
}],\ }],\
["virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:6.1.2", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-koa-virtual-94b8735dec/0/cache/@newrelic-koa-npm-6.1.2-df0f7c71b5-e269d37b13.zip/node_modules/@newrelic/koa/",\
"packageDependencies": [\
["@newrelic/koa", "virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:6.1.2"],\
["@types/newrelic", null],\
["newrelic", "npm:8.6.0"]\
],\
"packagePeers": [\
"@types/newrelic",\
"newrelic"\
],\
"linkType": "HARD"\
}],\
["virtual:b659d4d19ce37732618223b586685dc7b27d11c52dca80d8411fdda38a4e6a7967776a5d7bdcce0be779cd6a41e2d84f8bbd3d3b5c06ce5ae40ad814517dfcfb#npm:6.1.2", {\ ["virtual:b659d4d19ce37732618223b586685dc7b27d11c52dca80d8411fdda38a4e6a7967776a5d7bdcce0be779cd6a41e2d84f8bbd3d3b5c06ce5ae40ad814517dfcfb#npm:6.1.2", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-koa-virtual-2df93240b5/0/cache/@newrelic-koa-npm-6.1.2-df0f7c71b5-e269d37b13.zip/node_modules/@newrelic/koa/",\ "packageLocation": "./.yarn/__virtual__/@newrelic-koa-virtual-2df93240b5/0/cache/@newrelic-koa-npm-6.1.2-df0f7c71b5-e269d37b13.zip/node_modules/@newrelic/koa/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1826,54 +1765,9 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"newrelic"\ "newrelic"\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:5.0.0", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-koa-virtual-2873d18af2/0/cache/@newrelic-koa-npm-5.0.0-c9c6a0e1dc-e98d921b96.zip/node_modules/@newrelic/koa/",\
"packageDependencies": [\
["@newrelic/koa", "virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:5.0.0"],\
["@types/newrelic", null],\
["methods", "npm:1.1.2"],\
["newrelic", "npm:7.5.2"]\
],\
"packagePeers": [\
"@types/newrelic",\
"newrelic"\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@newrelic/native-metrics", [\ ["@newrelic/native-metrics", [\
["npm:6.0.2", {\
"packageLocation": "./.yarn/unplugged/@newrelic-native-metrics-npm-6.0.2-805c5534f5/node_modules/@newrelic/native-metrics/",\
"packageDependencies": [\
["@newrelic/native-metrics", "npm:6.0.2"],\
["nan", "npm:2.16.0"],\
["node-gyp", "npm:9.0.0"],\
["semver", "npm:5.7.1"]\
],\
"linkType": "HARD"\
}],\
["npm:7.0.2", {\
"packageLocation": "./.yarn/unplugged/@newrelic-native-metrics-npm-7.0.2-b4dcec08eb/node_modules/@newrelic/native-metrics/",\
"packageDependencies": [\
["@newrelic/native-metrics", "npm:7.0.2"],\
["nan", "npm:2.16.0"],\
["node-gyp", "npm:9.0.0"],\
["semver", "npm:5.7.1"]\
],\
"linkType": "HARD"\
}],\
["npm:7.1.2", {\
"packageLocation": "./.yarn/unplugged/@newrelic-native-metrics-npm-7.1.2-0e5392c2f6/node_modules/@newrelic/native-metrics/",\
"packageDependencies": [\
["@newrelic/native-metrics", "npm:7.1.2"],\
["https-proxy-agent", "npm:5.0.1"],\
["nan", "npm:2.16.0"],\
["node-gyp", "npm:9.0.0"],\
["semver", "npm:5.7.1"]\
],\
"linkType": "HARD"\
}],\
["npm:8.0.0", {\ ["npm:8.0.0", {\
"packageLocation": "./.yarn/unplugged/@newrelic-native-metrics-npm-8.0.0-c254393d6e/node_modules/@newrelic/native-metrics/",\ "packageLocation": "./.yarn/unplugged/@newrelic-native-metrics-npm-8.0.0-c254393d6e/node_modules/@newrelic/native-metrics/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1887,13 +1781,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["@newrelic/superagent", [\ ["@newrelic/superagent", [\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/@newrelic-superagent-npm-4.0.0-6cc7e8ec57-5fb257ac05.zip/node_modules/@newrelic/superagent/",\
"packageDependencies": [\
["@newrelic/superagent", "npm:4.0.0"]\
],\
"linkType": "SOFT"\
}],\
["npm:5.1.1", {\ ["npm:5.1.1", {\
"packageLocation": "./.yarn/cache/@newrelic-superagent-npm-5.1.1-0d3c1fccf8-b43f7b9bb6.zip/node_modules/@newrelic/superagent/",\ "packageLocation": "./.yarn/cache/@newrelic-superagent-npm-5.1.1-0d3c1fccf8-b43f7b9bb6.zip/node_modules/@newrelic/superagent/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1901,19 +1788,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\ ],\
"linkType": "SOFT"\ "linkType": "SOFT"\
}],\ }],\
["virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:5.1.1", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-superagent-virtual-82e2d8818c/0/cache/@newrelic-superagent-npm-5.1.1-0d3c1fccf8-b43f7b9bb6.zip/node_modules/@newrelic/superagent/",\
"packageDependencies": [\
["@newrelic/superagent", "virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:5.1.1"],\
["@types/newrelic", null],\
["newrelic", "npm:8.6.0"]\
],\
"packagePeers": [\
"@types/newrelic",\
"newrelic"\
],\
"linkType": "HARD"\
}],\
["virtual:b659d4d19ce37732618223b586685dc7b27d11c52dca80d8411fdda38a4e6a7967776a5d7bdcce0be779cd6a41e2d84f8bbd3d3b5c06ce5ae40ad814517dfcfb#npm:5.1.1", {\ ["virtual:b659d4d19ce37732618223b586685dc7b27d11c52dca80d8411fdda38a4e6a7967776a5d7bdcce0be779cd6a41e2d84f8bbd3d3b5c06ce5ae40ad814517dfcfb#npm:5.1.1", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-superagent-virtual-d7de4099d8/0/cache/@newrelic-superagent-npm-5.1.1-0d3c1fccf8-b43f7b9bb6.zip/node_modules/@newrelic/superagent/",\ "packageLocation": "./.yarn/__virtual__/@newrelic-superagent-virtual-d7de4099d8/0/cache/@newrelic-superagent-npm-5.1.1-0d3c1fccf8-b43f7b9bb6.zip/node_modules/@newrelic/superagent/",\
"packageDependencies": [\ "packageDependencies": [\
@ -1926,20 +1800,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"newrelic"\ "newrelic"\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:4.0.0", {\
"packageLocation": "./.yarn/__virtual__/@newrelic-superagent-virtual-05297db2ec/0/cache/@newrelic-superagent-npm-4.0.0-6cc7e8ec57-5fb257ac05.zip/node_modules/@newrelic/superagent/",\
"packageDependencies": [\
["@newrelic/superagent", "virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:4.0.0"],\
["@types/newrelic", null],\
["methods", "npm:1.1.2"],\
["newrelic", "npm:7.5.2"]\
],\
"packagePeers": [\
"@types/newrelic",\
"newrelic"\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@newrelic/winston-enricher", [\ ["@newrelic/winston-enricher", [\
@ -1956,7 +1816,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\ ["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\
["@types/newrelic", "npm:7.0.3"],\ ["@types/newrelic", "npm:7.0.3"],\
["@types/winston", null],\ ["@types/winston", null],\
["newrelic", "npm:8.6.0"],\ ["newrelic", "npm:8.14.1"],\
["winston", "npm:3.3.3"]\ ["winston", "npm:3.3.3"]\
],\ ],\
"packagePeers": [\ "packagePeers": [\
@ -2595,7 +2455,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageLocation": "./packages/api-gateway/",\ "packageLocation": "./packages/api-gateway/",\
"packageDependencies": [\ "packageDependencies": [\
["@standardnotes/api-gateway", "workspace:packages/api-gateway"],\ ["@standardnotes/api-gateway", "workspace:packages/api-gateway"],\
["@newrelic/native-metrics", "npm:7.0.2"],\
["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\ ["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\
["@sentry/node", "npm:6.19.7"],\ ["@sentry/node", "npm:6.19.7"],\
["@standardnotes/analytics", "npm:1.6.0"],\ ["@standardnotes/analytics", "npm:1.6.0"],\
@ -2624,7 +2483,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["ioredis", "npm:5.0.6"],\ ["ioredis", "npm:5.0.6"],\
["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\ ["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\
["jsonwebtoken", "npm:8.5.1"],\ ["jsonwebtoken", "npm:8.5.1"],\
["newrelic", "npm:8.6.0"],\ ["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.16"],\ ["nodemon", "npm:2.0.16"],\
["prettyjson", "npm:1.2.1"],\ ["prettyjson", "npm:1.2.1"],\
["reflect-metadata", "npm:0.1.13"],\ ["reflect-metadata", "npm:0.1.13"],\
@ -2659,7 +2518,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageLocation": "./packages/auth/",\ "packageLocation": "./packages/auth/",\
"packageDependencies": [\ "packageDependencies": [\
["@standardnotes/auth-server", "workspace:packages/auth"],\ ["@standardnotes/auth-server", "workspace:packages/auth"],\
["@newrelic/native-metrics", "npm:7.0.2"],\
["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\ ["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\
["@sentry/node", "npm:6.19.7"],\ ["@sentry/node", "npm:6.19.7"],\
["@standardnotes/analytics", "npm:1.6.0"],\ ["@standardnotes/analytics", "npm:1.6.0"],\
@ -2701,7 +2559,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["ioredis", "npm:5.0.6"],\ ["ioredis", "npm:5.0.6"],\
["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\ ["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\
["mysql2", "npm:2.3.3"],\ ["mysql2", "npm:2.3.3"],\
["newrelic", "npm:8.6.0"],\ ["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.16"],\ ["nodemon", "npm:2.0.16"],\
["otplib", "npm:12.0.1"],\ ["otplib", "npm:12.0.1"],\
["prettyjson", "npm:1.2.1"],\ ["prettyjson", "npm:1.2.1"],\
@ -2814,7 +2672,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageLocation": "./packages/files/",\ "packageLocation": "./packages/files/",\
"packageDependencies": [\ "packageDependencies": [\
["@standardnotes/files-server", "workspace:packages/files"],\ ["@standardnotes/files-server", "workspace:packages/files"],\
["@newrelic/native-metrics", "npm:7.0.2"],\
["@sentry/node", "npm:6.19.7"],\ ["@sentry/node", "npm:6.19.7"],\
["@standardnotes/auth", "npm:3.19.3"],\ ["@standardnotes/auth", "npm:3.19.3"],\
["@standardnotes/common", "npm:1.23.0"],\ ["@standardnotes/common", "npm:1.23.0"],\
@ -2849,7 +2706,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["ioredis", "npm:5.0.6"],\ ["ioredis", "npm:5.0.6"],\
["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\ ["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\
["jsonwebtoken", "npm:8.5.1"],\ ["jsonwebtoken", "npm:8.5.1"],\
["newrelic", "npm:7.5.2"],\ ["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.16"],\ ["nodemon", "npm:2.0.16"],\
["prettyjson", "npm:1.2.5"],\ ["prettyjson", "npm:1.2.5"],\
["reflect-metadata", "npm:0.1.13"],\ ["reflect-metadata", "npm:0.1.13"],\
@ -2912,7 +2769,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageLocation": "./packages/scheduler/",\ "packageLocation": "./packages/scheduler/",\
"packageDependencies": [\ "packageDependencies": [\
["@standardnotes/scheduler-server", "workspace:packages/scheduler"],\ ["@standardnotes/scheduler-server", "workspace:packages/scheduler"],\
["@newrelic/native-metrics", "npm:7.0.2"],\
["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\ ["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\
["@standardnotes/common", "npm:1.23.0"],\ ["@standardnotes/common", "npm:1.23.0"],\
["@standardnotes/domain-events", "npm:2.32.2"],\ ["@standardnotes/domain-events", "npm:2.32.2"],\
@ -2932,7 +2788,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["ioredis", "npm:5.0.6"],\ ["ioredis", "npm:5.0.6"],\
["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\ ["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\
["mysql2", "npm:2.3.3"],\ ["mysql2", "npm:2.3.3"],\
["newrelic", "npm:8.6.0"],\ ["newrelic", "npm:8.14.1"],\
["reflect-metadata", "npm:0.1.13"],\ ["reflect-metadata", "npm:0.1.13"],\
["ts-jest", "virtual:16bfd8597041deb71e4581ea0755edd4dcd1b09b8ab14bfbbf5e4d5ca6b5d47ed7fbe2a25cdf57fcbb8e092c30b6beb93d2e7533f9e31c5dc62f7f0e487d1e4b#npm:28.0.5"],\ ["ts-jest", "virtual:16bfd8597041deb71e4581ea0755edd4dcd1b09b8ab14bfbbf5e4d5ca6b5d47ed7fbe2a25cdf57fcbb8e092c30b6beb93d2e7533f9e31c5dc62f7f0e487d1e4b#npm:28.0.5"],\
["typeorm", "virtual:31b5a94a105c89c9294c3d524a7f8929fe63ee5a2efadf21951ca4c0cfd2ecf02e8f4ef5a066bbda091f1e3a56e57c6749069a080618c96b22e51131a330fc4a#npm:0.3.6"],\ ["typeorm", "virtual:31b5a94a105c89c9294c3d524a7f8929fe63ee5a2efadf21951ca4c0cfd2ecf02e8f4ef5a066bbda091f1e3a56e57c6749069a080618c96b22e51131a330fc4a#npm:0.3.6"],\
@ -2952,10 +2808,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@lerna-lite/list", "npm:1.5.1"],\ ["@lerna-lite/list", "npm:1.5.1"],\
["@lerna-lite/run", "npm:1.5.1"],\ ["@lerna-lite/run", "npm:1.5.1"],\
["@types/jest", "npm:28.1.3"],\ ["@types/jest", "npm:28.1.3"],\
["@types/newrelic", "npm:7.0.3"],\
["@types/node", "npm:18.0.0"],\ ["@types/node", "npm:18.0.0"],\
["@typescript-eslint/parser", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:5.29.0"],\ ["@typescript-eslint/parser", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:5.29.0"],\
["eslint", "npm:8.18.0"],\ ["eslint", "npm:8.18.0"],\
["eslint-config-prettier", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:8.5.0"],\ ["eslint-config-prettier", "virtual:8859b278716fedf3e7458b5628625f7e35678c418626878559a0b816445001b7e24c55546f4677ba4c20b521aa0cf52cc33ac07deff171e383ada6eeab69933f#npm:8.5.0"],\
["newrelic", "npm:8.14.1"],\
["prettier", "npm:2.7.1"],\ ["prettier", "npm:2.7.1"],\
["ts-node", "virtual:9e9d2b94dac68914cfc6173c41e92914f6d1fe30b9ab6e163c2043744960a73d771c78f37827a8773b7adeb75f4b67f907cd8c18197a7807ce979a4aea3b2602#npm:10.8.1"],\ ["ts-node", "virtual:9e9d2b94dac68914cfc6173c41e92914f6d1fe30b9ab6e163c2043744960a73d771c78f37827a8773b7adeb75f4b67f907cd8c18197a7807ce979a4aea3b2602#npm:10.8.1"],\
["typescript", "patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=7ad353"]\ ["typescript", "patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=7ad353"]\
@ -3010,7 +2868,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageLocation": "./packages/syncing-server/",\ "packageLocation": "./packages/syncing-server/",\
"packageDependencies": [\ "packageDependencies": [\
["@standardnotes/syncing-server", "workspace:packages/syncing-server"],\ ["@standardnotes/syncing-server", "workspace:packages/syncing-server"],\
["@newrelic/native-metrics", "npm:7.0.2"],\
["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\ ["@newrelic/winston-enricher", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:2.1.2"],\
["@sentry/node", "npm:6.19.7"],\ ["@sentry/node", "npm:6.19.7"],\
["@standardnotes/analytics", "npm:1.6.0"],\ ["@standardnotes/analytics", "npm:1.6.0"],\
@ -3048,7 +2905,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\ ["jest", "virtual:04783e12400851b8a3d76e71495851cc94959db6e62f04cb0a31190080629440b182d8c8eb4d7f2b04e281912f2783a5fd4d2c3c6ab68d38b7097246c93f4c19#npm:28.1.1"],\
["jsonwebtoken", "npm:8.5.1"],\ ["jsonwebtoken", "npm:8.5.1"],\
["mysql2", "npm:2.3.3"],\ ["mysql2", "npm:2.3.3"],\
["newrelic", "npm:8.6.0"],\ ["newrelic", "npm:8.14.1"],\
["nodemon", "npm:2.0.7"],\ ["nodemon", "npm:2.0.7"],\
["prettyjson", "npm:1.2.1"],\ ["prettyjson", "npm:1.2.1"],\
["reflect-metadata", "npm:0.1.13"],\ ["reflect-metadata", "npm:0.1.13"],\
@ -4100,13 +3957,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["agent-base", [\ ["agent-base", [\
["npm:5.1.1", {\
"packageLocation": "./.yarn/cache/agent-base-npm-5.1.1-d451a4ad62-61ae789f30.zip/node_modules/agent-base/",\
"packageDependencies": [\
["agent-base", "npm:5.1.1"]\
],\
"linkType": "HARD"\
}],\
["npm:6.0.2", {\ ["npm:6.0.2", {\
"packageLocation": "./.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip/node_modules/agent-base/",\ "packageLocation": "./.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip/node_modules/agent-base/",\
"packageDependencies": [\ "packageDependencies": [\
@ -7477,15 +7327,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["https-proxy-agent", [\ ["https-proxy-agent", [\
["npm:4.0.0", {\
"packageLocation": "./.yarn/cache/https-proxy-agent-npm-4.0.0-9021ec873f-19471d5aae.zip/node_modules/https-proxy-agent/",\
"packageDependencies": [\
["https-proxy-agent", "npm:4.0.0"],\
["agent-base", "npm:5.1.1"],\
["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.4"]\
],\
"linkType": "HARD"\
}],\
["npm:5.0.1", {\ ["npm:5.0.1", {\
"packageLocation": "./.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip/node_modules/https-proxy-agent/",\ "packageLocation": "./.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip/node_modules/https-proxy-agent/",\
"packageDependencies": [\ "packageDependencies": [\
@ -9748,26 +9589,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["newrelic", [\ ["newrelic", [\
["npm:7.5.2", {\
"packageLocation": "./.yarn/cache/newrelic-npm-7.5.2-b949bcba7c-f6c67dbb7d.zip/node_modules/newrelic/",\
"packageDependencies": [\
["newrelic", "npm:7.5.2"],\
["@grpc/grpc-js", "npm:1.6.7"],\
["@grpc/proto-loader", "npm:0.5.6"],\
["@newrelic/aws-sdk", "virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:3.1.0"],\
["@newrelic/koa", "virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:5.0.0"],\
["@newrelic/native-metrics", "npm:6.0.2"],\
["@newrelic/superagent", "virtual:b949bcba7c7d71e38bb586c0239fa765beb131ea5f64fec66d133f6e38e6e87926b1ba9f91c8df6bcbc8243f33e33f909381ca14cfb301b09e6526205ac71883#npm:4.0.0"],\
["@tyriar/fibonacci-heap", "npm:2.0.9"],\
["async", "npm:3.2.4"],\
["concat-stream", "npm:2.0.0"],\
["https-proxy-agent", "npm:4.0.0"],\
["json-stringify-safe", "npm:5.0.1"],\
["readable-stream", "npm:3.6.0"],\
["semver", "npm:5.7.1"]\
],\
"linkType": "HARD"\
}],\
["npm:8.14.1", {\ ["npm:8.14.1", {\
"packageLocation": "./.yarn/cache/newrelic-npm-8.14.1-b659d4d19c-cd12bb2ac9.zip/node_modules/newrelic/",\ "packageLocation": "./.yarn/cache/newrelic-npm-8.14.1-b659d4d19c-cd12bb2ac9.zip/node_modules/newrelic/",\
"packageDependencies": [\ "packageDependencies": [\
@ -9788,26 +9609,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["winston-transport", "npm:4.5.0"]\ ["winston-transport", "npm:4.5.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["npm:8.6.0", {\
"packageLocation": "./.yarn/cache/newrelic-npm-8.6.0-521e069407-083b65ce8b.zip/node_modules/newrelic/",\
"packageDependencies": [\
["newrelic", "npm:8.6.0"],\
["@grpc/grpc-js", "npm:1.6.7"],\
["@grpc/proto-loader", "npm:0.5.6"],\
["@newrelic/aws-sdk", "virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:4.1.2"],\
["@newrelic/koa", "virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:6.1.2"],\
["@newrelic/native-metrics", "npm:7.1.2"],\
["@newrelic/superagent", "virtual:521e0694077d46afa356663446ae27922a1476b4970c485c08b9223a4c4e82461e801eb01fbc080776dde404fd3a47fe4eac363a37bc89948edf65c92015e615#npm:5.1.1"],\
["@tyriar/fibonacci-heap", "npm:2.0.9"],\
["async", "npm:3.2.4"],\
["concat-stream", "npm:2.0.0"],\
["https-proxy-agent", "npm:5.0.1"],\
["json-stringify-safe", "npm:5.0.1"],\
["readable-stream", "npm:3.6.0"],\
["semver", "npm:5.7.1"]\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["node-addon-api", [\ ["node-addon-api", [\

0
data/.gitkeep Normal file
View file

24
docker-compose.yml Normal file
View file

@ -0,0 +1,24 @@
version: '3.8'
services:
db:
image: mysql:5.6
environment:
MYSQL_DATABASE: '${DB_DATABASE}'
MYSQL_USER: '${DB_USERNAME}'
MYSQL_PASSWORD: '${DB_PASSWORD}'
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
expose:
- ${DB_PORT}:3306
restart: unless-stopped
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8 --collation-server=utf8_general_ci
volumes:
- ./data/mysql:/var/lib/mysql
- ./data/import:/docker-entrypoint-initdb.d
cache:
image: redis:6.0-alpine
volumes:
- ./data/redis/:/data
expose:
- ${REDIS_PORT}:6379
restart: unless-stopped

View file

@ -23,7 +23,7 @@
"test:syncing-server": "yarn workspace @standardnotes/syncing-server test", "test:syncing-server": "yarn workspace @standardnotes/syncing-server test",
"test:files": "yarn workspace @standardnotes/files-server test", "test:files": "yarn workspace @standardnotes/files-server test",
"clean": "yarn workspaces foreach -p --verbose run clean", "clean": "yarn workspaces foreach -p --verbose run clean",
"setup:env": "yarn workspaces foreach -p --verbose run setup:env", "setup:env": "cp .env.sample .env && yarn workspaces foreach -p --verbose run setup:env",
"build": "yarn workspaces foreach -pt -j 10 --verbose run build", "build": "yarn workspaces foreach -pt -j 10 --verbose run build",
"build:auth": "yarn workspace @standardnotes/auth-server build", "build:auth": "yarn workspace @standardnotes/auth-server build",
"build:scheduler": "yarn workspace @standardnotes/scheduler-server build", "build:scheduler": "yarn workspace @standardnotes/scheduler-server build",
@ -48,6 +48,7 @@
"@lerna-lite/list": "^1.5.1", "@lerna-lite/list": "^1.5.1",
"@lerna-lite/run": "^1.5.1", "@lerna-lite/run": "^1.5.1",
"@types/jest": "^28.1.3", "@types/jest": "^28.1.3",
"@types/newrelic": "^7.0.3",
"@types/node": "^18.0.0", "@types/node": "^18.0.0",
"@typescript-eslint/parser": "^5.29.0", "@typescript-eslint/parser": "^5.29.0",
"eslint": "^8.17.0", "eslint": "^8.17.0",
@ -56,5 +57,8 @@
"ts-node": "^10.8.1", "ts-node": "^10.8.1",
"typescript": "^4.7.4" "typescript": "^4.7.4"
}, },
"packageManager": "yarn@3.2.1" "packageManager": "yarn@3.2.1",
"dependencies": {
"newrelic": "^8.14.1"
}
} }

View file

@ -15,11 +15,11 @@
"prebuild": "yarn clean", "prebuild": "yarn clean",
"build": "tsc --rootDir ./", "build": "tsc --rootDir ./",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
"setup:env": "cp .env.sample .env",
"start": "yarn node dist/bin/server.js", "start": "yarn node dist/bin/server.js",
"report": "yarn node dist/bin/report.js" "report": "yarn node dist/bin/report.js"
}, },
"dependencies": { "dependencies": {
"@newrelic/native-metrics": "7.0.2",
"@newrelic/winston-enricher": "^2.1.0", "@newrelic/winston-enricher": "^2.1.0",
"@sentry/node": "^6.16.1", "@sentry/node": "^6.16.1",
"@standardnotes/analytics": "^1.4.0", "@standardnotes/analytics": "^1.4.0",
@ -37,7 +37,7 @@
"inversify-express-utils": "^6.4.3", "inversify-express-utils": "^6.4.3",
"ioredis": "^5.0.6", "ioredis": "^5.0.6",
"jsonwebtoken": "8.5.1", "jsonwebtoken": "8.5.1",
"newrelic": "8.6.0", "newrelic": "^8.14.1",
"prettyjson": "1.2.1", "prettyjson": "1.2.1",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
"winston": "3.3.3" "winston": "3.3.3"
@ -48,7 +48,7 @@
"@types/ioredis": "^4.28.10", "@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.3", "@types/jest": "^28.1.3",
"@types/jsonwebtoken": "^8.5.0", "@types/jsonwebtoken": "^8.5.0",
"@types/newrelic": "^7.0.1", "@types/newrelic": "^7.0.3",
"@types/prettyjson": "^0.0.29", "@types/prettyjson": "^0.0.29",
"@typescript-eslint/eslint-plugin": "^5.29.0", "@typescript-eslint/eslint-plugin": "^5.29.0",
"eslint": "^8.14.0", "eslint": "^8.14.0",

View file

@ -12,6 +12,7 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"clean": "rm -fr dist", "clean": "rm -fr dist",
"setup:env": "cp .env.sample .env",
"prebuild": "yarn clean", "prebuild": "yarn clean",
"build": "tsc --rootDir ./", "build": "tsc --rootDir ./",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
@ -27,7 +28,6 @@
"typeorm": "typeorm-ts-node-commonjs" "typeorm": "typeorm-ts-node-commonjs"
}, },
"dependencies": { "dependencies": {
"@newrelic/native-metrics": "7.0.2",
"@newrelic/winston-enricher": "^2.1.0", "@newrelic/winston-enricher": "^2.1.0",
"@sentry/node": "^6.16.1", "@sentry/node": "^6.16.1",
"@standardnotes/analytics": "^1.6.0", "@standardnotes/analytics": "^1.6.0",
@ -55,7 +55,7 @@
"inversify-express-utils": "^6.4.3", "inversify-express-utils": "^6.4.3",
"ioredis": "^5.0.6", "ioredis": "^5.0.6",
"mysql2": "^2.3.3", "mysql2": "^2.3.3",
"newrelic": "8.6.0", "newrelic": "^8.14.1",
"otplib": "12.0.1", "otplib": "12.0.1",
"prettyjson": "1.2.1", "prettyjson": "1.2.1",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
@ -70,7 +70,7 @@
"@types/express": "^4.17.11", "@types/express": "^4.17.11",
"@types/ioredis": "^4.28.10", "@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.3", "@types/jest": "^28.1.3",
"@types/newrelic": "^7.0.2", "@types/newrelic": "^7.0.3",
"@types/otplib": "^10.0.0", "@types/otplib": "^10.0.0",
"@types/prettyjson": "^0.0.29", "@types/prettyjson": "^0.0.29",
"@types/ua-parser-js": "^0.7.36", "@types/ua-parser-js": "^0.7.36",

View file

@ -14,6 +14,7 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"clean": "rm -fr dist", "clean": "rm -fr dist",
"setup:env": "cp .env.sample .env",
"prebuild": "yarn clean", "prebuild": "yarn clean",
"build": "tsc --rootDir ./", "build": "tsc --rootDir ./",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
@ -23,7 +24,6 @@
"worker": "yarn node dist/bin/worker.js" "worker": "yarn node dist/bin/worker.js"
}, },
"dependencies": { "dependencies": {
"@newrelic/native-metrics": "7.0.2",
"@sentry/node": "^6.16.1", "@sentry/node": "^6.16.1",
"@standardnotes/auth": "^3.18.9", "@standardnotes/auth": "^3.18.9",
"@standardnotes/common": "^1.19.4", "@standardnotes/common": "^1.19.4",
@ -44,7 +44,7 @@
"inversify-express-utils": "^6.4.3", "inversify-express-utils": "^6.4.3",
"ioredis": "^5.0.6", "ioredis": "^5.0.6",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"newrelic": "^7.3.1", "newrelic": "^8.14.1",
"nodemon": "^2.0.15", "nodemon": "^2.0.15",
"prettyjson": "^1.2.1", "prettyjson": "^1.2.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
@ -59,7 +59,7 @@
"@types/ioredis": "^4.28.10", "@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.3", "@types/jest": "^28.1.3",
"@types/jsonwebtoken": "^8.5.0", "@types/jsonwebtoken": "^8.5.0",
"@types/newrelic": "^7.0.1", "@types/newrelic": "^7.0.3",
"@types/prettyjson": "^0.0.29", "@types/prettyjson": "^0.0.29",
"@types/uuid": "^8.3.0", "@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^5.29.0", "@typescript-eslint/eslint-plugin": "^5.29.0",

View file

@ -22,7 +22,6 @@
"typeorm": "typeorm-ts-node-commonjs" "typeorm": "typeorm-ts-node-commonjs"
}, },
"dependencies": { "dependencies": {
"@newrelic/native-metrics": "7.0.2",
"@newrelic/winston-enricher": "^2.1.0", "@newrelic/winston-enricher": "^2.1.0",
"@standardnotes/common": "^1.23.0", "@standardnotes/common": "^1.23.0",
"@standardnotes/domain-events": "^2.32.0", "@standardnotes/domain-events": "^2.32.0",
@ -35,7 +34,7 @@
"inversify": "5.0.5", "inversify": "5.0.5",
"ioredis": "^5.0.6", "ioredis": "^5.0.6",
"mysql2": "^2.3.3", "mysql2": "^2.3.3",
"newrelic": "8.6.0", "newrelic": "^8.14.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"typeorm": "^0.3.6", "typeorm": "^0.3.6",
"winston": "3.3.3" "winston": "3.3.3"
@ -43,7 +42,7 @@
"devDependencies": { "devDependencies": {
"@types/ioredis": "^4.28.10", "@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.2", "@types/jest": "^28.1.2",
"@types/newrelic": "^7.0.2", "@types/newrelic": "^7.0.3",
"@types/node": "^18.0.0", "@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.29.0", "@typescript-eslint/eslint-plugin": "^5.29.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",

View file

@ -12,6 +12,7 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"clean": "rm -fr dist", "clean": "rm -fr dist",
"setup:env": "cp .env.sample .env",
"prebuild": "yarn clean", "prebuild": "yarn clean",
"build": "tsc --rootDir ./", "build": "tsc --rootDir ./",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
@ -21,7 +22,6 @@
"worker": "yarn node dist/bin/worker.js" "worker": "yarn node dist/bin/worker.js"
}, },
"dependencies": { "dependencies": {
"@newrelic/native-metrics": "7.0.2",
"@newrelic/winston-enricher": "^2.1.0", "@newrelic/winston-enricher": "^2.1.0",
"@sentry/node": "^6.16.1", "@sentry/node": "^6.16.1",
"@standardnotes/analytics": "^1.6.0", "@standardnotes/analytics": "^1.6.0",
@ -44,7 +44,7 @@
"ioredis": "^5.0.6", "ioredis": "^5.0.6",
"jsonwebtoken": "8.5.1", "jsonwebtoken": "8.5.1",
"mysql2": "^2.3.3", "mysql2": "^2.3.3",
"newrelic": "8.6.0", "newrelic": "^8.14.1",
"nodemon": "2.0.7", "nodemon": "2.0.7",
"prettyjson": "1.2.1", "prettyjson": "1.2.1",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
@ -61,7 +61,7 @@
"@types/ioredis": "^4.28.10", "@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.3", "@types/jest": "^28.1.3",
"@types/jsonwebtoken": "^8.5.0", "@types/jsonwebtoken": "^8.5.0",
"@types/newrelic": "^7.0.2", "@types/newrelic": "^7.0.3",
"@types/prettyjson": "^0.0.29", "@types/prettyjson": "^0.0.29",
"@types/ua-parser-js": "^0.7.36", "@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^8.3.0", "@types/uuid": "^8.3.0",

191
yarn.lock
View file

@ -629,7 +629,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@grpc/grpc-js@npm:^1.2.11, @grpc/grpc-js@npm:^1.5.5": "@grpc/grpc-js@npm:^1.5.5":
version: 1.6.7 version: 1.6.7
resolution: "@grpc/grpc-js@npm:1.6.7" resolution: "@grpc/grpc-js@npm:1.6.7"
dependencies: dependencies:
@ -639,16 +639,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@grpc/proto-loader@npm:^0.5.6":
version: 0.5.6
resolution: "@grpc/proto-loader@npm:0.5.6"
dependencies:
lodash.camelcase: ^4.3.0
protobufjs: ^6.8.6
checksum: 13fe76d84ab1a516f3dc47d06df4dd682f6f1515a7a4aa3f8cddcc8f8256f33cbf529bd0b6729946f548f7459acfcd9b5b026c10572e21d40213a358115658b5
languageName: node
linkType: hard
"@grpc/proto-loader@npm:^0.6.13, @grpc/proto-loader@npm:^0.6.4": "@grpc/proto-loader@npm:^0.6.13, @grpc/proto-loader@npm:^0.6.4":
version: 0.6.13 version: 0.6.13
resolution: "@grpc/proto-loader@npm:0.6.13" resolution: "@grpc/proto-loader@npm:0.6.13"
@ -1218,16 +1208,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@newrelic/aws-sdk@npm:^3.1.0": "@newrelic/aws-sdk@npm:^4.1.1":
version: 3.1.0
resolution: "@newrelic/aws-sdk@npm:3.1.0"
peerDependencies:
newrelic: ">=6.11.0"
checksum: 5601d90c78f82d3216d9cacb664c7a74c1b06acfff44471e758a878a36345ac46449896f9ea4a0b44673b7a72308ee7717d999c184e6e87f3478d5b2d3a14d0c
languageName: node
linkType: hard
"@newrelic/aws-sdk@npm:^4.0.1, @newrelic/aws-sdk@npm:^4.1.1":
version: 4.1.2 version: 4.1.2
resolution: "@newrelic/aws-sdk@npm:4.1.2" resolution: "@newrelic/aws-sdk@npm:4.1.2"
dependencies: dependencies:
@ -1238,18 +1219,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@newrelic/koa@npm:^5.0.0": "@newrelic/koa@npm:^6.1.1":
version: 5.0.0
resolution: "@newrelic/koa@npm:5.0.0"
dependencies:
methods: ^1.1.2
peerDependencies:
newrelic: ">=6.11.0"
checksum: e98d921b96d043817b623bf83752bdae4e8ca9e594e47ad23109cb516d9a8715ca4b79e4949c5fc5e76ca806d99b2e46e2b7afa2861e0af408f6d647b18f292f
languageName: node
linkType: hard
"@newrelic/koa@npm:^6.0.1, @newrelic/koa@npm:^6.1.1":
version: 6.1.2 version: 6.1.2
resolution: "@newrelic/koa@npm:6.1.2" resolution: "@newrelic/koa@npm:6.1.2"
peerDependencies: peerDependencies:
@ -1258,40 +1228,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@newrelic/native-metrics@npm:7.0.2":
version: 7.0.2
resolution: "@newrelic/native-metrics@npm:7.0.2"
dependencies:
nan: ^2.14.2
node-gyp: latest
semver: ^5.5.1
checksum: 501805d29fc5be83a34b5f9b78f9e9b9ccc7ba047ad8dc77a3da90d7606e260607536795b0c75c242880bdd8bb40464f870f82fe4b2cd6b1503576a01aca5269
languageName: node
linkType: hard
"@newrelic/native-metrics@npm:^6.0.0":
version: 6.0.2
resolution: "@newrelic/native-metrics@npm:6.0.2"
dependencies:
nan: ^2.14.2
node-gyp: latest
semver: ^5.5.1
checksum: 78f92bbe7feb662699b1a148a869b3d963653a16d3c6ffc63159c4b8bea7905e26140e55631444e167dbd4291e6b7c2261bcd3ce4b8917852fe1d92ffb3936f9
languageName: node
linkType: hard
"@newrelic/native-metrics@npm:^7.0.1":
version: 7.1.2
resolution: "@newrelic/native-metrics@npm:7.1.2"
dependencies:
https-proxy-agent: ^5.0.0
nan: ^2.15.0
node-gyp: latest
semver: ^5.5.1
checksum: c8358b5e6170ed2a32cf14b557f0a2c0d1d836c82a80e1be23e2b2f427a54104fc8a99c59c8d4ebf13fb057eca20ddf5ba3f49657d53d51f1afb846b390fbf91
languageName: node
linkType: hard
"@newrelic/native-metrics@npm:^8.0.0": "@newrelic/native-metrics@npm:^8.0.0":
version: 8.0.0 version: 8.0.0
resolution: "@newrelic/native-metrics@npm:8.0.0" resolution: "@newrelic/native-metrics@npm:8.0.0"
@ -1304,18 +1240,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@newrelic/superagent@npm:^4.0.0": "@newrelic/superagent@npm:^5.1.0":
version: 4.0.0
resolution: "@newrelic/superagent@npm:4.0.0"
dependencies:
methods: ^1.1.2
peerDependencies:
newrelic: ">=6.11.0"
checksum: 5fb257ac0530f91bae58265678500c96c28f164bd6fcec5c0dff51958c8e72bc721dd04d1d2c48bace9e077b57b233c47efb8af61f2a005b71d4636e29ae9728
languageName: node
linkType: hard
"@newrelic/superagent@npm:^5.0.1, @newrelic/superagent@npm:^5.1.0":
version: 5.1.1 version: 5.1.1
resolution: "@newrelic/superagent@npm:5.1.1" resolution: "@newrelic/superagent@npm:5.1.1"
peerDependencies: peerDependencies:
@ -1847,7 +1772,6 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@standardnotes/api-gateway@workspace:packages/api-gateway" resolution: "@standardnotes/api-gateway@workspace:packages/api-gateway"
dependencies: dependencies:
"@newrelic/native-metrics": 7.0.2
"@newrelic/winston-enricher": ^2.1.0 "@newrelic/winston-enricher": ^2.1.0
"@sentry/node": ^6.16.1 "@sentry/node": ^6.16.1
"@standardnotes/analytics": ^1.4.0 "@standardnotes/analytics": ^1.4.0
@ -1860,7 +1784,7 @@ __metadata:
"@types/ioredis": ^4.28.10 "@types/ioredis": ^4.28.10
"@types/jest": ^28.1.3 "@types/jest": ^28.1.3
"@types/jsonwebtoken": ^8.5.0 "@types/jsonwebtoken": ^8.5.0
"@types/newrelic": ^7.0.1 "@types/newrelic": ^7.0.3
"@types/prettyjson": ^0.0.29 "@types/prettyjson": ^0.0.29
"@typescript-eslint/eslint-plugin": ^5.29.0 "@typescript-eslint/eslint-plugin": ^5.29.0
aws-sdk: ^2.1160.0 aws-sdk: ^2.1160.0
@ -1876,7 +1800,7 @@ __metadata:
ioredis: ^5.0.6 ioredis: ^5.0.6
jest: ^28.1.1 jest: ^28.1.1
jsonwebtoken: 8.5.1 jsonwebtoken: 8.5.1
newrelic: 8.6.0 newrelic: ^8.14.1
nodemon: ^2.0.16 nodemon: ^2.0.16
prettyjson: 1.2.1 prettyjson: 1.2.1
reflect-metadata: 0.1.13 reflect-metadata: 0.1.13
@ -1903,7 +1827,6 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@standardnotes/auth-server@workspace:packages/auth" resolution: "@standardnotes/auth-server@workspace:packages/auth"
dependencies: dependencies:
"@newrelic/native-metrics": 7.0.2
"@newrelic/winston-enricher": ^2.1.0 "@newrelic/winston-enricher": ^2.1.0
"@sentry/node": ^6.16.1 "@sentry/node": ^6.16.1
"@standardnotes/analytics": ^1.6.0 "@standardnotes/analytics": ^1.6.0
@ -1924,7 +1847,7 @@ __metadata:
"@types/express": ^4.17.11 "@types/express": ^4.17.11
"@types/ioredis": ^4.28.10 "@types/ioredis": ^4.28.10
"@types/jest": ^28.1.3 "@types/jest": ^28.1.3
"@types/newrelic": ^7.0.2 "@types/newrelic": ^7.0.3
"@types/otplib": ^10.0.0 "@types/otplib": ^10.0.0
"@types/prettyjson": ^0.0.29 "@types/prettyjson": ^0.0.29
"@types/ua-parser-js": ^0.7.36 "@types/ua-parser-js": ^0.7.36
@ -1945,7 +1868,7 @@ __metadata:
ioredis: ^5.0.6 ioredis: ^5.0.6
jest: ^28.1.1 jest: ^28.1.1
mysql2: ^2.3.3 mysql2: ^2.3.3
newrelic: 8.6.0 newrelic: ^8.14.1
nodemon: ^2.0.16 nodemon: ^2.0.16
otplib: 12.0.1 otplib: 12.0.1
prettyjson: 1.2.1 prettyjson: 1.2.1
@ -2071,7 +1994,6 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@standardnotes/files-server@workspace:packages/files" resolution: "@standardnotes/files-server@workspace:packages/files"
dependencies: dependencies:
"@newrelic/native-metrics": 7.0.2
"@sentry/node": ^6.16.1 "@sentry/node": ^6.16.1
"@standardnotes/auth": ^3.18.9 "@standardnotes/auth": ^3.18.9
"@standardnotes/common": ^1.19.4 "@standardnotes/common": ^1.19.4
@ -2087,7 +2009,7 @@ __metadata:
"@types/ioredis": ^4.28.10 "@types/ioredis": ^4.28.10
"@types/jest": ^28.1.3 "@types/jest": ^28.1.3
"@types/jsonwebtoken": ^8.5.0 "@types/jsonwebtoken": ^8.5.0
"@types/newrelic": ^7.0.1 "@types/newrelic": ^7.0.3
"@types/prettyjson": ^0.0.29 "@types/prettyjson": ^0.0.29
"@types/uuid": ^8.3.0 "@types/uuid": ^8.3.0
"@typescript-eslint/eslint-plugin": ^5.29.0 "@typescript-eslint/eslint-plugin": ^5.29.0
@ -2106,7 +2028,7 @@ __metadata:
ioredis: ^5.0.6 ioredis: ^5.0.6
jest: ^28.1.1 jest: ^28.1.1
jsonwebtoken: ^8.5.1 jsonwebtoken: ^8.5.1
newrelic: ^7.3.1 newrelic: ^8.14.1
nodemon: ^2.0.16 nodemon: ^2.0.16
prettyjson: ^1.2.1 prettyjson: ^1.2.1
reflect-metadata: ^0.1.13 reflect-metadata: ^0.1.13
@ -2154,7 +2076,6 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@standardnotes/scheduler-server@workspace:packages/scheduler" resolution: "@standardnotes/scheduler-server@workspace:packages/scheduler"
dependencies: dependencies:
"@newrelic/native-metrics": 7.0.2
"@newrelic/winston-enricher": ^2.1.0 "@newrelic/winston-enricher": ^2.1.0
"@standardnotes/common": ^1.23.0 "@standardnotes/common": ^1.23.0
"@standardnotes/domain-events": ^2.32.0 "@standardnotes/domain-events": ^2.32.0
@ -2163,7 +2084,7 @@ __metadata:
"@standardnotes/time": ^1.7.0 "@standardnotes/time": ^1.7.0
"@types/ioredis": ^4.28.10 "@types/ioredis": ^4.28.10
"@types/jest": ^28.1.2 "@types/jest": ^28.1.2
"@types/newrelic": ^7.0.2 "@types/newrelic": ^7.0.3
"@types/node": ^18.0.0 "@types/node": ^18.0.0
"@typescript-eslint/eslint-plugin": ^5.29.0 "@typescript-eslint/eslint-plugin": ^5.29.0
aws-sdk: ^2.1158.0 aws-sdk: ^2.1158.0
@ -2174,7 +2095,7 @@ __metadata:
ioredis: ^5.0.6 ioredis: ^5.0.6
jest: ^28.1.1 jest: ^28.1.1
mysql2: ^2.3.3 mysql2: ^2.3.3
newrelic: 8.6.0 newrelic: ^8.14.1
reflect-metadata: ^0.1.13 reflect-metadata: ^0.1.13
ts-jest: ^28.0.5 ts-jest: ^28.0.5
typeorm: ^0.3.6 typeorm: ^0.3.6
@ -2201,10 +2122,12 @@ __metadata:
"@lerna-lite/list": ^1.5.1 "@lerna-lite/list": ^1.5.1
"@lerna-lite/run": ^1.5.1 "@lerna-lite/run": ^1.5.1
"@types/jest": ^28.1.3 "@types/jest": ^28.1.3
"@types/newrelic": ^7.0.3
"@types/node": ^18.0.0 "@types/node": ^18.0.0
"@typescript-eslint/parser": ^5.29.0 "@typescript-eslint/parser": ^5.29.0
eslint: ^8.17.0 eslint: ^8.17.0
eslint-config-prettier: ^8.5.0 eslint-config-prettier: ^8.5.0
newrelic: ^8.14.1
prettier: ^2.7.1 prettier: ^2.7.1
ts-node: ^10.8.1 ts-node: ^10.8.1
typescript: ^4.7.4 typescript: ^4.7.4
@ -2251,7 +2174,6 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@standardnotes/syncing-server@workspace:packages/syncing-server" resolution: "@standardnotes/syncing-server@workspace:packages/syncing-server"
dependencies: dependencies:
"@newrelic/native-metrics": 7.0.2
"@newrelic/winston-enricher": ^2.1.0 "@newrelic/winston-enricher": ^2.1.0
"@sentry/node": ^6.16.1 "@sentry/node": ^6.16.1
"@standardnotes/analytics": ^1.6.0 "@standardnotes/analytics": ^1.6.0
@ -2270,7 +2192,7 @@ __metadata:
"@types/ioredis": ^4.28.10 "@types/ioredis": ^4.28.10
"@types/jest": ^28.1.3 "@types/jest": ^28.1.3
"@types/jsonwebtoken": ^8.5.0 "@types/jsonwebtoken": ^8.5.0
"@types/newrelic": ^7.0.2 "@types/newrelic": ^7.0.3
"@types/prettyjson": ^0.0.29 "@types/prettyjson": ^0.0.29
"@types/ua-parser-js": ^0.7.36 "@types/ua-parser-js": ^0.7.36
"@types/uuid": ^8.3.0 "@types/uuid": ^8.3.0
@ -2289,7 +2211,7 @@ __metadata:
jest: ^28.1.1 jest: ^28.1.1
jsonwebtoken: 8.5.1 jsonwebtoken: 8.5.1
mysql2: ^2.3.3 mysql2: ^2.3.3
newrelic: 8.6.0 newrelic: ^8.14.1
nodemon: 2.0.7 nodemon: 2.0.7
prettyjson: 1.2.1 prettyjson: 1.2.1
reflect-metadata: 0.1.13 reflect-metadata: 0.1.13
@ -2636,7 +2558,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/newrelic@npm:^7.0.1, @types/newrelic@npm:^7.0.2": "@types/newrelic@npm:^7.0.3":
version: 7.0.3 version: 7.0.3
resolution: "@types/newrelic@npm:7.0.3" resolution: "@types/newrelic@npm:7.0.3"
checksum: 31156f61c5cf6c22e3cd227966499d758e4af278a2b0097194578feee9579339473f7a08b07556530046a2f64ba449656a220a553116b475c4bbd8cca177dfd3 checksum: 31156f61c5cf6c22e3cd227966499d758e4af278a2b0097194578feee9579339473f7a08b07556530046a2f64ba449656a220a553116b475c4bbd8cca177dfd3
@ -3042,13 +2964,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"agent-base@npm:5":
version: 5.1.1
resolution: "agent-base@npm:5.1.1"
checksum: 61ae789f3019f1dc10e8cba6d3ae9826949299a4e54aaa1cfa2fa37c95a108e70e95423b963bb987d7891a703fd9a5c383a506f4901819f3ee56f3147c0aa8ab
languageName: node
linkType: hard
"agent-base@npm:6, agent-base@npm:^6.0.2": "agent-base@npm:6, agent-base@npm:^6.0.2":
version: 6.0.2 version: 6.0.2
resolution: "agent-base@npm:6.0.2" resolution: "agent-base@npm:6.0.2"
@ -3247,7 +3162,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"async@npm:^3.1.0, async@npm:^3.2.0, async@npm:^3.2.3, async@npm:^3.2.4": "async@npm:^3.1.0, async@npm:^3.2.3, async@npm:^3.2.4":
version: 3.2.4 version: 3.2.4
resolution: "async@npm:3.2.4" resolution: "async@npm:3.2.4"
checksum: 43d07459a4e1d09b84a20772414aa684ff4de085cbcaec6eea3c7a8f8150e8c62aa6cd4e699fe8ee93c3a5b324e777d34642531875a0817a35697522c1b02e89 checksum: 43d07459a4e1d09b84a20772414aa684ff4de085cbcaec6eea3c7a8f8150e8c62aa6cd4e699fe8ee93c3a5b324e777d34642531875a0817a35697522c1b02e89
@ -5930,16 +5845,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"https-proxy-agent@npm:^4.0.0":
version: 4.0.0
resolution: "https-proxy-agent@npm:4.0.0"
dependencies:
agent-base: 5
debug: 4
checksum: 19471d5aae3e747b1c98b17556647e2a1362e68220c6b19585a8527498f32e62e03c41d2872d059d8720d56846bd7460a80ac06f876bccfa786468ff40dd5eef
languageName: node
linkType: hard
"https-proxy-agent@npm:^5.0.0": "https-proxy-agent@npm:^5.0.0":
version: 5.0.1 version: 5.0.1
resolution: "https-proxy-agent@npm:5.0.1" resolution: "https-proxy-agent@npm:5.0.1"
@ -7584,7 +7489,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"methods@npm:^1.1.2, methods@npm:~1.1.2": "methods@npm:~1.1.2":
version: 1.1.2 version: 1.1.2
resolution: "methods@npm:1.1.2" resolution: "methods@npm:1.1.2"
checksum: 0917ff4041fa8e2f2fda5425a955fe16ca411591fbd123c0d722fcf02b73971ed6f764d85f0a6f547ce49ee0221ce2c19a5fa692157931cecb422984f1dcd13a checksum: 0917ff4041fa8e2f2fda5425a955fe16ca411591fbd123c0d722fcf02b73971ed6f764d85f0a6f547ce49ee0221ce2c19a5fa692157931cecb422984f1dcd13a
@ -7889,7 +7794,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"nan@npm:^2.14.2, nan@npm:^2.15.0": "nan@npm:^2.15.0":
version: 2.16.0 version: 2.16.0
resolution: "nan@npm:2.16.0" resolution: "nan@npm:2.16.0"
dependencies: dependencies:
@ -7919,59 +7824,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"newrelic@npm:8.6.0": "newrelic@npm:^8.14.1, newrelic@npm:^8.8.0":
version: 8.6.0
resolution: "newrelic@npm:8.6.0"
dependencies:
"@grpc/grpc-js": ^1.2.11
"@grpc/proto-loader": ^0.5.6
"@newrelic/aws-sdk": ^4.0.1
"@newrelic/koa": ^6.0.1
"@newrelic/native-metrics": ^7.0.1
"@newrelic/superagent": ^5.0.1
"@tyriar/fibonacci-heap": ^2.0.7
async: ^3.2.0
concat-stream: ^2.0.0
https-proxy-agent: ^5.0.0
json-stringify-safe: ^5.0.0
readable-stream: ^3.6.0
semver: ^5.3.0
dependenciesMeta:
"@newrelic/native-metrics":
optional: true
bin:
newrelic-naming-rules: bin/test-naming-rules.js
checksum: 083b65ce8b01b365e901ca3fe989d55fad10157af9df62f3b8b6d2204bedc5b08abde9c1aec4cb8bc0682b60083b1cdc03febd8d95d5f6ee4199aaca4cad24be
languageName: node
linkType: hard
"newrelic@npm:^7.3.1":
version: 7.5.2
resolution: "newrelic@npm:7.5.2"
dependencies:
"@grpc/grpc-js": ^1.2.11
"@grpc/proto-loader": ^0.5.6
"@newrelic/aws-sdk": ^3.1.0
"@newrelic/koa": ^5.0.0
"@newrelic/native-metrics": ^6.0.0
"@newrelic/superagent": ^4.0.0
"@tyriar/fibonacci-heap": ^2.0.7
async: ^3.2.0
concat-stream: ^2.0.0
https-proxy-agent: ^4.0.0
json-stringify-safe: ^5.0.0
readable-stream: ^3.6.0
semver: ^5.3.0
dependenciesMeta:
"@newrelic/native-metrics":
optional: true
bin:
newrelic-naming-rules: bin/test-naming-rules.js
checksum: f6c67dbb7dfc265eaf46ece7bb5fc0fdab4cdb84010be724f52e5d903474d1c108a35f743a801c0f9ef2a3fa9d1c1c17a1b32bf091f3d4f1fcd323d8130a1e36
languageName: node
linkType: hard
"newrelic@npm:^8.8.0":
version: 8.14.1 version: 8.14.1
resolution: "newrelic@npm:8.14.1" resolution: "newrelic@npm:8.14.1"
dependencies: dependencies:
@ -8926,7 +8779,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"protobufjs@npm:^6.11.3, protobufjs@npm:^6.8.6": "protobufjs@npm:^6.11.3":
version: 6.11.3 version: 6.11.3
resolution: "protobufjs@npm:6.11.3" resolution: "protobufjs@npm:6.11.3"
dependencies: dependencies: