@tailor-platform/create-sdk 2.2.0 → 2.3.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 +12 -0
- package/package.json +1 -1
- package/templates/executor/package.json +2 -2
- package/templates/executor/tsconfig.json +1 -0
- package/templates/executor/vitest.config.ts +1 -1
- package/templates/generators/package.json +3 -3
- package/templates/generators/tsconfig.json +1 -0
- package/templates/generators/vitest.config.ts +1 -1
- package/templates/hello-world/package.json +2 -2
- package/templates/hello-world/tsconfig.json +1 -0
- package/templates/inventory-management/package.json +2 -2
- package/templates/inventory-management/tsconfig.json +1 -0
- package/templates/multi-application/package.json +2 -2
- package/templates/multi-application/tsconfig.json +1 -0
- package/templates/resolver/package.json +2 -2
- package/templates/resolver/tsconfig.json +1 -0
- package/templates/resolver/vitest.config.ts +1 -1
- package/templates/static-web-site/package.json +2 -2
- package/templates/static-web-site/tsconfig.json +1 -0
- package/templates/tailordb/package.json +2 -2
- package/templates/tailordb/tsconfig.json +1 -0
- package/templates/tailordb/vitest.config.ts +1 -1
- package/templates/workflow/package.json +2 -2
- package/templates/workflow/tsconfig.json +1 -0
- package/templates/workflow/vitest.config.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tailor-platform/create-sdk
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2025](https://github.com/tailor-platform/sdk/pull/2025) [`2574bdd`](https://github.com/tailor-platform/sdk/commit/2574bdd69947b0f6e050c3c0af224fc3f18c6435) Thanks [@dqn](https://github.com/dqn)! - Template Vitest configs now collect migration script tests (`migrations/**/*.test.ts`) scaffolded by `tailordb migration script --with-test`.
|
|
8
|
+
|
|
9
|
+
- [#2023](https://github.com/tailor-platform/sdk/pull/2023) [`9dc826f`](https://github.com/tailor-platform/sdk/commit/9dc826fc0a83aa926de5b07245513f67c1ace877) Thanks [@dqn](https://github.com/dqn)! - Guide users through the v2 type-only import requirement. The CLI loads TypeScript by stripping types from each file in isolation, so a plain import of a type-only export fails at load time with `SyntaxError: ... does not provide an export named '<name>'` and no indication that the import form is the cause.
|
|
10
|
+
|
|
11
|
+
- The CLI now appends a suggestion to that error: import the name with `import type` and set `"verbatimModuleSyntax": true` in tsconfig.json to catch violations at typecheck.
|
|
12
|
+
- Projects scaffolded by `tailor init` now enable `verbatimModuleSyntax` in their tsconfig.json, so new projects catch violations at typecheck instead of at load time.
|
|
13
|
+
- The v2 migration guide gains a `v2/type-only-imports` entry documenting the requirement, the failure mode, and the migration steps, offered by `tailor upgrade` when crossing the v2 boundary.
|
|
14
|
+
|
|
3
15
|
## 2.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
19
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
20
20
|
"@types/node": "24.13.3",
|
|
21
21
|
"oxfmt": "0.61.0",
|
|
22
22
|
"oxlint": "1.76.0",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"typecheck": "tsc --noEmit"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
22
|
-
"@tailor-platform/sdk": "2.
|
|
23
|
-
"@tailor-platform/sdk-plugin-seed": "0.2.
|
|
21
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
22
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
23
|
+
"@tailor-platform/sdk-plugin-seed": "0.2.1",
|
|
24
24
|
"@types/node": "24.13.3",
|
|
25
25
|
"oxfmt": "0.61.0",
|
|
26
26
|
"oxlint": "1.76.0",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
17
|
-
"@tailor-platform/sdk": "2.
|
|
16
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
17
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
18
18
|
"@types/node": "24.13.3",
|
|
19
19
|
"oxfmt": "0.61.0",
|
|
20
20
|
"oxlint": "1.76.0",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
17
|
-
"@tailor-platform/sdk": "2.
|
|
16
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
17
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
18
18
|
"@types/node": "24.13.3",
|
|
19
19
|
"oxfmt": "0.61.0",
|
|
20
20
|
"oxlint": "1.76.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"typecheck": "tsc --noEmit"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
18
|
-
"@tailor-platform/sdk": "2.
|
|
17
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
18
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
19
19
|
"@types/node": "24.13.3",
|
|
20
20
|
"oxfmt": "0.61.0",
|
|
21
21
|
"oxlint": "1.76.0",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
19
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
20
20
|
"@types/node": "24.13.3",
|
|
21
21
|
"oxfmt": "0.61.0",
|
|
22
22
|
"oxlint": "1.76.0",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
17
|
-
"@tailor-platform/sdk": "2.
|
|
16
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
17
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
18
18
|
"@types/node": "24.13.3",
|
|
19
19
|
"oxfmt": "0.61.0",
|
|
20
20
|
"oxlint": "1.76.0",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
19
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
20
20
|
"@types/node": "24.13.3",
|
|
21
21
|
"oxfmt": "0.61.0",
|
|
22
22
|
"oxlint": "1.76.0",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"typecheck": "tsc --noEmit"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
20
|
-
"@tailor-platform/sdk": "2.
|
|
19
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.2",
|
|
20
|
+
"@tailor-platform/sdk": "2.3.0",
|
|
21
21
|
"@types/node": "24.13.3",
|
|
22
22
|
"graphql": "17.0.2",
|
|
23
23
|
"graphql-request": "7.4.0",
|