@mxpicture/gcp-functions-common 0.2.4 → 0.2.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.
@@ -28,7 +28,7 @@ export const wsPaths = {
28
28
  [WsPathType.fs]: join(packagesDir, WsPathType.fs),
29
29
  [WsPathType.generator]: join(packagesDir, WsPathType.generator),
30
30
  };
31
- export const changelogPath = join(wsPaths.code, "changelog.json");
31
+ export const changelogPath = join(basePaths.root, "changelog.json");
32
32
  export const packageJsonPath = (type) => join(wsPaths[type], "package.json");
33
33
  export const createCurrentWsPaths = (currentPath) => {
34
34
  const res = isAbsolute(currentPath)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxpicture/gcp-functions-common",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "Utils for google cloud functions, publishing both CommonJS and ESM builds",
5
5
  "type": "module",
6
6
  "author": "MXPicture",
@@ -11,11 +11,10 @@
11
11
  },
12
12
  "exports": {
13
13
  "./config": "./dist/config/index.js",
14
- "./types": "./dist/types/index.js",
15
- "./zod": "./dist/zod/index.js",
16
14
  "./helper": "./dist/helper/index.js",
17
15
  "./meta": "./dist/meta/index.js",
18
16
  "./path": "./dist/path/index.js",
17
+ "./types": "./dist/types/index.js",
19
18
  "./package.json": "./package.json"
20
19
  },
21
20
  "files": [
@@ -25,14 +24,13 @@
25
24
  "node": ">=22"
26
25
  },
27
26
  "scripts": {
28
- "clean": "rm -rf dist .tsbuildinfo tsconfig.tsbuildinfo node_modules",
29
27
  "lint": "eslint \"src/**/*.{ts,tsx}\" --ext .ts,.tsx",
30
28
  "build": "tsc -b ."
31
29
  },
32
30
  "publishConfig": {
33
31
  "access": "public"
34
32
  },
35
- "dependencies": {
36
- "zod": "^4.3.6"
33
+ "devDependencies": {
34
+ "typescript": "^5.9.3"
37
35
  }
38
36
  }
@@ -1 +0,0 @@
1
- export * from "./zod.document.js";
package/dist/zod/index.js DELETED
@@ -1,2 +0,0 @@
1
- // This file is auto-generated. Do not edit manually.
2
- export * from "./zod.document.js";
@@ -1,15 +0,0 @@
1
- import { z } from "zod";
2
- export declare const documentKeyShape: {
3
- id: z.ZodString;
4
- };
5
- export declare const documentKeySchema: z.ZodObject<{
6
- id: z.ZodString;
7
- }, z.core.$strip>;
8
- export declare const documentAdminShape: {
9
- createTime: z.ZodOptional<z.ZodDate>;
10
- updateTime: z.ZodOptional<z.ZodDate>;
11
- };
12
- export declare const documentAdminSchema: z.ZodObject<{
13
- createTime: z.ZodOptional<z.ZodDate>;
14
- updateTime: z.ZodOptional<z.ZodDate>;
15
- }, z.core.$strip>;
@@ -1,11 +0,0 @@
1
- // to be manually synced with corresponding types.*.ts file
2
- import { z } from "zod";
3
- export const documentKeyShape = {
4
- id: z.string(),
5
- };
6
- export const documentKeySchema = z.object(documentKeyShape);
7
- export const documentAdminShape = {
8
- createTime: z.date().optional(),
9
- updateTime: z.date().optional(),
10
- };
11
- export const documentAdminSchema = z.object(documentAdminShape);