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

feat: various improvements #273

Closed
wants to merge 1 commit into from

Conversation

favna
Copy link

@favna favna commented Apr 3, 2021

This introduces various improvements that should make things for this package better.

  • Changed from Travis to Github Actions
  • Improved the TLD auto update script
  • Added dependabot config for updating github actions
  • Moved source file to src directory
  • Replaced uglifyjs + browserify with rollup, which does all of this, plus better (through Terser)
  • Changed from npmignore to files array in package.json
  • Listed all exports in the package.json, this will ensure that people using ESM will automatically get the proper version, and browser bundlers know to grab the umd bundle.

Important Note: Due to the way that GitHub actions work you'll have to add a secret with is a Personal Access Token to create the automatic PRs with in the future.
You can see how to create a PAT here: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token.
Then once you have that add it to repo secrets as described here: https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository
The secret should be named CI_TOKEN

fixes #31
fixes #249
resolves #5

@favna favna force-pushed the feat/various-improvements branch 2 times, most recently from f66307e to 5f9b8a9 Compare April 3, 2021 18:38
@kyranet
Copy link

kyranet commented Apr 3, 2021

Note: this would also fix #31, as rollup is producing ESM output.

Copy link

@Nytelife26 Nytelife26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from this small change.

.github/workflows/continuous-integration.yml Outdated Show resolved Hide resolved
- Changed from Travis to Github Actions
- Improved the TLD auto update script (with regards to Skyra Project)
- Added dependabot config for updating github actions
- Moved source file to src directory
- Replaced uglifyjs + browserify with rollup, which does all of this, plus better (through Terser)
- Changed from npmignore to files array in package.json
@favna favna force-pushed the feat/various-improvements branch from 4126259 to 37190e6 Compare April 3, 2021 21:05
@favna
Copy link
Author

favna commented May 3, 2021

Bump @lupomontero

@andorfermichael
Copy link

@lupomontero it would be great if you could merge these changes, thanks in advance 👍

@favna
Copy link
Author

favna commented Jul 17, 2023

Closing this because repo owner completely ignored this PR and caused many conflicts in the branch that I do not feel like fixing as we have also moved on from using psl in our project.

A true shame considering the amount of issues this was set to fix but I guess @lupomontero just doesn't care.

@favna favna closed this Jul 17, 2023
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.

Automate List Updates platform.sh should be a valid domain Add support for ES6 browser import
4 participants