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

[website][docs][cli] Make Core the default project #3868

Merged
merged 12 commits into from
Aug 5, 2024

Conversation

bharatkashyap
Copy link
Member

@bharatkashyap bharatkashyap commented Jul 31, 2024

https://deploy-preview-3868--mui-toolpad-docs.netlify.app/toolpad/
https://deploy-preview-3868--mui-toolpad-docs.netlify.app/toolpad/studio/

@bharatkashyap bharatkashyap added docs Improvements or additions to the documentation website Related to the marketing pages labels Jul 31, 2024
@bharatkashyap bharatkashyap requested review from Janpot and apedroferreira and removed request for Janpot August 1, 2024 07:00
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 1, 2024
Copy link
Member

@apedroferreira apedroferreira left a comment

Choose a reason for hiding this comment

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

Looks great! Just small nitpicks.

RELEASE.md Outdated Show resolved Hide resolved
RELEASE.md Outdated Show resolved Hide resolved
docs/src/components/landing-studio/Hero.js Show resolved Hide resolved
{secondaryLabel}
</Button>
) : null}
<GithubStars />
Copy link
Member

Choose a reason for hiding this comment

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

As there's another page with a Github star button, couldn't both pages use the same component?

Copy link
Member Author

Choose a reason for hiding this comment

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

They are both using the same component - the GithubStars component inside landing-studio

Copy link
Member

Choose a reason for hiding this comment

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

Ah nevermind I guess I misread the diff in this case.

);

// check that file exists or not in the directory
const gitignore = await fs.readFile(path.resolve(testDir, './.gitignore'), {
Copy link
Member

Choose a reason for hiding this comment

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

I guess you can also use fs.exists or fs.stat instead of readFile here (not sure which is better or the best way nowadays, would have to try it)

Copy link
Member Author

Choose a reason for hiding this comment

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

Node.js deprecated fs.exists in favour of fs.access and fs.stat, both of which warn against using them to check for existence before attempting to read or write the file, for race condition worries: https://nodejs.org/api/fs.html#fsstatpath-options-callback

Copy link
Member

Choose a reason for hiding this comment

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

Oh ok great I didn't know (wasn't sure like I said :D), thanks for clarifying!

bharatkashyap and others added 3 commits August 1, 2024 22:50
Co-authored-by: Pedro Ferreira <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
Co-authored-by: Pedro Ferreira <[email protected]>
Signed-off-by: Bharat Kashyap <[email protected]>
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 2, 2024
@Janpot Janpot mentioned this pull request Aug 5, 2024
10 tasks
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 5, 2024
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Aug 5, 2024
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Aug 5, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 5, 2024
@Janpot Janpot enabled auto-merge (squash) August 5, 2024 17:33
@Janpot Janpot merged commit dd126f1 into mui:master Aug 5, 2024
13 checks passed
@oliviertassinari oliviertassinari changed the title [website] [docs] [cli] Make Core the default project [website][docs][cli] Make Core the default project Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation website Related to the marketing pages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make @toolpad/core the default Toolpad project
3 participants