Chat application using React and less
npm install agx-chat-webGeneric Chat implementation for AGX Software applications.
NPM link:
https://www.npmjs.com/package/agx-chat-web
https://betterprogramming.pub/how-to-create-and-publish-react-typescript-npm-package-with-demo-and-automated-build-80c40ec28aca#48c1
Steps to make a new version:
- change the version in package.json
- npm login (using a package maintainer account)
- yarn deploy
To run the project locally and add new features, follow these steps:
---
yarn link to understand how it works:bash
yarn build
yarn link
`
3. After running yarn link, you will see a message similar to this:
You can now run yarn link "agx-chat-web" in the projects where you no longer want to use this package.$3
1. Navigate to the root directory of your application (e.g., ~/projects/line-web)
2. Run the following commands:
`bash
yarn link "agx-chat-web"
yarn install --force
`
3. Once the linking process is complete, you can start your application. It will now use the locally linked agx-chat-web package for development.
4. When you change the code in the chat application, you can run the following command to update the linked version:
`bash
yarn deploy-dev
``