@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 +8 -0
- package/dist/index.js +1 -0
- package/package.json +7 -7
- package/templates/executor/package.json +9 -10
- package/templates/executor/tsconfig.json +1 -1
- package/templates/generators/package.json +9 -10
- package/templates/generators/tsconfig.json +1 -1
- package/templates/hello-world/package.json +8 -9
- package/templates/hello-world/tsconfig.json +1 -1
- package/templates/inventory-management/package.json +8 -9
- package/templates/inventory-management/tsconfig.json +1 -1
- package/templates/multi-application/package.json +8 -8
- package/templates/resolver/package.json +9 -10
- package/templates/resolver/tsconfig.json +1 -1
- package/templates/static-web-site/package.json +8 -9
- package/templates/static-web-site/tsconfig.json +1 -1
- package/templates/tailordb/package.json +9 -10
- package/templates/tailordb/tsconfig.json +1 -1
- package/templates/workflow/package.json +9 -10
- package/templates/workflow/tsconfig.json +1 -1
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.
|
|
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": "
|
|
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": "
|
|
29
|
+
"@eslint/js": "10.0.1",
|
|
30
30
|
"@types/node": "24.12.0",
|
|
31
|
-
"eslint": "
|
|
32
|
-
"eslint-plugin-oxlint": "1.
|
|
33
|
-
"oxlint": "1.
|
|
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.
|
|
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": "
|
|
18
|
-
"@tailor-platform/
|
|
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": "
|
|
22
|
-
"eslint-plugin-oxlint": "1.
|
|
23
|
-
"oxfmt": "0.
|
|
24
|
-
"oxlint": "1.
|
|
25
|
-
"oxlint-tsgolint": "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.
|
|
28
|
-
"vitest": "4.1.
|
|
26
|
+
"typescript-eslint": "8.57.2",
|
|
27
|
+
"vitest": "4.1.1"
|
|
29
28
|
}
|
|
30
29
|
}
|
|
@@ -14,17 +14,16 @@
|
|
|
14
14
|
"typecheck": "tsc --noEmit"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@eslint/js": "
|
|
18
|
-
"@tailor-platform/
|
|
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": "
|
|
22
|
-
"eslint-plugin-oxlint": "1.
|
|
23
|
-
"oxfmt": "0.
|
|
24
|
-
"oxlint": "1.
|
|
25
|
-
"oxlint-tsgolint": "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.
|
|
28
|
-
"vitest": "4.1.
|
|
26
|
+
"typescript-eslint": "8.57.2",
|
|
27
|
+
"vitest": "4.1.1"
|
|
29
28
|
}
|
|
30
29
|
}
|
|
@@ -12,16 +12,15 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@eslint/js": "
|
|
16
|
-
"@tailor-platform/
|
|
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": "
|
|
20
|
-
"eslint-plugin-oxlint": "1.
|
|
21
|
-
"oxfmt": "0.
|
|
22
|
-
"oxlint": "1.
|
|
23
|
-
"oxlint-tsgolint": "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.
|
|
24
|
+
"typescript-eslint": "8.57.2"
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -12,16 +12,15 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@eslint/js": "
|
|
16
|
-
"@tailor-platform/
|
|
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": "
|
|
20
|
-
"eslint-plugin-oxlint": "1.
|
|
21
|
-
"oxfmt": "0.
|
|
22
|
-
"oxlint": "1.
|
|
23
|
-
"oxlint-tsgolint": "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.
|
|
24
|
+
"typescript-eslint": "8.57.2"
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@eslint/js": "
|
|
17
|
-
"@tailor-platform/sdk": "1.
|
|
16
|
+
"@eslint/js": "10.0.1",
|
|
17
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
18
18
|
"@types/node": "24.12.0",
|
|
19
|
-
"eslint": "
|
|
20
|
-
"eslint-plugin-oxlint": "1.
|
|
21
|
-
"oxfmt": "0.
|
|
22
|
-
"oxlint": "1.
|
|
23
|
-
"oxlint-tsgolint": "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.
|
|
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": "
|
|
20
|
-
"@tailor-platform/
|
|
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": "
|
|
24
|
-
"eslint-plugin-oxlint": "1.
|
|
25
|
-
"oxfmt": "0.
|
|
26
|
-
"oxlint": "1.
|
|
27
|
-
"oxlint-tsgolint": "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.
|
|
30
|
-
"vitest": "4.1.
|
|
28
|
+
"typescript-eslint": "8.57.2",
|
|
29
|
+
"vitest": "4.1.1"
|
|
31
30
|
}
|
|
32
31
|
}
|
|
@@ -12,16 +12,15 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@eslint/js": "
|
|
16
|
-
"@tailor-platform/
|
|
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": "
|
|
20
|
-
"eslint-plugin-oxlint": "1.
|
|
21
|
-
"oxfmt": "0.
|
|
22
|
-
"oxlint": "1.
|
|
23
|
-
"oxlint-tsgolint": "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.
|
|
24
|
+
"typescript-eslint": "8.57.2"
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -14,17 +14,16 @@
|
|
|
14
14
|
"typecheck": "tsc --noEmit"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@eslint/js": "
|
|
18
|
-
"@tailor-platform/
|
|
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": "
|
|
22
|
-
"eslint-plugin-oxlint": "1.
|
|
23
|
-
"oxfmt": "0.
|
|
24
|
-
"oxlint": "1.
|
|
25
|
-
"oxlint-tsgolint": "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.
|
|
28
|
-
"vitest": "4.1.
|
|
26
|
+
"typescript-eslint": "8.57.2",
|
|
27
|
+
"vitest": "4.1.1"
|
|
29
28
|
}
|
|
30
29
|
}
|
|
@@ -17,19 +17,18 @@
|
|
|
17
17
|
"typecheck": "tsc --noEmit"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@eslint/js": "
|
|
21
|
-
"@tailor-platform/
|
|
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": "
|
|
25
|
-
"eslint-plugin-oxlint": "1.
|
|
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.
|
|
29
|
-
"oxlint": "1.
|
|
30
|
-
"oxlint-tsgolint": "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.
|
|
33
|
-
"vitest": "4.1.
|
|
31
|
+
"typescript-eslint": "8.57.2",
|
|
32
|
+
"vitest": "4.1.1"
|
|
34
33
|
}
|
|
35
34
|
}
|