diff --git a/packages/client/LICENSE b/packages/client/LICENSE new file mode 100644 index 0000000..6868a4d --- /dev/null +++ b/packages/client/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 @auth-tools + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/client/local/index.ts b/packages/client/local/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/client/package.json b/packages/client/package.json new file mode 100644 index 0000000..703c07b --- /dev/null +++ b/packages/client/package.json @@ -0,0 +1,28 @@ +{ + "name": "@auth-tools/client", + "version": "0.0.0", + "description": "A structured authentication protocol for Javascript. (client)", + "main": "dist/index.js", + "repository": "https://github.com/auth-tools/auth-tools", + "author": "Laurenz Rausche ", + "license": "MIT", + "private": false, + "scripts": { + "build": "npm run build:remove && tsc", + "build:remove": "rimraf dist", + "local": "npm run build && ts-node-dev --respawn local/index.ts", + "prepublish": "npm run build", + "remove": "npm run build:remove && rimraf node_modules yarn.lock package-lock.json pnpm-lock.yaml" + }, + "dependencies": {}, + "devDependencies": { + "@auth-tools/client": "link:.", + "rimraf": "^5.0.5", + "ts-node-dev": "^2.0.0", + "typescript": "^5.4.5" + }, + "peerDependencies": {}, + "files": [ + "dist" + ] +} diff --git a/packages/client/src/index.ts b/packages/client/src/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/client/tsconfig.json b/packages/client/tsconfig.json new file mode 100644 index 0000000..ce1e038 --- /dev/null +++ b/packages/client/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "ES2016", + "lib": ["ES2016"], + "module": "CommonJS", + "moduleResolution": "Node", + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": "dist", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "skipLibCheck": true + }, + "include": ["src/**/*"] +} diff --git a/packages/logger/LICENSE b/packages/logger/LICENSE new file mode 100644 index 0000000..6868a4d --- /dev/null +++ b/packages/logger/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 @auth-tools + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/logger/local/index.ts b/packages/logger/local/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/logger/package.json b/packages/logger/package.json new file mode 100644 index 0000000..e46a8a1 --- /dev/null +++ b/packages/logger/package.json @@ -0,0 +1,28 @@ +{ + "name": "@auth-tools/logger", + "version": "0.0.0", + "description": "A structured authentication protocol for Javascript. (logger)", + "main": "dist/index.js", + "repository": "https://github.com/auth-tools/auth-tools", + "author": "Laurenz Rausche ", + "license": "MIT", + "private": false, + "scripts": { + "build": "npm run build:remove && tsc", + "build:remove": "rimraf dist", + "local": "npm run build && ts-node-dev --respawn local/index.ts", + "prepublish": "npm run build", + "remove": "npm run build:remove && rimraf node_modules yarn.lock package-lock.json pnpm-lock.yaml" + }, + "dependencies": {}, + "devDependencies": { + "@auth-tools/logger": "link:.", + "rimraf": "^5.0.5", + "ts-node-dev": "^2.0.0", + "typescript": "^5.4.5" + }, + "peerDependencies": {}, + "files": [ + "dist" + ] +} diff --git a/packages/logger/src/index.ts b/packages/logger/src/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/logger/tsconfig.json b/packages/logger/tsconfig.json new file mode 100644 index 0000000..ce1e038 --- /dev/null +++ b/packages/logger/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "ES2016", + "lib": ["ES2016"], + "module": "CommonJS", + "moduleResolution": "Node", + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": "dist", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "skipLibCheck": true + }, + "include": ["src/**/*"] +} diff --git a/packages/server/LICENSE b/packages/server/LICENSE new file mode 100644 index 0000000..6868a4d --- /dev/null +++ b/packages/server/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 @auth-tools + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/server/local/index.ts b/packages/server/local/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/server/package.json b/packages/server/package.json new file mode 100644 index 0000000..f2b2825 --- /dev/null +++ b/packages/server/package.json @@ -0,0 +1,28 @@ +{ + "name": "@auth-tools/server", + "version": "0.0.0", + "description": "A structured authentication protocol for Javascript. (server)", + "main": "dist/index.js", + "repository": "https://github.com/auth-tools/auth-tools", + "author": "Laurenz Rausche ", + "license": "MIT", + "private": false, + "scripts": { + "build": "npm run build:remove && tsc", + "build:remove": "rimraf dist", + "local": "npm run build && ts-node-dev --respawn local/index.ts", + "prepublish": "npm run build", + "remove": "npm run build:remove && rimraf node_modules yarn.lock package-lock.json pnpm-lock.yaml" + }, + "dependencies": {}, + "devDependencies": { + "@auth-tools/server": "link:.", + "rimraf": "^5.0.5", + "ts-node-dev": "^2.0.0", + "typescript": "^5.4.5" + }, + "peerDependencies": {}, + "files": [ + "dist" + ] +} diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/packages/server/tsconfig.json b/packages/server/tsconfig.json new file mode 100644 index 0000000..ce1e038 --- /dev/null +++ b/packages/server/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "ES2016", + "lib": ["ES2016"], + "module": "CommonJS", + "moduleResolution": "Node", + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": "dist", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "skipLibCheck": true + }, + "include": ["src/**/*"] +}