@tailor-platform/create-sdk 2.0.0-next.9 → 2.0.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 CHANGED
@@ -1,7 +1,169 @@
1
1
  # @tailor-platform/create-sdk
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`1a055c9`](https://github.com/tailor-platform/sdk/commit/1a055c9909ac951f807fc2249c9abc1d5805398f) Thanks [@toiroakr](https://github.com/toiroakr)! - Rename the TailorDB schema builder from `db.type()` to `db.table()`.
8
+
9
+ Update TailorDB definitions:
10
+
11
+ ```diff
12
+ import { db } from "@tailor-platform/sdk";
13
+
14
+ -export const user = db.type("User", {
15
+ +export const user = db.table("User", {
16
+ name: db.string(),
17
+ });
18
+ ```
19
+
20
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`3dcd82d`](https://github.com/tailor-platform/sdk/commit/3dcd82d54d6c059df90f2dc4788a7059fe4004ab) Thanks [@toiroakr](https://github.com/toiroakr)! - Restore Tailor field outputs for UUID, date, datetime, time, and decimal fields to plain string-compatible types and remove the strict scalar string migration guidance.
21
+
22
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`a3bd9fb`](https://github.com/tailor-platform/sdk/commit/a3bd9fb1c22d7062c8627c80ebc5ebb3b1db0dc3) Thanks [@toiroakr](https://github.com/toiroakr)! - Set `db.fields.timestamps()` `updatedAt` when records are created and make the generated field non-null. `createdAt` keeps its existing create-time behavior, while `updatedAt` keeps its update-time behavior and now also gets a create hook that preserves provided values and falls back to the current time.
23
+
24
+ Update create-sdk templates so scaffolded projects use the new non-null `updatedAt` Kysely types and seed schemas.
25
+
26
+ Existing TailorDB schemas that already use this helper will change `updatedAt` from optional to required. Backfill existing records that have `updatedAt: null` before applying the schema change.
27
+
28
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`eeb235d`](https://github.com/tailor-platform/sdk/commit/eeb235debe910c05f755f036486878e7c763cb7e) Thanks [@toiroakr](https://github.com/toiroakr)! - Rename `defineWaitPoint` and `defineWaitPoints` to `createWaitPoint` and `createWaitPoints`.
29
+
30
+ These functions create runtime instances with `.wait()` and `.resolve()` methods that call the platform API at runtime, so the `create*` prefix is more accurate. Update any usages:
31
+
32
+ ```diff
33
+ -import { defineWaitPoint, defineWaitPoints } from "@tailor-platform/sdk";
34
+ +import { createWaitPoint, createWaitPoints } from "@tailor-platform/sdk";
35
+
36
+ -export const approval = defineWaitPoint<Payload, Result>("approval");
37
+ +export const approval = createWaitPoint<Payload, Result>("approval");
38
+
39
+ -export const waitPoints = defineWaitPoints((define) => ({ ... }));
40
+ +export const waitPoints = createWaitPoints((define) => ({ ... }));
41
+ ```
42
+
43
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`93b68ac`](https://github.com/tailor-platform/sdk/commit/93b68ace83dcb0af2a8b0afa8aa3336cb18c818b) Thanks [@toiroakr](https://github.com/toiroakr)! - Rename `Workflow.trigger()` (returned by `createWorkflow()`) and `WorkflowJob.trigger()` (returned by `createWorkflowJob()`) to `.start()`, aligning the SDK's ergonomic verb with the platform's `start*` RPC vocabulary:
44
+
45
+ ```diff
46
+ const inventory = checkInventory.trigger({ orderId: input.orderId });
47
+ +const inventory = checkInventory.start({ orderId: input.orderId });
48
+
49
+ -const workflowRunId = await orderProcessingWorkflow.trigger(args, { invoker: "manager" });
50
+ +const workflowRunId = await orderProcessingWorkflow.start(args, { invoker: "manager" });
51
+ ```
52
+
53
+ `mockWorkflow()`'s `wf.job(definition)` / `wf.workflow(definition)` now return a mock of the `.start` method, and `wf.setTriggerHandler` / `wf.triggeredJobs` are renamed to `wf.setStartHandler` / `wf.startedJobs`. No codemod ships for the `.trigger()` → `.start()` call-site rename itself — see the `v2/workflow-start-rename` migration guide entry for manual migration steps.
54
+
55
+ ### Minor Changes
56
+
57
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`152a2de`](https://github.com/tailor-platform/sdk/commit/152a2de92db8565791dc1ec8aab29f2a75c94913) Thanks [@toiroakr](https://github.com/toiroakr)! - Add a lint rule (`no-execute-script-arg-stringify`) that flags passing a `JSON.stringify(...)` result as `executeScript`'s `arg` option — `executeScript` serializes `arg` internally, so a pre-stringified value silently double-encodes at runtime. Enabled in newly scaffolded projects.
58
+
59
+ ### Patch Changes
60
+
61
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`6519a54`](https://github.com/tailor-platform/sdk/commit/6519a5434f0cc664a609ef2cae2398b19cad4673) Thanks [@toiroakr](https://github.com/toiroakr)! - Rename auth attribute module augmentation from `AttributeMap` to `Attributes`.
62
+
63
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`039389d`](https://github.com/tailor-platform/sdk/commit/039389d17ddf3014fc53ffdb756ec6ea1425826c) Thanks [@toiroakr](https://github.com/toiroakr)! - Generate the `Env` interface in `tailor.d.ts` from the type of each `defineConfig({ env })` value instead of the value itself. The resolved value used to be written in as a literal type, so running `generate` or `deploy` with real environment variables loaded stamped those values into a file that is normally committed.
64
+
65
+ ```diff
66
+ interface Env {
67
+ - API_BASE: "https://api.example.com";
68
+ - RETRIES: 3;
69
+ - VERBOSE: true;
70
+ + API_BASE: string;
71
+ + RETRIES: number;
72
+ + VERBOSE: boolean;
73
+ }
74
+ ```
75
+
76
+ `env` keys that aren't valid TypeScript identifiers (for example `"API-BASE"`) are now quoted as well; previously they were emitted bare and produced a `tailor.d.ts` that failed to parse.
77
+
78
+ Run `tailor generate` after upgrading to refresh the file. Code that relied on the literal narrowing — comparing `env.STAGE` against a literal union, for example — has to widen its own types or read the value through a local narrowing check. If a `tailor.d.ts` you already committed contains a sensitive value, treat that value as exposed and rotate it; keep secrets in [Secret Manager](https://github.com/tailor-platform/sdk/blob/main/packages/sdk/docs/services/secret.md) rather than `env`.
79
+
80
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`cd48fda`](https://github.com/tailor-platform/sdk/commit/cd48fdab46746aa2e8f5d8dd43073e3b4832c07c) Thanks [@toiroakr](https://github.com/toiroakr)! - Rename resolver, executor, workflow trigger, and typed workflow start machine-user options from `authInvoker` to `invoker`.
81
+
82
+ Update create-sdk templates and the v2 auth invoker codemod to generate the new `invoker` option.
83
+
84
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`0676403`](https://github.com/tailor-platform/sdk/commit/0676403f0c2686a9b861047af105661bf52e9d9a) Thanks [@toiroakr](https://github.com/toiroakr)! - Remove the deprecated `openDownloadStream` file streaming API. Use `downloadStream` for streamed file downloads.
85
+
86
+ The generated file utilities now emit `downloadFileStream`, which calls `downloadStream` and returns `FileDownloadStreamResponse`, instead of the removed `openFileDownloadStream` helper.
87
+
88
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`20aa5a9`](https://github.com/tailor-platform/sdk/commit/20aa5a95167d370b4b3cc7352cb60a22a695d673) Thanks [@toiroakr](https://github.com/toiroakr)! - Remove the APIs that were marked `@deprecated` on the way to v2, so 2.0.0 ships without deprecated aliases. Each removal has migration coverage in `tailor upgrade`:
89
+
90
+ - `@tailor-platform/sdk/cli` no longer re-exports `kyselyTypePlugin`, `enumConstantsPlugin`, `fileUtilsPlugin`, and `seedPlugin`. Import them from `@tailor-platform/sdk/plugin/kysely-type`, `/plugin/enum-constants`, `/plugin/file-utils`, and `/plugin/seed` (codemod `v2/plugin-cli-import`).
91
+ - `tailor.workflow.startJobFunction` and the `StartJobFunctionOptions` type are removed; use the canonical `execJobFunction` / `ExecJobFunctionOptions` (new codemod `v2/exec-job-function-rename`). `mockWorkflow()` no longer exposes the `startJobFunction` alias — assert on its `execJobFunction` mock instead — and `v2/workflow-trigger-rename` now rewrites `triggerJobFunction` straight to `execJobFunction`.
92
+ - `@tailor-platform/sdk/test` no longer exports the platform-global mocks `setupTailordbMock`, `setupWorkflowMock`, `setupWaitPointMock`, `setupInvokerMock`, and `setupTailorErrorsMock`, nor the bundled-output helper `createImportMain`. Use the `tailor-runtime` environment from `@tailor-platform/sdk/vitest` with `mockTailordb` / `mockWorkflow` (migration guidance: `v2/sdk-test-mocks-to-vitest`). `createTailorDBHook`, `createStandardSchema`, and `unauthenticatedTailorUser` are unchanged.
93
+ - The programmatic CLI functions no longer accept name-keyed options: `GetWorkflowOptions`, `StartWorkflowOptions`, `ListWorkflowExecutionsOptions`, `GetExecutorOptions`, `TriggerExecutorOptions`, `ListExecutorJobsOptions`, `GetExecutorJobOptions`, and `WatchExecutorJobOptions` are removed along with the overloads that took them. Pass the definition itself — `startWorkflow({ workflow: myWorkflow, invoker: "admin" })`, `watchExecutorJob({ executor: myExecutor, jobId })` — which also types `arg` and `payload` from the definition (migration guidance: `v2/cli-typed-options`). The name-keyed entry points remain available as CLI commands (`tailor workflow start <name>`, `tailor executor trigger <name>`).
94
+
95
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`8b03f82`](https://github.com/tailor-platform/sdk/commit/8b03f827642e64f3b3af5a05ecdef405028a803a) Thanks [@toiroakr](https://github.com/toiroakr)! - Standardize SDK-owned environment variables on the `TAILOR_*` namespace.
96
+
97
+ Replace the removed SDK-specific environment variables with their new names: `TAILOR_CONFIG_PATH`, `TAILOR_DTS_PATH`, `TAILOR_CI_ALLOW_ID_INJECTION`, `TAILOR_DEPLOY_BUILD_ONLY`, `TAILOR_BUILD_OUTPUT_DIR`, `TAILOR_SKILLS_SOURCE`, `TAILOR_TEMPLATE_SDK_VERSION`, `TAILOR_PLATFORM_URL`, `TAILOR_PLATFORM_OAUTH2_CLIENT_ID`, `TAILOR_INLINE_SOURCEMAP`, `TAILOR_QUERY_NEWLINE_ON_ENTER`, and `TAILOR_APP_LOG_LEVEL`. The deprecated `TAILOR_TOKEN` fallback is removed; use `TAILOR_PLATFORM_TOKEN`. The v2 codemod rewrites unambiguous removed SDK environment variable names and flags generic names such as `LOG_LEVEL` and `PLATFORM_URL` for manual review.
98
+
99
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`04ca361`](https://github.com/tailor-platform/sdk/commit/04ca3619c4d2d88afe8ee3b25d4ba47ac799de51) Thanks [@toiroakr](https://github.com/toiroakr)! - Remove flat value and default exports from `@tailor-platform/sdk/runtime/*` subpath modules. Import each subpath through its self-named namespace export instead, for example `import { iconv } from "@tailor-platform/sdk/runtime/iconv"`.
100
+
101
+ The aggregate `@tailor-platform/sdk/runtime` entry remains named-only, and its deprecated `file.deleteFile` alias is removed in favor of `file.delete`. The v2 codemod rewrites straightforward namespace-star subpath imports, flat named value imports, and aggregate `file.deleteFile` calls to the new namespace-object style.
102
+
103
+ `TailorContextAPI` and `TailorWorkflowAPI` now describe the SDK wrapper objects. Code that types the platform-provided `globalThis.tailor.context` or `globalThis.tailor.workflow` objects directly must use `PlatformContextAPI` or `PlatformWorkflowAPI` instead.
104
+
105
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`bf11bf8`](https://github.com/tailor-platform/sdk/commit/bf11bf8d3bad6195c86ed289c764490dc6d680ee) Thanks [@toiroakr](https://github.com/toiroakr)! - Update politty to v0.11.3
106
+
107
+ ## 2.0.0-next.11
108
+
109
+ ### Minor Changes
110
+
111
+ - [#1890](https://github.com/tailor-platform/sdk/pull/1890) [`9fdacdc`](https://github.com/tailor-platform/sdk/commit/9fdacdcbbdcb18f4b324470ac34ca70215f962aa) Thanks [@toiroakr](https://github.com/toiroakr)! - Add a lint rule (`no-execute-script-arg-stringify`) that flags passing a `JSON.stringify(...)` result as `executeScript`'s `arg` option — `executeScript` serializes `arg` internally, so a pre-stringified value silently double-encodes at runtime. Enabled in newly scaffolded projects.
112
+
113
+ ### Patch Changes
114
+
115
+ - [#1915](https://github.com/tailor-platform/sdk/pull/1915) [`dc691ec`](https://github.com/tailor-platform/sdk/commit/dc691ec1e2181400c6715233f0588a1b5150038f) Thanks [@toiroakr](https://github.com/toiroakr)! - Generate the `Env` interface in `tailor.d.ts` from the type of each `defineConfig({ env })` value instead of the value itself. The resolved value used to be written in as a literal type, so running `generate` or `deploy` with real environment variables loaded stamped those values into a file that is normally committed.
116
+
117
+ ```diff
118
+ interface Env {
119
+ - API_BASE: "https://api.example.com";
120
+ - RETRIES: 3;
121
+ - VERBOSE: true;
122
+ + API_BASE: string;
123
+ + RETRIES: number;
124
+ + VERBOSE: boolean;
125
+ }
126
+ ```
127
+
128
+ `env` keys that aren't valid TypeScript identifiers (for example `"API-BASE"`) are now quoted as well; previously they were emitted bare and produced a `tailor.d.ts` that failed to parse.
129
+
130
+ Run `tailor generate` after upgrading to refresh the file. Code that relied on the literal narrowing — comparing `env.STAGE` against a literal union, for example — has to widen its own types or read the value through a local narrowing check. If a `tailor.d.ts` you already committed contains a sensitive value, treat that value as exposed and rotate it; keep secrets in [Secret Manager](https://github.com/tailor-platform/sdk/blob/main/packages/sdk/docs/services/secret.md) rather than `env`.
131
+
132
+ - [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`a4cdee0`](https://github.com/tailor-platform/sdk/commit/a4cdee079707105213f8e5833dcaa613f39c8464) Thanks [@toiroakr](https://github.com/toiroakr)! - Remove the APIs that were marked `@deprecated` on the way to v2, so 2.0.0 ships without deprecated aliases. Each removal has migration coverage in `tailor upgrade`:
133
+
134
+ - `@tailor-platform/sdk/cli` no longer re-exports `kyselyTypePlugin`, `enumConstantsPlugin`, `fileUtilsPlugin`, and `seedPlugin`. Import them from `@tailor-platform/sdk/plugin/kysely-type`, `/plugin/enum-constants`, `/plugin/file-utils`, and `/plugin/seed` (codemod `v2/plugin-cli-import`).
135
+ - `tailor.workflow.startJobFunction` and the `StartJobFunctionOptions` type are removed; use the canonical `execJobFunction` / `ExecJobFunctionOptions` (new codemod `v2/exec-job-function-rename`). `mockWorkflow()` no longer exposes the `startJobFunction` alias — assert on its `execJobFunction` mock instead — and `v2/workflow-trigger-rename` now rewrites `triggerJobFunction` straight to `execJobFunction`.
136
+ - `@tailor-platform/sdk/test` no longer exports the platform-global mocks `setupTailordbMock`, `setupWorkflowMock`, `setupWaitPointMock`, `setupInvokerMock`, and `setupTailorErrorsMock`, nor the bundled-output helper `createImportMain`. Use the `tailor-runtime` environment from `@tailor-platform/sdk/vitest` with `mockTailordb` / `mockWorkflow` (migration guidance: `v2/sdk-test-mocks-to-vitest`). `createTailorDBHook`, `createStandardSchema`, and `unauthenticatedTailorUser` are unchanged.
137
+ - The programmatic CLI functions no longer accept name-keyed options: `GetWorkflowOptions`, `StartWorkflowOptions`, `ListWorkflowExecutionsOptions`, `GetExecutorOptions`, `TriggerExecutorOptions`, `ListExecutorJobsOptions`, `GetExecutorJobOptions`, and `WatchExecutorJobOptions` are removed along with the overloads that took them. Pass the definition itself — `startWorkflow({ workflow: myWorkflow, invoker: "admin" })`, `watchExecutorJob({ executor: myExecutor, jobId })` — which also types `arg` and `payload` from the definition (migration guidance: `v2/cli-typed-options`). The name-keyed entry points remain available as CLI commands (`tailor workflow start <name>`, `tailor executor trigger <name>`).
138
+
139
+ ## 2.0.0-next.10
140
+
141
+ ### Patch Changes
142
+
143
+ - [#1837](https://github.com/tailor-platform/sdk/pull/1837) [`b74966b`](https://github.com/tailor-platform/sdk/commit/b74966bcefa499df1cbb5ef7e36ca76442658579) Thanks [@toiroakr](https://github.com/toiroakr)! - Update politty to v0.11.3
144
+
3
145
  ## 2.0.0-next.9
4
146
 
147
+ ## 1.85.0
148
+
149
+ ## 1.84.0
150
+
151
+ ## 1.83.0
152
+
153
+ ## 1.82.0
154
+
155
+ ## 1.81.0
156
+
157
+ ## 1.80.1
158
+
159
+ ## 1.80.0
160
+
161
+ ### Minor Changes
162
+
163
+ - [#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.
164
+
165
+ ## 1.79.0
166
+
5
167
  ## 2.0.0-next.8
6
168
 
7
169
  ## 2.0.0-next.7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/create-sdk",
3
- "version": "2.0.0-next.9",
3
+ "version": "2.0.0",
4
4
  "description": "A CLI tool to quickly create a new Tailor Platform SDK project",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,18 +18,18 @@
18
18
  "type": "module",
19
19
  "dependencies": {
20
20
  "@clack/prompts": "1.7.0",
21
- "execa": "9.6.1",
21
+ "execa": "10.0.0",
22
22
  "picocolors": "1.1.1",
23
23
  "pkg-types": "2.3.1",
24
- "politty": "0.11.2",
24
+ "politty": "0.11.6",
25
25
  "zod": "4.4.3"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "24.13.3",
29
29
  "eslint-plugin-zod": "4.7.0",
30
- "oxlint": "1.73.0",
31
- "oxlint-tsgolint": "0.24.0",
32
- "tsdown": "0.22.7",
30
+ "oxlint": "1.76.0",
31
+ "oxlint-tsgolint": "7.0.2001",
32
+ "tsdown": "0.22.14",
33
33
  "typescript": "6.0.3"
34
34
  },
35
35
  "scripts": {
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "src/generated/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -15,12 +15,12 @@
15
15
  "typecheck": "tsc --noEmit"
16
16
  },
17
17
  "devDependencies": {
18
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
19
- "@tailor-platform/sdk": "2.0.0-next.9",
18
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
19
+ "@tailor-platform/sdk": "2.0.0",
20
20
  "@types/node": "24.13.3",
21
- "oxfmt": "0.58.0",
22
- "oxlint": "1.73.0",
23
- "oxlint-tsgolint": "0.24.0",
21
+ "oxfmt": "0.61.0",
22
+ "oxlint": "1.76.0",
23
+ "oxlint-tsgolint": "7.0.2001",
24
24
  "typescript": "6.0.3",
25
25
  "vitest": "4.1.10"
26
26
  }
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "src/generated/", "src/seed/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -17,13 +17,13 @@
17
17
  "typecheck": "tsc --noEmit"
18
18
  },
19
19
  "devDependencies": {
20
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
21
- "@tailor-platform/sdk": "2.0.0-next.9",
22
- "@tailor-platform/sdk-plugin-seed": "0.1.0-next.1",
20
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
21
+ "@tailor-platform/sdk": "2.0.0",
22
+ "@tailor-platform/sdk-plugin-seed": "0.1.0",
23
23
  "@types/node": "24.13.3",
24
- "oxfmt": "0.58.0",
25
- "oxlint": "1.73.0",
26
- "oxlint-tsgolint": "0.24.0",
24
+ "oxfmt": "0.61.0",
25
+ "oxlint": "1.76.0",
26
+ "oxlint-tsgolint": "7.0.2001",
27
27
  "typescript": "6.0.3",
28
28
  "vitest": "4.1.10"
29
29
  }
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -13,12 +13,12 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "devDependencies": {
16
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
17
- "@tailor-platform/sdk": "2.0.0-next.9",
16
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
17
+ "@tailor-platform/sdk": "2.0.0",
18
18
  "@types/node": "24.13.3",
19
- "oxfmt": "0.58.0",
20
- "oxlint": "1.73.0",
21
- "oxlint-tsgolint": "0.24.0",
19
+ "oxfmt": "0.61.0",
20
+ "oxlint": "1.76.0",
21
+ "oxlint-tsgolint": "7.0.2001",
22
22
  "typescript": "6.0.3"
23
23
  }
24
24
  }
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "src/generated/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -13,12 +13,12 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "devDependencies": {
16
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
17
- "@tailor-platform/sdk": "2.0.0-next.9",
16
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
17
+ "@tailor-platform/sdk": "2.0.0",
18
18
  "@types/node": "24.13.3",
19
- "oxfmt": "0.58.0",
20
- "oxlint": "1.73.0",
21
- "oxlint-tsgolint": "0.24.0",
19
+ "oxfmt": "0.61.0",
20
+ "oxlint": "1.76.0",
21
+ "oxlint-tsgolint": "7.0.2001",
22
22
  "typescript": "6.0.3"
23
23
  }
24
24
  }
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -14,12 +14,12 @@
14
14
  "typecheck": "tsc --noEmit"
15
15
  },
16
16
  "devDependencies": {
17
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
18
- "@tailor-platform/sdk": "2.0.0-next.9",
17
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
18
+ "@tailor-platform/sdk": "2.0.0",
19
19
  "@types/node": "24.13.3",
20
- "oxfmt": "0.58.0",
21
- "oxlint": "1.73.0",
22
- "oxlint-tsgolint": "0.24.0",
20
+ "oxfmt": "0.61.0",
21
+ "oxlint": "1.76.0",
22
+ "oxlint-tsgolint": "7.0.2001",
23
23
  "typescript": "6.0.3"
24
24
  }
25
25
  }
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "src/generated/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -15,12 +15,12 @@
15
15
  "typecheck": "tsc --noEmit"
16
16
  },
17
17
  "devDependencies": {
18
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
19
- "@tailor-platform/sdk": "2.0.0-next.9",
18
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
19
+ "@tailor-platform/sdk": "2.0.0",
20
20
  "@types/node": "24.13.3",
21
- "oxfmt": "0.58.0",
22
- "oxlint": "1.73.0",
23
- "oxlint-tsgolint": "0.24.0",
21
+ "oxfmt": "0.61.0",
22
+ "oxlint": "1.76.0",
23
+ "oxlint-tsgolint": "7.0.2001",
24
24
  "typescript": "6.0.3",
25
25
  "vitest": "4.1.10"
26
26
  }
@@ -10,8 +10,8 @@ declare module "@tailor-platform/sdk" {
10
10
  __tuple?: [];
11
11
  }
12
12
  interface Env {
13
- appName: "Resolver Template";
14
- version: 1;
13
+ appName: string;
14
+ version: number;
15
15
  }
16
16
  interface MachineUserNameRegistry {
17
17
  admin: true;
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "src/generated/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -13,12 +13,12 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "devDependencies": {
16
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
17
- "@tailor-platform/sdk": "2.0.0-next.9",
16
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
17
+ "@tailor-platform/sdk": "2.0.0",
18
18
  "@types/node": "24.13.3",
19
- "oxfmt": "0.58.0",
20
- "oxlint": "1.73.0",
21
- "oxlint-tsgolint": "0.24.0",
19
+ "oxfmt": "0.61.0",
20
+ "oxlint": "1.76.0",
21
+ "oxlint-tsgolint": "7.0.2001",
22
22
  "typescript": "6.0.3"
23
23
  }
24
24
  }
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "src/generated/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -15,12 +15,12 @@
15
15
  "typecheck": "tsc --noEmit"
16
16
  },
17
17
  "devDependencies": {
18
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
19
- "@tailor-platform/sdk": "2.0.0-next.9",
18
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
19
+ "@tailor-platform/sdk": "2.0.0",
20
20
  "@types/node": "24.13.3",
21
- "oxfmt": "0.58.0",
22
- "oxlint": "1.73.0",
23
- "oxlint-tsgolint": "0.24.0",
21
+ "oxfmt": "0.61.0",
22
+ "oxlint": "1.76.0",
23
+ "oxlint-tsgolint": "7.0.2001",
24
24
  "typescript": "6.0.3",
25
25
  "vitest": "4.1.10"
26
26
  }
@@ -16,6 +16,7 @@
16
16
  "ignorePatterns": [".tailor/", "src/generated/", "tailor.d.ts"],
17
17
  "rules": {
18
18
  "tailor-sdk/no-api-prefix-in-path-pattern": "warn",
19
+ "tailor-sdk/no-execute-script-arg-stringify": "warn",
19
20
  "tailor-sdk/no-unconditional-permit": "warn",
20
21
  "no-case-declarations": "error",
21
22
  "no-empty": "error",
@@ -16,14 +16,14 @@
16
16
  "typecheck": "tsc --noEmit"
17
17
  },
18
18
  "devDependencies": {
19
- "@tailor-platform/eslint-plugin-sdk": "0.1.0-next.0",
20
- "@tailor-platform/sdk": "2.0.0-next.9",
19
+ "@tailor-platform/eslint-plugin-sdk": "0.2.0",
20
+ "@tailor-platform/sdk": "2.0.0",
21
21
  "@types/node": "24.13.3",
22
22
  "graphql": "17.0.2",
23
23
  "graphql-request": "7.4.0",
24
- "oxfmt": "0.58.0",
25
- "oxlint": "1.73.0",
26
- "oxlint-tsgolint": "0.24.0",
24
+ "oxfmt": "0.61.0",
25
+ "oxlint": "1.76.0",
26
+ "oxlint-tsgolint": "7.0.2001",
27
27
  "typescript": "6.0.3",
28
28
  "vitest": "4.1.10"
29
29
  }