Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jan 13, 2023
1 parent 3b22fdf commit d717d95
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 30 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@types/lodash.set": "^4.3.7",
"@types/micromatch": "^4.0.2",
"@types/node": "^18.11.18",
"@types/pino": "^7.0.5",
"docsify-cli": "^4.4.4",
"eslint": "^8.31.0",
"eslint-config-airbnb-base": "^15.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@sentry/node": "^7.20.1",
"async-retry": "^1.3.3",
"axios": "^0.27.2",
"axios": "^1.2.2",
"axios-retry": "^3.3.1",
"compare-versions": "^5.0.1",
"decompress": "^4.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/common/utils/axios-retry.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const axios = require("axios")
const axiosRetry = require("axios-retry")
const { default: axios } = require("axios")
const { default: axiosRetry } = require("axios-retry")

const kontinuousVersion = require("./kontinuous-version")

Expand Down
4 changes: 2 additions & 2 deletions packages/common/utils/kubectl-retry.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const retriableNetwork = require("./retriable-network")

/**
*
* @param {string[]} kubectlArgs
* @param {string|string[]} kubectlArgs
* @param {KubectlRunOptions} options
* @returns void
*/
Expand Down Expand Up @@ -105,7 +105,7 @@ const kubectlRun = async (kubectlArgs, options = {}) => {

/**
*
* @param {string[]} kubectlArgs
* @param {string|string[]} kubectlArgs
* @param {KubectlRetryOptions} options
* @returns string
*/
Expand Down
7 changes: 0 additions & 7 deletions packages/common/utils/pattern-match.d.ts

This file was deleted.

13 changes: 5 additions & 8 deletions packages/kontinuous/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"compilerOptions": {
"lib": [
"ES2020"
],
"compilerOptions": {
"lib": ["ES2020"],
"module": "ES2020",
"target": "ES2020",
"strict": true,
Expand All @@ -13,13 +11,12 @@
"allowJs": true,
"noImplicitAny": false,
"isolatedModules": false,
"noEmit": true,
"baseUrl": ".",
"paths": {
"~/*": ["./src/*"],
"~common/*": ["../common/*"]
}
},
"exclude":[
"./node_modules"
]
}
"exclude": ["./node_modules"]
}
59 changes: 49 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2997,6 +2997,15 @@ __metadata:
languageName: node
linkType: hard

"@types/pino@npm:^7.0.5":
version: 7.0.5
resolution: "@types/pino@npm:7.0.5"
dependencies:
pino: "npm:*"
checksum: 1b0fe47982734322fc9fb054b480d463fa7e9ba98ae8bacc805a801a063e46cca35ddfa78c4e962cb0ff3ea470bc05a2432227a9df671a89dba3735419b2e09e
languageName: node
linkType: hard

"@types/prettier@npm:^2.1.5":
version: 2.6.3
resolution: "@types/prettier@npm:2.6.3"
Expand Down Expand Up @@ -3657,13 +3666,14 @@ __metadata:
languageName: node
linkType: hard

"axios@npm:^0.27.2":
version: 0.27.2
resolution: "axios@npm:0.27.2"
"axios@npm:^1.2.2":
version: 1.2.2
resolution: "axios@npm:1.2.2"
dependencies:
follow-redirects: "npm:^1.14.9"
follow-redirects: "npm:^1.15.0"
form-data: "npm:^4.0.0"
checksum: 4cd898afe90caaf05307fc5a0da4c61012493b6bfd4937fff9774455c01d368db583b17c4737e73853f149b32e615487930b491661682a1f69a1973b1f533bb7
proxy-from-env: "npm:^1.1.0"
checksum: bedb7ca96c8cabb615658360286d635d2fc2ccc3307a0be0ac68386302a250c3df9cb321cbdae59765371cb819c81eb568c7840d584460e017b619cb1e7d1ba7
languageName: node
linkType: hard

Expand Down Expand Up @@ -6590,13 +6600,13 @@ __metadata:
languageName: node
linkType: hard

"follow-redirects@npm:^1.14.9":
version: 1.15.1
resolution: "follow-redirects@npm:1.15.1"
"follow-redirects@npm:^1.15.0":
version: 1.15.2
resolution: "follow-redirects@npm:1.15.2"
peerDependenciesMeta:
debug:
optional: true
checksum: 1f3e06bfb5c5351456e4fdb9197aa09158452d6400a06240a80204708b7a68f1bb47d6e94127112844136f66ad3283f9c92fa3c5c76aa96db8bd44214ea922b8
checksum: 930171f8b81bf00e9368df4b17f3b835934762d51192632af53a51a8a608d5510a1ffbc6da5761dce9996cdbd750740490ca844320e5ff11cdaf2329a5a69647
languageName: node
linkType: hard

Expand Down Expand Up @@ -10964,6 +10974,27 @@ __metadata:
languageName: node
linkType: hard

"pino@npm:*":
version: 8.8.0
resolution: "pino@npm:8.8.0"
dependencies:
atomic-sleep: "npm:^1.0.0"
fast-redact: "npm:^3.1.1"
on-exit-leak-free: "npm:^2.1.0"
pino-abstract-transport: "npm:v1.0.0"
pino-std-serializers: "npm:^6.0.0"
process-warning: "npm:^2.0.0"
quick-format-unescaped: "npm:^4.0.3"
real-require: "npm:^0.2.0"
safe-stable-stringify: "npm:^2.3.1"
sonic-boom: "npm:^3.1.0"
thread-stream: "npm:^2.0.0"
bin:
pino: bin.js
checksum: 2356ad5ab8b85aca7092707a577521c9d3d8ef3ca7b8e70151402cb69cc37ad25f958fdca3ed32eb2da9fae15cb36e41279eeceff7f6cd91bd60706826ab20c6
languageName: node
linkType: hard

"pino@npm:^6.13.0":
version: 6.14.0
resolution: "pino@npm:6.14.0"
Expand Down Expand Up @@ -11208,6 +11239,13 @@ __metadata:
languageName: node
linkType: hard

"proxy-from-env@npm:^1.1.0":
version: 1.1.0
resolution: "proxy-from-env@npm:1.1.0"
checksum: 0bba2ef7c8374b384e94e4477764e53df66fcdfa7d19e2c4a063cb39eea979c139ce13981970223665422e72b7d149609a927046e2e40ab340b84d91af082591
languageName: node
linkType: hard

"ps-tree@npm:^1.2.0":
version: 1.2.0
resolution: "ps-tree@npm:1.2.0"
Expand Down Expand Up @@ -13895,7 +13933,7 @@ __metadata:
dependencies:
"@sentry/node": "npm:^7.20.1"
async-retry: "npm:^1.3.3"
axios: "npm:^0.27.2"
axios: "npm:^1.2.2"
axios-retry: "npm:^3.3.1"
compare-versions: "npm:^5.0.1"
decompress: "npm:^4.2.1"
Expand Down Expand Up @@ -13929,6 +13967,7 @@ __metadata:
"@types/lodash.set": "npm:^4.3.7"
"@types/micromatch": "npm:^4.0.2"
"@types/node": "npm:^18.11.18"
"@types/pino": "npm:^7.0.5"
docsify-cli: "npm:^4.4.4"
eslint: "npm:^8.31.0"
eslint-config-airbnb-base: "npm:^15.0.0"
Expand Down

0 comments on commit d717d95

Please sign in to comment.