From 6087cdfc360a9528d8cd104daf44d20e5b33818b Mon Sep 17 00:00:00 2001 From: Samuel Bodin <1637651+bodinsamuel@users.noreply.github.com> Date: Wed, 15 Jan 2025 17:22:54 +0100 Subject: [PATCH] fix: publish failed (#3307) ## Changes Still can't explain what's happening --- package-lock.json | 260 +----------------------------- packages/cli/package.json | 4 +- packages/frontend/package.json | 2 +- packages/nango-yaml/package.json | 2 +- packages/node-client/package.json | 2 +- packages/shared/package.json | 4 +- scripts/publish.sh | 1 + 7 files changed, 15 insertions(+), 260 deletions(-) diff --git a/package-lock.json b/package-lock.json index fd1c1401e69..c49cca5ae10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35154,7 +35154,7 @@ "@babel/parser": "^7.22.5", "@babel/traverse": "^7.22.5", "@babel/types": "^7.22.5", - "@nangohq/nango-yaml": "0.48.2", + "@nangohq/nango-yaml": "0.48.3", "@nangohq/shared": "^0.48.3", "@swc/core": "^1.5.25", "ajv": "^8.17.1", @@ -35188,7 +35188,7 @@ "@babel/core": "^7.22.1", "@babel/preset-env": "^7.22.4", "@babel/preset-typescript": "^7.21.5", - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "@types/babel__traverse": "^7.20.1", "@types/babel-traverse": "^6.25.7", "@types/commander": "^2.12.2", @@ -35209,22 +35209,6 @@ "node": ">=18.0" } }, - "packages/cli/node_modules/@nangohq/nango-yaml": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@nangohq/nango-yaml/-/nango-yaml-0.48.2.tgz", - "integrity": "sha512-it3QYEUrP7A9D9VUv43gOPV01GpSSi7eoeHH7yo6Sn1LaR7hCs99bpnv8PQakuhfv+QDJhegBwdhMeuoorxiAA==", - "dependencies": { - "js-yaml": "^4.1.0", - "ms": "3.0.0-canary.1" - } - }, - "packages/cli/node_modules/@nangohq/types": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.2.tgz", - "integrity": "sha512-XgHEvPQqfvrfZawLaXBH3L/uFD3M6jklD6N2jcYrR9VyToGQht2sM24APaQG3j22GK4ii39NscjPOlnxfRnO7A==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/cli/node_modules/ajv": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", @@ -35636,16 +35620,9 @@ "version": "0.48.3", "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY", "devDependencies": { - "@nangohq/types": "0.48.2" + "@nangohq/types": "0.48.3" } }, - "packages/frontend/node_modules/@nangohq/types": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.2.tgz", - "integrity": "sha512-XgHEvPQqfvrfZawLaXBH3L/uFD3M6jklD6N2jcYrR9VyToGQht2sM24APaQG3j22GK4ii39NscjPOlnxfRnO7A==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/integration-template-tests": { "name": "nango-integrations", "version": "1.0.0", @@ -36229,17 +36206,10 @@ "ms": "3.0.0-canary.1" }, "devDependencies": { - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "vitest": "2.1.8" } }, - "packages/nango-yaml/node_modules/@nangohq/types": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.2.tgz", - "integrity": "sha512-XgHEvPQqfvrfZawLaXBH3L/uFD3M6jklD6N2jcYrR9VyToGQht2sM24APaQG3j22GK4ii39NscjPOlnxfRnO7A==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/nango-yaml/node_modules/ms": { "version": "3.0.0-canary.1", "license": "MIT", @@ -36255,7 +36225,7 @@ "axios": "^1.7.9" }, "devDependencies": { - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "tsup": "^8.2.4", "vitest": "2.1.8" }, @@ -36263,13 +36233,6 @@ "node": ">=18.0" } }, - "packages/node-client/node_modules/@nangohq/types": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.2.tgz", - "integrity": "sha512-XgHEvPQqfvrfZawLaXBH3L/uFD3M6jklD6N2jcYrR9VyToGQht2sM24APaQG3j22GK4ii39NscjPOlnxfRnO7A==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/orchestrator": { "name": "@nangohq/nango-orchestrator", "version": "1.0.0", @@ -37251,7 +37214,7 @@ "@datadog/datadog-api-client": "1.26.0", "@hapi/boom": "^10.0.1", "@nangohq/database": "file:../database", - "@nangohq/nango-yaml": "0.48.2", + "@nangohq/nango-yaml": "0.48.3", "@nangohq/node": "^0.48.3", "@nangohq/utils": "file:../utils", "ajv": "^8.17.1", @@ -37279,7 +37242,7 @@ "devDependencies": { "@nangohq/logs": "file:../logs", "@nangohq/nango-orchestrator": "file:../orchestrator", - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "@types/braintree": "^3.3.12", "@types/js-yaml": "^4.0.5", "@types/json-schema": "7.0.15", @@ -38834,22 +38797,6 @@ "node": ">=0.4" } }, - "packages/shared/node_modules/@nangohq/nango-yaml": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@nangohq/nango-yaml/-/nango-yaml-0.48.2.tgz", - "integrity": "sha512-it3QYEUrP7A9D9VUv43gOPV01GpSSi7eoeHH7yo6Sn1LaR7hCs99bpnv8PQakuhfv+QDJhegBwdhMeuoorxiAA==", - "dependencies": { - "js-yaml": "^4.1.0", - "ms": "3.0.0-canary.1" - } - }, - "packages/shared/node_modules/@nangohq/types": { - "version": "0.48.2", - "resolved": "https://registry.npmjs.org/@nangohq/types/-/types-0.48.2.tgz", - "integrity": "sha512-XgHEvPQqfvrfZawLaXBH3L/uFD3M6jklD6N2jcYrR9VyToGQht2sM24APaQG3j22GK4ii39NscjPOlnxfRnO7A==", - "dev": true, - "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY" - }, "packages/shared/node_modules/@nangohq/utils": { "version": "1.0.0", "resolved": "file:packages/shared/vendor/nangohq-utils-1.0.0.tgz", @@ -39081,37 +39028,11 @@ "acorn": "^8" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/agent-base": { - "version": "7.1.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/async": { "version": "3.2.6", "inBundle": true, "license": "MIT" }, - "packages/shared/node_modules/@nangohq/utils/node_modules/asynckit": { - "version": "0.4.0", - "inBundle": true, - "license": "MIT" - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/axios": { - "version": "1.7.9", - "inBundle": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/cjs-module-lexer": { "version": "1.4.1", "inBundle": true, @@ -39157,17 +39078,6 @@ "text-hex": "1.0.x" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/combined-stream": { - "version": "1.0.8", - "inBundle": true, - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/crypto-randomuuid": { "version": "1.0.0", "inBundle": true, @@ -39221,27 +39131,6 @@ "node": ">=18" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/debug": { - "version": "4.4.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/debug/node_modules/ms": { - "version": "2.1.3", - "inBundle": true, - "license": "MIT" - }, "packages/shared/node_modules/@nangohq/utils/node_modules/delay": { "version": "5.0.0", "inBundle": true, @@ -39253,14 +39142,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/delayed-stream": { - "version": "1.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/detect-newline": { "version": "3.1.0", "inBundle": true, @@ -39279,16 +39160,6 @@ "inBundle": true, "license": "MIT" }, - "packages/shared/node_modules/@nangohq/utils/node_modules/exponential-backoff": { - "version": "3.1.1", - "inBundle": true, - "license": "Apache-2.0" - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/fast-safe-stringify": { - "version": "2.1.1", - "inBundle": true, - "license": "MIT" - }, "packages/shared/node_modules/@nangohq/utils/node_modules/fecha": { "version": "4.2.3", "inBundle": true, @@ -39299,70 +39170,6 @@ "inBundle": true, "license": "MIT" }, - "packages/shared/node_modules/@nangohq/utils/node_modules/follow-redirects": { - "version": "1.15.9", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/form-data": { - "version": "4.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/guess-json-indent": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=18.18.0" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/http-proxy-agent": { - "version": "7.0.2", - "inBundle": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.0", - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/https-proxy-agent": { - "version": "7.0.4", - "inBundle": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/ieee754": { "version": "1.2.1", "funding": [ @@ -39507,25 +39314,6 @@ "node": ">=12" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/mime-db": { - "version": "1.52.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/mime-types": { - "version": "2.1.35", - "inBundle": true, - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/module-details-from-path": { "version": "1.0.3", "inBundle": true, @@ -39640,11 +39428,6 @@ "node": ">=12.0.0" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/proxy-from-env": { - "version": "1.1.0", - "inBundle": true, - "license": "MIT" - }, "packages/shared/node_modules/@nangohq/utils/node_modules/readable-stream": { "version": "3.6.2", "inBundle": true, @@ -39761,22 +39544,6 @@ "safe-buffer": "~5.2.0" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/string-byte-length": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=18.18.0" - } - }, - "packages/shared/node_modules/@nangohq/utils/node_modules/string-byte-slice": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=18.18.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/text-hex": { "version": "1.0.0", "inBundle": true, @@ -39795,19 +39562,6 @@ "node": ">= 14.0.0" } }, - "packages/shared/node_modules/@nangohq/utils/node_modules/truncate-json": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "guess-json-indent": "^3.0.0", - "string-byte-length": "^3.0.0", - "string-byte-slice": "^3.0.0" - }, - "engines": { - "node": ">=18.18.0" - } - }, "packages/shared/node_modules/@nangohq/utils/node_modules/type-fest": { "version": "2.19.0", "inBundle": true, diff --git a/packages/cli/package.json b/packages/cli/package.json index 7e0f7db68c4..a4da4d8ad88 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -24,7 +24,7 @@ "@babel/parser": "^7.22.5", "@babel/traverse": "^7.22.5", "@babel/types": "^7.22.5", - "@nangohq/nango-yaml": "0.48.2", + "@nangohq/nango-yaml": "0.48.3", "@nangohq/shared": "^0.48.3", "@swc/core": "^1.5.25", "ajv": "^8.17.1", @@ -55,7 +55,7 @@ "@babel/core": "^7.22.1", "@babel/preset-env": "^7.22.4", "@babel/preset-typescript": "^7.21.5", - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "@types/babel__traverse": "^7.20.1", "@types/babel-traverse": "^6.25.7", "@types/commander": "^2.12.2", diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 6d274f76a35..080b9ffc421 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -15,7 +15,7 @@ "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY", "scripts": {}, "devDependencies": { - "@nangohq/types": "0.48.2" + "@nangohq/types": "0.48.3" }, "files": [ "dist/**/*.js", diff --git a/packages/nango-yaml/package.json b/packages/nango-yaml/package.json index 0b964132453..e4a685305f9 100644 --- a/packages/nango-yaml/package.json +++ b/packages/nango-yaml/package.json @@ -17,7 +17,7 @@ "ms": "3.0.0-canary.1" }, "devDependencies": { - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "vitest": "2.1.8" }, "files": [ diff --git a/packages/node-client/package.json b/packages/node-client/package.json index ffb8b1dd7be..8d6541d0cd3 100644 --- a/packages/node-client/package.json +++ b/packages/node-client/package.json @@ -36,7 +36,7 @@ "README.md" ], "devDependencies": { - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "tsup": "^8.2.4", "vitest": "2.1.8" } diff --git a/packages/shared/package.json b/packages/shared/package.json index ab5283f9cc9..b247e586036 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -22,7 +22,7 @@ "@datadog/datadog-api-client": "1.26.0", "@hapi/boom": "^10.0.1", "@nangohq/database": "file:../database", - "@nangohq/nango-yaml": "0.48.2", + "@nangohq/nango-yaml": "0.48.3", "@nangohq/node": "^0.48.3", "@nangohq/utils": "file:../utils", "ajv": "^8.17.1", @@ -54,7 +54,7 @@ "devDependencies": { "@nangohq/logs": "file:../logs", "@nangohq/nango-orchestrator": "file:../orchestrator", - "@nangohq/types": "0.48.2", + "@nangohq/types": "0.48.3", "@types/braintree": "^3.3.12", "@types/js-yaml": "^4.0.5", "@types/json-schema": "7.0.15", diff --git a/scripts/publish.sh b/scripts/publish.sh index f97fd8bf17c..7705b183f9f 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -125,6 +125,7 @@ rm packages/database/package-lock.json pushd "$GIT_ROOT_DIR/packages/shared" npm install "@nangohq/utils@file:../utils" npm install "@nangohq/database@file:../database" +popd pushd "$GIT_ROOT_DIR/packages/database" npm install "@nangohq/utils@file:../utils" popd