@tailor-platform/create-sdk 2.4.0 → 2.5.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 +2 -1
- package/package.json +3 -2
- package/templates/executor/package.json +4 -5
- package/templates/generators/.oxfmtrc.json +1 -1
- package/templates/generators/package.json +5 -6
- package/templates/hello-world/package.json +4 -5
- package/templates/inventory-management/package.json +4 -5
- package/templates/multi-application/package.json +4 -5
- package/templates/resolver/package.json +4 -5
- package/templates/static-web-site/package.json +4 -5
- package/templates/tailordb/package.json +4 -5
- package/templates/workflow/package.json +4 -5
- package/templates/generators/.prettierignore +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @tailor-platform/create-sdk
|
|
2
2
|
|
|
3
|
+
## 2.5.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2125](https://github.com/tailor-platform/sdk/pull/2125) [`17f449b`](https://github.com/tailor-platform/sdk/commit/17f449bac29a78d5a6084260a73a39c10b47e05e) Thanks [@dqn](https://github.com/dqn)! - Keep generated seed data excluded from Oxfmt in newly created projects.
|
|
8
|
+
|
|
9
|
+
- [#2107](https://github.com/tailor-platform/sdk/pull/2107) [`ff35c1e`](https://github.com/tailor-platform/sdk/commit/ff35c1e0f3ac0ce0db0b7fc6d9fde4ff1dc854f6) Thanks [@dqn](https://github.com/dqn)! - Internal error-handling and prompt-flow cleanups surfaced by newly enabled async-correctness lint rules; no behavior change.
|
|
10
|
+
|
|
3
11
|
## 2.4.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,8 @@ const validateTemplate = async (template) => {
|
|
|
36
36
|
const availables = await availableTemplates();
|
|
37
37
|
if (!availables.includes(template)) return `Template "${template}" is not available. Available templates are: ${availables.join(", ")}.`;
|
|
38
38
|
};
|
|
39
|
-
const collectContext = async (
|
|
39
|
+
const collectContext = async (opts) => {
|
|
40
|
+
let { name, template } = opts;
|
|
40
41
|
if (name) {
|
|
41
42
|
const err = validateName(name);
|
|
42
43
|
if (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/create-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "24.13.3",
|
|
29
29
|
"eslint-plugin-zod": "4.9.1",
|
|
30
|
-
"oxlint": "1.
|
|
30
|
+
"oxlint": "1.78.0",
|
|
31
31
|
"oxlint-tsgolint": "7.0.2001",
|
|
32
32
|
"tsdown": "0.22.14",
|
|
33
33
|
"typescript": "6.0.3"
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"build": "tsdown",
|
|
37
37
|
"lint": "oxlint --type-aware . --ignore-pattern \"templates/**\"",
|
|
38
38
|
"lint:fix": "oxlint --type-aware . --ignore-pattern \"templates/**\" --fix",
|
|
39
|
+
"knip": "knip",
|
|
39
40
|
"typecheck": "tsc --noEmit",
|
|
40
41
|
"prepublish": "node scripts/prepare-templates.js && pnpm run build",
|
|
41
42
|
"publint": "publint --strict"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "executor",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -15,11 +14,11 @@
|
|
|
15
14
|
"typecheck": "tsc --noEmit"
|
|
16
15
|
},
|
|
17
16
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
17
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
18
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
20
19
|
"@types/node": "24.13.3",
|
|
21
|
-
"oxfmt": "0.
|
|
22
|
-
"oxlint": "1.
|
|
20
|
+
"oxfmt": "0.63.0",
|
|
21
|
+
"oxlint": "1.78.0",
|
|
23
22
|
"oxlint-tsgolint": "7.0.2001",
|
|
24
23
|
"typescript": "6.0.3",
|
|
25
24
|
"vitest": "4.1.10"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generators",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -18,12 +17,12 @@
|
|
|
18
17
|
"typecheck": "tsc --noEmit"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|
|
21
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
22
|
-
"@tailor-platform/sdk": "2.
|
|
23
|
-
"@tailor-platform/sdk-plugin-seed": "0.2.
|
|
20
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
21
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
22
|
+
"@tailor-platform/sdk-plugin-seed": "0.2.3",
|
|
24
23
|
"@types/node": "24.13.3",
|
|
25
|
-
"oxfmt": "0.
|
|
26
|
-
"oxlint": "1.
|
|
24
|
+
"oxfmt": "0.63.0",
|
|
25
|
+
"oxlint": "1.78.0",
|
|
27
26
|
"oxlint-tsgolint": "7.0.2001",
|
|
28
27
|
"typescript": "6.0.3",
|
|
29
28
|
"vitest": "4.1.10"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hello-world",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -13,11 +12,11 @@
|
|
|
13
12
|
"typecheck": "tsc --noEmit"
|
|
14
13
|
},
|
|
15
14
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
17
|
-
"@tailor-platform/sdk": "2.
|
|
15
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
16
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
18
17
|
"@types/node": "24.13.3",
|
|
19
|
-
"oxfmt": "0.
|
|
20
|
-
"oxlint": "1.
|
|
18
|
+
"oxfmt": "0.63.0",
|
|
19
|
+
"oxlint": "1.78.0",
|
|
21
20
|
"oxlint-tsgolint": "7.0.2001",
|
|
22
21
|
"typescript": "6.0.3"
|
|
23
22
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inventory-management",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -13,11 +12,11 @@
|
|
|
13
12
|
"typecheck": "tsc --noEmit"
|
|
14
13
|
},
|
|
15
14
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
17
|
-
"@tailor-platform/sdk": "2.
|
|
15
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
16
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
18
17
|
"@types/node": "24.13.3",
|
|
19
|
-
"oxfmt": "0.
|
|
20
|
-
"oxlint": "1.
|
|
18
|
+
"oxfmt": "0.63.0",
|
|
19
|
+
"oxlint": "1.78.0",
|
|
21
20
|
"oxlint-tsgolint": "7.0.2001",
|
|
22
21
|
"typescript": "6.0.3"
|
|
23
22
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "multi-application",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -14,11 +13,11 @@
|
|
|
14
13
|
"typecheck": "tsc --noEmit"
|
|
15
14
|
},
|
|
16
15
|
"devDependencies": {
|
|
17
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
18
|
-
"@tailor-platform/sdk": "2.
|
|
16
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
17
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
19
18
|
"@types/node": "24.13.3",
|
|
20
|
-
"oxfmt": "0.
|
|
21
|
-
"oxlint": "1.
|
|
19
|
+
"oxfmt": "0.63.0",
|
|
20
|
+
"oxlint": "1.78.0",
|
|
22
21
|
"oxlint-tsgolint": "7.0.2001",
|
|
23
22
|
"typescript": "6.0.3"
|
|
24
23
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "resolver",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -15,11 +14,11 @@
|
|
|
15
14
|
"typecheck": "tsc --noEmit"
|
|
16
15
|
},
|
|
17
16
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
17
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
18
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
20
19
|
"@types/node": "24.13.3",
|
|
21
|
-
"oxfmt": "0.
|
|
22
|
-
"oxlint": "1.
|
|
20
|
+
"oxfmt": "0.63.0",
|
|
21
|
+
"oxlint": "1.78.0",
|
|
23
22
|
"oxlint-tsgolint": "7.0.2001",
|
|
24
23
|
"typescript": "6.0.3",
|
|
25
24
|
"vitest": "4.1.10"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "static-web-site",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -13,11 +12,11 @@
|
|
|
13
12
|
"typecheck": "tsc --noEmit"
|
|
14
13
|
},
|
|
15
14
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
17
|
-
"@tailor-platform/sdk": "2.
|
|
15
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
16
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
18
17
|
"@types/node": "24.13.3",
|
|
19
|
-
"oxfmt": "0.
|
|
20
|
-
"oxlint": "1.
|
|
18
|
+
"oxfmt": "0.63.0",
|
|
19
|
+
"oxlint": "1.78.0",
|
|
21
20
|
"oxlint-tsgolint": "7.0.2001",
|
|
22
21
|
"typescript": "6.0.3"
|
|
23
22
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailordb",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -15,11 +14,11 @@
|
|
|
15
14
|
"typecheck": "tsc --noEmit"
|
|
16
15
|
},
|
|
17
16
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
19
|
-
"@tailor-platform/sdk": "2.
|
|
17
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
18
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
20
19
|
"@types/node": "24.13.3",
|
|
21
|
-
"oxfmt": "0.
|
|
22
|
-
"oxlint": "1.
|
|
20
|
+
"oxfmt": "0.63.0",
|
|
21
|
+
"oxlint": "1.78.0",
|
|
23
22
|
"oxlint-tsgolint": "7.0.2001",
|
|
24
23
|
"typescript": "6.0.3",
|
|
25
24
|
"vitest": "4.1.10"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workflow",
|
|
3
|
-
"version": "0.0.0",
|
|
4
3
|
"private": true,
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
@@ -16,13 +15,13 @@
|
|
|
16
15
|
"typecheck": "tsc --noEmit"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
19
|
-
"@tailor-platform/eslint-plugin-sdk": "0.2.
|
|
20
|
-
"@tailor-platform/sdk": "2.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.2.3",
|
|
19
|
+
"@tailor-platform/sdk": "2.5.0",
|
|
21
20
|
"@types/node": "24.13.3",
|
|
22
21
|
"graphql": "17.0.2",
|
|
23
22
|
"graphql-request": "7.4.0",
|
|
24
|
-
"oxfmt": "0.
|
|
25
|
-
"oxlint": "1.
|
|
23
|
+
"oxfmt": "0.63.0",
|
|
24
|
+
"oxlint": "1.78.0",
|
|
26
25
|
"oxlint-tsgolint": "7.0.2001",
|
|
27
26
|
"typescript": "6.0.3",
|
|
28
27
|
"vitest": "4.1.10"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
src/seed/
|