Skip to content

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