Skip to content

Commit

Permalink
added microbundle crl
Browse files Browse the repository at this point in the history
  • Loading branch information
Sriranjan Srivastava authored and Sriranjan Srivastava committed Feb 29, 2024
1 parent 882e39f commit 2931f8b
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"start": "react-scripts start"
},
"devDependencies": {
"microbundle-crl": "^0.13.11",
"@upyog/digit-ui-libraries":"^1.4.0",
"@upyog/digit-ui-module-common":"1.7.0-beta.3",
"@upyog/digit-ui-module-engagement":"^1.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"start": "react-scripts start"
},
"devDependencies": {
"microbundle-crl": "^0.13.11",
"@upyog/digit-ui-libraries": "^1.7.0-beta.2",
"@upyog/digit-ui-module-common": "1.7.0-beta.3",
"@upyog/digit-ui-module-engagement": "^1.7.0-beta.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@upyog/digit-ui-libraries": "1.7.0-beta.2",
"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-hook-form": "6.15.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"dependencies": {
"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"lodash.merge": "^4.6.2",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-i18next": "11.16.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"dependencies": {
"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"lodash": "4.17.21",
"react": "17.0.2",
"react-date-range": "1.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"dependencies": {
"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-hook-form": "6.15.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dependencies": {

"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"lodash.merge": "^4.6.2",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dependencies": {
"axios": "0.21.1",
"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"lodash.merge": "^4.6.2",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dependencies": {

"@upyog/digit-ui-react-components": "^1.7.0-beta.2",
"microbundle-crl": "^0.13.11",
"lodash.merge": "^4.6.2",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
38 changes: 19 additions & 19 deletions frontend/micro-ui/web/micro-ui-internals/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,65 +7,65 @@ msg() {
}

# msg "Pre-building all packages"
# yarn build
# yarn install && yarn build
# sleep 5


msg "Building and publishing libraries"
cd "$BASEDIR/packages/libraries" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/libraries" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing react-components"
cd "$BASEDIR/packages/react-components" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/react-components" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

# sleep 10
# msg "Updating dependencies"
# cd "$BASEDIR" && yarn upgrade -S @egovernments
# sleep 5

msg "Building and publishing PGR module"
cd "$BASEDIR/packages/modules/pgr" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/pgr" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing FSM module"
cd "$BASEDIR/packages/modules/fsm" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/fsm" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing PT module"
cd "$BASEDIR/packages/modules/pt" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/pt" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing DSS module"
cd "$BASEDIR/packages/modules/dss" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/dss" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing Common module"
cd "$BASEDIR/packages/modules/common" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/common" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing Core module"
cd "$BASEDIR/packages/modules/core" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/core" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing OBPS module"
cd "$BASEDIR/packages/modules/obps" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/obps" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing tl module"
cd "$BASEDIR/packages/modules/tl" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/tl" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing bills module"
cd "$BASEDIR/packages/modules/bills" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/bills" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing noc module"
cd "$BASEDIR/packages/modules/noc" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/noc" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing commonPt module"
cd "$BASEDIR/packages/modules/commonPt" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/commonPt" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing engagement module"
cd "$BASEDIR/packages/modules/engagement" && rm -rf node_modules && rm -rf dis && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/engagement" && rm -rf node_modules && rm -rf dis && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing receipts module"
cd "$BASEDIR/packages/modules/receipts" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/receipts" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing hrms module"
cd "$BASEDIR/packages/modules/hrms" && rm -rf node_modules && rm -rf dist && yarn build&& npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/hrms" && rm -rf node_modules && rm -rf dist && yarn install && yarn build&& npm publish --access public --tag upyog-2.0

msg "Building and publishing ws module"
cd "$BASEDIR/packages/modules/ws" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/ws" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

msg "Building and publishing mCollect module"
cd "$BASEDIR/packages/modules/mCollect" && rm -rf node_modules && rm -rf dist && yarn build && npm publish --access public --tag upyog-2.0
cd "$BASEDIR/packages/modules/mCollect" && rm -rf node_modules && rm -rf dist && yarn install && yarn build && npm publish --access public --tag upyog-2.0

0 comments on commit 2931f8b

Please sign in to comment.