-
Notifications
You must be signed in to change notification settings - Fork 97
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
NPM support #57
Comments
If you need help, I can publish the package. |
It would be nice if somebody were to publish and maintain this package. |
Telling npm/yarn/pnpm to install from GitHub could also be an option if importing the src/index.js file works directly (I was able to install, but did not try going further because I realized this polyfill won't work for my use case):
|
@flackr any reason this is not published to npm? |
I started looking at this a bit and pulled in the package by SHA to start with. Since there's no bundled If it were being published, it might make sense to move that to the |
I also have started looking into getting this set up. The rough plan is in PR #224 (comment) with the build switch to vite. I think I should be able to set up a github action to publish releases to npm automatically following https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages |
Not sure if it's valuable but I've started testing publishing in a for-internal fork prior to the publishing y'all are going to do. I added some initial support to publish types with the package and a ES / CJS build. |
Just noticed this library has been published to NPM 🎉 thank you @flackr! |
First, thank you for such a great polyfill! The performance is much smoother than traditional scroll events. I was curious if this package will be available on NPM? I noticed
scroll-timeline-polyfill
doesn't exist in the registry, but it looks like everything is set up for this to work. I'm currently wanting to play with this polyfill in a React Codesandbox which uses create react app and doesn't seem to currently support URL imports. I was able to copy the dist file, but was curious if an NPM package will be supported to make things a little easier in these situations.The text was updated successfully, but these errors were encountered: