Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
3819734
chore(sample-app): 🎉 init vue vite sample app
3nethz Feb 25, 2025
107303e
chore(vue): format tsconfig files
3nethz Feb 26, 2025
5cc9bf4
chore(workspace): add pnpm catalog protocol
3nethz Feb 26, 2025
3eda7b0
chore(vue): update package.json to use the local package
3nethz Feb 27, 2025
1cc2261
chore(vue): change package.json to seperate esm and cjs
3nethz Feb 27, 2025
88fa174
feat(vue): implement asgardeoPlugin
3nethz Feb 27, 2025
5a070fb
chore(vue): create config files
3nethz Feb 28, 2025
b7033ab
feat(vue): implement signIn function
3nethz Feb 28, 2025
6469790
feat(vue): add AuthVueConfig
3nethz Mar 3, 2025
1593322
feat(vue): update signin functionality
3nethz Mar 3, 2025
8e1de65
feat(vue): add more functions, add authcontextinterface
3nethz Mar 4, 2025
3bbfbd0
feat(vue): add api.ts
3nethz Mar 4, 2025
cc4d26c
feat(vue): complete api.ts
3nethz Mar 5, 2025
d1da879
feat(vue): complete types.ts, add eslint rule
3nethz Mar 5, 2025
6edf9f1
feat(vue): add ts version, update api.ts
3nethz Mar 6, 2025
fad70d9
feat(vue): add authParams interface, update AsgardeoPlugin
3nethz Mar 6, 2025
828e000
feat(vue): fix lint issues
3nethz Mar 6, 2025
182f113
feat(vue): add remark in api.ts
3nethz Mar 7, 2025
7d48051
feat(vue): create public-api.ts
3nethz Mar 7, 2025
0e5cc84
feat(vue): change exports using named exports
3nethz Mar 7, 2025
11ada4d
chore(sample-app): add functions to test
3nethz Mar 7, 2025
3ba1d2c
fix dependancy issue in pnpm-lock.yaml
3nethz Mar 7, 2025
49637ac
Merge branch 'sdkcode' into feat/vue-sdk
3nethz Mar 7, 2025
e821540
feat(vue): remove unwanted constants in asgardeoplugin
3nethz Mar 7, 2025
c4b0213
chore(workspace): update dependacies
3nethz Mar 7, 2025
b2abf62
feat(vue): fix issues in index.ts and types.ts
3nethz Mar 7, 2025
fb2b0e8
chore(sample-app): remove unwanted files
3nethz Mar 7, 2025
482a2d5
feat(vue): remove unnecessory constants
3nethz Mar 7, 2025
db95e14
chore(workspace): add pnpm catalog protocol for eslint
3nethz Mar 7, 2025
1b507bf
chore(workspace): update typescript version
3nethz Mar 10, 2025
b56e7e9
chore(workspace): update typescript version
3nethz Mar 10, 2025
aee4c46
chore(sample-app): add eslint config
3nethz Mar 10, 2025
4b1560a
feat(vue): update imports and exports
3nethz Mar 10, 2025
38800f7
chore(sample-app): cleanup the pages
3nethz Mar 10, 2025
a2ab00e
chore(sample-app): add protected route
3nethz Mar 10, 2025
4e7ec0f
feat(vue): fix state update issues
3nethz Mar 10, 2025
301bb1e
feat(vue): remove unwanted imports
3nethz Mar 10, 2025
beaad3a
chore(sample-app): add scopes
3nethz Mar 10, 2025
81d703e
feat(vue): remove unwanted variable, cleanup code
3nethz Mar 11, 2025
85cdab2
chore(vue): update dependacies
3nethz Mar 11, 2025
c8b8a9c
test(vue): write unit tests
3nethz Mar 11, 2025
e1d9338
chore(sample-app): remove unnecessary imports, update config
3nethz Mar 11, 2025
aa682eb
test(vue): add dependancies and configs
3nethz Mar 14, 2025
dcb5047
test(vue): update unit tests
3nethz Mar 14, 2025
d9f43f6
test(vue): fix eslint issues
3nethz Mar 15, 2025
6fc4d39
feat(vue): implement wrapper function to update state
3nethz Mar 15, 2025
44ef435
test(vue): unit tests for api.ts and asgardeiPlugin.ts
3nethz Mar 15, 2025
5b5acb1
chore(workspace): update dependancies
3nethz Mar 15, 2025
2d56a87
chore(vue): update test command
3nethz Mar 15, 2025
dc35c60
chore(vue): update test command
3nethz Mar 15, 2025
4f567cc
chore(sample-app): fix eslint issues, update package.json
3nethz Mar 16, 2025
976175a
chore(workspace): update dependancies
3nethz Mar 16, 2025
ef6e6a7
Merge branch 'asgardeo:main' into feat/vue-sdk
3nethz Mar 17, 2025
32d18c8
feat(vue): fix formatting
3nethz Mar 19, 2025
43f38b3
chore(sample-app): change configuration file
3nethz Mar 20, 2025
14b0ae3
feat(vue): convert class methods to arrow functions for lexical binding
3nethz Mar 20, 2025
8a5faf0
feat(vue): convert class methods to arrow functions for lexical binding
3nethz Mar 20, 2025
99b0aab
test(vue): move mocks to a separate file
3nethz Mar 20, 2025
4a468d9
test(vue): cleanup unwanted comments
3nethz Mar 20, 2025
3445dea
Update packages/vue/src/api.ts
pavinduLakshan Mar 21, 2025
4c6b734
feat(vue): fix doc comments
3nethz Mar 24, 2025
4fc7acc
Merge branch 'feat/vue-sdk' of github.com:3nethz/web-ui-sdks into fea…
3nethz Mar 24, 2025
ce637b3
feat(vue): add missing doc comments
3nethz Mar 24, 2025
a5433f7
feat(vue): remove unwanted poperties in vueconfig
3nethz Mar 24, 2025
3552972
test(vue): add the config to mocks as mockConfig
3nethz Mar 24, 2025
c77d12e
test(vue): fix lint issues
3nethz Mar 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"stylelint.validate": ["css", "scss"]
"stylelint.validate": [
"css",
"scss"
],
"typescript.tsdk": "node_modules/typescript/lib"
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.3",
"@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",
"eslint": "~8.57.0",
"@wso2/eslint-plugin": "catalog:",
"@wso2/prettier-config": "catalog:",
"eslint": "catalog:",
"nx": "18.2.4",
"prettier": "^3.2.5"
"prettier": "^3.2.5",
"typescript": "5.1.6"
},
"workspaces": [
"packages/*",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
"@types/lodash.isempty": "^4.4.9",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^20.12.7",
"@wso2/eslint-plugin": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/eslint-plugin?fa0b844715320a3953d6d055997c0770f8695082",
"@wso2/prettier-config": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/prettier-config?fa0b844715320a3953d6d055997c0770f8695082",
"eslint": "~8.57.0",
"@wso2/eslint-plugin": "catalog:",
"@wso2/prettier-config": "catalog:",
"eslint": "catalog:",
"prettier": "^3.2.5",
"rollup": "^4.17.2",
"rollup-plugin-dts": "^6.1.0",
"tslib": "^2.6.2",
"typescript": "^5.1.6"
"typescript": "5.1.6"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
"@types/randombytes": "^2.0.3",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@wso2/eslint-plugin": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/eslint-plugin?fa0b844715320a3953d6d055997c0770f8695082",
"@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",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/vue/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ module.exports = {
project: [path.resolve(__dirname, 'tsconfig.json'), path.resolve(__dirname, 'tsconfig.eslint.json')],
},
plugins: ['@wso2'],
rules: {
'import/no-extraneous-dependencies': ['error', {devDependencies: true}],
'no-underscore-dangle': ['off'],
},
};
27 changes: 17 additions & 10 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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 --passWithNoTests",
"prepublishOnly": "npm run build"
},
"publishConfig": {
Expand All @@ -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",
Expand All @@ -69,8 +70,8 @@
"stylelint": "15.1.0",
"tslib": "^2.6.2",
"typescript": "5.1.6",
"vitest": "^3.0.6",
"vue-tsc": "^2.2.2"
"vue-tsc": "^2.2.2",
"vitest": "^3.0.8"
},
"dependencies": {
"@asgardeo/auth-spa": "^3.1.4",
Expand All @@ -80,9 +81,15 @@
"clsx": "^2.1.1",
"fast-sha256": "^1.3.0",
"jose": "^5.3.0",
"randombytes": "^2.1.0"
"randombytes": "^2.1.0",
"@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"
}
}
Empty file removed packages/vue/src/.gitkeep
Empty file.
Loading
Loading