diff --git a/.changeset/popular-toes-prove.md b/.changeset/popular-toes-prove.md new file mode 100644 index 0000000..63981af --- /dev/null +++ b/.changeset/popular-toes-prove.md @@ -0,0 +1,5 @@ +--- +'@roadiehq/roadie-agent': patch +--- + +Remove run time depdencies that were not needed. diff --git a/package.json b/package.json index d10cf33..975e731 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,6 @@ "@aws-sdk/lib-storage": "^3.515.0", "@aws-sdk/s3-request-presigner": "^3.515.0", "@backstage/catalog-model": "^1.4.1", - "@backstage/plugin-catalog-backend": "^1.11.0", - "@backstage/plugin-catalog-node": "^1.3.6", "@changesets/cli": "^2.26.2", "archiver": "^6.0.1", "express": "^4.17.1", @@ -56,6 +54,7 @@ "@types/archiver": "^6.0.2", "@types/chai": "^4.2.18", "@types/fs-extra": "^9.0.11", + "@backstage/plugin-catalog-node": "^1.3.6", "@types/mocha": "^8.2.2", "@types/node": "^18.15.3", "@types/node-fetch": "^2.6.2", diff --git a/yarn.lock b/yarn.lock index fb42579..82187fa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1639,52 +1639,6 @@ node-fetch "^2.6.7" winston "^3.2.1" -"@backstage/plugin-catalog-backend@^1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@backstage/plugin-catalog-backend/-/plugin-catalog-backend-1.11.0.tgz#d625b307fdbe1dba9fbdcb625101edac8608a45b" - integrity sha512-OyUO9w8FnonWFvtaBd29IaV6vXWnvMBsCAyomV0Pv8cxRgUC7CajhBuOXXhppdOmnZ7hino4ZCgYjffwE03OTA== - dependencies: - "@backstage/backend-common" "^0.19.1" - "@backstage/backend-plugin-api" "^0.5.4" - "@backstage/backend-tasks" "^0.5.4" - "@backstage/catalog-client" "^1.4.3" - "@backstage/catalog-model" "^1.4.1" - "@backstage/config" "^1.0.8" - "@backstage/errors" "^1.2.1" - "@backstage/integration" "^1.5.1" - "@backstage/plugin-auth-node" "^0.2.16" - "@backstage/plugin-catalog-common" "^1.0.15" - "@backstage/plugin-catalog-node" "^1.4.0" - "@backstage/plugin-events-node" "^0.2.8" - "@backstage/plugin-permission-common" "^0.7.7" - "@backstage/plugin-permission-node" "^0.7.10" - "@backstage/plugin-scaffolder-common" "^1.3.2" - "@backstage/plugin-search-backend-module-catalog" "^0.1.3" - "@backstage/plugin-search-common" "^1.2.5" - "@backstage/types" "^1.1.0" - "@opentelemetry/api" "^1.3.0" - "@types/express" "^4.17.6" - codeowners-utils "^1.0.2" - core-js "^3.6.5" - express "^4.17.1" - express-promise-router "^4.1.0" - fast-json-stable-stringify "^2.1.0" - fs-extra "10.1.0" - git-url-parse "^13.0.0" - glob "^7.1.6" - knex "^2.0.0" - lodash "^4.17.21" - luxon "^3.0.0" - minimatch "^5.0.0" - node-fetch "^2.6.7" - p-limit "^3.0.2" - prom-client "^14.0.1" - uuid "^8.0.0" - winston "^3.2.1" - yaml "^2.0.0" - yn "^4.0.0" - zod "^3.21.4" - "@backstage/plugin-catalog-common@^1.0.15": version "1.0.15" resolved "https://registry.yarnpkg.com/@backstage/plugin-catalog-common/-/plugin-catalog-common-1.0.15.tgz#9aa2723f0fb3d6bd1cc5bb2fbd03fbc5b8a59046" @@ -1694,7 +1648,7 @@ "@backstage/plugin-permission-common" "^0.7.7" "@backstage/plugin-search-common" "^1.2.5" -"@backstage/plugin-catalog-node@^1.3.6", "@backstage/plugin-catalog-node@^1.4.0": +"@backstage/plugin-catalog-node@^1.3.6": version "1.4.0" resolved "https://registry.yarnpkg.com/@backstage/plugin-catalog-node/-/plugin-catalog-node-1.4.0.tgz#505ccbd1a5ad36cb8848bdf06407bd12dcf31185" integrity sha512-Ep0J7fMLft86k/HQoicFfHfv6UYsmX9KiPlFLZFrq2gYmfaxXosjlXWoj3zD27fO0mY9qa9qYooIy5XLH2yIFw== @@ -1706,13 +1660,6 @@ "@backstage/plugin-catalog-common" "^1.0.15" "@backstage/types" "^1.1.0" -"@backstage/plugin-events-node@^0.2.8": - version "0.2.8" - resolved "https://registry.yarnpkg.com/@backstage/plugin-events-node/-/plugin-events-node-0.2.8.tgz#beb889b5fcc3ef78a157ea96e9b95560dc151870" - integrity sha512-S1fNPXe2hC/gFvRREFKg/3IYUtZC0Lu3GXZciP8XBJgjHr1HVoh+zfkzsTXPr5HFfgAJ3GNUsSW8Nj7VGHjh6A== - dependencies: - "@backstage/backend-plugin-api" "^0.5.4" - "@backstage/plugin-permission-common@^0.7.7": version "0.7.7" resolved "https://registry.yarnpkg.com/@backstage/plugin-permission-common/-/plugin-permission-common-0.7.7.tgz#82459ddf92751930a8facf81f7ff4a4cafc2e004" @@ -1742,50 +1689,6 @@ zod "^3.21.4" zod-to-json-schema "^3.20.4" -"@backstage/plugin-scaffolder-common@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@backstage/plugin-scaffolder-common/-/plugin-scaffolder-common-1.3.2.tgz#fda9ecf1774b4327c0a49ecde3d44681ab9e0f6f" - integrity sha512-u9fr9AvLGvTnbEgNtJOVJtqF5mpDbRVijRA+ySL7gWZH6d4Qyizg4kzfvwGvXQcc7kLWzM1JQt3x5eIYtd7pWg== - dependencies: - "@backstage/catalog-model" "^1.4.1" - "@backstage/plugin-permission-common" "^0.7.7" - "@backstage/types" "^1.1.0" - -"@backstage/plugin-search-backend-module-catalog@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@backstage/plugin-search-backend-module-catalog/-/plugin-search-backend-module-catalog-0.1.3.tgz#244272e3ff2e4f9720b7347058e08edafd798a5b" - integrity sha512-FpX07ajqdWynki0nR68X6WnWLJwksAbQ+v0r8wqdgYtkKcylvIOEbS4lMwGUKIM72skxuasCW/+x98DtFJGJMg== - dependencies: - "@backstage/backend-common" "^0.19.1" - "@backstage/backend-plugin-api" "^0.5.4" - "@backstage/backend-tasks" "^0.5.4" - "@backstage/catalog-client" "^1.4.3" - "@backstage/catalog-model" "^1.4.1" - "@backstage/config" "^1.0.8" - "@backstage/plugin-catalog-common" "^1.0.15" - "@backstage/plugin-permission-common" "^0.7.7" - "@backstage/plugin-search-backend-node" "^1.2.3" - "@backstage/plugin-search-common" "^1.2.5" - -"@backstage/plugin-search-backend-node@^1.2.3": - version "1.2.3" - resolved "https://registry.yarnpkg.com/@backstage/plugin-search-backend-node/-/plugin-search-backend-node-1.2.3.tgz#1ac0e9cdbed8e77e60b35ddd45712b1b84fe8edc" - integrity sha512-ySZEp6EhpRiVgW/I9azEoCNEnSYhI332IxroZDltIeJMgfOFAUx3SJlHUpCRh7ieHT3UhJqEKVkCcXlc/snMPA== - dependencies: - "@backstage/backend-common" "^0.19.1" - "@backstage/backend-plugin-api" "^0.5.4" - "@backstage/backend-tasks" "^0.5.4" - "@backstage/config" "^1.0.8" - "@backstage/errors" "^1.2.1" - "@backstage/plugin-permission-common" "^0.7.7" - "@backstage/plugin-search-common" "^1.2.5" - "@types/lunr" "^2.3.3" - lodash "^4.17.21" - lunr "^2.3.9" - ndjson "^2.0.0" - uuid "^8.3.2" - winston "^3.2.1" - "@backstage/plugin-search-common@^1.2.5": version "1.2.5" resolved "https://registry.yarnpkg.com/@backstage/plugin-search-common/-/plugin-search-common-1.2.5.tgz#a77e00561063924fba64aac8b9d01c8d31cefc6f" @@ -2628,11 +2531,6 @@ resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-1.0.3.tgz#db9cc719191a62e7d9200f6e7bab21c5b848adca" integrity sha512-Aq58f5HiWdyDlFffbbSjAlv596h/cOnt2DO1w3DOC7OJ5EHs0hd/nycJfiu9RJbT6Yk6F1knnRRXNSpxoIVZ9Q== -"@opentelemetry/api@^1.3.0": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.4.1.tgz#ff22eb2e5d476fbc2450a196e40dd243cc20c28f" - integrity sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA== - "@sinonjs/commons@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-2.0.0.tgz#fd4ca5b063554307e8327b4564bd56d3b73924a3" @@ -3679,11 +3577,6 @@ resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-5.1.1.tgz#c48c2e27b65d2a153b19bfc1a317e30872e01eef" integrity sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw== -"@types/lunr@^2.3.3": - version "2.3.4" - resolved "https://registry.yarnpkg.com/@types/lunr/-/lunr-2.3.4.tgz#728f445855818fb17776d10ef4678f278072eb03" - integrity sha512-j4x4XJwZvorEUbA519VdQ5b9AOU9TSvfi8tvxMAfP8XzNLtFex7A8vFQwqOx3WACbV0KMXbACV3cZl4/gynQ7g== - "@types/luxon@^3.0.0": version "3.3.0" resolved "https://registry.yarnpkg.com/@types/luxon/-/luxon-3.3.0.tgz#a61043a62c0a72696c73a0a305c544c96501e006" @@ -4720,16 +4613,6 @@ cluster-key-slot@^1.1.0: resolved "https://registry.yarnpkg.com/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz#88ddaa46906e303b5de30d3153b7d9fe0a0c19ac" integrity sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA== -codeowners-utils@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/codeowners-utils/-/codeowners-utils-1.0.2.tgz#9d30148bf957c53d55f75df432cb1e3b4bc6ee28" - integrity sha512-4oLRCymV7azxGHMpM3F297D651VdwZa21hVfFCn/cOd8Fq8tFrpfpyRpSBQkaZCyFPkfOhEld9xceCF7btyiug== - dependencies: - cross-spawn "^7.0.2" - find-up "^4.1.0" - ignore "^5.1.4" - locate-path "^5.0.0" - color-convert@^1.9.0, color-convert@^1.9.3: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" @@ -5087,11 +4970,6 @@ copyfiles@^2.4.1: untildify "^4.0.0" yargs "^16.1.0" -core-js@^3.6.5: - version "3.30.0" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.30.0.tgz#64ac6f83bc7a49fd42807327051701d4b1478dea" - integrity sha512-hQotSSARoNh1mYPi9O2YaWeiq/cEB95kOrFb4NCrO4RIFt1qqNpKsaE+vy/L3oiqvND5cThqXzUU3r9F7Efztg== - core-util-is@1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -5966,7 +5844,7 @@ fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" -fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: +fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -6432,7 +6310,7 @@ glob@^6.0.1: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.5, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7: +glob@^7.0.5, glob@^7.1.3, glob@^7.1.4, glob@^7.1.7: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -7501,11 +7379,6 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -lunr@^2.3.9: - version "2.3.9" - resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" - integrity sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow== - luxon@^3.0.0, luxon@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.3.0.tgz#d73ab5b5d2b49a461c47cedbc7e73309b4805b48" @@ -7857,17 +7730,6 @@ ncp@~2.0.0: resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3" integrity sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA== -ndjson@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ndjson/-/ndjson-2.0.0.tgz#320ac86f6fe53f5681897349b86ac6f43bfa3a19" - integrity sha512-nGl7LRGrzugTtaFcJMhLbpzJM6XdivmbkdlaGcrk/LXg2KL/YBC6z1g70xh0/al+oFuVFP8N8kiWRucmeEH/qQ== - dependencies: - json-stringify-safe "^5.0.1" - minimist "^1.2.5" - readable-stream "^3.6.0" - split2 "^3.0.0" - through2 "^4.0.0" - negotiator@0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" @@ -8529,13 +8391,6 @@ prom-client@^11.5.3: dependencies: tdigest "^0.1.1" -prom-client@^14.0.1: - version "14.2.0" - resolved "https://registry.yarnpkg.com/prom-client/-/prom-client-14.2.0.tgz#ca94504e64156f6506574c25fb1c34df7812cf11" - integrity sha512-sF308EhTenb/pDRPakm+WgiN+VdM/T1RaHj1x+MvAuT8UiQP8JmOEbxVqtkbfR4LrvOg5n7ic01kRBDGXjYikA== - dependencies: - tdigest "^0.1.1" - "promise@>=3.2 <8": version "7.3.1" resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf"