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

chore: ts-overhaul #6910

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

chore: ts-overhaul #6910

wants to merge 29 commits into from

Conversation

tlane25
Copy link
Contributor

@tlane25 tlane25 commented Nov 1, 2024

🎉 Thanks for submitting a pull request! 🎉

Summary

  • Removed @ts-ignore... and updated types in build, deploy, dev, function, init, sites, integration, link, and watch commands.
  • Updated types of utils folders associated w/ above commands
  • Extracted api types into ./src/types directory

Thanks @wconrad265 for all the help!

Fixes # Type Errors


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

wconrad265 and others added 29 commits October 23, 2024 11:30
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
Co-authored-by: Thomas Lane <[email protected]>
@tlane25 tlane25 requested a review from a team as a code owner November 1, 2024 18:05
@tlane25 tlane25 changed the title choree: ts-overhaul chore: ts-overhaul Nov 1, 2024
@@ -46,7 +42,7 @@ export const build = async (options: OptionValues, command: BaseCommand) => {
buildOptions.cachedConfig.env = await getEnvelopeEnv({
api: command.netlify.api,
context: options.context,
env: buildOptions.cachedConfig.env,
env: buildOptions.cachedConfig.siteInfo.env,
Copy link
Contributor

Choose a reason for hiding this comment

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

was this just passing the wrong value before?

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