@tailor-platform/create-sdk 1.32.0 → 1.33.0

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,13 @@
1
1
  # @tailor-platform/create-sdk
2
2
 
3
+ ## 1.33.0
4
+
5
+ ## 1.32.1
6
+
7
+ ### Patch Changes
8
+
9
+ - [#826](https://github.com/tailor-platform/sdk/pull/826) [`72c2842`](https://github.com/tailor-platform/sdk/commit/72c2842046b2841571e095e10187339fdf66acd5) Thanks [@toiroakr](https://github.com/toiroakr)! - Bundle `@tailor-platform/function-types` as a dependency of `@tailor-platform/sdk`. Users no longer need to install `@tailor-platform/function-types` separately or add it to their `tsconfig.json` types array. The ambient types are automatically available when importing from `@tailor-platform/sdk`.
10
+
3
11
  ## 1.32.0
4
12
 
5
13
  ## 1.31.0
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.0",
3
+ "version": "1.33.0",
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",
@@ -26,14 +26,14 @@
26
26
  "zod": "4.3.6"
27
27
  },
28
28
  "devDependencies": {
29
- "@eslint/js": "9.39.4",
29
+ "@eslint/js": "10.0.1",
30
30
  "@types/node": "24.12.0",
31
- "eslint": "9.39.4",
32
- "eslint-plugin-oxlint": "1.55.0",
33
- "oxlint": "1.55.0",
31
+ "eslint": "10.1.0",
32
+ "eslint-plugin-oxlint": "1.56.0",
33
+ "oxlint": "1.56.0",
34
34
  "tsdown": "0.21.4",
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",
@@ -14,17 +14,16 @@
14
14
  "typecheck": "tsc --noEmit"
15
15
  },
16
16
  "devDependencies": {
17
- "@eslint/js": "9.39.4",
18
- "@tailor-platform/function-types": "0.8.3",
19
- "@tailor-platform/sdk": "1.32.0",
17
+ "@eslint/js": "10.0.1",
18
+ "@tailor-platform/sdk": "1.33.0",
20
19
  "@types/node": "24.12.0",
21
- "eslint": "9.39.4",
22
- "eslint-plugin-oxlint": "1.55.0",
23
- "oxfmt": "0.40.0",
24
- "oxlint": "1.55.0",
25
- "oxlint-tsgolint": "0.16.0",
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.17.2",
26
25
  "typescript": "5.9.3",
27
- "typescript-eslint": "8.57.1",
28
- "vitest": "4.1.0"
26
+ "typescript-eslint": "8.57.2",
27
+ "vitest": "4.1.1"
29
28
  }
30
29
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }
@@ -14,17 +14,16 @@
14
14
  "typecheck": "tsc --noEmit"
15
15
  },
16
16
  "devDependencies": {
17
- "@eslint/js": "9.39.4",
18
- "@tailor-platform/function-types": "0.8.3",
19
- "@tailor-platform/sdk": "1.32.0",
17
+ "@eslint/js": "10.0.1",
18
+ "@tailor-platform/sdk": "1.33.0",
20
19
  "@types/node": "24.12.0",
21
- "eslint": "9.39.4",
22
- "eslint-plugin-oxlint": "1.55.0",
23
- "oxfmt": "0.40.0",
24
- "oxlint": "1.55.0",
25
- "oxlint-tsgolint": "0.16.0",
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.17.2",
26
25
  "typescript": "5.9.3",
27
- "typescript-eslint": "8.57.1",
28
- "vitest": "4.1.0"
26
+ "typescript-eslint": "8.57.2",
27
+ "vitest": "4.1.1"
29
28
  }
30
29
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }
@@ -12,16 +12,15 @@
12
12
  "typecheck": "tsc --noEmit"
13
13
  },
14
14
  "devDependencies": {
15
- "@eslint/js": "9.39.4",
16
- "@tailor-platform/function-types": "0.8.2",
17
- "@tailor-platform/sdk": "1.32.0",
15
+ "@eslint/js": "10.0.1",
16
+ "@tailor-platform/sdk": "1.33.0",
18
17
  "@types/node": "24.12.0",
19
- "eslint": "9.39.4",
20
- "eslint-plugin-oxlint": "1.55.0",
21
- "oxfmt": "0.40.0",
22
- "oxlint": "1.55.0",
23
- "oxlint-tsgolint": "0.16.0",
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.17.2",
24
23
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.1"
24
+ "typescript-eslint": "8.57.2"
26
25
  }
27
26
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }
@@ -12,16 +12,15 @@
12
12
  "typecheck": "tsc --noEmit"
13
13
  },
14
14
  "devDependencies": {
15
- "@eslint/js": "9.39.4",
16
- "@tailor-platform/function-types": "0.8.3",
17
- "@tailor-platform/sdk": "1.32.0",
15
+ "@eslint/js": "10.0.1",
16
+ "@tailor-platform/sdk": "1.33.0",
18
17
  "@types/node": "24.12.0",
19
- "eslint": "9.39.4",
20
- "eslint-plugin-oxlint": "1.55.0",
21
- "oxfmt": "0.40.0",
22
- "oxlint": "1.55.0",
23
- "oxlint-tsgolint": "0.16.0",
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.17.2",
24
23
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.1"
24
+ "typescript-eslint": "8.57.2"
26
25
  }
27
26
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }
@@ -13,15 +13,15 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "devDependencies": {
16
- "@eslint/js": "9.39.4",
17
- "@tailor-platform/sdk": "1.32.0",
16
+ "@eslint/js": "10.0.1",
17
+ "@tailor-platform/sdk": "1.33.0",
18
18
  "@types/node": "24.12.0",
19
- "eslint": "9.39.4",
20
- "eslint-plugin-oxlint": "1.55.0",
21
- "oxfmt": "0.40.0",
22
- "oxlint": "1.55.0",
23
- "oxlint-tsgolint": "0.16.0",
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.17.2",
24
24
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.1"
25
+ "typescript-eslint": "8.57.2"
26
26
  }
27
27
  }
@@ -16,17 +16,16 @@
16
16
  "typecheck": "tsc --noEmit"
17
17
  },
18
18
  "devDependencies": {
19
- "@eslint/js": "9.39.4",
20
- "@tailor-platform/function-types": "0.8.3",
21
- "@tailor-platform/sdk": "1.32.0",
19
+ "@eslint/js": "10.0.1",
20
+ "@tailor-platform/sdk": "1.33.0",
22
21
  "@types/node": "24.12.0",
23
- "eslint": "9.39.4",
24
- "eslint-plugin-oxlint": "1.55.0",
25
- "oxfmt": "0.40.0",
26
- "oxlint": "1.55.0",
27
- "oxlint-tsgolint": "0.16.0",
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.17.2",
28
27
  "typescript": "5.9.3",
29
- "typescript-eslint": "8.57.1",
30
- "vitest": "4.1.0"
28
+ "typescript-eslint": "8.57.2",
29
+ "vitest": "4.1.1"
31
30
  }
32
31
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }
@@ -12,16 +12,15 @@
12
12
  "typecheck": "tsc --noEmit"
13
13
  },
14
14
  "devDependencies": {
15
- "@eslint/js": "9.39.4",
16
- "@tailor-platform/function-types": "0.8.3",
17
- "@tailor-platform/sdk": "1.32.0",
15
+ "@eslint/js": "10.0.1",
16
+ "@tailor-platform/sdk": "1.33.0",
18
17
  "@types/node": "24.12.0",
19
- "eslint": "9.39.4",
20
- "eslint-plugin-oxlint": "1.55.0",
21
- "oxfmt": "0.40.0",
22
- "oxlint": "1.55.0",
23
- "oxlint-tsgolint": "0.16.0",
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.17.2",
24
23
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.1"
24
+ "typescript-eslint": "8.57.2"
26
25
  }
27
26
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }
@@ -14,17 +14,16 @@
14
14
  "typecheck": "tsc --noEmit"
15
15
  },
16
16
  "devDependencies": {
17
- "@eslint/js": "9.39.4",
18
- "@tailor-platform/function-types": "0.8.3",
19
- "@tailor-platform/sdk": "1.32.0",
17
+ "@eslint/js": "10.0.1",
18
+ "@tailor-platform/sdk": "1.33.0",
20
19
  "@types/node": "24.12.0",
21
- "eslint": "9.39.4",
22
- "eslint-plugin-oxlint": "1.55.0",
23
- "oxfmt": "0.40.0",
24
- "oxlint": "1.55.0",
25
- "oxlint-tsgolint": "0.16.0",
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.17.2",
26
25
  "typescript": "5.9.3",
27
- "typescript-eslint": "8.57.1",
28
- "vitest": "4.1.0"
26
+ "typescript-eslint": "8.57.2",
27
+ "vitest": "4.1.1"
29
28
  }
30
29
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }
@@ -17,19 +17,18 @@
17
17
  "typecheck": "tsc --noEmit"
18
18
  },
19
19
  "devDependencies": {
20
- "@eslint/js": "9.39.4",
21
- "@tailor-platform/function-types": "0.8.3",
22
- "@tailor-platform/sdk": "1.32.0",
20
+ "@eslint/js": "10.0.1",
21
+ "@tailor-platform/sdk": "1.33.0",
23
22
  "@types/node": "24.12.0",
24
- "eslint": "9.39.4",
25
- "eslint-plugin-oxlint": "1.55.0",
23
+ "eslint": "10.1.0",
24
+ "eslint-plugin-oxlint": "1.56.0",
26
25
  "graphql": "16.13.1",
27
26
  "graphql-request": "7.4.0",
28
- "oxfmt": "0.40.0",
29
- "oxlint": "1.55.0",
30
- "oxlint-tsgolint": "0.16.0",
27
+ "oxfmt": "0.41.0",
28
+ "oxlint": "1.56.0",
29
+ "oxlint-tsgolint": "0.17.2",
31
30
  "typescript": "5.9.3",
32
- "typescript-eslint": "8.57.1",
33
- "vitest": "4.1.0"
31
+ "typescript-eslint": "8.57.2",
32
+ "vitest": "4.1.1"
34
33
  }
35
34
  }
@@ -10,7 +10,7 @@
10
10
  "noEmit": true,
11
11
  "skipLibCheck": true,
12
12
  "resolveJsonModule": true,
13
- "types": ["node", "@tailor-platform/function-types"]
13
+ "types": ["node"]
14
14
  },
15
15
  "include": ["**/*.ts"]
16
16
  }