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(cli): handle errors while fetching dependencies in get-project-type #6400

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

aliemir
Copy link
Member

@aliemir aliemir commented Oct 11, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

Changes

When working with deno or missing package.json file, an error was thrown while determining the project type. This was causing the CLI to crash even though the fallbacks were provided. This PR handles such errors in getProjectType and lets it use the fallback type.

fixes #6335

@aliemir aliemir added this to the October Release milestone Oct 11, 2024
@aliemir aliemir requested review from a team as code owners October 11, 2024 09:37
Copy link

changeset-bot bot commented Oct 11, 2024

🦋 Changeset detected

Latest commit: 35c2ccf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@refinedev/cli Patch
@refinedev/devtools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aliemir aliemir linked an issue Oct 11, 2024 that may be closed by this pull request
Copy link

cypress bot commented Oct 11, 2024

refine    Run #11559

Run Properties:  status check failed Failed #11559  •  git commit 7354f7ca01 ℹ️: Merge 35c2ccf208d6f798d3d305e4957e39d4aaadf809 into b1185d8eedd415b627042e84d7cc...
Project refine
Run status status check failed Failed #11559
Run duration 27m 00s
Commit git commit 7354f7ca01 ℹ️: Merge 35c2ccf208d6f798d3d305e4957e39d4aaadf809 into b1185d8eedd415b627042e84d7cc...
Committer Ali Emir Şen
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 37
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 382

Tests for review

Failed  cypress/e2e/table-material-ui-use-data-grid/all.cy.ts • 1 failed test • table-material-ui-use-data-grid

View Output

Test Artifacts
table-material-ui-use-data-grid > should work with sorter Test Replay Screenshots

@BatuhanW BatuhanW merged commit 451016a into releases/october Oct 11, 2024
86 of 89 checks passed
@BatuhanW BatuhanW deleted the fix/cli-handle-missing-package-json branch October 11, 2024 13:44
@aliemir aliemir mentioned this pull request Oct 14, 2024
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.

[BUG] Can't run using deno and manual installation
3 participants