Skip to content

Commit

Permalink
PTR module chnages
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy-eGov committed Jun 7, 2024
1 parent 5bc8b0b commit 7ca3220
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion frontend/micro-ui/web/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN yarn add @egovernments/digit-ui-module-ws
RUN yarn add @egovernments/digit-ui-module-commonpt
RUN yarn add @egovernments/digit-ui-module-receipts
RUN yarn add @egovernments/digit-ui-module-bills
RUN yarn add @egovernments/upyog-ui-module-ptr
RUN yarn add @upyog-niua/upyog-ui-module-ptr
ARG WORK_DIR
WORKDIR /app
ENV NODE_OPTIONS "--max-old-space-size=4096"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@egovernments/digit-ui-module-tl": "1.7.16",
"@egovernments/digit-ui-module-ws": "1.7.16",
"@egovernments/digit-ui-module-commonpt": "1.7.16",
"@egovernments/upyog-ui-module-ptr": "1.0.7",
"@upyog-niua/upyog-ui-module-ptr": "1.0.7",
"microbundle-crl": "^0.13.11",
"http-proxy-middleware": "^1.0.5",
"react": "17.0.2",
Expand Down
10 changes: 5 additions & 5 deletions frontend/micro-ui/web/micro-ui-internals/example/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ import { initWSComponents } from "@egovernments/digit-ui-module-ws";
import { DigitUI } from "@egovernments/digit-ui-module-core";
import { initCommonPTComponents } from "@egovernments/digit-ui-module-commonpt";
import { initBillsComponents, BillsModule } from "@egovernments/digit-ui-module-bills";
import { PTRModule, PTRLinks, PTRComponents } from "@egovernments/upyog-ui-module-ptr";
// import { PTRModule, PTRLinks, PTRComponents } from "@upyog-niua/upyog-ui-module-ptr";
// import {initCustomisationComponents} from "./customisations";

// import { PGRModule, PGRLinks } from "@egovernments/digit-ui-module-pgr";
// import { Body, TopBar } from "@egovernments/digit-ui-react-components";
import "@egovernments/upyog-css/example/index.css";
import "@upyog-niua/upyog-css/example/index.css";
// import * as comps from "@egovernments/digit-ui-react-components";

// import { subFormRegistry } from "@egovernments/digit-ui-libraries";
Expand Down Expand Up @@ -107,9 +107,9 @@ const initDigitUI = () => {
BillsModule,
// TLModule,
// TLLinks,
PTRModule,
PTRLinks,
...PTRComponents
// PTRModule,
// PTRLinks,
// ...PTRComponents
});

initFSMComponents();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@egovernments/upyog-css",
"name": "@upyog-niua/upyog-css",
"version": "1.8.0",
"license": "MIT",
"main": "dist/index.css",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@egovernments/upyog-ui-module-ptr",
"name": "@upyog-niua/upyog-ui-module-ptr",
"author": "Shivank Shukla & Abhijeet Verma",
"version": "1.0.7",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "@egovernments/upyog-css/example/index.css";
import "@upyog-niua/upyog-css/example/index.css";
import { initLibraries } from "@egovernments/digit-ui-libraries";

// TODO: It should be removed bcz we should not use any library in components
Expand Down
4 changes: 2 additions & 2 deletions frontend/micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"node": ">=14"
},
"dependencies": {
"@egovernments/upyog-css": "1.0.10",
"@upyog-niua/upyog-css": "1.0.10",
"@egovernments/digit-ui-libraries": "1.7.16",
"@egovernments/digit-ui-module-bills": "1.7.16",
"@egovernments/digit-ui-module-common": "1.7.16",
Expand All @@ -31,7 +31,7 @@
"@egovernments/digit-ui-module-tl": "1.7.16",
"@egovernments/digit-ui-module-ws": "1.7.16",
"@egovernments/digit-ui-react-components": "1.7.16",
"@egovernments/upyog-ui-module-ptr": "1.0.7",
"@upyog-niua/upyog-ui-module-ptr": "1.0.7",
"babel-loader": "8.1.0",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion frontend/micro-ui/web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" href="%PUBLIC_URL%/browser-icon.png">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap" rel='stylesheet' type='text/css'>
<!-- <link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css"/> -->
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css"/>
<link rel="stylesheet" href="https://unpkg.com/@upyog-niua/[email protected]/dist/index.css"/>
<!-- <link rel="stylesheet" href="https://unpkg.com/@egovernments/digit-ui-css/dist/index.css"/> -->
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#00bcd1"/>
Expand Down
16 changes: 8 additions & 8 deletions frontend/micro-ui/web/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ import {
TLLinks,
initTLComponents,
} from "@egovernments/digit-ui-module-tl";
import {
PTRModule,
PTRLinks,
PTRComponents,
} from "@egovernments/upyog-ui-module-ptr";
// import {
// PTRModule,
// PTRLinks,
// PTRComponents,
// } from "@upyog-niua/upyog-ui-module-ptr";
import { initReceiptsComponents, ReceiptsModule } from "@egovernments/digit-ui-module-receipts";
import { initOBPSComponents } from "@egovernments/digit-ui-module-obps";
import { initNOCComponents } from "@egovernments/digit-ui-module-noc";
Expand Down Expand Up @@ -84,9 +84,9 @@ window.Digit.ComponentRegistryService.setupRegistry({
TLModule,
TLLinks,
ReceiptsModule,
PTRModule,
PTRLinks,
...PTRComponents,
// PTRModule,
// PTRLinks,
// ...PTRComponents,
});

initPGRComponents();
Expand Down

0 comments on commit 7ca3220

Please sign in to comment.