Skip to content

chore: upgrade typescript version to fix netlify #355

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

Merged
merged 2 commits into from
Apr 8, 2022
Merged

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Apr 8, 2022

🧭 What and Why

The build error in netlify seems to originate from a version discrepancy of typescript in the eslint folder,
testing if having the same version everywhere makes a difference.

Also simplify eslintrc.js by splitting yaml and ts completely, otherwise the yaml would fail because it did't have type annotations like tsconfig.json.

Netlify error:
YN0000: │ @algolia/api-client-automation@workspace:. STDERR Error: Cannot find module '/opt/build/repo/eslint/node_modules/typescript/bin/tsc'

Changes included:

  • Upgrade deps

🧪 Test

CI

@millotp millotp self-assigned this Apr 8, 2022
@netlify
Copy link

netlify bot commented Apr 8, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit dc86733
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/624ffb002f95430009e22cac

@algolia-bot
Copy link
Collaborator

algolia-bot commented Apr 8, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the generated/main branch.

@millotp millotp requested review from a team, damcou and shortcuts and removed request for a team April 8, 2022 09:20
@millotp millotp enabled auto-merge (squash) April 8, 2022 09:22
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants