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

ci(examples): test every package manager in Support Policy on basic #9593

Merged
merged 38 commits into from
Dec 13, 2024

Conversation

anthonyshew
Copy link
Contributor

@anthonyshew anthonyshew commented Dec 8, 2024

Description

Recently, I updated external dependencies for the basic example and tested it with pnpm. Everything looked good - but our CI only tests basic for pnpm. I hadn't realized that I broke one of the other package managers.

Instead of relying on making sure that we hand-test every package manager, let's test each one in CI.

This PR also removes a few of the examples from the test suite since we are not maintaining them. Because they are community maintained, we won't rely on them for our CI.

Testing Instructions

CI 🙏

@anthonyshew anthonyshew requested a review from a team as a code owner December 8, 2024 03:52
Copy link

vercel bot commented Dec 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 3:09pm

import { createGenerator } from "ts-json-schema-generator";

const __dirname = new URL(".", import.meta.url).pathname;
const __dirname = fileURLToPath(new URL(".", import.meta.url));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For posterity, this fixes a bug in generating types in @turbo/types on Windows.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@anthonyshew anthonyshew enabled auto-merge (squash) December 13, 2024 15:22
@anthonyshew anthonyshew merged commit 9fad9cb into main Dec 13, 2024
41 checks passed
@anthonyshew anthonyshew deleted the shew-c90c2 branch December 13, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants