sst-http 0.1.6
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 +21 -0
- package/README.md +157 -0
- package/dist/cli.cjs +262 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +265 -0
- package/dist/index.cjs +558 -0
- package/dist/index.d.cts +42 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.js +512 -0
- package/dist/infra.cjs +230 -0
- package/dist/infra.d.cts +61 -0
- package/dist/infra.d.ts +61 -0
- package/dist/infra.js +202 -0
- package/dist/types-D69iuoxv.d.cts +54 -0
- package/dist/types-D69iuoxv.d.ts +54 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sst-http",
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Decorator-based routing for SST v3 with a single Lambda and Firebase JWT authorizer.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/<you>/sst-http.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/<you>/sst-http/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/<you>/sst-http#readme",
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "dist/index.cjs",
|
|
17
|
+
"module": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"require": "./dist/index.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./infra": {
|
|
26
|
+
"types": "./dist/infra.d.ts",
|
|
27
|
+
"import": "./dist/infra.js",
|
|
28
|
+
"require": "./dist/infra.cjs"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"bin": {
|
|
32
|
+
"sst-http": "dist/cli.js"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"README.md",
|
|
37
|
+
"LICENSE"
|
|
38
|
+
],
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=20"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"path-to-regexp": "^8.2.0",
|
|
44
|
+
"reflect-metadata": "^0.2.2",
|
|
45
|
+
"ts-morph": "^23.0.0",
|
|
46
|
+
"tslib": "^2.6.2"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"sst": "^3.0.0",
|
|
50
|
+
"zod": "^3.23.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@eslint/js": "^9.37.0",
|
|
54
|
+
"@types/aws-lambda": "^8.10.119",
|
|
55
|
+
"@types/node": "^20.11.0",
|
|
56
|
+
"eslint": "^9.37.0",
|
|
57
|
+
"globals": "^16.4.0",
|
|
58
|
+
"tsup": "^8.0.1",
|
|
59
|
+
"typescript": "^5.4.0",
|
|
60
|
+
"typescript-eslint": "^8.46.0"
|
|
61
|
+
},
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "tsup src/index.ts src/infra.ts src/cli.ts --dts --format esm,cjs --clean",
|
|
67
|
+
"dev": "tsup --watch",
|
|
68
|
+
"lint": "eslint .",
|
|
69
|
+
"typecheck": "tsc --noEmit",
|
|
70
|
+
"clean": "rm -rf dist",
|
|
71
|
+
"prebuild": "pnpm clean",
|
|
72
|
+
"prerelease": "pnpm lint && pnpm typecheck && pnpm build",
|
|
73
|
+
"release": "pnpm publish --access public",
|
|
74
|
+
"release:patch": "pnpm version patch && pnpm run release",
|
|
75
|
+
"release:minor": "pnpm version minor && pnpm run release",
|
|
76
|
+
"release:major": "pnpm version major && pnpm run release",
|
|
77
|
+
"release:dry": "pnpm publish --access public --dry-run"
|
|
78
|
+
}
|
|
79
|
+
}
|