From 27347f25b59c341a7c8542c6fe8acaca0ef2cfe4 Mon Sep 17 00:00:00 2001 From: Jagankumar <53823168+jagankumar-egov@users.noreply.github.com> Date: Wed, 13 Mar 2024 15:00:59 +0530 Subject: [PATCH] added readme and corrected the file version issue --- .github/workflows/publishAllPackages.yml | 20 +++++ .../web/micro-ui-internals/package.json | 2 +- .../packages/modules/common/README.md | 77 +++++++++++++++++++ .../packages/modules/common/package.json | 6 +- .../packages/modules/commonPt/README.md | 77 +++++++++++++++++++ .../packages/modules/commonPt/package.json | 4 +- .../packages/modules/engagement/README.md | 77 +++++++++++++++++++ .../packages/modules/engagement/package.json | 4 +- .../packages/modules/hrms/README.md | 77 +++++++++++++++++++ .../packages/modules/hrms/package.json | 4 +- .../packages/modules/mCollect/README.md | 77 +++++++++++++++++++ .../packages/modules/mCollect/package.json | 4 +- .../packages/modules/noc/README.md | 77 +++++++++++++++++++ .../packages/modules/noc/package.json | 2 +- .../packages/modules/pgr/README.md | 77 +++++++++++++++++++ .../packages/modules/pgr/package.json | 7 +- .../packages/modules/pt/README.md | 77 +++++++++++++++++++ .../packages/modules/pt/package.json | 4 +- .../packages/modules/receipts/README.md | 77 +++++++++++++++++++ .../packages/modules/receipts/package.json | 4 +- .../packages/modules/tl/README.md | 77 +++++++++++++++++++ .../packages/modules/tl/package.json | 2 +- .../web/micro-ui-internals/publish-beta.sh | 39 +++++----- 23 files changed, 832 insertions(+), 40 deletions(-) create mode 100644 .github/workflows/publishAllPackages.yml create mode 100644 frontend/micro-ui/web/micro-ui-internals/packages/modules/common/README.md create mode 100644 frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/README.md create mode 100644 frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/README.md create mode 100644 frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/README.md create mode 100644 frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/README.md create mode 100644 frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/README.md create mode 100644 frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/README.md diff --git a/.github/workflows/publishAllPackages.yml b/.github/workflows/publishAllPackages.yml new file mode 100644 index 00000000000..91bcc6488c1 --- /dev/null +++ b/.github/workflows/publishAllPackages.yml @@ -0,0 +1,20 @@ +name: Node.js Publish UI Packages + +on: + push: + branches: [ 'jagan' ] + paths: + - 'frontend/micro-ui/web/micro-ui-internals/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14.20.0 + registry-url: https://registry.npmjs.org + - run: cd frontend/micro-ui/web/micro-ui-internals/ && bash ./publish-beta.sh + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/package.json b/frontend/micro-ui/web/micro-ui-internals/package.json index 950c145c4f4..e930959292e 100644 --- a/frontend/micro-ui/web/micro-ui-internals/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/package.json @@ -11,7 +11,7 @@ "packages/modules/core", "packages/modules/pgr", "packages/modules/dss", - "packages/modules/commonPt", + "packages/modules/*", "packages/modules/pt", "packages/modules/tl", "packages/modules/mCollect", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/README.md new file mode 100644 index 00000000000..90a3d720e71 --- /dev/null +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-common + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-common +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-common":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initcommonComponents } from "@egovernments/digit-ui-module-common"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["Payment"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initcommonComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/package.json index cc9f0f0d735..d3d1decb823 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/common/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-module-common", - "version": "1.7.0-beta.2", + "version": "1.7.1", "license": "MIT", "description": "Digit Common Payment Module", "main": "dist/index.js", @@ -15,8 +15,8 @@ "prepublish": "yarn build" }, "dependencies": { - "@egovernments/digit-ui-libraries": "1.7.0-beta.2", - "@egovernments/digit-ui-react-components": "1.7.1", + "@egovernments/digit-ui-libraries": "1.7.1", + "@egovernments/digit-ui-react-components": "1.7.1", "react": "17.0.2", "react-dom": "17.0.2", "react-hook-form": "6.15.8", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/README.md index e69de29bb2d..b821eeb1673 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/README.md +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-commonpt + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-commonpt +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-commonpt":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initcommonptComponents } from "@egovernments/digit-ui-module-commonpt"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["commonpt"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initcommonptComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/package.json index 0674650ae06..d4c391a3ebd 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/commonPt/package.json @@ -1,6 +1,6 @@ { "name": "@upyog/digit-ui-module-commonpt", - "version": "2.9.0", + "version": "1.7.1", "license": "MIT", "description": "Digit PT Light weight Module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "react-router-dom": "5.3.0" }, "dependencies": { - "@egovernments/digit-ui-react-components": "1.7.1", + "@egovernments/digit-ui-react-components": "1.7.1", "lodash.merge": "^4.6.2", "react": "17.0.2", "react-dom": "17.0.2", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/README.md new file mode 100644 index 00000000000..08aee218bbf --- /dev/null +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-engagement + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-engagement +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-engagement":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initengagementComponents } from "@egovernments/digit-ui-module-engagement"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["engagement"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initengagementComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/package.json index 7a33ad241cf..cfcc40eef49 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/engagement/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-module-engagement", - "version": "1.7.0-beta.2", + "version": "1.7.1", "license": "MIT", "main": "dist/index.js", "module": "dist/index.modern.js", @@ -18,7 +18,7 @@ "react-router-dom": "5.3.0" }, "dependencies": { - "@egovernments/digit-ui-react-components": "1.7.1", + "@egovernments/digit-ui-react-components": "1.7.1", "react": "17.0.2", "react-dom": "17.0.2", "react-hook-form": "6.15.8", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/README.md new file mode 100644 index 00000000000..2c1537e7d5c --- /dev/null +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-hrms + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-hrms +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-hrms":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { inithrmsComponents } from "@egovernments/digit-ui-module-hrms"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["hrms"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + inithrmsComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/package.json index b443a5a9f50..81fd34ed8c6 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-module-hrms", - "version": "1.7.0-beta.2", + "version": "1.7.1", "description": "Digit HRMS Module", "license": "MIT", "main": "dist/index.js", @@ -15,7 +15,7 @@ "prepublish": "yarn build" }, "dependencies": { - "@egovernments/digit-ui-react-components": "1.7.1", + "@egovernments/digit-ui-react-components": "1.7.1", "react": "17.0.2", "react-dom": "17.0.2", "react-hook-form": "6.15.8", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/README.md new file mode 100644 index 00000000000..f96a13db03f --- /dev/null +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-mcollect + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-mcollect +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-mcollect":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initmcollectComponents } from "@egovernments/digit-ui-module-mcollect"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["mcollect"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initmcollectComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/package.json index 3b3e9173c9f..30e6e0a3723 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/mCollect/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-module-mcollect", - "version": "1.7.0-beta.2", + "version": "1.7.1", "license": "MIT", "description": "Digit Misc Collections Module", "main": "dist/index.js", @@ -19,7 +19,7 @@ "react-router-dom": "5.3.0" }, "dependencies": { - "@egovernments/digit-ui-react-components": "1.7.1", + "@egovernments/digit-ui-react-components": "1.7.1", "lodash.merge": "^4.6.2", "react": "17.0.2", "react-dom": "17.0.2", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/README.md new file mode 100644 index 00000000000..a33c26ce296 --- /dev/null +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-noc + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-noc +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-noc":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initnocComponents } from "@egovernments/digit-ui-module-noc"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["noc"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initnocComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/package.json index d84a8c82bd9..dffe59370e2 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/noc/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-module-noc", - "version": "1.7.0-beta.2", + "version": "1.7.1", "description": "", "main": "dist/index.js", "module": "dist/index.modern.js", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/README.md index e69de29bb2d..cfb456ffbe3 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/README.md +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-pgr + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-pgr +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-pgr":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initpgrComponents } from "@egovernments/digit-ui-module-pgr"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["pgr"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initpgrComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/package.json index dd786574235..7f089d1d619 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pgr/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-module-pgr", - "version": "1.7.0-beta.2", + "version": "1.7.1", "license": "MIT", "main": "dist/index.js", "module": "dist/index.modern.js", @@ -17,9 +17,8 @@ "react": "17.0.2", "react-router-dom": "5.3.0" }, - "dependencies": { - - "@egovernments/digit-ui-react-components": "1.7.1", + "dependencies": { + "@egovernments/digit-ui-react-components": "1.7.1", "lodash.merge": "^4.6.2", "react": "17.0.2", "react-dom": "17.0.2", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/README.md index e69de29bb2d..035ffe8ef84 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/README.md +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-pt + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-pt +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-pt":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initPTComponents } from "@egovernments/digit-ui-module-pt"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["PT"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initPTComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/package.json index d6b2a9d1414..014d60fc5dc 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/package.json @@ -1,6 +1,6 @@ { "name": "@upyog/digit-ui-module-pt", - "version": "1.7.0-beta.2", + "version": "1.7.1", "license": "MIT", "main": "dist/index.js", "module": "dist/index.modern.js", @@ -19,7 +19,7 @@ }, "dependencies": { "axios": "0.21.1", - "@egovernments/digit-ui-react-components": "1.7.1", + "@egovernments/digit-ui-react-components": "1.7.1", "lodash.merge": "^4.6.2", "react": "17.0.2", "react-dom": "17.0.2", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/README.md new file mode 100644 index 00000000000..016c0d98a3a --- /dev/null +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-receipts + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-receipts +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-receipts":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { initreceiptsComponents } from "@egovernments/digit-ui-module-receipts"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["receipts"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + initreceiptsComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/package.json index c9ad8aab091..7867e76e153 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/receipts/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-module-receipts", - "version": "1.7.0-beta.2", + "version": "1.7.1", "description": "RECEIPTS", "license": "MIT", "main": "dist/index.js", @@ -15,7 +15,7 @@ "prepublish": "yarn build" }, "dependencies": { - "@egovernments/digit-ui-react-components": "1.7.1", + "@egovernments/digit-ui-react-components": "1.7.1", "react": "17.0.2", "react-dom": "17.0.2", "react-hook-form": "6.15.8", diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/README.md b/frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/README.md new file mode 100644 index 00000000000..78beb9b38e3 --- /dev/null +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/README.md @@ -0,0 +1,77 @@ + +# digit-ui-module-tl + +## Install + +```bash +npm install --save @egovernments/digit-ui-module-tl +``` + +## Limitation + +```bash +This Package is more specific to DIGIT-UI's can be used across mission's +``` + +## Usage + +After adding the dependency make sure you have this dependency in + +```bash +frontend/micro-ui/web/package.json +``` + +```json +"@egovernments/digit-ui-module-tl":"^1.5.0", +``` + +then navigate to App.js + +```bash + frontend/micro-ui/web/src/App.js +``` + + +```jsx +/** add this import **/ + +import { inittlComponents } from "@egovernments/digit-ui-module-tl"; + +/** inside enabledModules add this new module key **/ + +const enabledModules = ["tl"]; + +/** inside init Function call this function **/ + +const initDigitUI = () => { + inittlComponents(); +}; +``` + + + + +### Changelog + +```bash +1.7.1 UPYOG Base version +``` + +### Contributors + +[jagankumar-egov] [Tulika-eGov] [vamshikrishnakole-wtt-egov] + +## Documentation + +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) + +## Maintainer + +- [jagankumar-egov](https://www.github.com/jagankumar-egov) + + +### Published from DIGIT Frontend +DIGIT Frontend Repo (https://github.com/egovernments/UPYOG/tree/develop) + + +![Logo](https://s3.ap-south-1.amazonaws.com/works-dev-asset/mseva-white-logo.png) \ No newline at end of file diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/package.json b/frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/package.json index 7339c31edb1..a3344efd07e 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/package.json +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/tl/package.json @@ -1,6 +1,6 @@ { "name": "@upyog/digit-ui-module-tl", - "version": "1.7.0-beta.2", + "version": "1.7.1", "license": "MIT", "main": "dist/index.js", "module": "dist/index.modern.js", diff --git a/frontend/micro-ui/web/micro-ui-internals/publish-beta.sh b/frontend/micro-ui/web/micro-ui-internals/publish-beta.sh index fc0031449da..2f66592243a 100644 --- a/frontend/micro-ui/web/micro-ui-internals/publish-beta.sh +++ b/frontend/micro-ui/web/micro-ui-internals/publish-beta.sh @@ -11,13 +11,13 @@ msg() { # sleep 5 msg "Building and publishing css" -cd "$BASEDIR/packages/css" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public +cd "$BASEDIR/packages/css" && rm -rf node_modules && rm -rf dist && yarn && npm publish --access public msg "Building and publishing libraries" -cd "$BASEDIR/packages/libraries" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/libraries" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing react-components" -cd "$BASEDIR/packages/react-components" && rm -rf node_modules && rm -rf dist&& yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/react-components" && rm -rf node_modules && rm -rf dist&& yarn build && npm publish --access public # sleep 10 # msg "Updating dependencies" @@ -25,46 +25,49 @@ cd "$BASEDIR/packages/react-components" && rm -rf node_modules && rm -rf dist& # sleep 5 msg "Building and publishing PGR module" -cd "$BASEDIR/packages/modules/pgr" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/pgr" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing FSM module" -cd "$BASEDIR/packages/modules/fsm" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/fsm" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing PT module" -cd "$BASEDIR/packages/modules/pt" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/pt" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing DSS module" -cd "$BASEDIR/packages/modules/dss" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/dss" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing Common module" -cd "$BASEDIR/packages/modules/common" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/common" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing Core module" -cd "$BASEDIR/packages/modules/core" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/core" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing OBPS module" -cd "$BASEDIR/packages/modules/obps" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/obps" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing tl module" -cd "$BASEDIR/packages/modules/tl" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/tl" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing bills module" -cd "$BASEDIR/packages/modules/bills" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/bills" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing noc module" -cd "$BASEDIR/packages/modules/noc" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/noc" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing commonPt module" -cd "$BASEDIR/packages/modules/commonPt" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/commonPt" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing engagement module" -cd "$BASEDIR/packages/modules/engagement" && rm -rf node_modules && rm -rf dis && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/engagement" && rm -rf node_modules && rm -rf dis && yarn build && npm publish --access public msg "Building and publishing receipts module" -cd "$BASEDIR/packages/modules/receipts" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/receipts" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public msg "Building and publishing hrms module" -cd "$BASEDIR/packages/modules/hrms" && rm -rf node_modules && rm -rf dist && yarn build&& npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/hrms" && rm -rf node_modules && rm -rf dist && yarn build&& npm publish --access public msg "Building and publishing ws module" -cd "$BASEDIR/packages/modules/ws" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --tag urban-2.9-beta +cd "$BASEDIR/packages/modules/ws" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public + +msg "Building and publishing ws module" +cd "$BASEDIR/packages/modules/mCollect" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public