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

[NextJS] Add .gitattributes to Next.js sample app with CRLF line endings #855

Merged
merged 2 commits into from
Nov 15, 2021

Conversation

illiakovalenko
Copy link
Contributor

@illiakovalenko illiakovalenko commented Nov 15, 2021

Description / Motivation

The OOTB Next.js sample fails to build on Vercel due to Prettier errors (note this previously worked - Vercel must have changed their build agent OS).

Testing Details

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@vercel
Copy link

vercel bot commented Nov 15, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sitecore-jss/edge-e2e-styleguide/FwzbDV7TvZDc6xkVK7ET28JPvZsw
✅ Preview: Failed

[Deployment for b3fab11 failed]

@illiakovalenko illiakovalenko changed the title [NextJs] Add .gitattributes to Next.js sample app with CRLF line endings [NextJS] Add .gitattributes to Next.js sample app with CRLF line endings Nov 15, 2021
@illiakovalenko illiakovalenko requested a review from a team November 15, 2021 15:58
@illiakovalenko illiakovalenko merged commit 5d9420f into dev Nov 15, 2021
@illiakovalenko illiakovalenko deleted the feature/506617 branch November 15, 2021 16:22
@thezaff
Copy link

thezaff commented Apr 22, 2024

@illiakovalenko Could you clarify what's the reason using CRLF in the first place?

@illiakovalenko
Copy link
Contributor Author

illiakovalenko commented Apr 22, 2024

@thezaff the problem here was that Next.js app couldn't build in Vercel due to Prettier errors (Vercel must have changed their build agent OS, when I added this change). And in general it follows our basic rules in all the samples and monorepo

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