@tailor-platform/create-sdk 2.0.0 → 2.0.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 +1 -1
- package/templates/generators/package.json +2 -2
- package/templates/hello-world/README.md +3 -3
- package/templates/hello-world/package.json +1 -1
- package/templates/inventory-management/README.md +5 -5
- package/templates/inventory-management/package.json +1 -1
- package/templates/multi-application/README.md +2 -2
- package/templates/multi-application/package.json +1 -1
- package/templates/resolver/package.json +1 -1
- package/templates/static-web-site/package.json +1 -1
- package/templates/tailordb/package.json +1 -1
- package/templates/workflow/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @tailor-platform/create-sdk
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1957](https://github.com/tailor-platform/sdk/pull/1957) [`a465547`](https://github.com/tailor-platform/sdk/commit/a465547df712ca8c607c1e42cf12c15fe3e830d1) Thanks [@toiroakr](https://github.com/toiroakr)! - Invoke the CLI as `npx @tailor-platform/sdk <command>` wherever an invocation is written for you. `npx` resolves a command it cannot find locally as a package name, so `npx tailor` fell through to an unrelated `tailor` package on npm whenever the SDK was not installed in the project — including in CI, where npm installs without prompting. Omitting the version specifier keeps using the project's installed SDK when there is one.
|
|
8
|
+
|
|
9
|
+
- Setup examples in the README, the quickstart, and the scaffolded project READMEs now use the package-runner form. Bun examples use `bun tailor <command>`, which resolves the local binary without fetching from the registry.
|
|
10
|
+
- Workflows generated by `tailor setup` use `npx @tailor-platform/sdk` for npm projects and `bun run tailor` for Bun projects. `tailor setup check` reports the template as outdated so existing projects regenerate; re-run `tailor setup` to pick it up.
|
|
11
|
+
- The `v2/seed-exec-to-cli-plugin` and `v2/sdk-skills-shim` codemods write the package-runner form when the invocation they produce goes through a runner that installs from the registry (`npx`, `bunx`, `pnpm`/`yarn dlx`, `npm exec`). A runner that resolves project binaries, such as `pnpm exec`, still gets the bare `tailor` binary.
|
|
12
|
+
|
|
3
13
|
## 2.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-platform/create-sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@clack/prompts": "1.7.0",
|
|
21
|
-
"execa": "10.0.
|
|
21
|
+
"execa": "10.0.1",
|
|
22
22
|
"picocolors": "1.1.1",
|
|
23
23
|
"pkg-types": "2.3.1",
|
|
24
24
|
"politty": "0.11.6",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "24.13.3",
|
|
29
|
-
"eslint-plugin-zod": "4.
|
|
29
|
+
"eslint-plugin-zod": "4.9.0",
|
|
30
30
|
"oxlint": "1.76.0",
|
|
31
31
|
"oxlint-tsgolint": "7.0.2001",
|
|
32
32
|
"tsdown": "0.22.14",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@tailor-platform/eslint-plugin-sdk": "0.2.0",
|
|
21
|
-
"@tailor-platform/sdk": "2.0.
|
|
22
|
-
"@tailor-platform/sdk-plugin-seed": "0.1.
|
|
21
|
+
"@tailor-platform/sdk": "2.0.1",
|
|
22
|
+
"@tailor-platform/sdk-plugin-seed": "0.1.1",
|
|
23
23
|
"@types/node": "24.13.3",
|
|
24
24
|
"oxfmt": "0.61.0",
|
|
25
25
|
"oxlint": "1.76.0",
|
|
@@ -9,9 +9,9 @@ This project was bootstrapped with [Create Tailor Platform SDK](https://www.npmj
|
|
|
9
9
|
1. Create a new workspace:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npx tailor login
|
|
13
|
-
npx tailor workspace create --name <workspace-name> --region <workspace-region>
|
|
14
|
-
npx tailor workspace list
|
|
12
|
+
npx @tailor-platform/sdk login
|
|
13
|
+
npx @tailor-platform/sdk workspace create --name <workspace-name> --region <workspace-region>
|
|
14
|
+
npx @tailor-platform/sdk workspace list
|
|
15
15
|
# For yarn: yarn tailor <command>
|
|
16
16
|
# For pnpm: pnpm tailor <command>
|
|
17
17
|
# For bun: bun tailor <command>
|
|
@@ -9,9 +9,9 @@ This project was bootstrapped with [Create Tailor Platform SDK](https://www.npmj
|
|
|
9
9
|
1. Create a new workspace:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npx tailor login
|
|
13
|
-
npx tailor workspace create --name <workspace-name> --region <workspace-region>
|
|
14
|
-
npx tailor workspace list
|
|
12
|
+
npx @tailor-platform/sdk login
|
|
13
|
+
npx @tailor-platform/sdk workspace create --name <workspace-name> --region <workspace-region>
|
|
14
|
+
npx @tailor-platform/sdk workspace list
|
|
15
15
|
# For yarn: yarn tailor <command>
|
|
16
16
|
# For pnpm: pnpm tailor <command>
|
|
17
17
|
# For bun: bun tailor <command>
|
|
@@ -36,9 +36,9 @@ npm run deploy -- --workspace-id <your-workspace-id>
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
# Get Manager's token
|
|
39
|
-
npx tailor machineuser token manager --workspace-id <your-workspace-id>
|
|
39
|
+
npx @tailor-platform/sdk machineuser token manager --workspace-id <your-workspace-id>
|
|
40
40
|
# Get Staff's token
|
|
41
|
-
npx tailor machineuser token staff --workspace-id <your-workspace-id>
|
|
41
|
+
npx @tailor-platform/sdk machineuser token staff --workspace-id <your-workspace-id>
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Features
|
|
@@ -16,8 +16,8 @@ This project contains two applications: `user` and `admin`.
|
|
|
16
16
|
1. Create a new workspace:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
npx tailor login
|
|
20
|
-
npx tailor workspace create --name <workspace-name> --region <workspace-region>
|
|
19
|
+
npx @tailor-platform/sdk login
|
|
20
|
+
npx @tailor-platform/sdk workspace create --name <workspace-name> --region <workspace-region>
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
2. Deploy the project:
|