@ldsg/handler-module-template-constants 0.0.0-stage → 0.3.45
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/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/template.json +16 -0
- package/package.json +27 -3
- package/README.md +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;CAAe,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.HANDLER_MODULE_TEMPLATE = void 0;
|
|
7
|
+
const template_json_1 = __importDefault(require("./template.json"));
|
|
8
|
+
exports.HANDLER_MODULE_TEMPLATE = template_json_1.default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": [
|
|
3
|
+
{
|
|
4
|
+
"path": "index.ts",
|
|
5
|
+
"content": "export const handler = () => {};\n"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"path": "package.json",
|
|
9
|
+
"content": "{\n \"name\": \"@ldsg/handler-module-template\",\n \"version\": \"0.0.0\",\n \"private\": true,\n \"description\": \"\",\n \"license\": \"UNLICENSED\",\n \"files\": [\n \"dist/\"\n ],\n \"main\": \"dist/index.js\",\n \"types\": \"dist\",\n \"scripts\": {\n \"build\": \"tsc\"\n },\n \"dependencies\": {},\n \"devDependencies\": {\n \"@types/express\": \"^4.17.17\",\n \"@types/node\": \"^22.1.0\",\n \"ts-loader\": \"^9.5.1\",\n \"tslib\": \"^2.6.3\",\n \"typescript\": \"^5.5.4\"\n }\n}\n"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"path": "tsconfig.json",
|
|
13
|
+
"content": "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"declaration\": true,\n \"removeComments\": true,\n \"emitDecoratorMetadata\": true,\n \"experimentalDecorators\": true,\n \"allowSyntheticDefaultImports\": true,\n \"target\": \"ES2021\",\n \"sourceMap\": true,\n \"outDir\": \"./dist\",\n \"baseUrl\": \"./\",\n \"incremental\": true,\n \"skipLibCheck\": true,\n \"strictNullChecks\": false,\n \"noImplicitAny\": false,\n \"strictBindCallApply\": false,\n \"forceConsistentCasingInFileNames\": false,\n \"noFallthroughCasesInSwitch\": false,\n \"resolveJsonModule\": true,\n \"esModuleInterop\": true\n },\n \"include\": [\"./index.ts\"]\n}\n"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/handler-module-template-constants",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.3.45",
|
|
4
|
+
"description": "Constants generated from the handler module template",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "wanxger",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/"
|
|
10
|
+
],
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"types": "dist",
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/node": "^20.13.0",
|
|
18
|
+
"oxfmt": "latest",
|
|
19
|
+
"oxlint": "latest",
|
|
20
|
+
"tsx": "^4.19.3",
|
|
21
|
+
"typescript": "^5.8.3"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "npm run clean && npm run generate && tsc --project tsconfig.build.json && npm run format",
|
|
25
|
+
"clean": "rm -rf dist",
|
|
26
|
+
"format": "oxfmt --write src/ scripts/",
|
|
27
|
+
"generate": "tsx scripts/generate.ts",
|
|
28
|
+
"lint": "oxlint src/ scripts/"
|
|
29
|
+
}
|
|
6
30
|
}
|
package/README.md
DELETED