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

shareon v2 #37

Closed
wants to merge 16 commits into from
Closed

shareon v2 #37

wants to merge 16 commits into from

Conversation

kytta
Copy link
Owner

@kytta kytta commented Jul 29, 2021

shareon becomes a rather small, yet breaking update. I was not pleased with the dev infrastructure and the abundance of files, so I decided to make the project slightly more opinionated. The changes include:

  • BREAKING: shareon supports only modern browsers now. The code I write is mostly ES6, and no transpiling is being done.
  • BREAKING: main distribution format is now ESM, even for browsers. CJS is gone.
  • BREAKING: noinit variant is gone. shareon will always auto-init
  • switched from a clunky Rollup config to esbuild and PostCSS
  • switched from many source files to just two: vanilla CSS and JS
  • added type definitions for the shareon() function (it's abundant, but brings good PR)

Even with those additions, shareon still works in 95% of the browsers used nowadays, and this number is expected to grow. As a bonus, I don't get burned out trying to figure out how to build libraries for web.

I will test the package before releasing it (expected date: Aug-Sep 2021). After the release, v1 will get no updates.

@kytta kytta mentioned this pull request Jul 29, 2021
6 tasks
@kytta kytta changed the title Version 2 release shareon v2 Jul 29, 2021
@kytta kytta self-assigned this Jul 29, 2021
@kytta kytta added the enhancement New feature or request label Jul 29, 2021
@kytta
Copy link
Owner Author

kytta commented Feb 11, 2022

I have migrated this project to Codeberg, and a new v2 release is underway. Check https://codeberg.org/kytta/shareon/pulls/9 for the new v2 PR.

@kytta kytta closed this Feb 11, 2022
@kytta kytta deleted the v2 branch February 11, 2022 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add customization techniques to the docs Add link to the WordPress version
1 participant