@tailor-platform/create-sdk 2.12.0 → 2.13.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 +10 -0
- package/package.json +3 -3
- package/templates/executor/package.json +3 -3
- package/templates/generators/package.json +3 -3
- package/templates/generators/src/seed/data/Order.schema.ts +2 -2
- package/templates/generators/src/seed/data/Product.schema.ts +2 -2
- package/templates/generators/src/seed/data/User.schema.ts +2 -2
- package/templates/hello-world/README.md +6 -5
- package/templates/hello-world/package.json +3 -3
- package/templates/inventory-management/README.md +5 -5
- package/templates/inventory-management/package.json +3 -3
- package/templates/multi-application/README.md +4 -4
- package/templates/multi-application/package.json +3 -3
- package/templates/resolver/package.json +3 -3
- package/templates/static-web-site/package.json +3 -3
- package/templates/tailordb/package.json +3 -3
- package/templates/workflow/package.json +3 -3
- package/templates/executor/.prettierrc +0 -1
- package/templates/hello-world/.prettierrc +0 -1
- package/templates/inventory-management/.prettierrc +0 -1
- package/templates/multi-application/.prettierrc +0 -1
- package/templates/resolver/.prettierrc +0 -1
- package/templates/static-web-site/.prettierrc +0 -1
- package/templates/tailordb/.prettierrc +0 -1
- package/templates/workflow/.prettierrc +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @tailor-platform/create-sdk
|
|
2
2
|
|
|
3
|
+
## 2.13.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2263](https://github.com/tailor-platform/sdk/pull/2263) [`ec80f8c`](https://github.com/tailor-platform/sdk/commit/ec80f8c7fbb5878010cc702a6336f6cb5b3d9bfb) Thanks [@tailor-bobbin](https://github.com/apps/tailor-bobbin)! - Fix the `hello-world` template docs so they match the tooling the template actually ships: the README now documents `oxfmt` / `oxlint` (instead of Prettier / ESLint) and the `generate` script, and the setup commands use `npx @tailor-platform/sdk <command>`. The unused empty `.prettierrc` is no longer generated.
|
|
8
|
+
|
|
9
|
+
- [#2263](https://github.com/tailor-platform/sdk/pull/2263) [`9495e4e`](https://github.com/tailor-platform/sdk/commit/9495e4e2b77a0a3e680fff22dda0cb5493756c6c) Thanks [@tailor-bobbin](https://github.com/apps/tailor-bobbin)! - Fix the same stale-tooling docs issue across the remaining `create-sdk` templates (executor, inventory-management, multi-application, resolver, static-web-site, tailordb, workflow): remove the unused empty `.prettierrc` files, and update the `inventory-management` / `multi-application` READMEs' Scripts sections to document `oxfmt` / `oxlint` (instead of Prettier / ESLint), matching the tooling their `package.json` actually ships. The `inventory-management` README's Scripts section also referenced a nonexistent `gen` script; it now documents the actual `generate` script.
|
|
10
|
+
|
|
11
|
+
## 2.13.0
|
|
12
|
+
|
|
3
13
|
## 2.12.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/create-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.1",
|
|
4
4
|
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "24.13.3",
|
|
29
|
-
"eslint-plugin-zod": "4.
|
|
30
|
-
"oxlint": "1.
|
|
29
|
+
"eslint-plugin-zod": "4.12.0",
|
|
30
|
+
"oxlint": "1.81.0",
|
|
31
31
|
"oxlint-tsgolint": "7.0.2001",
|
|
32
32
|
"tsdown": "0.22.14",
|
|
33
33
|
"typescript": "6.0.3"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
18
|
-
"@tailor-platform/sdk": "2.
|
|
18
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
19
19
|
"@types/node": "24.13.3",
|
|
20
|
-
"oxfmt": "0.
|
|
21
|
-
"oxlint": "1.
|
|
20
|
+
"oxfmt": "0.66.0",
|
|
21
|
+
"oxlint": "1.81.0",
|
|
22
22
|
"oxlint-tsgolint": "7.0.2001",
|
|
23
23
|
"typescript": "6.0.3",
|
|
24
24
|
"vitest": "4.1.11"
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
21
|
-
"@tailor-platform/sdk": "2.
|
|
21
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
22
22
|
"@tailor-platform/sdk-plugin-seed": "0.2.7",
|
|
23
23
|
"@types/node": "24.13.3",
|
|
24
|
-
"oxfmt": "0.
|
|
25
|
-
"oxlint": "1.
|
|
24
|
+
"oxfmt": "0.66.0",
|
|
25
|
+
"oxlint": "1.81.0",
|
|
26
26
|
"oxlint-tsgolint": "7.0.2001",
|
|
27
27
|
"typescript": "6.0.3",
|
|
28
28
|
"vitest": "4.1.11"
|
|
@@ -4,8 +4,8 @@ import { createTailorDBHook, createStandardSchema } from "@tailor-platform/sdk/t
|
|
|
4
4
|
import { order } from "../../db/order";
|
|
5
5
|
|
|
6
6
|
const schemaType = t.object({
|
|
7
|
-
...order.pickFields(["id"], { optional: true }),
|
|
8
|
-
...order.omitFields(["id"]),
|
|
7
|
+
...order.pickFields(["id","createdAt","updatedAt"], { optional: true }),
|
|
8
|
+
...order.omitFields(["id","createdAt","updatedAt"]),
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
export const hook = createTailorDBHook(order);
|
|
@@ -4,8 +4,8 @@ import { createTailorDBHook, createStandardSchema } from "@tailor-platform/sdk/t
|
|
|
4
4
|
import { product } from "../../db/product";
|
|
5
5
|
|
|
6
6
|
const schemaType = t.object({
|
|
7
|
-
...product.pickFields(["id"], { optional: true }),
|
|
8
|
-
...product.omitFields(["id"]),
|
|
7
|
+
...product.pickFields(["id","createdAt","updatedAt"], { optional: true }),
|
|
8
|
+
...product.omitFields(["id","createdAt","updatedAt"]),
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
export const hook = createTailorDBHook(product);
|
|
@@ -4,8 +4,8 @@ import { createTailorDBHook, createStandardSchema } from "@tailor-platform/sdk/t
|
|
|
4
4
|
import { user } from "../../db/user";
|
|
5
5
|
|
|
6
6
|
const schemaType = t.object({
|
|
7
|
-
...user.pickFields(["id"], { optional: true }),
|
|
8
|
-
...user.omitFields(["id"]),
|
|
7
|
+
...user.pickFields(["id","createdAt","updatedAt"], { optional: true }),
|
|
8
|
+
...user.omitFields(["id","createdAt","updatedAt"]),
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
export const hook = createTailorDBHook(user);
|
|
@@ -53,9 +53,10 @@ query {
|
|
|
53
53
|
|
|
54
54
|
In the project directory, you can run:
|
|
55
55
|
|
|
56
|
-
- `deploy`: Deploy the project to Tailor Platform
|
|
57
|
-
- `
|
|
58
|
-
- `format
|
|
59
|
-
- `
|
|
60
|
-
- `lint
|
|
56
|
+
- `deploy`: Deploy the project to Tailor Platform (`tailor deploy`)
|
|
57
|
+
- `generate`: Generate types for the project (`tailor generate`)
|
|
58
|
+
- `format`: Format the code using oxfmt
|
|
59
|
+
- `format:check`: Check code formatting using oxfmt
|
|
60
|
+
- `lint`: Lint the code using oxlint
|
|
61
|
+
- `lint:fix`: Fix linting issues using oxlint
|
|
61
62
|
- `typecheck`: Run TypeScript type checks
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
16
|
-
"@tailor-platform/sdk": "2.
|
|
16
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
17
17
|
"@types/node": "24.13.3",
|
|
18
|
-
"oxfmt": "0.
|
|
19
|
-
"oxlint": "1.
|
|
18
|
+
"oxfmt": "0.66.0",
|
|
19
|
+
"oxlint": "1.81.0",
|
|
20
20
|
"oxlint-tsgolint": "7.0.2001",
|
|
21
21
|
"typescript": "6.0.3"
|
|
22
22
|
}
|
|
@@ -55,11 +55,11 @@ npx @tailor-platform/sdk machineuser token staff --workspace-id <your-workspace-
|
|
|
55
55
|
In the project directory, you can run:
|
|
56
56
|
|
|
57
57
|
- `deploy`: Deploy the project to Tailor Platform
|
|
58
|
-
- `
|
|
59
|
-
- `format`: Format the code using
|
|
60
|
-
- `format:check`: Check code formatting using
|
|
61
|
-
- `lint`: Lint the code using
|
|
62
|
-
- `lint:fix`: Fix linting issues using
|
|
58
|
+
- `generate`: Generate TypeScript types
|
|
59
|
+
- `format`: Format the code using oxfmt
|
|
60
|
+
- `format:check`: Check code formatting using oxfmt
|
|
61
|
+
- `lint`: Lint the code using oxlint
|
|
62
|
+
- `lint:fix`: Fix linting issues using oxlint
|
|
63
63
|
- `typecheck`: Run TypeScript type checks
|
|
64
64
|
|
|
65
65
|
## Examples
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
16
|
-
"@tailor-platform/sdk": "2.
|
|
16
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
17
17
|
"@types/node": "24.13.3",
|
|
18
|
-
"oxfmt": "0.
|
|
19
|
-
"oxlint": "1.
|
|
18
|
+
"oxfmt": "0.66.0",
|
|
19
|
+
"oxlint": "1.81.0",
|
|
20
20
|
"oxlint-tsgolint": "7.0.2001",
|
|
21
21
|
"typescript": "6.0.3"
|
|
22
22
|
}
|
|
@@ -38,8 +38,8 @@ This deploys both applications in order: `user` first, then `admin`.
|
|
|
38
38
|
- `deploy`: Deploy all applications to Tailor Platform
|
|
39
39
|
- `deploy:user`: Deploy user application only
|
|
40
40
|
- `deploy:admin`: Deploy admin application only
|
|
41
|
-
- `format`: Format the code using
|
|
42
|
-
- `format:check`: Check code formatting using
|
|
43
|
-
- `lint`: Lint the code using
|
|
44
|
-
- `lint:fix`: Fix linting issues using
|
|
41
|
+
- `format`: Format the code using oxfmt
|
|
42
|
+
- `format:check`: Check code formatting using oxfmt
|
|
43
|
+
- `lint`: Lint the code using oxlint
|
|
44
|
+
- `lint:fix`: Fix linting issues using oxlint
|
|
45
45
|
- `typecheck`: Run TypeScript type checks
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
17
|
-
"@tailor-platform/sdk": "2.
|
|
17
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
18
18
|
"@types/node": "24.13.3",
|
|
19
|
-
"oxfmt": "0.
|
|
20
|
-
"oxlint": "1.
|
|
19
|
+
"oxfmt": "0.66.0",
|
|
20
|
+
"oxlint": "1.81.0",
|
|
21
21
|
"oxlint-tsgolint": "7.0.2001",
|
|
22
22
|
"typescript": "6.0.3"
|
|
23
23
|
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
18
|
-
"@tailor-platform/sdk": "2.
|
|
18
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
19
19
|
"@types/node": "24.13.3",
|
|
20
|
-
"oxfmt": "0.
|
|
21
|
-
"oxlint": "1.
|
|
20
|
+
"oxfmt": "0.66.0",
|
|
21
|
+
"oxlint": "1.81.0",
|
|
22
22
|
"oxlint-tsgolint": "7.0.2001",
|
|
23
23
|
"typescript": "6.0.3",
|
|
24
24
|
"vitest": "4.1.11"
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
16
|
-
"@tailor-platform/sdk": "2.
|
|
16
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
17
17
|
"@types/node": "24.13.3",
|
|
18
|
-
"oxfmt": "0.
|
|
19
|
-
"oxlint": "1.
|
|
18
|
+
"oxfmt": "0.66.0",
|
|
19
|
+
"oxlint": "1.81.0",
|
|
20
20
|
"oxlint-tsgolint": "7.0.2001",
|
|
21
21
|
"typescript": "6.0.3"
|
|
22
22
|
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
18
|
-
"@tailor-platform/sdk": "2.
|
|
18
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
19
19
|
"@types/node": "24.13.3",
|
|
20
|
-
"oxfmt": "0.
|
|
21
|
-
"oxlint": "1.
|
|
20
|
+
"oxfmt": "0.66.0",
|
|
21
|
+
"oxlint": "1.81.0",
|
|
22
22
|
"oxlint-tsgolint": "7.0.2001",
|
|
23
23
|
"typescript": "6.0.3",
|
|
24
24
|
"vitest": "4.1.11"
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
19
|
+
"@tailor-platform/sdk": "2.13.1",
|
|
20
20
|
"@types/node": "24.13.3",
|
|
21
21
|
"graphql": "17.0.2",
|
|
22
22
|
"graphql-request": "7.4.0",
|
|
23
|
-
"oxfmt": "0.
|
|
24
|
-
"oxlint": "1.
|
|
23
|
+
"oxfmt": "0.66.0",
|
|
24
|
+
"oxlint": "1.81.0",
|
|
25
25
|
"oxlint-tsgolint": "7.0.2001",
|
|
26
26
|
"typescript": "6.0.3",
|
|
27
27
|
"vitest": "4.1.11"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|