@tailor-platform/create-sdk 1.45.1 → 1.46.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 +4 -0
- package/package.json +4 -4
- package/templates/executor/package.json +5 -5
- package/templates/executor/tailor.d.ts +1 -1
- package/templates/generators/package.json +5 -5
- package/templates/generators/tailor.d.ts +1 -1
- package/templates/hello-world/package.json +5 -5
- package/templates/hello-world/tailor.d.ts +1 -1
- package/templates/inventory-management/package.json +5 -5
- package/templates/inventory-management/tailor.d.ts +1 -1
- package/templates/multi-application/package.json +6 -6
- package/templates/resolver/package.json +6 -6
- package/templates/resolver/tailor.d.ts +1 -1
- package/templates/static-web-site/package.json +5 -5
- package/templates/static-web-site/tailor.d.ts +1 -1
- package/templates/tailordb/package.json +5 -5
- package/templates/tailordb/tailor.d.ts +1 -1
- package/templates/workflow/e2e/globalSetup.ts +2 -2
- package/templates/workflow/package.json +6 -6
- package/templates/workflow/tailor.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/create-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.46.0",
|
|
4
4
|
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"@clack/prompts": "1.2.0",
|
|
22
22
|
"execa": "9.6.1",
|
|
23
23
|
"picocolors": "1.1.1",
|
|
24
|
-
"pkg-types": "2.3.
|
|
24
|
+
"pkg-types": "2.3.1",
|
|
25
25
|
"politty": "0.4.15",
|
|
26
26
|
"zod": "4.3.6"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@eslint/js": "10.0.1",
|
|
30
30
|
"@types/node": "24.12.2",
|
|
31
|
-
"eslint": "10.
|
|
31
|
+
"eslint": "10.3.0",
|
|
32
32
|
"eslint-plugin-oxlint": "1.61.0",
|
|
33
33
|
"oxlint": "1.61.0",
|
|
34
34
|
"tsdown": "0.21.10",
|
|
35
35
|
"typescript": "5.9.3",
|
|
36
|
-
"typescript-eslint": "8.59.
|
|
36
|
+
"typescript-eslint": "8.59.1"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsdown",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "tailor-sdk generate",
|
|
7
|
-
"deploy": "tailor-sdk
|
|
7
|
+
"deploy": "tailor-sdk deploy",
|
|
8
8
|
"test": "vitest --project unit",
|
|
9
9
|
"test:unit": "vitest --project unit",
|
|
10
10
|
"format": "oxfmt --write .",
|
|
@@ -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.46.0",
|
|
19
19
|
"@types/node": "24.12.2",
|
|
20
|
-
"eslint": "10.
|
|
20
|
+
"eslint": "10.3.0",
|
|
21
21
|
"eslint-plugin-oxlint": "1.61.0",
|
|
22
22
|
"oxfmt": "0.46.0",
|
|
23
23
|
"oxlint": "1.61.0",
|
|
24
|
-
"oxlint-tsgolint": "0.22.
|
|
24
|
+
"oxlint-tsgolint": "0.22.1",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
|
-
"typescript-eslint": "8.59.
|
|
26
|
+
"typescript-eslint": "8.59.1",
|
|
27
27
|
"vitest": "4.1.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "tailor-sdk generate",
|
|
7
|
-
"deploy": "tailor-sdk
|
|
7
|
+
"deploy": "tailor-sdk deploy",
|
|
8
8
|
"test": "vitest --project unit",
|
|
9
9
|
"test:unit": "vitest --project unit",
|
|
10
10
|
"format": "oxfmt --write .",
|
|
@@ -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.46.0",
|
|
19
19
|
"@types/node": "24.12.2",
|
|
20
|
-
"eslint": "10.
|
|
20
|
+
"eslint": "10.3.0",
|
|
21
21
|
"eslint-plugin-oxlint": "1.61.0",
|
|
22
22
|
"oxfmt": "0.46.0",
|
|
23
23
|
"oxlint": "1.61.0",
|
|
24
|
-
"oxlint-tsgolint": "0.22.
|
|
24
|
+
"oxlint-tsgolint": "0.22.1",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
|
-
"typescript-eslint": "8.59.
|
|
26
|
+
"typescript-eslint": "8.59.1",
|
|
27
27
|
"vitest": "4.1.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"deploy": "tailor-sdk
|
|
6
|
+
"deploy": "tailor-sdk deploy",
|
|
7
7
|
"generate": "tailor-sdk generate",
|
|
8
8
|
"format": "oxfmt --write .",
|
|
9
9
|
"format:check": "oxfmt --check .",
|
|
@@ -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.46.0",
|
|
17
17
|
"@types/node": "24.12.2",
|
|
18
|
-
"eslint": "10.
|
|
18
|
+
"eslint": "10.3.0",
|
|
19
19
|
"eslint-plugin-oxlint": "1.61.0",
|
|
20
20
|
"oxfmt": "0.46.0",
|
|
21
21
|
"oxlint": "1.61.0",
|
|
22
|
-
"oxlint-tsgolint": "0.22.
|
|
22
|
+
"oxlint-tsgolint": "0.22.1",
|
|
23
23
|
"typescript": "5.9.3",
|
|
24
|
-
"typescript-eslint": "8.59.
|
|
24
|
+
"typescript-eslint": "8.59.1"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"deploy": "tailor-sdk
|
|
6
|
+
"deploy": "tailor-sdk deploy",
|
|
7
7
|
"generate": "tailor-sdk generate",
|
|
8
8
|
"format": "oxfmt --write .",
|
|
9
9
|
"format:check": "oxfmt --check .",
|
|
@@ -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.46.0",
|
|
17
17
|
"@types/node": "24.12.2",
|
|
18
|
-
"eslint": "10.
|
|
18
|
+
"eslint": "10.3.0",
|
|
19
19
|
"eslint-plugin-oxlint": "1.61.0",
|
|
20
20
|
"oxfmt": "0.46.0",
|
|
21
21
|
"oxlint": "1.61.0",
|
|
22
|
-
"oxlint-tsgolint": "0.22.
|
|
22
|
+
"oxlint-tsgolint": "0.22.1",
|
|
23
23
|
"typescript": "5.9.3",
|
|
24
|
-
"typescript-eslint": "8.59.
|
|
24
|
+
"typescript-eslint": "8.59.1"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"deploy": "pnpm run deploy:user && pnpm run deploy:admin",
|
|
7
|
-
"deploy:user": "tailor-sdk
|
|
8
|
-
"deploy:admin": "tailor-sdk
|
|
7
|
+
"deploy:user": "tailor-sdk deploy -c apps/user/tailor.config.ts",
|
|
8
|
+
"deploy:admin": "tailor-sdk deploy -c apps/admin/tailor.config.ts",
|
|
9
9
|
"format": "oxfmt --write .",
|
|
10
10
|
"format:check": "oxfmt --check .",
|
|
11
11
|
"lint": "oxlint --type-aware . && eslint --cache .",
|
|
@@ -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.46.0",
|
|
18
18
|
"@types/node": "24.12.2",
|
|
19
|
-
"eslint": "10.
|
|
19
|
+
"eslint": "10.3.0",
|
|
20
20
|
"eslint-plugin-oxlint": "1.61.0",
|
|
21
21
|
"oxfmt": "0.46.0",
|
|
22
22
|
"oxlint": "1.61.0",
|
|
23
|
-
"oxlint-tsgolint": "0.22.
|
|
23
|
+
"oxlint-tsgolint": "0.22.1",
|
|
24
24
|
"typescript": "5.9.3",
|
|
25
|
-
"typescript-eslint": "8.59.
|
|
25
|
+
"typescript-eslint": "8.59.1"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "tailor-sdk generate",
|
|
7
|
-
"deploy": "tailor-sdk
|
|
7
|
+
"deploy": "tailor-sdk deploy",
|
|
8
8
|
"test": "vitest --project unit",
|
|
9
9
|
"test:unit": "vitest --project unit",
|
|
10
|
-
"test:bundled:prepare": "TAILOR_PLATFORM_SDK_BUILD_ONLY=true tailor-sdk
|
|
10
|
+
"test:bundled:prepare": "TAILOR_PLATFORM_SDK_BUILD_ONLY=true tailor-sdk deploy -c tailor.config.ts",
|
|
11
11
|
"test:bundled": "pnpm test:bundled:prepare && vitest --project bundled",
|
|
12
12
|
"format": "oxfmt --write .",
|
|
13
13
|
"format:check": "oxfmt --check .",
|
|
@@ -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.46.0",
|
|
21
21
|
"@types/node": "24.12.2",
|
|
22
|
-
"eslint": "10.
|
|
22
|
+
"eslint": "10.3.0",
|
|
23
23
|
"eslint-plugin-oxlint": "1.61.0",
|
|
24
24
|
"oxfmt": "0.46.0",
|
|
25
25
|
"oxlint": "1.61.0",
|
|
26
|
-
"oxlint-tsgolint": "0.22.
|
|
26
|
+
"oxlint-tsgolint": "0.22.1",
|
|
27
27
|
"typescript": "5.9.3",
|
|
28
|
-
"typescript-eslint": "8.59.
|
|
28
|
+
"typescript-eslint": "8.59.1",
|
|
29
29
|
"vitest": "4.1.5"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"deploy": "tailor-sdk
|
|
6
|
+
"deploy": "tailor-sdk deploy",
|
|
7
7
|
"generate": "tailor-sdk generate",
|
|
8
8
|
"format": "oxfmt --write .",
|
|
9
9
|
"format:check": "oxfmt --check .",
|
|
@@ -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.46.0",
|
|
17
17
|
"@types/node": "24.12.2",
|
|
18
|
-
"eslint": "10.
|
|
18
|
+
"eslint": "10.3.0",
|
|
19
19
|
"eslint-plugin-oxlint": "1.61.0",
|
|
20
20
|
"oxfmt": "0.46.0",
|
|
21
21
|
"oxlint": "1.61.0",
|
|
22
|
-
"oxlint-tsgolint": "0.22.
|
|
22
|
+
"oxlint-tsgolint": "0.22.1",
|
|
23
23
|
"typescript": "5.9.3",
|
|
24
|
-
"typescript-eslint": "8.59.
|
|
24
|
+
"typescript-eslint": "8.59.1"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "tailor-sdk generate",
|
|
7
|
-
"deploy": "tailor-sdk
|
|
7
|
+
"deploy": "tailor-sdk deploy",
|
|
8
8
|
"test": "vitest --project unit",
|
|
9
9
|
"test:unit": "vitest --project unit",
|
|
10
10
|
"format": "oxfmt --write .",
|
|
@@ -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.46.0",
|
|
19
19
|
"@types/node": "24.12.2",
|
|
20
|
-
"eslint": "10.
|
|
20
|
+
"eslint": "10.3.0",
|
|
21
21
|
"eslint-plugin-oxlint": "1.61.0",
|
|
22
22
|
"oxfmt": "0.46.0",
|
|
23
23
|
"oxlint": "1.61.0",
|
|
24
|
-
"oxlint-tsgolint": "0.22.
|
|
24
|
+
"oxlint-tsgolint": "0.22.1",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
|
-
"typescript-eslint": "8.59.
|
|
26
|
+
"typescript-eslint": "8.59.1",
|
|
27
27
|
"vitest": "4.1.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
deploy,
|
|
3
3
|
getMachineUserToken,
|
|
4
4
|
show,
|
|
5
5
|
createWorkspace,
|
|
@@ -31,7 +31,7 @@ async function setupWorkspace(name: string, region: string): Promise<WorkspaceIn
|
|
|
31
31
|
|
|
32
32
|
async function deployApplication(): Promise<void> {
|
|
33
33
|
console.log("Deploying application...");
|
|
34
|
-
await
|
|
34
|
+
await deploy();
|
|
35
35
|
console.log("Application deployed successfully.");
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "tailor-sdk generate",
|
|
7
|
-
"deploy": "tailor-sdk
|
|
7
|
+
"deploy": "tailor-sdk deploy",
|
|
8
8
|
"test": "vitest --project unit",
|
|
9
9
|
"test:unit": "vitest --project unit",
|
|
10
|
-
"test:bundled:prepare": "TAILOR_PLATFORM_SDK_BUILD_ONLY=true tailor-sdk
|
|
10
|
+
"test:bundled:prepare": "TAILOR_PLATFORM_SDK_BUILD_ONLY=true tailor-sdk deploy -c tailor.config.ts",
|
|
11
11
|
"test:bundled": "pnpm test:bundled:prepare && vitest --project bundled",
|
|
12
12
|
"test:e2e": "vitest --project e2e",
|
|
13
13
|
"format": "oxfmt --write .",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/js": "10.0.1",
|
|
21
|
-
"@tailor-platform/sdk": "1.
|
|
21
|
+
"@tailor-platform/sdk": "1.46.0",
|
|
22
22
|
"@types/node": "24.12.2",
|
|
23
|
-
"eslint": "10.
|
|
23
|
+
"eslint": "10.3.0",
|
|
24
24
|
"eslint-plugin-oxlint": "1.61.0",
|
|
25
25
|
"graphql": "16.13.2",
|
|
26
26
|
"graphql-request": "7.4.0",
|
|
27
27
|
"oxfmt": "0.46.0",
|
|
28
28
|
"oxlint": "1.61.0",
|
|
29
|
-
"oxlint-tsgolint": "0.22.
|
|
29
|
+
"oxlint-tsgolint": "0.22.1",
|
|
30
30
|
"typescript": "5.9.3",
|
|
31
|
-
"typescript-eslint": "8.59.
|
|
31
|
+
"typescript-eslint": "8.59.1",
|
|
32
32
|
"vitest": "4.1.5"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by @tailor-platform/sdk
|
|
2
2
|
// Do not edit this file manually
|
|
3
|
-
// Regenerated automatically when running 'tailor-sdk
|
|
3
|
+
// Regenerated automatically when running 'tailor-sdk deploy' or 'tailor-sdk generate'
|
|
4
4
|
|
|
5
5
|
declare module "@tailor-platform/sdk" {
|
|
6
6
|
interface AttributeMap {
|