@tomei/sso 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +54 -50
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ ## SSO Package
2
+
3
+ ### How to use
4
+ - run npm i @tomei/sso@latest
5
+ - Make sure you set the `DATABASE_URL` in your project `.env` file
6
+ - run the `create-sso-user.sql` to create the neccessary database user and rights
package/package.json CHANGED
@@ -1,50 +1,54 @@
1
- {
2
- "name": "@tomei/sso",
3
- "version": "0.0.1",
4
- "description": "Tomei SSO Package",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "start:dev": "tsc -w",
8
- "build:types": "tsc -p ./tsconfig.json --outDir build --declaration true && api-extractor run",
9
- "build": "tsc",
10
- "prepare": "npm run build",
11
- "format": "prettier --write \"src/**/*.ts\"",
12
- "lint": "tslint -p tsconfig.json -c tslint.json"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+ssh://git@gitlab.com/tomei-package/sso.git"
17
- },
18
- "keywords": [
19
- "tomei",
20
- "sso"
21
- ],
22
- "author": "Tomei",
23
- "license": "ISC",
24
- "bugs": {
25
- "url": "https://gitlab.com/tomei-package/sso/issues"
26
- },
27
- "homepage": "https://gitlab.com/tomei-package/sso#readme",
28
- "files": [
29
- "dist"
30
- ],
31
- "devDependencies": {
32
- "@commitlint/cli": "^17.6.3",
33
- "@commitlint/config-conventional": "^17.6.3",
34
- "@tsconfig/node18": "^2.0.1",
35
- "@types/node": "^18.0.6",
36
- "@typescript-eslint/eslint-plugin": "^5.33.0",
37
- "eslint": "^8.40.0",
38
- "eslint-config-prettier": "^8.5.0",
39
- "eslint-plugin-prettier": "^4.2.1",
40
- "prettier": "^2.7.1",
41
- "ts-node": "^10.9.1",
42
- "tsc-watch": "^5.0.3",
43
- "tsconfig-paths": "^4.0.0",
44
- "tslint": "^6.1.3",
45
- "typescript": "^4.7.4"
46
- },
47
- "publishConfig": {
48
- "access": "public"
49
- }
50
- }
1
+ {
2
+ "name": "@tomei/sso",
3
+ "version": "0.0.2",
4
+ "description": "Tomei SSO Package",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "start:dev": "tsc -w",
8
+ "build": "tsc",
9
+ "prepare": "husky install",
10
+ "format": "prettier --write \"src/**/*.ts\"",
11
+ "lint": "npx eslint . --fix"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+ssh://git@gitlab.com/tomei-package/sso.git"
16
+ },
17
+ "keywords": [
18
+ "tomei",
19
+ "sso"
20
+ ],
21
+ "author": "Tomei",
22
+ "license": "ISC",
23
+ "bugs": {
24
+ "url": "https://gitlab.com/tomei-package/sso/issues"
25
+ },
26
+ "homepage": "https://gitlab.com/tomei-package/sso#readme",
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "devDependencies": {
31
+ "@commitlint/cli": "^17.6.3",
32
+ "@commitlint/config-conventional": "^17.6.3",
33
+ "@tsconfig/node18": "^2.0.1",
34
+ "@types/node": "^18.0.6",
35
+ "@typescript-eslint/eslint-plugin": "^5.33.0",
36
+ "eslint": "^8.40.0",
37
+ "eslint-config-prettier": "^8.5.0",
38
+ "eslint-plugin-prettier": "^4.2.1",
39
+ "husky": "^8.0.3",
40
+ "prettier": "^2.7.1",
41
+ "prisma": "^4.14.0",
42
+ "ts-node": "^10.9.1",
43
+ "tsc-watch": "^5.0.3",
44
+ "tsconfig-paths": "^4.0.0",
45
+ "tslint": "^6.1.3",
46
+ "typescript": "^4.7.4"
47
+ },
48
+ "publishConfig": {
49
+ "access": "public"
50
+ },
51
+ "peerDependencies": {
52
+ "@prisma/client": "^4.14.1"
53
+ }
54
+ }