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

Updates for gulp 5 #3105

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Updates for gulp 5 #3105

merged 2 commits into from
Apr 9, 2024

Conversation

roblarsen
Copy link
Member

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)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Pull requests should be thought of as a conversation. There will be some back and forth when trying to get code merged into this or any other project. With all but the simplest changes you can and should expect that the maintainers of the project will request changes to your code. Please be aware of that and check in after you open your PR in order to get your code merged in cleanly.

Thanks!

@roblarsen roblarsen mentioned this pull request Apr 1, 2024
@roblarsen roblarsen requested a review from coliff April 1, 2024 19:48
@coliff
Copy link
Member

coliff commented Apr 2, 2024

Test failure:
image

@roblarsen
Copy link
Member Author

@coliff tests are passing here and in my codespace. Can you double check?

@coliff
Copy link
Member

coliff commented Apr 2, 2024

Tested on Windows 11 before - get a different error on macOS
Untitled

.DS_Store is in our .gitignore but should ideally set it to be excluded from dist dir too.

@bryanbraide
Copy link

@coliff tests are passing here and in my codespace. Can you double check?

whats the issue ?

@coliff
Copy link
Member

coliff commented Apr 8, 2024

@coliff tests are passing here and in my codespace. Can you double check?

whats the issue ?

npm run build completes without problems, but npm run test does not on my Windows 11 PC. I tried a few things including deleting node_modules and reinstalling. Do you want to give it a try?

image

@bryanbraide
Copy link

hmmm, what is the result supposed to look like?

@coliff
Copy link
Member

coliff commented Apr 8, 2024

hmmm, what is the result supposed to look like?

Pass with no errors

@roblarsen
Copy link
Member Author

BREAKING NEWS

I just checked out the v9.0.0 tag and it's broken there.

So... I don't know when this test last passed on Windows. I am actually on Windows as I type this but I've become a Codespaces devotee so I did the entire 9.0.0 release on GitHub and the PR tests are all running in similar environments. I'm going to backwards through tags to find out when it last worked at start from there. It definitely used to work because before Codepsaces everything I did went through Windows.

The issue is that "css\style.css" is not "css/style.css"

 'webpack.common.js',
  'webpack.config.dev.js',
  'webpack.config.prod.js',

  'css/', // for directories, a `/` character
  // should be included at the end
  'css/style.css',
 16) Test if all the expected files, and only them, are present in the build directories
       dist
         "css\style.css" should NOT be present:

      AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:        

  assert(false)

      + expected - actual

      -false
      +true

@coliff I'd like to merge this PR and then I'll create a separate issue for the failing tests since they pre-date the Gulp upgrade. Once I fix that we'll put out a patch release.

@bryanbraide
Copy link

@coliff fixed?

@roblarsen
Copy link
Member Author

@coliff fixed?

See above

@roblarsen roblarsen merged commit 38cf0f0 into main Apr 9, 2024
7 checks passed
@roblarsen roblarsen deleted the gulp-5-oops branch April 9, 2024 14:22
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