@tailor-platform/create-sdk 1.32.1 → 1.33.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @tailor-platform/create-sdk
2
2
 
3
+ ## 1.33.1
4
+
5
+ ## 1.33.0
6
+
3
7
  ## 1.32.1
4
8
 
5
9
  ### Patch Changes
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ const templateHints = {
26
26
  generators: "Built-in generators: kysely, enums, files, seed"
27
27
  };
28
28
  const validateName = (name) => {
29
+ if (!name) return "Project name is required.";
29
30
  if (name.length < 3 || name.length > 30) return "Project name must be between 3 and 30 characters long.";
30
31
  if (!/^[a-z0-9-]+$/.test(name)) return "Project name can only contain lowercase letters, numbers, and hyphens.";
31
32
  if (name.startsWith("-") || name.endsWith("-")) return "Project name cannot start or end with a hyphen.";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/create-sdk",
3
- "version": "1.32.1",
3
+ "version": "1.33.1",
4
4
  "description": "A CLI tool to quickly create a new Tailor Platform SDK project",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "type": "module",
20
20
  "dependencies": {
21
- "@clack/prompts": "0.11.0",
21
+ "@clack/prompts": "1.1.0",
22
22
  "execa": "9.6.1",
23
23
  "picocolors": "1.1.1",
24
24
  "pkg-types": "2.3.0",
@@ -29,11 +29,11 @@
29
29
  "@eslint/js": "10.0.1",
30
30
  "@types/node": "24.12.0",
31
31
  "eslint": "10.1.0",
32
- "eslint-plugin-oxlint": "1.56.0",
33
- "oxlint": "1.56.0",
34
- "tsdown": "0.21.4",
32
+ "eslint-plugin-oxlint": "1.57.0",
33
+ "oxlint": "1.57.0",
34
+ "tsdown": "0.21.7",
35
35
  "typescript": "5.9.3",
36
- "typescript-eslint": "8.57.1"
36
+ "typescript-eslint": "8.57.2"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsdown",
@@ -15,15 +15,15 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "10.0.1",
18
- "@tailor-platform/sdk": "1.32.1",
18
+ "@tailor-platform/sdk": "1.33.1",
19
19
  "@types/node": "24.12.0",
20
20
  "eslint": "10.1.0",
21
- "eslint-plugin-oxlint": "1.56.0",
22
- "oxfmt": "0.41.0",
23
- "oxlint": "1.56.0",
24
- "oxlint-tsgolint": "0.16.0",
21
+ "eslint-plugin-oxlint": "1.57.0",
22
+ "oxfmt": "0.42.0",
23
+ "oxlint": "1.57.0",
24
+ "oxlint-tsgolint": "0.18.1",
25
25
  "typescript": "5.9.3",
26
- "typescript-eslint": "8.57.1",
27
- "vitest": "4.1.0"
26
+ "typescript-eslint": "8.57.2",
27
+ "vitest": "4.1.2"
28
28
  }
29
29
  }
@@ -15,15 +15,15 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "10.0.1",
18
- "@tailor-platform/sdk": "1.32.1",
18
+ "@tailor-platform/sdk": "1.33.1",
19
19
  "@types/node": "24.12.0",
20
20
  "eslint": "10.1.0",
21
- "eslint-plugin-oxlint": "1.56.0",
22
- "oxfmt": "0.41.0",
23
- "oxlint": "1.56.0",
24
- "oxlint-tsgolint": "0.16.0",
21
+ "eslint-plugin-oxlint": "1.57.0",
22
+ "oxfmt": "0.42.0",
23
+ "oxlint": "1.57.0",
24
+ "oxlint-tsgolint": "0.18.1",
25
25
  "typescript": "5.9.3",
26
- "typescript-eslint": "8.57.1",
27
- "vitest": "4.1.0"
26
+ "typescript-eslint": "8.57.2",
27
+ "vitest": "4.1.2"
28
28
  }
29
29
  }
@@ -13,14 +13,14 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@eslint/js": "10.0.1",
16
- "@tailor-platform/sdk": "1.32.1",
16
+ "@tailor-platform/sdk": "1.33.1",
17
17
  "@types/node": "24.12.0",
18
18
  "eslint": "10.1.0",
19
- "eslint-plugin-oxlint": "1.56.0",
20
- "oxfmt": "0.41.0",
21
- "oxlint": "1.56.0",
22
- "oxlint-tsgolint": "0.16.0",
19
+ "eslint-plugin-oxlint": "1.57.0",
20
+ "oxfmt": "0.42.0",
21
+ "oxlint": "1.57.0",
22
+ "oxlint-tsgolint": "0.18.1",
23
23
  "typescript": "5.9.3",
24
- "typescript-eslint": "8.57.1"
24
+ "typescript-eslint": "8.57.2"
25
25
  }
26
26
  }
@@ -13,14 +13,14 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@eslint/js": "10.0.1",
16
- "@tailor-platform/sdk": "1.32.1",
16
+ "@tailor-platform/sdk": "1.33.1",
17
17
  "@types/node": "24.12.0",
18
18
  "eslint": "10.1.0",
19
- "eslint-plugin-oxlint": "1.56.0",
20
- "oxfmt": "0.41.0",
21
- "oxlint": "1.56.0",
22
- "oxlint-tsgolint": "0.16.0",
19
+ "eslint-plugin-oxlint": "1.57.0",
20
+ "oxfmt": "0.42.0",
21
+ "oxlint": "1.57.0",
22
+ "oxlint-tsgolint": "0.18.1",
23
23
  "typescript": "5.9.3",
24
- "typescript-eslint": "8.57.1"
24
+ "typescript-eslint": "8.57.2"
25
25
  }
26
26
  }
@@ -14,14 +14,14 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@eslint/js": "10.0.1",
17
- "@tailor-platform/sdk": "1.32.1",
17
+ "@tailor-platform/sdk": "1.33.1",
18
18
  "@types/node": "24.12.0",
19
19
  "eslint": "10.1.0",
20
- "eslint-plugin-oxlint": "1.56.0",
21
- "oxfmt": "0.41.0",
22
- "oxlint": "1.56.0",
23
- "oxlint-tsgolint": "0.16.0",
20
+ "eslint-plugin-oxlint": "1.57.0",
21
+ "oxfmt": "0.42.0",
22
+ "oxlint": "1.57.0",
23
+ "oxlint-tsgolint": "0.18.1",
24
24
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.1"
25
+ "typescript-eslint": "8.57.2"
26
26
  }
27
27
  }
@@ -17,15 +17,15 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@eslint/js": "10.0.1",
20
- "@tailor-platform/sdk": "1.32.1",
20
+ "@tailor-platform/sdk": "1.33.1",
21
21
  "@types/node": "24.12.0",
22
22
  "eslint": "10.1.0",
23
- "eslint-plugin-oxlint": "1.56.0",
24
- "oxfmt": "0.41.0",
25
- "oxlint": "1.56.0",
26
- "oxlint-tsgolint": "0.16.0",
23
+ "eslint-plugin-oxlint": "1.57.0",
24
+ "oxfmt": "0.42.0",
25
+ "oxlint": "1.57.0",
26
+ "oxlint-tsgolint": "0.18.1",
27
27
  "typescript": "5.9.3",
28
- "typescript-eslint": "8.57.1",
29
- "vitest": "4.1.0"
28
+ "typescript-eslint": "8.57.2",
29
+ "vitest": "4.1.2"
30
30
  }
31
31
  }
@@ -13,14 +13,14 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@eslint/js": "10.0.1",
16
- "@tailor-platform/sdk": "1.32.1",
16
+ "@tailor-platform/sdk": "1.33.1",
17
17
  "@types/node": "24.12.0",
18
18
  "eslint": "10.1.0",
19
- "eslint-plugin-oxlint": "1.56.0",
20
- "oxfmt": "0.41.0",
21
- "oxlint": "1.56.0",
22
- "oxlint-tsgolint": "0.16.0",
19
+ "eslint-plugin-oxlint": "1.57.0",
20
+ "oxfmt": "0.42.0",
21
+ "oxlint": "1.57.0",
22
+ "oxlint-tsgolint": "0.18.1",
23
23
  "typescript": "5.9.3",
24
- "typescript-eslint": "8.57.1"
24
+ "typescript-eslint": "8.57.2"
25
25
  }
26
26
  }
@@ -15,15 +15,15 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "10.0.1",
18
- "@tailor-platform/sdk": "1.32.1",
18
+ "@tailor-platform/sdk": "1.33.1",
19
19
  "@types/node": "24.12.0",
20
20
  "eslint": "10.1.0",
21
- "eslint-plugin-oxlint": "1.56.0",
22
- "oxfmt": "0.41.0",
23
- "oxlint": "1.56.0",
24
- "oxlint-tsgolint": "0.16.0",
21
+ "eslint-plugin-oxlint": "1.57.0",
22
+ "oxfmt": "0.42.0",
23
+ "oxlint": "1.57.0",
24
+ "oxlint-tsgolint": "0.18.1",
25
25
  "typescript": "5.9.3",
26
- "typescript-eslint": "8.57.1",
27
- "vitest": "4.1.0"
26
+ "typescript-eslint": "8.57.2",
27
+ "vitest": "4.1.2"
28
28
  }
29
29
  }
@@ -2,6 +2,7 @@ import {
2
2
  createGetDB,
3
3
  type Generated,
4
4
  type Timestamp,
5
+ type ObjectColumnType,
5
6
  type NamespaceDB,
6
7
  type NamespaceInsertable,
7
8
  type NamespaceSelectable,
@@ -25,11 +26,11 @@ export interface Namespace {
25
26
  body: string;
26
27
  taskId: string;
27
28
  authorId: string;
28
- metadata: {
29
+ metadata: ObjectColumnType<{
29
30
  source: string;
30
- editedAt: Timestamp | null;
31
+ editedAt?: Timestamp | null;
31
32
  isInternal: boolean;
32
- };
33
+ }>;
33
34
  createdAt: Generated<Timestamp>;
34
35
  updatedAt: Timestamp | null;
35
36
  }
@@ -18,17 +18,17 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@eslint/js": "10.0.1",
21
- "@tailor-platform/sdk": "1.32.1",
21
+ "@tailor-platform/sdk": "1.33.1",
22
22
  "@types/node": "24.12.0",
23
23
  "eslint": "10.1.0",
24
- "eslint-plugin-oxlint": "1.56.0",
25
- "graphql": "16.13.1",
24
+ "eslint-plugin-oxlint": "1.57.0",
25
+ "graphql": "16.13.2",
26
26
  "graphql-request": "7.4.0",
27
- "oxfmt": "0.41.0",
28
- "oxlint": "1.56.0",
29
- "oxlint-tsgolint": "0.16.0",
27
+ "oxfmt": "0.42.0",
28
+ "oxlint": "1.57.0",
29
+ "oxlint-tsgolint": "0.18.1",
30
30
  "typescript": "5.9.3",
31
- "typescript-eslint": "8.57.1",
32
- "vitest": "4.1.0"
31
+ "typescript-eslint": "8.57.2",
32
+ "vitest": "4.1.2"
33
33
  }
34
34
  }