@teamvortexsoftware/vortex-fastify-5-sdk 0.0.1
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.
- package/LICENSE +201 -0
- package/README.md +351 -0
- package/dist/config.d.ts +66 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +168 -0
- package/dist/handlers/invitations.d.ts +9 -0
- package/dist/handlers/invitations.d.ts.map +1 -0
- package/dist/handlers/invitations.js +423 -0
- package/dist/handlers/jwt.d.ts +3 -0
- package/dist/handlers/jwt.d.ts.map +1 -0
- package/dist/handlers/jwt.js +81 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +55 -0
- package/dist/routes.d.ts +102 -0
- package/dist/routes.d.ts.map +1 -0
- package/dist/routes.js +239 -0
- package/dist/utils.d.ts +9 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +95 -0
- package/package.json +63 -0
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@teamvortexsoftware/vortex-fastify-5-sdk",
|
|
3
|
+
"description": "Drop-in Fastify module for Vortex API integration",
|
|
4
|
+
"author": "@teamvortexsoftware",
|
|
5
|
+
"version": "0.0.1",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build:stg": "pnpm run distclean && pnpm run build && mkdir -p dist.d/stg && mv dist dist.d/stg && echo && echo 'Build in ./dist.d/stg'",
|
|
20
|
+
"prepublish:stg": "cp ./LICENSE ./README.md ./dist.d/stg/ && jq '.name = \"@teamvortexsoftware/vortex-fastify-5-sdk-stg\" | .description = \"Vortex Fastify 5 SDK (STG)\" | del(.scripts.prepack)' ./package.json > ./dist.d/stg/package.json",
|
|
21
|
+
"publish:stg": "pnpm run prepublish:stg && npm publish --userconfig ../../.npmrc --access restricted ./dist.d/stg",
|
|
22
|
+
"build:prod": "pnpm run distclean && pnpm run build && mkdir -p dist.d/prod && mv dist dist.d/prod && echo && echo 'Build in ./dist.d/prod'",
|
|
23
|
+
"prepublish:prod": "cp ./LICENSE ./README.md ./dist.d/prod/ && jq 'del(.scripts.prepack)' ./package.json > ./dist.d/prod/package.json",
|
|
24
|
+
"publish:prod": "pnpm run prepublish:prod && npm publish --userconfig ../../.npmrc --access public ./dist.d/prod",
|
|
25
|
+
"check-types": "tsc --noEmit",
|
|
26
|
+
"distclean": "rm -rf ./dist ./dist.d",
|
|
27
|
+
"clean": "rm -rf ./dist",
|
|
28
|
+
"dev": "",
|
|
29
|
+
"test": "jest",
|
|
30
|
+
"package": "pnpm run build && cd dist/vortex-fastify-5-sdk && npm pack",
|
|
31
|
+
"build": "tsc -b tsconfig.json"
|
|
32
|
+
},
|
|
33
|
+
"jest": {
|
|
34
|
+
"rootDir": "__tests__",
|
|
35
|
+
"testRegex": ".*\\.spec\\.ts$",
|
|
36
|
+
"transform": {
|
|
37
|
+
"^.+\\.(t|j)s$": "ts-jest"
|
|
38
|
+
},
|
|
39
|
+
"collectCoverageFrom": [
|
|
40
|
+
"**/*.(t|j)s"
|
|
41
|
+
],
|
|
42
|
+
"coverageDirectory": "coverage",
|
|
43
|
+
"testEnvironment": "node"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@eslint/js": "^9.24.0",
|
|
47
|
+
"@jest/globals": "29.7.0",
|
|
48
|
+
"@teamvortexsoftware/eslint-config": "workspace:*",
|
|
49
|
+
"@teamvortexsoftware/typescript-config": "workspace:*",
|
|
50
|
+
"eslint": "^9.24.0",
|
|
51
|
+
"jest": "29.7.0",
|
|
52
|
+
"typescript-eslint": "^8.30.1",
|
|
53
|
+
"fastify": "^5.1.0",
|
|
54
|
+
"@types/node": "^20.0.0",
|
|
55
|
+
"typescript": "^5.0.0"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@teamvortexsoftware/vortex-node-22-sdk": "workspace:*"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"fastify": ">=5.0.0"
|
|
62
|
+
}
|
|
63
|
+
}
|