-
Notifications
You must be signed in to change notification settings - Fork 49
feat: initial release of @asgardeo/javascript, @asgardeo/browser, @asgardeo/react, @asgardeo/node & @asgardeo/nextjs
#63
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
Merged
Merged
Changes from all commits
Commits
Show all changes
232 commits
Select commit
Hold shift + click to select a range
946ea46
chore: init `next` version
brionmario 6d92cbc
chore: rename `react-vite` recipe
brionmario 8278303
chore(recipes): add `vite-react-ts` sample
brionmario ee8e389
chore: fix build
brionmario 14dda79
chore(react): intial sample integration
brionmario 09468ad
chore(browser): fix build issues
brionmario 9017662
chore(react-vite): sample integration
brionmario 5913ed3
chore(react): fix formatting issues
brionmario 100b0c8
chore(react): expose `signOut` hook
brionmario a1ed7a9
chore(react): implement `SignInButton` component
brionmario 0b8d3d5
chore(react): implement `SignOutButton` component
brionmario 6889924
chore: `formatOnSave` to true
brionmario ee7ea46
chore(react): expose `isSignedIn` hook
brionmario ec5f5d2
chore(react): implement `SignedIn` component
brionmario 92eca3b
chore(react): implement `SignedOut` component
brionmario 4d7243b
chore(react): format components
brionmario d3c0484
chore(react-vite): sample integration
brionmario ad69b3a
chore(next): init `next` package
brionmario 45c8ebf
chore(node): add `@asgardeo/auth-node` code
brionmario 64c8217
chore(next): add `next` as a peer dep
brionmario b1428ef
chore(javascript): move `@asgardeo/auth-js` to `legacy`
brionmario c3c553e
chore: use catalogs
brionmario 66572e0
chore(recipes): add `next-ts-app-router` sample boilderplate
brionmario eae272d
chore(react): add `isSignedIn` and update formatting
brionmario 788f73c
chore: move legacy stuff to a folder
brionmario 5747bc7
chore: refactor legacy folder name
brionmario 7fb9eea
chore(javascript): expose `Config` and deprecate the previous one
brionmario 9ab6802
feat(react): add `useBrowserUrl` hook for handling authentication URL…
brionmario 446b808
chore(javascript): add `afterSignInUrl` to Config
brionmario b78c46f
chore(react): enhance AsgardeoProvider to use afterSignInUrl and impr…
brionmario 5c9e846
chore(react): refactor component props
brionmario 28b23ea
feat(react): add `SignUpButton` component
brionmario 1d9f694
chore(next): fix next provider
brionmario 1d79bec
Merge remote-tracking branch 'upstream/main' into next
brionmario 1cc39ce
chore: update lock and broken package.json
brionmario 7717781
chore(javascript): rename legacy folder
brionmario 0bbfa0e
chore(browser): move to legacy folder
brionmario 8eb0d96
chore(node): move to legacy folder
brionmario 5aee523
chore(node): add `AsgardeoNodeConfig`
brionmario 3a19495
chore(react): update context
brionmario c169e28
chore(next): update context
brionmario 6dc5532
chore(node): add `generateSessionId` util
brionmario f5d67ef
chore(node): expose session cookie options
brionmario 470a7f9
chore: re-arrange packages
brionmario 8b76ef5
chore(javascript): expose `AsgardeoClient` & `User` interfaces
brionmario 142c802
chore(browser): expose `hasAuthParamsInUrl` from browser SDK
brionmario 2fb3060
chore(browser): update imports in SPAHelper to fix circular dep
brionmario 40851ae
chore(browser): move legacy client to `__legacy__`
brionmario e13025b
chore(browser): expose `AsgardeoBrowserConfig`
brionmario a0f4d74
chore(browser): add `AsgardeoBrowserClient` class
brionmario 8154b72
chore: update clients impl
brionmario a28eefe
chore: update provider to use the new clients hierarchy
brionmario dcab1ce
chore(javascript): update tsdoc
brionmario 6841f8c
chore(javascript): expose a `EnvironmentConstants` base class
brionmario 8f7939d
chore(javascript): overload `signOut`
brionmario 75171ab
chore: use the right platform
brionmario 7ae0aaf
chore(node): move the client to `__legacy__`
brionmario 2ed5d8d
chore(node): expose `AsgardeoNodeClient`
brionmario 425a499
chore(react): handle the overloaded `signOut`
brionmario b2fd145
chore(next): add `NextEnvironmentConstants` for environment variable …
brionmario 942d07b
chore(javascript): expose `SignOutOptions`
brionmario 740a814
chore(node): move initialization out of constructor
brionmario 59872b9
chore(react): update imports
brionmario 5685a4a
chore: working progress checkpoint
brionmario da99f14
chore(javascript): add `removeTrailingSlash` utility function
brionmario 3054082
chore(next): add `getSessionId`
brionmario a92e717
chore(next): add `setSessionId`
brionmario 661920e
chore(react): expose `useBrowserUrl`
brionmario 7c9f195
chore(next): get the `next` package working with app router
brionmario 7ae81dc
chore(react): enhance SignInButton to support loading state and rende…
brionmario 9bb7ea6
chore(react): enhance SignOutButton to support loading state and rend…
brionmario 801cec6
chore(react): update `SignInButtonRenderProps`
brionmario b87f020
chore(react): enhance SignUpButton to support loading state and rende…
brionmario 36daa09
chore(browser): add StyleConstants and withVendorCSSClassPrefix utility
brionmario b1af90d
chore(react): separate out base and CSR component
brionmario 31d9607
chore(react): separate out base and CSR component in `SignOutButton`
brionmario 33d03e0
chore(react): separate out base and CSR component in `SignUpButton`
brionmario 9b4e309
chore(next): update `SignInButton` to use `BaseSignInButton`
brionmario 0102431
chore(next): update `SignOutButton` to use `BaseSignOutButton`
brionmario 6872bdf
chore(react): update exports and imports
brionmario 013acf7
chore(react): update types
brionmario 552d951
chore(next): update components
brionmario 1ef9c23
chore(javascript): change from class to const
brionmario 4afd335
chore(recipes): udpate recipes
brionmario ba3aa67
chore(recipes): udpate `main.tsx`
brionmario a88fd0e
chore(recipes): udpate `main.tsx`
brionmario 75914be
chore(recipes): add a sample .env.local file
brionmario e7493a2
chore(errors): add AsgardeoError, AsgardeoAPIError, and AsgardeoRunti…
brionmario cccbce2
chore(javascript): implement getUserInfo function and related tests
brionmario 92cf99c
chore(javascript): udpate vite test conf
brionmario a2bb8d6
chore(javascript): update `getUserInfo` args
brionmario 0ea075e
chore(javascript): update `getUserInfo` tests
brionmario 2ca4582
chore(javascript): fix build issues
brionmario 61c205f
chore(javascript): move `Store` out of `__legacy__`
brionmario a656858
docs: update README
brionmario 905710d
chore(react): add `User` component
brionmario 26ad7b6
chore(javascript): scope `PKCEConstants`
brionmario 802fb48
chore(javascript): move out `extractPKCEKeyFromStateParam`
brionmario 6aad17c
chore(javascript): move out `generateStateParamForRequestCorrelation`
brionmario 475579a
chore(javascript): remove `getTokenRequestHeaders`
brionmario 3ea597a
chore(javascript): rename `extractPKCEKeyFromStateParam` -> `getPkceS…
brionmario 2924da8
chore(javascript): rename `PKCEConstants` -> `PkceConstants`
brionmario 61e6b44
chore(javascript): rename `DecodedIDTokenPayload` -> `IdTokenPayload`
brionmario c027b4d
chore(javascript): remove `getTenantDomainFromIdTokenPayload`
brionmario 9d13ac8
chore(javascript): remove `filterClaimsFromIDTokenPayload`
brionmario 4092de2
chore(javascript): fix unit tests
brionmario 9981929
chore(javascript): update parameter name from `stateParam` to `state`…
brionmario 3e49c78
chore(javascript): rename `getTenantDomainFromIdTokenPayload` -> `ext…
brionmario b9b3fb9
chore(javascript): rename `getPkceStorageKeyFromState` -> `extractPkc…
brionmario 95b92e5
chore(javascript): add unit tests for utils
brionmario 08a2f23
chore(javascript): update tests
brionmario 1e5ab9b
chore(javascript): update tsdoc
brionmario 611f0f4
chore(javascript): refactor PKCE key generation and add tests for uti…
brionmario fd2eeba
chore(javascript): replace TemporaryData with TemporaryStore in model…
brionmario d655021
chore(javascript): refactor OIDC endpoints structure and update relat…
brionmario 09e1060
chore(javascript): rename `ResponseMode` with `OAuthResponseMode`
brionmario 4f94d95
chore(javascript): refactor data storage structure and update Stores …
brionmario 5a4567e
chore(javascript): fix mistakenly renamed property
brionmario f816e8e
chore(javascript): refactor OIDC scope handling and remove deprecated…
brionmario 1b47a3f
chore(javascript): remove EnvironmentConstants export from public API
brionmario 7e95014
chore(javascript): refactor PKCE constants structure and update relat…
brionmario 20e57c1
chore(javascript): replace OidcScopes with OidcScopeConstants in lega…
brionmario a5528da
chore(javascript): enhance type definitions with additional comments …
brionmario 753ace1
chore(javascript): introduce OidcSignatureValidationConstants for OID…
brionmario 7af9bed
chore(javascript): introduce OidcTokenConstants for OIDC token manage…
brionmario 0ad482d
chore(javascript): remove FetchCredentialTypes and replace usages wit…
brionmario d540c38
chore(javascript): replace OAuthResponseMode with ResponseMode across…
brionmario ef79ac7
chore(javascript): replace OAuthResponseMode with ResponseMode across…
brionmario 8faabf2
chore(javascript): rename OidcTokenConstants to TokenConstants and up…
brionmario 5b00e7f
chore(javascript): replace OidcSignatureValidationConstants with Toke…
brionmario a2fc677
chore(javascript): refactor ScopeConstants and TokenConstants imports…
brionmario ca5843f
chore(javascript): refactor OIDC-related imports and create new oauth…
brionmario 24688b3
chore(javascript): introduce OidcMetadataConstants for endpoint manag…
brionmario 2899a00
chore(javascript): replace OP_CONFIG_INITIATED with OidcMetadataConst…
brionmario 331ad01
chore(javascript): remove unused import of DefaultOIDCEndpoints in ge…
brionmario 1479362
chore(javascript): remove unused DefaultOIDCEndpoints import and dele…
brionmario d307a60
chore(javascript): refactor OidcMetadataConstants to use StorageKeys …
brionmario 5f4f68f
chore(javascript): remove OIDC endpoints constants and refactor Authe…
brionmario 38a559a
chore(javascript): refactor authentication logic to use OidcRequestPa…
brionmario 2ee7df6
chore(javascript): refactor OidcMetadataConstants to use nested Stora…
brionmario 48acffb
chore(javascript): replace OidcRequestParamsConstants with OidcReques…
brionmario 276d5ec
chore(javascript): refactor PkceConstants to use nested Storage struc…
brionmario 8292772
chore(javascript): rename TimerKeys to StorageKeys in TokenConstants …
brionmario 7901984
chore(javascript): update SPAUtils to use OidcRequestConstants for si…
brionmario 915d1b2
chore: refactor to use OidcRequestConstants for session state and aut…
brionmario 0ce9d1e
chore(javascript): remove legacy custom grant template tags and repla…
brionmario 901276c
chore(javascript): refactor constants
brionmario d3821b9
chore(javascript): enhance documentation for OIDC and PKCE constants
brionmario de29d7f
chore(javascript): remove unnecessary template annotations from clien…
brionmario ecf0a6f
chore: refactor to replace CryptoUtils with Crypto interface across m…
brionmario 6142bc3
chore(javascript): update token response types and add RawAccessToken…
brionmario ee3b75b
chore(javascript): extend TokenResponse and RawAccessTokenResponse in…
brionmario 85c2492
chore(javascript): replace OIDCMetadataConstants with OIDCDiscoveryCo…
brionmario 89b36be
chore(javascript): refactor OIDCProviderMetaData to OIDCDiscoveryCons…
brionmario ab15ea3
chore(javascript): refactor OIDCProviderMetaData to OIDCDiscoveryResp…
brionmario cc07089
chore(javascript): rename OIDCDiscoveryResponse to OIDCDiscoveryApiRe…
brionmario 925d810
chore(javascript): reorganize OIDCDiscoveryApiResponse
brionmario dfc9341
chore(javascript): rename RawAccessTokenResponse to AccessTokenApiRes…
brionmario 55463f1
chore(javascript): add OIDCDiscoveryEndpointsApiResponse interface fo…
brionmario 6484f95
chore(javascript): extend OIDCDiscoveryApiResponse to include OIDCDis…
brionmario 9b5bed3
chore(javascript): rename `CryptoHelper` -> `IsomorphicCrypto`
brionmario 52d4fd1
chore: remove `public-api` files
brionmario 18e14fd
chore(javascript): add 'jti' and 'sub' to protocol claims removal in …
brionmario c4ac479
fix: update pnpm workspace to include all recipes and improve user da…
brionmario 4b7c828
feat(react): add `UserProfile` component for displaying user information
brionmario cf5b03e
feat(react): implement `UserProfile` component to utilize `BaseUserPr…
brionmario f3525f3
chore: Add UserProfile component and update scopes format in Asgardeo…
brionmario 65aa108
chore(react): refactor control components
brionmario 1d90b0c
chore(react): refactor presentation components
brionmario 976c1c6
chore(react): refactor action components
brionmario 58378b1
chore(react): refactor `BaseUserProfile`
brionmario b304e5d
chore(react): refactor `BaseUserProfile`
brionmario 25eb0bd
chore(react): refactor `BaseUserProfile`
brionmario 2b868c9
feat(react): add theme context and provider with light/dark mode support
brionmario 691f515
feat(react): add Asgardeo theme preferences to provider for customiza…
brionmario ccd97bc
feat(react): add theme preferences to AsgardeoProvider for customizab…
brionmario b050668
chore(react): reorganize theme imports and remove unused theme index …
brionmario fcc2a96
chore(react): integrate theme support into Popover component for cons…
brionmario 3e29da6
chore(react): integrate theme support into Popover component for cons…
brionmario b0f51eb
chore(react): integrate theme support into Avatar component for consi…
brionmario 517c97c
feat(react): enhance Popover component with header and content subcom…
brionmario 81d9a0a
chore(recipes): update theme
brionmario f9c85c0
feat(react): add vendor CSS class prefixing to Avatar, Popover, and B…
brionmario a51d60b
chore: refactor theme
brionmario 0ceae5f
feat(react): enhance BaseUserProfile component with attribute mapping…
brionmario af5cf27
chore(react): fix object type attr values
brionmario 00e9ce2
feat(react): add BaseUserDropdown and UserDropdown components for use…
brionmario c19b996
feat(react): add mode prop to Popover component for customizable disp…
brionmario 033fe0c
chore(react): enhance BaseUserDropdown and BaseUserProfile components…
brionmario fa05168
chore(react): update BaseUserDropdown to conditionally display user e…
brionmario 624f429
chore(react): enhance BaseUserDropdown with new props for customizabl…
brionmario e9f6f48
chore(javascript): remove client_secret from authorization request pa…
brionmario a26b914
chore: fix build issues
brionmario 6bdc85e
chore(next): refactor components folder
brionmario daa5ec6
chore(next): replace elements with Base elements
brionmario 5568f23
chore: fix build issues
brionmario 5b2b38f
chore: update release conf
brionmario 52fd16c
chore: update package.json
brionmario 881e38d
chore(next): rename package
brionmario e9cd3c5
chore: add README files for browser, javascript, next, node, react, a…
brionmario c421e71
docs: udpate readme
brionmario 54d51ff
chore: remove outdated README for @asgardeo/next and add new README f…
brionmario 3bce9c6
docs: update readme
brionmario 0cd08a6
chore: update package.json
brionmario a806ea8
chore: add changeset
brionmario d3af2fd
chore: add OIDC request constants for authorization and sign-out flows
brionmario bae5df0
chore: update imports
brionmario e44c654
chore: update imports
brionmario ed8d7db
chore: add rimraf
brionmario 9bcf264
chore: fix export
brionmario 3f332d2
chore: add getUserInfo function and corresponding tests
brionmario a9f300c
docs: update next README
brionmario 6e24d23
feat: implement SCIM2 user profile retrieval and schema handling
brionmario aa18e9d
feat: enhance BaseUserProfile to render subAttributes and improve get…
brionmario 3e1d3c9
chore: fix for scim
brionmario eea4d92
feat: add getMappedUserProfileValue utility for improved user profile…
brionmario c8e19d6
chore: add base support for editing the profile
brionmario 5693c30
chore: add base support for editing the profile
brionmario 0a9f71f
chore: add PencilIcon component for edit button and enhance button st…
brionmario e6ed327
chore(react): change maxWidth to minWidth for BaseUserProfile compone…
brionmario 1ed1629
chore(react): update styles
brionmario 29a69a1
chore(react): udpate edit style of BaseUserProfile
brionmario 872521b
chore(react): implement updateMeProfile function and integrate with B…
brionmario 11c198e
chore: fix updates
brionmario c08facf
chore(react): enhance user profile handling by adding path support an…
brionmario 2fc5947
chore(react): fix profile updates
brionmario f8ffbb4
chore(react): fix profile updates
brionmario 43086e0
chore: fix theme config issues
brionmario cb5534e
fix: fix nx build
brionmario 96c79f3
fix(next): fix build errors
brionmario 136d870
fix: typechec
brionmario 5ded9d9
fix: unit tests
brionmario File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,9 @@ | ||
| --- | ||
| '@asgardeo/javascript': patch | ||
| '@asgardeo/browser': patch | ||
| '@asgardeo/nextjs': patch | ||
| '@asgardeo/node': patch | ||
| '@asgardeo/react': minor | ||
| --- | ||
|
|
||
| Initial release with basic redirection capabilities and components. | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,15 +1,24 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json", | ||
| "changelog": ["@changesets/changelog-github", { "repo": "asgardeo/web-ui-sdks" }], | ||
| "$schema": "https://unpkg.com/@changesets/config@2.2.0/schema.json", | ||
| "access": "restricted", | ||
| "baseBranch": "main", | ||
| "changelog": [ | ||
| "@changesets/changelog-github", | ||
| { | ||
| "repo": "asgardeo/javascript" | ||
| } | ||
| ], | ||
| "commit": false, | ||
| "fixed": [], | ||
| "ignore": [], | ||
| "linked": [], | ||
| "access": "restricted", | ||
| "baseBranch": "main", | ||
| "privatePackages": { | ||
| "version": true, | ||
| "tag": true | ||
| "version": false, | ||
| "tag": false | ||
| }, | ||
| "root": { | ||
| "packageDir": "." | ||
| }, | ||
| "updateInternalDependencies": "patch", | ||
| "ignore": [] | ||
| } | ||
| "tagFormat": "@<scope>/<package>@${version}", | ||
| "updateInternalDependencies": "patch" | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -4,3 +4,5 @@ | |
| /build | ||
| /node_modules | ||
| /coverage | ||
| /.nx/cache | ||
| /.nx/workspace-data | ||
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,4 +1,26 @@ | ||
| { | ||
| "extends": "nx/presets/npm.json", | ||
| "$schema": "./node_modules/nx/schemas/nx-schema.json" | ||
| } | ||
| "$schema": "./node_modules/nx/schemas/nx-schema.json", | ||
| "namedInputs": { | ||
| "default": [ | ||
| "{projectRoot}/**/*", | ||
| "sharedGlobals" | ||
| ], | ||
| "production": [ | ||
| "default" | ||
| ], | ||
| "sharedGlobals": [] | ||
| }, | ||
| "targetDefaults": { | ||
| "build": { | ||
| "dependsOn": [ | ||
| "^build" | ||
| ] | ||
| }, | ||
| "typecheck": { | ||
| "dependsOn": [ | ||
| "^build" | ||
| ] | ||
| } | ||
| }, | ||
| "plugins": [] | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,52 +1,42 @@ | ||
| { | ||
| "private": true, | ||
| "name": "@asgardeo/web-ui-sdks", | ||
| "version": "0.1.0", | ||
| "description": "Web SDKs for building customizable login UIs for Asgardeo & WSO2 Identity Server.", | ||
| "name": "@asgardeo/javascript-workspace", | ||
| "version": "0.0.0", | ||
| "description": "Workspace to hold the Asgardeo JavaScript SDKs.", | ||
| "author": "WSO2", | ||
| "license": "Apache-2.0", | ||
| "homepage": "https://github.com/asgardeo/web-ui-sdks#readme", | ||
| "homepage": "https://github.com/asgardeo/javascript#readme", | ||
| "bugs": { | ||
| "url": "https://github.com/asgardeo/web-ui-sdks/issues" | ||
| "url": "https://github.com/asgardeo/javascript/issues" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/asgardeo/web-ui-sdks" | ||
| "url": "https://github.com/asgardeo/javascript" | ||
| }, | ||
| "keywords": [ | ||
| "asgardeo", | ||
| "web-sdks", | ||
| "api-based-auth" | ||
| "javascript", | ||
| "workspace" | ||
| ], | ||
| "scripts": { | ||
| "build": "nx run-many --target=build --parallel --projects=@asgardeo/js,@asgardeo/react", | ||
| "changeset": "changeset", | ||
| "lint": "nx run-many --target=lint --parallel", | ||
| "build": "nx run-many --target=build --all", | ||
| "fix:lint": "nx run-many --target=fix:lint --all --parallel", | ||
| "lint": "nx run-many --target=lint --all --parallel", | ||
| "publish:packages": "changeset publish", | ||
| "test": "nx run-many --target=test --parallel", | ||
| "typecheck": "nx run-many --target=typecheck --parallel", | ||
| "test": "nx run-many --target=test --all --parallel", | ||
| "version:packages": "changeset version && pnpm install --lockfile-only" | ||
| }, | ||
| "devDependencies": { | ||
| "@changesets/changelog-github": "^0.5.0", | ||
| "@changesets/cli": "^2.27.3", | ||
| "@changesets/changelog-github": "^0.5.1", | ||
| "@changesets/cli": "^2.29.4", | ||
| "@wso2/eslint-plugin": "catalog:", | ||
| "@wso2/prettier-config": "catalog:", | ||
| "eslint": "catalog:", | ||
| "nx": "18.2.4", | ||
| "prettier": "^3.2.5", | ||
| "typescript": "5.1.6" | ||
| }, | ||
| "workspaces": [ | ||
| "packages/*", | ||
| "recipes/*" | ||
| ], | ||
| "engines": { | ||
| "node": ">=18", | ||
| "pnpm": ">=9" | ||
| "eslint": "8.57.0", | ||
| "nx": "20.8.1", | ||
| "prettier": "^2.6.2", | ||
| "typescript": "~5.7.2" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "restricted" | ||
| }, | ||
| "packageManager": "pnpm@10.8.0+sha512.0e82714d1b5b43c74610193cb20734897c1d00de89d0e18420aebc5977fa13d780a9cb05734624e81ebd81cc876cd464794850641c48b9544326b5622ca29971" | ||
| } | ||
| } | ||
| } |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 @@ | ||
| ../../.editorconfig |
This file contains hidden or 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,2 @@ | ||
| /dist | ||
| /node_modules |
This file contains hidden or 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,48 @@ | ||
| /** | ||
| * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). | ||
| * | ||
| * WSO2 LLC. licenses this file to you under the Apache License, | ||
| * Version 2.0 (the "License"); you may not use this file except | ||
| * in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
|
|
||
| const path = require('path'); | ||
|
|
||
| module.exports = { | ||
| extends: [ | ||
| 'plugin:@wso2/typescript', | ||
| 'plugin:@wso2/react', | ||
| 'plugin:@wso2/strict', | ||
| 'plugin:@wso2/internal', | ||
| 'plugin:@wso2/prettier', | ||
| 'plugin:@wso2/jest', | ||
| 'plugin:react/jsx-runtime', | ||
| ], | ||
| parserOptions: { | ||
| project: [path.resolve(__dirname, 'tsconfig.lib.json'), path.resolve(__dirname, 'tsconfig.eslint.json')], | ||
| }, | ||
| plugins: ['@wso2'], | ||
| rules: { | ||
| // In `SignIn.tsx` we are using non dot notation to access the object properties. | ||
| // TODO: Refactor the code to use dot notation. | ||
| '@typescript-eslint/dot-notation': 'off', | ||
| // We are throwing custom exceptions in the codebase. | ||
| // Hence, turning this off to avoid linting errors. (https://eslint.org/docs/latest/rules/no-throw-literal#known-limitations) | ||
| '@typescript-eslint/no-throw-literal': 'off', | ||
| // TODO: Fix this and enable. | ||
| // Occurred while linting /packages/react/src/utils/crypto-utils.ts:33 | ||
| // Rule: "@typescript-eslint/no-useless-constructor" | ||
| '@typescript-eslint/no-useless-constructor': 'off', | ||
| 'class-methods-use-this': 'off', | ||
| }, | ||
| }; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.