-
Notifications
You must be signed in to change notification settings - Fork 49
feat(vue): implement asgardeo plugin for vue.js #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 53 commits
3819734
107303e
5cc9bf4
3eda7b0
1cc2261
88fa174
5a070fb
b7033ab
6469790
1593322
8e1de65
3bbfbd0
cc4d26c
d1da879
6edf9f1
fad70d9
828e000
182f113
7d48051
0e5cc84
11ada4d
3ba1d2c
49637ac
e821540
c4b0213
b2abf62
fb2b0e8
482a2d5
db95e14
1b507bf
b56e7e9
aee4c46
4b1560a
38800f7
a2ab00e
4e7ec0f
301bb1e
beaad3a
81d703e
85cdab2
c8b8a9c
e1d9338
aa682eb
dcb5047
d9f43f6
6fc4d39
44ef435
5b5acb1
2d56a87
dc35c60
4f567cc
976175a
ef6e6a7
32d18c8
43f38b3
14b0ae3
8a5faf0
99b0aab
4a468d9
3445dea
4c6b734
4fc7acc
ce637b3
a5433f7
3552972
c77d12e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| // Use IntelliSense to learn about possible attributes. | ||
| // Hover to view descriptions of existing attributes. | ||
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "chrome", | ||
| "request": "launch", | ||
| "name": "Launch Chrome against localhost", | ||
| "url": "http://localhost:5173", | ||
| "webRoot": "${workspaceFolder}" | ||
| } | ||
| ] | ||
| } | ||
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -30,4 +30,7 @@ module.exports = { | |||||
| project: [path.resolve(__dirname, 'tsconfig.json'), path.resolve(__dirname, 'tsconfig.eslint.json')], | ||||||
| }, | ||||||
| plugins: ['@wso2'], | ||||||
| rules: { | ||||||
| 'no-underscore-dangle': ['error', {allow: ['_client', '_authState', '_context']}], | ||||||
|
||||||
| 'no-underscore-dangle': ['error', {allow: ['_client', '_authState', '_context']}], | |
| 'no-underscore-dangle': ['off'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 8a5faf0
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
| "name": "@asgardeo/vue", | ||
| "version": "0.0.0", | ||
| "description": "Vue SDK for Asgardeo - Authentication and Identity Management", | ||
| "main": "dist/esm/index.js", | ||
| "main": "dist/cjs/index.js", | ||
| "module": "dist/esm/index.js", | ||
| "types": "dist/index.d.ts", | ||
| "type": "module", | ||
|
|
@@ -40,7 +40,7 @@ | |
| "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts", | ||
| "lint:fix": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix", | ||
| "type-check": "vue-tsc --noEmit", | ||
| "test": "vitest --passWithNoTests", | ||
| "test": "vitest --config src/vitest.config.ts --environment=jsdom --run", | ||
|
||
| "prepublishOnly": "npm run build" | ||
| }, | ||
| "publishConfig": { | ||
|
|
@@ -52,14 +52,15 @@ | |
| "@rollup/plugin-node-resolve": "^15.2.3", | ||
| "@rollup/plugin-typescript": "^11.1.6", | ||
| "@types/node": "^20.12.7", | ||
| "@vitejs/plugin-vue": "^5.0.0", | ||
| "@vitest/coverage-v8": "3.0.8", | ||
| "@vitest/web-worker": "^3.0.8", | ||
| "@vue/eslint-config-prettier": "^8.0.0", | ||
| "@vue/eslint-config-typescript": "^12.0.0", | ||
| "@vue/test-utils": "^2.4.6", | ||
| "@wso2/eslint-plugin": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/eslint-plugin?21281faa4f8354491747075f40f58b497d0c4730", | ||
| "@wso2/prettier-config": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/prettier-config?fa0b844715320a3953d6d055997c0770f8695082", | ||
| "@wso2/stylelint-config": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/stylelint-config?fa0b844715320a3953d6d055997c0770f8695082", | ||
| "eslint": "~8.57.0", | ||
| "@wso2/eslint-plugin": "catalog:", | ||
| "@wso2/prettier-config": "catalog:", | ||
| "@wso2/stylelint-config": "catalog:", | ||
| "eslint": "catalog:", | ||
| "prettier": "^3.2.5", | ||
| "rollup": "^4.17.2", | ||
| "rollup-plugin-dts": "^6.1.0", | ||
|
|
@@ -69,7 +70,6 @@ | |
| "stylelint": "15.1.0", | ||
| "tslib": "^2.6.2", | ||
| "typescript": "5.1.6", | ||
| "vitest": "^3.0.6", | ||
| "vue-tsc": "^2.2.2" | ||
| }, | ||
| "dependencies": { | ||
|
|
@@ -80,9 +80,16 @@ | |
| "clsx": "^2.1.1", | ||
| "fast-sha256": "^1.3.0", | ||
| "jose": "^5.3.0", | ||
| "randombytes": "^2.1.0" | ||
| "randombytes": "^2.1.0", | ||
| "vitest": "^3.0.8", | ||
|
||
| "@vitejs/plugin-vue": "^5.0.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "vue": ">=3.5.13" | ||
| }, | ||
| "exports": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/esm/index.js", | ||
| "require": "./dist/cjs/index.js" | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fiexed in 14b0ae3