Ant Design
🔨 Setup
In order to run the local development environment
git clone https://gitlab.com/greendeck-frontend/cliffdotai-atomic.git
After cloning install the repo using npm
npm install
To develop the site run the following command
npm run start
In case you encounter any issues during the install refer to the Issues section
📦 Install
Install the package in your project using npm
npm install @cliffdotai/antd
🤝 Publishing your changes
In order for your changes to reflect you need to publish it on npm
Requirements
- Create an account on NPM
- Login on your device with NPM account
npm login
- Make sure you have access privilege to
@cliffdotai
organization on npm
Step 1
Build the project using the command
npm run build
Step 2
npm publish
In case you encounter any issues during the publish process refer to the Issues section
⚠️ Issues
1. issue with node version mismatch
error message: Cannot run - /usr/bin/env: ‘node\r’
Fix: downgrade the current version of node to 14.13.0
nvm use 14.13.0
2. issue with webpack version mismatch
error message: module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)
Fix: Check the current version of webpack by running npm list webpack
if all the dependencies are using >@4.46.0. Downgrade it to webpack@4.46.0
npm install webpack@4.46.0