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

For review of #135 #139

Closed
wants to merge 4 commits into from
Closed

For review of #135 #139

wants to merge 4 commits into from

Conversation

cspotcode
Copy link
Collaborator

This PR is meant to be #135, but I had to push to a different branch.

katywings and others added 4 commits July 26, 2020 13:08
Originally during the file path resolution, file extensions were removed
without explicit reason. This commit changes the resolution logic to keep file
extensions, with the goal to add support for modern non-js extensions
like cjs. The change however keeps /xyz/index resolves as is as they
still should resolve to /xyz.

Refs 847d314
@cspotcode cspotcode force-pushed the fix-cjs-main-requires branch from e28aa97 to 97f7f87 Compare August 10, 2020 18:49
@codecov
Copy link

codecov bot commented Aug 10, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@2461cc9). Click here to learn what that means.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master    #139   +/-   ##
========================================
  Coverage          ?   0.00%           
========================================
  Files             ?       4           
  Lines             ?     129           
  Branches          ?      52           
========================================
  Hits              ?       0           
  Misses            ?     129           
  Partials          ?       0           
Impacted Files Coverage Δ
src/match-path-async.ts 0.00% <0.00%> (ø)
src/match-path-sync.ts 0.00% <0.00%> (ø)
src/options.ts 0.00% <0.00%> (ø)
src/filesystem.ts 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2461cc9...97f7f87. Read the comment docs.

@jonaskello
Copy link
Member

Thanks for picking this up :-) LGTM

@jonaskello
Copy link
Member

@cspotcode I can add you to npm too so you can publish if you want?

@cspotcode
Copy link
Collaborator Author

cspotcode commented Aug 10, 2020 via email

@jonaskello
Copy link
Member

The changelog is manually updated. Just move the unreleased heading to new version heading before publishing (and remember to make a compare link like for the other version headings, and update the unreleased link too). I usually do this directly on master. If you have ideas for automating this more I'm open for that :-).

It has been a while since this package was published but I think the instructions in the readme still apply. So basically just do yarn version and the preversion, postversion scripts should do the publishing.

I guess the correct semantic versioning would be a patch since it is basically a bugfix. However it may (unintentionally) break existing consumer so for that reason perhaps a major version is called for. I guess it can even be viewed as a new feature that we support other extensions which would make it a minor release. I don't really have a strong opinion on the version increment for this so you can pick what you think is appropriate.

I've added you to npm so you should be able to publish too now :-).

@jonaskello
Copy link
Member

@cspotcode Is this ready to be merged?

@cspotcode
Copy link
Collaborator Author

cspotcode commented Jul 7, 2021 via email

@aleclarson
Copy link
Contributor

It would be great to get this merged soon :)

@jonaskello
Copy link
Member

Ok let's merge it then. I'm not using this package myself in any project anymore so I won't know if something stops working but I guess the community will post issues.

@jonaskello
Copy link
Member

Ah, I did not notice there were merge conflicts. @aleclarson would you care to fix them?

@aleclarson
Copy link
Contributor

Done #193 :)

@jonaskello
Copy link
Member

Closed in #193

@jonaskello jonaskello closed this Mar 3, 2022
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.

4 participants