agx-chat-web
v1.2.8
Published
Chat application using React and less
Readme
Generic Chat implementation for AGX Software applications.
Links
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
Deploy
Steps to make a new version:
- change the version in package.json
- npm login (using a package maintainer account)
- yarn deploy
Running the project locally for feature development
To run the project locally and add new features, follow these steps:
Step 1: Familiarize yourself with yarn link
Before proceeding, review the documentation for yarn link to understand how it works:
yarn link Documentation
Step 2: Build and link the project
- Navigate to the root directory of this project
- Run the following commands:
yarn build yarn link - 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.
Step 3: Link the project to your application
- Navigate to the root directory of your application (e.g., ~/projects/line-web)
- Run the following commands:
yarn link "agx-chat-web"
yarn install --force- Once the linking process is complete, you can start your application. It will now use the locally linked agx-chat-web package for development.
- When you change the code in the chat application, you can run the following command to update the linked version:
yarn deploy-dev 