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

TS Refactor #61

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

TS Refactor #61

wants to merge 13 commits into from

Conversation

halvardssm
Copy link

@halvardssm halvardssm commented Jan 29, 2022

Hi! It was amazing to find a working package for the good 'ol Clippy.

This PR contains a complete refactor of the codebase to TypeScript. It removes all usage of jquery and external dependencies and uses lazy loading for fetching agents.

Changelog:

  • Removed all usage of jquery
  • Changed all JS code to TypeScript
  • Added Parcel as bundler and local server for testing
  • Added Package declaration (package.json)
  • Added Yarn V3 with PNP as package manager
  • Changed agent import to lazy loading for browser support as well as NPM usage
  • Added CI

There is only one part missing, and that is to fix the bundling, but this is underway in a separate PR to Parcel.

Any feedback is appreciated!

@bertybot
Copy link

This package seems no longer maintained. I would just fork this code and release it yourself

@halvardssm
Copy link
Author

@karlafalcao it has been a while since I made this PR, so I made other improvements in a separate fork. Take a look at this repo https://github.com/halvardssm/virtual-assistant

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