The Wayback Machine - https://web.archive.org/web/20220319230724/https://github.com/primer/css/pull/1528
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

Convert package to a ES module #1528

Merged
merged 12 commits into from Aug 11, 2021
Merged

Convert package to a ES module #1528

merged 12 commits into from Aug 11, 2021

Conversation

koddsson
Copy link
Member

@koddsson koddsson commented Aug 11, 2021

As dependencies start publishing as pure ES modules, it will become increasingly difficult to update those dependencies. For that reason, we should convert the @primer/css to an ES module. This pull request is my stab at it.

I don't work on this project a lot, so that I might break something not apparent to me. I would appreciate any help in making sure everything is still working correctly.

References

#1515
closes #1516
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

@changeset-bot
Copy link

@changeset-bot changeset-bot bot commented Aug 11, 2021

🦋 Changeset detected

Latest commit: 9ba3df1

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

@koddsson
Copy link
Member Author

@koddsson koddsson commented Aug 11, 2021

As far as I can tell the JSON outputted is fine? Not sure why I'm getting that error.

@koddsson koddsson marked this pull request as ready for review Aug 11, 2021
@jonrohan jonrohan enabled auto-merge (squash) Aug 11, 2021
@jonrohan jonrohan merged commit 303caca into main Aug 11, 2021
6 checks passed
@jonrohan jonrohan deleted the es branch Aug 11, 2021
@primer-css primer-css mentioned this pull request Aug 11, 2021
@simurai simurai mentioned this pull request Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants