@tailor-platform/create-sdk 1.79.0 → 1.80.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 +6 -0
- package/package.json +3 -3
- package/templates/executor/.oxlintrc.json +8 -0
- package/templates/executor/package.json +3 -2
- package/templates/generators/.oxlintrc.json +8 -0
- package/templates/generators/package.json +3 -2
- package/templates/hello-world/.oxlintrc.json +8 -0
- package/templates/hello-world/package.json +3 -2
- package/templates/inventory-management/.oxlintrc.json +8 -0
- package/templates/inventory-management/package.json +3 -2
- package/templates/inventory-management/src/executor/checkInventory.ts +0 -2
- package/templates/multi-application/.oxlintrc.json +8 -0
- package/templates/multi-application/apps/admin/tailor.config.ts +1 -1
- package/templates/multi-application/apps/user/tailor.config.ts +1 -1
- package/templates/multi-application/package.json +3 -2
- package/templates/resolver/.oxlintrc.json +8 -0
- package/templates/resolver/package.json +3 -2
- package/templates/static-web-site/.oxlintrc.json +8 -0
- package/templates/static-web-site/package.json +3 -2
- package/templates/tailordb/.oxlintrc.json +8 -0
- package/templates/tailordb/package.json +3 -2
- package/templates/workflow/.oxlintrc.json +8 -0
- package/templates/workflow/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @tailor-platform/create-sdk
|
|
2
2
|
|
|
3
|
+
## 1.80.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1737](https://github.com/tailor-platform/sdk/pull/1737) [`e349b9e`](https://github.com/tailor-platform/sdk/commit/e349b9e3d9c61f324f21dea92dd08055493a2c6d) Thanks [@dqn](https://github.com/dqn)! - Add lint rules that flag the external /api prefix in HTTP adapter path patterns and permission settings that grant access unconditionally, and enable them in newly scaffolded projects.
|
|
8
|
+
|
|
3
9
|
## 1.79.0
|
|
4
10
|
|
|
5
11
|
## 1.78.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/create-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.80.0",
|
|
4
4
|
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "24.13.3",
|
|
29
29
|
"oxlint": "1.73.0",
|
|
30
|
-
"oxlint-tsgolint": "0.
|
|
31
|
-
"tsdown": "0.22.
|
|
30
|
+
"oxlint-tsgolint": "0.25.0",
|
|
31
|
+
"tsdown": "0.22.7",
|
|
32
32
|
"typescript": "6.0.3"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "src/generated/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/sdk": "1.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
19
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
19
20
|
"@types/node": "24.13.3",
|
|
20
21
|
"oxfmt": "0.58.0",
|
|
21
22
|
"oxlint": "1.73.0",
|
|
22
|
-
"oxlint-tsgolint": "0.
|
|
23
|
+
"oxlint-tsgolint": "0.25.0",
|
|
23
24
|
"typescript": "6.0.3",
|
|
24
25
|
"vitest": "4.1.10"
|
|
25
26
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "src/generated/", "src/seed/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/sdk": "1.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
19
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
19
20
|
"@types/node": "24.13.3",
|
|
20
21
|
"oxfmt": "0.58.0",
|
|
21
22
|
"oxlint": "1.73.0",
|
|
22
|
-
"oxlint-tsgolint": "0.
|
|
23
|
+
"oxlint-tsgolint": "0.25.0",
|
|
23
24
|
"typescript": "6.0.3",
|
|
24
25
|
"vitest": "4.1.10"
|
|
25
26
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/sdk": "1.
|
|
16
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
17
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
17
18
|
"@types/node": "24.13.3",
|
|
18
19
|
"oxfmt": "0.58.0",
|
|
19
20
|
"oxlint": "1.73.0",
|
|
20
|
-
"oxlint-tsgolint": "0.
|
|
21
|
+
"oxlint-tsgolint": "0.25.0",
|
|
21
22
|
"typescript": "6.0.3"
|
|
22
23
|
}
|
|
23
24
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "src/generated/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/sdk": "1.
|
|
16
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
17
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
17
18
|
"@types/node": "24.13.3",
|
|
18
19
|
"oxfmt": "0.58.0",
|
|
19
20
|
"oxlint": "1.73.0",
|
|
20
|
-
"oxlint-tsgolint": "0.
|
|
21
|
+
"oxlint-tsgolint": "0.25.0",
|
|
21
22
|
"typescript": "6.0.3"
|
|
22
23
|
}
|
|
23
24
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createExecutor, recordUpdatedTrigger } from "@tailor-platform/sdk";
|
|
2
2
|
import { inventory } from "../db/inventory";
|
|
3
|
-
import config from "../../tailor.config";
|
|
4
3
|
import { getDB } from "../generated/kysely-tailordb";
|
|
5
4
|
|
|
6
5
|
export default createExecutor({
|
|
@@ -22,6 +21,5 @@ export default createExecutor({
|
|
|
22
21
|
})
|
|
23
22
|
.execute();
|
|
24
23
|
},
|
|
25
|
-
invoker: config.auth.invoker("manager"),
|
|
26
24
|
},
|
|
27
25
|
});
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
"typecheck": "tsc --noEmit"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@tailor-platform/sdk": "1.
|
|
17
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
18
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
18
19
|
"@types/node": "24.13.3",
|
|
19
20
|
"oxfmt": "0.58.0",
|
|
20
21
|
"oxlint": "1.73.0",
|
|
21
|
-
"oxlint-tsgolint": "0.
|
|
22
|
+
"oxlint-tsgolint": "0.25.0",
|
|
22
23
|
"typescript": "6.0.3"
|
|
23
24
|
}
|
|
24
25
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "src/generated/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/sdk": "1.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
19
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
19
20
|
"@types/node": "24.13.3",
|
|
20
21
|
"oxfmt": "0.58.0",
|
|
21
22
|
"oxlint": "1.73.0",
|
|
22
|
-
"oxlint-tsgolint": "0.
|
|
23
|
+
"oxlint-tsgolint": "0.25.0",
|
|
23
24
|
"typescript": "6.0.3",
|
|
24
25
|
"vitest": "4.1.10"
|
|
25
26
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "src/generated/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tailor-platform/sdk": "1.
|
|
16
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
17
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
17
18
|
"@types/node": "24.13.3",
|
|
18
19
|
"oxfmt": "0.58.0",
|
|
19
20
|
"oxlint": "1.73.0",
|
|
20
|
-
"oxlint-tsgolint": "0.
|
|
21
|
+
"oxlint-tsgolint": "0.25.0",
|
|
21
22
|
"typescript": "6.0.3"
|
|
22
23
|
}
|
|
23
24
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "src/generated/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
"typecheck": "tsc --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tailor-platform/sdk": "1.
|
|
18
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
19
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
19
20
|
"@types/node": "24.13.3",
|
|
20
21
|
"oxfmt": "0.58.0",
|
|
21
22
|
"oxlint": "1.73.0",
|
|
22
|
-
"oxlint-tsgolint": "0.
|
|
23
|
+
"oxlint-tsgolint": "0.25.0",
|
|
23
24
|
"typescript": "6.0.3",
|
|
24
25
|
"vitest": "4.1.10"
|
|
25
26
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"plugins": ["typescript"],
|
|
4
|
+
"jsPlugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "tailor-sdk",
|
|
7
|
+
"specifier": "@tailor-platform/eslint-plugin-sdk"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
4
10
|
"categories": {
|
|
5
11
|
"correctness": "error"
|
|
6
12
|
},
|
|
@@ -9,6 +15,8 @@
|
|
|
9
15
|
},
|
|
10
16
|
"ignorePatterns": [".tailor-sdk/", "src/generated/", "tailor.d.ts"],
|
|
11
17
|
"rules": {
|
|
18
|
+
"tailor-sdk/no-api-prefix-in-path-pattern": "warn",
|
|
19
|
+
"tailor-sdk/no-unconditional-permit": "warn",
|
|
12
20
|
"no-case-declarations": "error",
|
|
13
21
|
"no-empty": "error",
|
|
14
22
|
"no-fallthrough": "error",
|
|
@@ -16,13 +16,14 @@
|
|
|
16
16
|
"typecheck": "tsc --noEmit"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@tailor-platform/sdk": "1.
|
|
19
|
+
"@tailor-platform/eslint-plugin-sdk": "0.1.0",
|
|
20
|
+
"@tailor-platform/sdk": "1.80.0",
|
|
20
21
|
"@types/node": "24.13.3",
|
|
21
22
|
"graphql": "17.0.2",
|
|
22
23
|
"graphql-request": "7.4.0",
|
|
23
24
|
"oxfmt": "0.58.0",
|
|
24
25
|
"oxlint": "1.73.0",
|
|
25
|
-
"oxlint-tsgolint": "0.
|
|
26
|
+
"oxlint-tsgolint": "0.25.0",
|
|
26
27
|
"typescript": "6.0.3",
|
|
27
28
|
"vitest": "4.1.10"
|
|
28
29
|
}
|