-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
490 changed files
with
9,239 additions
and
4,328 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 @@ | ||
All rights reserved. |
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
"homepage": "https://quisi.do/", | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
"repository": "github:quisido/quisi.do", | ||
"type": "module", | ||
"bugs": { | ||
"email": "[email protected]", | ||
|
@@ -19,6 +18,10 @@ | |
"publishConfig": { | ||
"access": "restricted" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/quisido/quisi.do.git" | ||
}, | ||
"scripts": { | ||
"attw": "attw --exclude-entrypoints .", | ||
"authn": "yarn packages/authn run dev", | ||
|
@@ -41,8 +44,10 @@ | |
"postlighthouse": "yarn packages/next run postlighthouse", | ||
"prepack": "yarn workspaces foreach --all --exclude \"@quisi/do\" --interlaced --jobs unlimited --parallel --topological-dev --verbose run prepack", | ||
"prepack:limited": "yarn workspaces foreach --all --exclude \"@quisi/do\" --topological-dev run prepack", | ||
"prepublish": "concurrently --kill-others-on-fail --names eslint,prepublish,test,vitest \"yarn run eslint\" \"yarn run prepublish:workspaces\" \"yarn run test\" \"yarn run vitest:run\"", | ||
"prepublish": "concurrently --kill-others-on-fail --names eslint,prepublish,publint,test,vitest \"yarn run eslint\" \"yarn run prepublish:workspaces\" \"yarn run publint\" \"yarn run test\" \"yarn run vitest:run\"", | ||
"prepublish:workspaces": "yarn workspaces foreach --all --exclude \"@quisi/do\" --verbose run prepublish", | ||
"publint": "publint", | ||
"publint:workspaces": "yarn workspaces foreach --all --exclude \"@quisi/do\" --verbose run publint", | ||
"publish": "yarn workspaces foreach --all --jobs unlimited --no-private --parallel --topological-dev --verbose npm publish --tolerate-republish", | ||
"reinit": "yarn packages/authn run local:reinit", | ||
"serve": "yarn packages/next run serve", | ||
|
@@ -85,6 +90,7 @@ | |
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-react": "^7.34.3", | ||
"prettier": "^3.3.2", | ||
"publint": "^0.2.10", | ||
"typescript": "~5.4.5", | ||
"typescript-eslint": "^7.14.1", | ||
"vitest": "^1.6.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,41 @@ | ||
{ | ||
"name": "@quisido/authn-shared", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"author": "quisi.do <[email protected]>", | ||
"description": "isomorphic authentication modules", | ||
"homepage": "https://github.com/quisido/quisi.do/tree/main/packages/authn-shared#readme", | ||
"license": "MIT", | ||
"main": "./dist/index.js", | ||
"repository": "github:quisido/quisi.do", | ||
"module": "./dist/index.js", | ||
"type": "module", | ||
"types": "./dist/index.d.ts", | ||
"bugs": { | ||
"email": "[email protected]", | ||
"url": "https://github.com/quisido/quisi.do/issues" | ||
}, | ||
"exports": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"funding": { | ||
"type": "individual", | ||
"url": "https://github.com/sponsors/quisido" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/quisido/quisi.do.git" | ||
}, | ||
"scripts": { | ||
"attw": "attw --quiet", | ||
"clean": "rm -rf coverage dist && rm -f tsconfig.prepack.tsbuildinfo tsc-output.cpuprofile", | ||
"eslint": "eslint . --cache --color --exit-on-fatal-error --max-warnings 0", | ||
"eslint:fix": "eslint . --cache --color --exit-on-fatal-error --fix --max-warnings 0", | ||
"prepack": "yarn run tsc", | ||
"prepublish": "concurrently --kill-others-on-fail --names attw,eslint,vitest \"yarn run attw\" \"yarn run eslint\" \"yarn run vitest:run\"", | ||
"prepublish": "concurrently --kill-others-on-fail --names attw,eslint,publint,vitest \"yarn run attw\" \"yarn run eslint\" \"yarn run publint\" \"yarn run vitest:run\"", | ||
"publint": "publint", | ||
"tsc": "tsc --generateCpuProfile tsc-output.cpuprofile --project tsconfig.prepack.json", | ||
"vitest": "vitest", | ||
"vitest:run": "vitest run", | ||
|
@@ -53,6 +62,7 @@ | |
"eslint-plugin-prettier": "^5.1.3", | ||
"fmrs": "workspace:^", | ||
"prettier": "^3.3.2", | ||
"publint": "^0.2.10", | ||
"tslib": "^2.6.3", | ||
"typescript": "~5.4.5", | ||
"vite": "^5.3.2", | ||
|
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export { ErrorCode } from './error-code.js'; | ||
export { default as isErrorCode } from './is-error-code.js'; | ||
export { WhoAmIResponseCode } from './whoami-response-code.js'; | ||
|
||
export const WHOAMI_THROTTLE_DURATION = 1000; |
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 @@ | ||
All rights reserved. |
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 was deleted.
Oops, something went wrong.
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 @@ | ||
export const DEFAULT_COOKIE_DOMAIN = 'quisi.do'; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
enum EnvironmentName { | ||
export enum EnvironmentName { | ||
Development = 'development', | ||
Production = 'production', | ||
Staging = 'staging', | ||
Test = 'test', | ||
Unknown = 'unknown', | ||
} | ||
|
||
export default EnvironmentName; |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
enum Gender { | ||
export enum Gender { | ||
Female = 1, | ||
Male = 2, | ||
Neutral = 0, | ||
} | ||
|
||
export default Gender; |
Oops, something went wrong.