@tailor-platform/create-sdk 1.32.1 → 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 +2 -0
- package/dist/index.js +1 -0
- package/package.json +3 -3
- package/templates/executor/package.json +4 -4
- package/templates/generators/package.json +4 -4
- package/templates/hello-world/package.json +3 -3
- package/templates/inventory-management/package.json +3 -3
- package/templates/multi-application/package.json +3 -3
- package/templates/resolver/package.json +4 -4
- package/templates/static-web-site/package.json +3 -3
- package/templates/tailordb/package.json +4 -4
- package/templates/workflow/package.json +4 -4
package/CHANGELOG.md
CHANGED
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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
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",
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@eslint/js": "10.0.1",
|
|
18
|
-
"@tailor-platform/sdk": "1.
|
|
18
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
19
19
|
"@types/node": "24.12.0",
|
|
20
20
|
"eslint": "10.1.0",
|
|
21
21
|
"eslint-plugin-oxlint": "1.56.0",
|
|
22
22
|
"oxfmt": "0.41.0",
|
|
23
23
|
"oxlint": "1.56.0",
|
|
24
|
-
"oxlint-tsgolint": "0.
|
|
24
|
+
"oxlint-tsgolint": "0.17.2",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
|
-
"typescript-eslint": "8.57.
|
|
27
|
-
"vitest": "4.1.
|
|
26
|
+
"typescript-eslint": "8.57.2",
|
|
27
|
+
"vitest": "4.1.1"
|
|
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.
|
|
18
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
19
19
|
"@types/node": "24.12.0",
|
|
20
20
|
"eslint": "10.1.0",
|
|
21
21
|
"eslint-plugin-oxlint": "1.56.0",
|
|
22
22
|
"oxfmt": "0.41.0",
|
|
23
23
|
"oxlint": "1.56.0",
|
|
24
|
-
"oxlint-tsgolint": "0.
|
|
24
|
+
"oxlint-tsgolint": "0.17.2",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
|
-
"typescript-eslint": "8.57.
|
|
27
|
-
"vitest": "4.1.
|
|
26
|
+
"typescript-eslint": "8.57.2",
|
|
27
|
+
"vitest": "4.1.1"
|
|
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.
|
|
16
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
17
17
|
"@types/node": "24.12.0",
|
|
18
18
|
"eslint": "10.1.0",
|
|
19
19
|
"eslint-plugin-oxlint": "1.56.0",
|
|
20
20
|
"oxfmt": "0.41.0",
|
|
21
21
|
"oxlint": "1.56.0",
|
|
22
|
-
"oxlint-tsgolint": "0.
|
|
22
|
+
"oxlint-tsgolint": "0.17.2",
|
|
23
23
|
"typescript": "5.9.3",
|
|
24
|
-
"typescript-eslint": "8.57.
|
|
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.
|
|
16
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
17
17
|
"@types/node": "24.12.0",
|
|
18
18
|
"eslint": "10.1.0",
|
|
19
19
|
"eslint-plugin-oxlint": "1.56.0",
|
|
20
20
|
"oxfmt": "0.41.0",
|
|
21
21
|
"oxlint": "1.56.0",
|
|
22
|
-
"oxlint-tsgolint": "0.
|
|
22
|
+
"oxlint-tsgolint": "0.17.2",
|
|
23
23
|
"typescript": "5.9.3",
|
|
24
|
-
"typescript-eslint": "8.57.
|
|
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.
|
|
17
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
18
18
|
"@types/node": "24.12.0",
|
|
19
19
|
"eslint": "10.1.0",
|
|
20
20
|
"eslint-plugin-oxlint": "1.56.0",
|
|
21
21
|
"oxfmt": "0.41.0",
|
|
22
22
|
"oxlint": "1.56.0",
|
|
23
|
-
"oxlint-tsgolint": "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
|
}
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@eslint/js": "10.0.1",
|
|
20
|
-
"@tailor-platform/sdk": "1.
|
|
20
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
21
21
|
"@types/node": "24.12.0",
|
|
22
22
|
"eslint": "10.1.0",
|
|
23
23
|
"eslint-plugin-oxlint": "1.56.0",
|
|
24
24
|
"oxfmt": "0.41.0",
|
|
25
25
|
"oxlint": "1.56.0",
|
|
26
|
-
"oxlint-tsgolint": "0.
|
|
26
|
+
"oxlint-tsgolint": "0.17.2",
|
|
27
27
|
"typescript": "5.9.3",
|
|
28
|
-
"typescript-eslint": "8.57.
|
|
29
|
-
"vitest": "4.1.
|
|
28
|
+
"typescript-eslint": "8.57.2",
|
|
29
|
+
"vitest": "4.1.1"
|
|
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.
|
|
16
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
17
17
|
"@types/node": "24.12.0",
|
|
18
18
|
"eslint": "10.1.0",
|
|
19
19
|
"eslint-plugin-oxlint": "1.56.0",
|
|
20
20
|
"oxfmt": "0.41.0",
|
|
21
21
|
"oxlint": "1.56.0",
|
|
22
|
-
"oxlint-tsgolint": "0.
|
|
22
|
+
"oxlint-tsgolint": "0.17.2",
|
|
23
23
|
"typescript": "5.9.3",
|
|
24
|
-
"typescript-eslint": "8.57.
|
|
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.
|
|
18
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
19
19
|
"@types/node": "24.12.0",
|
|
20
20
|
"eslint": "10.1.0",
|
|
21
21
|
"eslint-plugin-oxlint": "1.56.0",
|
|
22
22
|
"oxfmt": "0.41.0",
|
|
23
23
|
"oxlint": "1.56.0",
|
|
24
|
-
"oxlint-tsgolint": "0.
|
|
24
|
+
"oxlint-tsgolint": "0.17.2",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
|
-
"typescript-eslint": "8.57.
|
|
27
|
-
"vitest": "4.1.
|
|
26
|
+
"typescript-eslint": "8.57.2",
|
|
27
|
+
"vitest": "4.1.1"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/js": "10.0.1",
|
|
21
|
-
"@tailor-platform/sdk": "1.
|
|
21
|
+
"@tailor-platform/sdk": "1.33.0",
|
|
22
22
|
"@types/node": "24.12.0",
|
|
23
23
|
"eslint": "10.1.0",
|
|
24
24
|
"eslint-plugin-oxlint": "1.56.0",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"graphql-request": "7.4.0",
|
|
27
27
|
"oxfmt": "0.41.0",
|
|
28
28
|
"oxlint": "1.56.0",
|
|
29
|
-
"oxlint-tsgolint": "0.
|
|
29
|
+
"oxlint-tsgolint": "0.17.2",
|
|
30
30
|
"typescript": "5.9.3",
|
|
31
|
-
"typescript-eslint": "8.57.
|
|
32
|
-
"vitest": "4.1.
|
|
31
|
+
"typescript-eslint": "8.57.2",
|
|
32
|
+
"vitest": "4.1.1"
|
|
33
33
|
}
|
|
34
34
|
}
|