Skip to content

Commit

Permalink
version changes and docker file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Mar 18, 2024
1 parent dc0386a commit 425f8d7
Show file tree
Hide file tree
Showing 24 changed files with 79 additions and 57 deletions.
10 changes: 5 additions & 5 deletions micro-ui/web/packages/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"single-spa": "^5.9.3",
"@digit-ui/digit-ui-libraries-mfe": "1.0.7",
"@egovernments/digit-ui-react-components":"1.4.107",
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-query": "3.6.1",
"react-redux": "7.2.8",
"redux": "4.1.2",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-tooltip": "^5.21.1",
"react-i18next": "11.16.2",
"redux-thunk": "^2.4.2",
Expand All @@ -37,8 +37,8 @@
"webpack-merge": "5.7.3"
},
"dependencies": {
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-query": "3.6.1",
"single-spa-react": "^4.6.1"
}
Expand Down
4 changes: 2 additions & 2 deletions micro-ui/web/packages/app1/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<script type="systemjs-importmap">
{
"imports": {
"react": "https://cdn.jsdelivr.net/npm/[email protected].2/umd/react.production.min.js",
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected].2/umd/react-dom.production.min.js"
"react": "https://cdn.jsdelivr.net/npm/[email protected].1/umd/react.production.min.js",
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected].1/umd/react-dom.production.min.js"
}
}
</script>
Expand Down
7 changes: 7 additions & 0 deletions micro-ui/web/packages/common/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ ENV COMMIT_ID=$COMMIT_ID
# Copy package.json and yarn.lock (if exists)
COPY package.json ./

RUN rm -rf node_modules/

RUN rm -rf yarn.lock

# clear cache
RUN yarn cache clean

# Install dependencies
RUN yarn install

Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
},
"dependencies": {
"@egovernments/digit-ui-react-components": "1.4.106",
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"single-spa-react": "^4.6.1",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/common/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ module.exports = () => {
'./CommonModule': './src/SingleSpaEntry',
},
shared: {
'react': '17.0.2',
'react-dom': '17.0.2',
'react': '17.0.1',
'react-dom': '17.0.1',
'react-hook-form': '6.15.8',
'react-i18next': '11.16.2',
'react-query': '3.6.1',
'react-router-dom': '5.3.0',
'react-router-dom': "5.2.0",
'single-spa-react': '^4.6.1',
'webpack': '^5.68.0',
'webpack-cli': '^4.9.2',
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/common/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ module.exports = () => {
'./CommonModule': './src/SingleSpaEntry',
},
shared: {
'react': '17.0.2',
'react-dom': '17.0.2',
'react': '17.0.1',
'react-dom': '17.0.1',
'react-hook-form': '6.15.8',
'react-i18next': '11.16.2',
'react-query': '3.6.1',
'react-router-dom': '5.3.0',
'react-router-dom': "5.2.0",
'single-spa-react': '^4.6.1',
'webpack': '^5.68.0',
'webpack-cli': '^4.9.2',
Expand Down
7 changes: 7 additions & 0 deletions micro-ui/web/packages/core/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ ENV COMMIT_ID=$COMMIT_ID
# Copy package.json and yarn.lock (if exists)
COPY package.json ./

RUN rm -rf node_modules/

RUN rm -rf yarn.lock

# clear cache
RUN yarn cache clean

# Install dependencies
RUN yarn install

Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"dependencies": {
"@digit-ui/digit-ui-libraries-mfe": "1.0.7",
"@egovernments/digit-ui-react-components": "1.4.107",
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-redux": "7.2.8",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"single-spa-react": "^4.6.1",
"react-tooltip": "^5.21.1",
"redux": "4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions micro-ui/web/packages/core/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<script type="systemjs-importmap">
{
"imports": {
"react": "https://cdn.jsdelivr.net/npm/[email protected].2/umd/react.production.min.js",
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected].2/umd/react-dom.production.min.js"
"react": "https://cdn.jsdelivr.net/npm/[email protected].1/umd/react.production.min.js",
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected].1/umd/react-dom.production.min.js"
}
}
</script>
Expand Down
4 changes: 4 additions & 0 deletions micro-ui/web/packages/dss/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ ENV COMMIT_ID=$COMMIT_ID
# Copy package.json and yarn.lock (if exists)
COPY package.json ./

RUN rm -rf node_modules/

RUN rm -rf yarn.lock

# clear cache
RUN yarn cache clean

Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/dss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
"@egovernments/digit-ui-react-components": "1.4.106",
"jsonpath": "^1.1.1",
"lodash": "4.17.21",
"react": "17.0.2",
"react": "17.0.1",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-inlinesvg": "1.1.7",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-select": "5.7.4",
"react-simple-maps": "2.0.0",
"react-time-picker": "4.2.1",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/dss/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ module.exports = () => {
shared: {
"jsonpath": "^1.1.1",
"lodash": "4.17.21",
"react": "17.0.2",
"react": "17.0.1",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-inlinesvg": "1.1.7",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-select": "5.7.4",
"react-simple-maps": "2.0.0",
"react-time-picker": "4.2.1",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/dss/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ module.exports = () => {
shared: {
"jsonpath": "^1.1.1",
"lodash": "4.17.21",
"react": "17.0.2",
"react": "17.0.1",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-inlinesvg": "1.1.7",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-select": "5.7.4",
"react-simple-maps": "2.0.0",
"react-time-picker": "4.2.1",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/hrms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
},
"dependencies": {
"single-spa-react": "^4.6.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "5.3.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-router-dom": "5.2.0",
"rxjs": "6.6.3",
"@digit-ui/digit-ui-libraries-mfe": "1.0.6",
"@egovernments/digit-ui-react-components":"1.4.106",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/hrms/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ module.exports = () => {
},
shared: {
"single-spa-react": "^4.6.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "5.3.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-router-dom": "5.2.0",
"rxjs": "6.6.3",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/hrms/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ module.exports = () => {
},
shared: {
'single-spa-react': '^4.6.1',
'react': '17.0.2',
'react-dom': '17.0.2',
'react-router-dom': '5.3.0',
'react': '17.0.1',
'react-dom': '17.0.1',
'react-router-dom': '5.2.0',
'rxjs': '6.6.3',
'react-hook-form': '6.15.8',
'react-i18next': '11.16.2',
Expand Down
4 changes: 4 additions & 0 deletions micro-ui/web/packages/pgr/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ WORKDIR /app
# Copy package.json and yarn.lock (if exists)
COPY package.json ./

RUN rm -rf node_modules/

RUN rm -rf yarn.lock

# clear cache
RUN yarn cache clean

Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/pgr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"@rjsf/core": "5.10.0",
"@rjsf/utils": "5.10.0",
"@rjsf/validator-ajv8": "5.10.0",
"react": "17.0.2",
"react": "17.0.1",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-select": "5.7.4",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/ui-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
},
"dependencies": {
"@egovernments/digit-ui-react-components": "1.4.106",
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-redux": "7.2.8",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-tooltip": "4.1.2",
"redux": "4.1.2",
"redux-thunk": "2.4.1"
Expand Down
2 changes: 1 addition & 1 deletion micro-ui/web/packages/workbench/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"singleQuote": true,
"singleQuote": false,
"trailingComma": "es5"
}
6 changes: 3 additions & 3 deletions micro-ui/web/packages/workbench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
"@rjsf/core": "5.10.0",
"@rjsf/utils": "5.10.0",
"@rjsf/validator-ajv8": "5.10.0",
"react": "17.0.2",
"react": "17.0.1",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-select": "5.7.4",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
Expand Down
4 changes: 2 additions & 2 deletions micro-ui/web/packages/workbench/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<script type="systemjs-importmap">
{
"imports": {
"react": "https://cdn.jsdelivr.net/npm/[email protected].2/umd/react.production.min.js",
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected].2/umd/react-dom.production.min.js"
"react": "https://cdn.jsdelivr.net/npm/[email protected].1/umd/react.production.min.js",
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected].1/umd/react-dom.production.min.js"
}
}
</script>
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/workbench/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ module.exports = () => {
"@rjsf/core": "5.10.0",
"@rjsf/utils": "5.10.0",
"@rjsf/validator-ajv8": "5.10.0",
"react": "17.0.2",
"react": "17.0.1",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-select": "5.7.4",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/workbench/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ module.exports = () => {
"@rjsf/core": "5.10.0",
"@rjsf/utils": "5.10.0",
"@rjsf/validator-ajv8": "5.10.0",
"react": "17.0.2",
"react": "17.0.1",
"react-date-range": "1.4.0",
"react-dom": "17.0.2",
"react-dom": "17.0.1",
"react-hook-form": "6.15.8",
"react-i18next": "11.16.2",
"react-query": "3.6.1",
"react-router-dom": "5.3.0",
"react-router-dom": "5.2.0",
"react-select": "5.7.4",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
Expand Down

0 comments on commit 425f8d7

Please sign in to comment.