jh-be-tools 1.0.49 → 1.0.50
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.
|
@@ -6,7 +6,9 @@ if (!fs.existsSync("./package-data/dist")) {
|
|
|
6
6
|
const jsLineOne = `Object.defineProperty(exports, "__esModule", { value: true });\n`;
|
|
7
7
|
const jsLineTwo = `__exportStar(require("./client-functions"), exports);\n`;
|
|
8
8
|
const jsLineThree = `__exportStar(require("./types/types"), exports);\n`;
|
|
9
|
-
|
|
9
|
+
const jsLineFour = `__exportStar(require("./types/zod"), exports);\n`;
|
|
10
|
+
fs.writeFileSync("./dist/index.js", `${jsLineOne}${jsLineTwo}${jsLineThree}${jsLineFour}`);
|
|
10
11
|
const tsLineOne = `export * from './package-data/client-functions';\n`;
|
|
11
12
|
const tsLineTwo = `export * from './package-data/types/types';\n`;
|
|
12
|
-
|
|
13
|
+
const tsLineThree = `export * from './package-data/types/zod';\n`;
|
|
14
|
+
fs.writeFileSync("./dist/index.d.ts", `${tsLineOne}${tsLineTwo}${tsLineThree}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jh-be-tools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"typescript-eslint": "^8.35.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"axios": "^1.
|
|
22
|
+
"axios": "^1.10.0",
|
|
23
23
|
"express": "^5.1.0",
|
|
24
24
|
"zod": "^3.25.67"
|
|
25
25
|
},
|