-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #960 from sriranjan-s/master-upyog-npm
Master upyog npm
- Loading branch information
Showing
1,061 changed files
with
16,312 additions
and
2,554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Node.js Publish UI Packages | ||
|
||
on: | ||
push: | ||
branches: [ 'master-upyog-npm' ] | ||
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.sh | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
frontend/micro-ui/web/micro-ui-internals/example/src/components/SelectName.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,9 @@ | |
"packages/react-components", | ||
"packages/modules/common", | ||
"packages/modules/core", | ||
"packages/modules/pgr", | ||
"packages/modules/dss", | ||
"packages/modules/commonPt", | ||
"packages/modules/pt", | ||
"packages/modules/mCollect", | ||
"packages/modules/obps" | ||
"packages/modules/dss", | ||
"packages/modules/pt" | ||
], | ||
"author": "Abhinav Kushwaha <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -49,21 +46,23 @@ | |
"dev:bills": "cd packages/modules/bills && yarn start", | ||
"dev:reports": "cd packages/modules/reports && yarn start", | ||
"dev:example": "cd example && yarn start", | ||
"dev:ptr": "cd packages/modules/ptr && yarn start", | ||
"build": "run-p build:**", | ||
"build:libraries": "cd packages/libraries && yarn build", | ||
"build:components": "cd packages/react-components && yarn build", | ||
"build:common": "cd packages/modules/common && yarn build", | ||
"build:pt": "cd packages/modules/pt && yarn build", | ||
"build:commonPt": "cd packages/modules/commonPt && yarn build", | ||
"build:core": "cd packages/modules/core && yarn build", | ||
"build:pgr": "cd packages/modules/pgr && yarn build", | ||
"buildD:pgr": "cd packages/modules/pgr && yarn build", | ||
"buildD:fsm": "cd packages/modules/fsm && yarn build", | ||
"build:dss": "cd packages/modules/dss && yarn build", | ||
"build:mcollect": "cd packages/modules/mCollect && yarn build", | ||
"buildD:mcollect": "cd packages/modules/mCollect && yarn build", | ||
"buildD:receipts": "cd packages/modules/receipts && yarn build", | ||
"buildD:tl": "cd packages/modules/tl && yarn build", | ||
"buildD:ptr": "cd packages/modules/ptr && yarn build", | ||
"buildD:hrms": "cd packages/modules/hrms && yarn build", | ||
"build:obps": "cd packages/modules/obps && yarn build", | ||
"buildD:obps": "cd packages/modules/obps && yarn build", | ||
"buildD:engagement": "cd packages/modules/engagement && yarn build", | ||
"buildD:noc": "cd packages/modules/noc && yarn build", | ||
"buildD:ws": "cd packages/modules/ws && yarn build", | ||
|
@@ -91,4 +90,4 @@ | |
"**/@babel/preset-env": "7.14.0", | ||
"**/@babel/plugin-transform-modules-commonjs": "7.14.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
frontend/micro-ui/web/micro-ui-internals/packages/libraries/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ro-ui/web/micro-ui-internals/packages/libraries/src/hooks/digiLockerApi/createTokenAPI.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { DigiLockerService } from "../../services/elements/DigiLocker"; | ||
import { PTService } from "../../services/elements/PT"; | ||
import { useMutation } from "react-query"; | ||
|
||
const createTokenAPI = (type) => { | ||
|
||
return useMutation((data) => { | ||
DigiLockerService.token(data)}); | ||
} | ||
|
||
export default createTokenAPI; |
Oops, something went wrong.