Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nango deps version and publish.sh #1821

Merged
merged 2 commits into from Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1,395 changes: 52 additions & 1,343 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@babel/traverse": "^7.22.5",
"@inquirer/prompts": "^2.3.0",
"@nangohq/shared": "^0.38.5",
"@nangohq/shared": "^0.39.0",
"@vercel/ncc": "^0.36.1",
"ajv": "^8.12.0",
"ajv-errors": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jobs/package.json
Expand Up @@ -16,7 +16,7 @@
},
"dependencies": {
"@nangohq/nango-runner": "^1.0.0",
"@nangohq/shared": "^0.38.5",
"@nangohq/shared": "^0.39.0",
"@temporalio/activity": "^1.9.1",
"@temporalio/client": "^1.9.1",
"@temporalio/worker": "^1.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/persist/package.json
Expand Up @@ -18,7 +18,7 @@
},
"license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY",
"dependencies": {
"@nangohq/shared": "^0.38.5",
"@nangohq/shared": "^0.39.0",
"dd-trace": "5.2.0",
"express": "^4.18.2",
"zod": "^3.22.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/runner/package.json
Expand Up @@ -18,7 +18,7 @@
},
"license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY",
"dependencies": {
"@nangohq/shared": "^0.38.5",
"@nangohq/shared": "^0.39.0",
"@trpc/client": "^10.44.0",
"@trpc/server": "^10.44.0",
"connect-timeout": "^1.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@hapi/boom": "^10.0.1",
"@nangohq/shared": "^0.38.5",
"@nangohq/shared": "^0.39.0",
"axios": "^1.3.4",
"connect-session-knex": "^3.0.1",
"cookie-parser": "^1.4.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Expand Up @@ -20,7 +20,7 @@
"@aws-sdk/client-s3": "^3.348.0",
"@datadog/datadog-api-client": "^1.16.0",
"@hapi/boom": "^10.0.1",
"@nangohq/node": "^0.38.5",
"@nangohq/node": "^0.39.0",
"@sentry/node": "^7.105.0",
"@temporalio/client": "^1.9.1",
"amqplib": "^0.10.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/package.json
Expand Up @@ -32,7 +32,7 @@
"@geist-ui/icons": "1.0.2",
"@heroicons/react": "2.0.18",
"@mantine/prism": "5.10.5",
"@nangohq/frontend": "^0.38.5",
"@nangohq/frontend": "^0.39.0",
"@sentry/react": "7.83.0",
"@tailwindcss/forms": "0.5.3",
"@testing-library/react": "13.4.0",
Expand Down
6 changes: 3 additions & 3 deletions scripts/publish.sh
Expand Up @@ -30,23 +30,23 @@ npm install

# Node client
bump_and_npm_publish "@nangohq/node" "$VERSION"
pushd "./packages/shared"; npm install "@nangohq/node@$VERSION"; popd;
pushd "$GIT_ROOT_DIR/packages/shared"; npm install @nangohq/node@^$VERSION; popd;

# Shared
node scripts/flows.js
bump_and_npm_publish "@nangohq/shared" "$VERSION"
# Update all packages to use the new shared version
package_dirs=("cli" "server" "runner" "jobs" "persist")
for dir in "${package_dirs[@]}"; do
pushd "./packages/$dir"; npm install "@nangohq/shared@$VERSION"; popd;
pushd "$GIT_ROOT_DIR/packages/$dir"; npm install @nangohq/shared@^$VERSION; popd;
done

# CLI
bump_and_npm_publish "nango" "$VERSION"

# Frontend
bump_and_npm_publish "@nangohq/frontend" "$VERSION"
pushd ./packages/webapp; npm install "@nangohq/frontend@$VERSION"; popd
pushd "$GIT_ROOT_DIR/packages/webapp"; npm install @nangohq/frontend@^$VERSION; popd;

# DEBUG: show changes in CI
git diff