@tailor-platform/create-sdk 1.29.0 → 1.31.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,5 +1,9 @@
1
1
  # @tailor-platform/create-sdk
2
2
 
3
+ ## 1.31.0
4
+
5
+ ## 1.30.0
6
+
3
7
  ## 1.29.0
4
8
 
5
9
  ## 1.28.0
package/README.md CHANGED
@@ -10,6 +10,8 @@ npm create @tailor-platform/sdk -- [OPTIONS] [NAME]
10
10
  yarn create @tailor-platform/sdk [OPTIONS] [NAME]
11
11
  # OR
12
12
  pnpm create @tailor-platform/sdk [OPTIONS] [NAME]
13
+ # OR
14
+ bun create @tailor-platform/sdk [OPTIONS] [NAME]
13
15
  ```
14
16
 
15
17
  Note: npm 7+ requires `--` before create-sdk options (for example, `--template`).
@@ -84,7 +86,7 @@ This tool will:
84
86
 
85
87
  ### Note
86
88
 
87
- - If none of the supported package managers (npm, yarn, pnpm) are found, dependency installation will be skipped.
89
+ - If none of the supported package managers (npm, yarn, pnpm, bun) are found, dependency installation will be skipped.
88
90
  - If the project already exists within a git repository, git initialization will be skipped.
89
91
 
90
92
  ## Documentation
package/dist/index.js CHANGED
@@ -101,7 +101,8 @@ const detectPackageManager = () => {
101
101
  const availablePMs = [
102
102
  "npm",
103
103
  "yarn",
104
- "pnpm"
104
+ "pnpm",
105
+ "bun"
105
106
  ];
106
107
  const userAgent = process.env.npm_config_user_agent;
107
108
  if (!userAgent) return;
@@ -119,7 +120,8 @@ const isGitRepository = async () => {
119
120
  };
120
121
  const initProject = async () => {
121
122
  const packageManager = detectPackageManager();
122
- if (packageManager) {
123
+ if (process.env.CREATE_SDK_NO_INSTALL) log.info("ℹ️ Skipping dependency installation (CREATE_SDK_NO_INSTALL is set)");
124
+ else if (packageManager) {
123
125
  const s = spinner();
124
126
  s.start(`📦 Installing dependencies with ${packageManager}...`);
125
127
  await execa(packageManager, ["install"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/create-sdk",
3
- "version": "1.29.0",
3
+ "version": "1.31.0",
4
4
  "description": "A CLI tool to quickly create a new Tailor Platform SDK project",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "execa": "9.6.1",
23
23
  "picocolors": "1.1.1",
24
24
  "pkg-types": "2.3.0",
25
- "politty": "0.4.9",
25
+ "politty": "0.4.12",
26
26
  "zod": "4.3.6"
27
27
  },
28
28
  "devDependencies": {
@@ -31,9 +31,9 @@
31
31
  "eslint": "9.39.4",
32
32
  "eslint-plugin-oxlint": "1.55.0",
33
33
  "oxlint": "1.55.0",
34
- "tsdown": "0.21.2",
34
+ "tsdown": "0.21.4",
35
35
  "typescript": "5.9.3",
36
- "typescript-eslint": "8.57.0"
36
+ "typescript-eslint": "8.57.1"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsdown",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "9.39.4",
18
- "@tailor-platform/function-types": "0.8.2",
19
- "@tailor-platform/sdk": "1.29.0",
18
+ "@tailor-platform/function-types": "0.8.3",
19
+ "@tailor-platform/sdk": "1.31.0",
20
20
  "@types/node": "24.12.0",
21
21
  "eslint": "9.39.4",
22
22
  "eslint-plugin-oxlint": "1.55.0",
@@ -24,7 +24,7 @@
24
24
  "oxlint": "1.55.0",
25
25
  "oxlint-tsgolint": "0.16.0",
26
26
  "typescript": "5.9.3",
27
- "typescript-eslint": "8.57.0",
27
+ "typescript-eslint": "8.57.1",
28
28
  "vitest": "4.1.0"
29
29
  }
30
30
  }
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "9.39.4",
18
- "@tailor-platform/function-types": "0.8.2",
19
- "@tailor-platform/sdk": "1.29.0",
18
+ "@tailor-platform/function-types": "0.8.3",
19
+ "@tailor-platform/sdk": "1.31.0",
20
20
  "@types/node": "24.12.0",
21
21
  "eslint": "9.39.4",
22
22
  "eslint-plugin-oxlint": "1.55.0",
@@ -24,7 +24,7 @@
24
24
  "oxlint": "1.55.0",
25
25
  "oxlint-tsgolint": "0.16.0",
26
26
  "typescript": "5.9.3",
27
- "typescript-eslint": "8.57.0",
27
+ "typescript-eslint": "8.57.1",
28
28
  "vitest": "4.1.0"
29
29
  }
30
30
  }
@@ -14,6 +14,7 @@ npx tailor-sdk workspace create --name <workspace-name> --region <workspace-regi
14
14
  npx tailor-sdk workspace list
15
15
  # For yarn: yarn tailor-sdk <command>
16
16
  # For pnpm: pnpm tailor-sdk <command>
17
+ # For bun: bun tailor-sdk <command>
17
18
 
18
19
  # OR
19
20
  # Create a new workspace using Tailor Platform Console
@@ -26,6 +27,7 @@ npx tailor-sdk workspace list
26
27
  npm run deploy -- --workspace-id <your-workspace-id>
27
28
  # For yarn: yarn run deploy --workspace-id <your-workspace-id>
28
29
  # For pnpm: pnpm run deploy --workspace-id <your-workspace-id>
30
+ # For bun: bun run deploy --workspace-id <your-workspace-id>
29
31
  ```
30
32
 
31
33
  3. Open [Tailor Platform Console](https://console.tailor.tech/) and open GraphQL Playground.
@@ -13,7 +13,8 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@eslint/js": "9.39.4",
16
- "@tailor-platform/sdk": "1.29.0",
16
+ "@tailor-platform/function-types": "0.8.2",
17
+ "@tailor-platform/sdk": "1.31.0",
17
18
  "@types/node": "24.12.0",
18
19
  "eslint": "9.39.4",
19
20
  "eslint-plugin-oxlint": "1.55.0",
@@ -21,6 +22,6 @@
21
22
  "oxlint": "1.55.0",
22
23
  "oxlint-tsgolint": "0.16.0",
23
24
  "typescript": "5.9.3",
24
- "typescript-eslint": "8.57.0"
25
+ "typescript-eslint": "8.57.1"
25
26
  }
26
27
  }
@@ -14,6 +14,7 @@ npx tailor-sdk workspace create --name <workspace-name> --region <workspace-regi
14
14
  npx tailor-sdk workspace list
15
15
  # For yarn: yarn tailor-sdk <command>
16
16
  # For pnpm: pnpm tailor-sdk <command>
17
+ # For bun: bun tailor-sdk <command>
17
18
 
18
19
  # OR
19
20
  # Create a new workspace using Tailor Platform Console
@@ -26,6 +27,7 @@ npx tailor-sdk workspace list
26
27
  npm run deploy -- --workspace-id <your-workspace-id>
27
28
  # For yarn: yarn run deploy --workspace-id <your-workspace-id>
28
29
  # For pnpm: pnpm run deploy --workspace-id <your-workspace-id>
30
+ # For bun: bun run deploy --workspace-id <your-workspace-id>
29
31
  ```
30
32
 
31
33
  3. Open [Tailor Platform Console](https://console.tailor.tech/) and open GraphQL Playground.
@@ -13,8 +13,8 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@eslint/js": "9.39.4",
16
- "@tailor-platform/function-types": "0.8.2",
17
- "@tailor-platform/sdk": "1.29.0",
16
+ "@tailor-platform/function-types": "0.8.3",
17
+ "@tailor-platform/sdk": "1.31.0",
18
18
  "@types/node": "24.12.0",
19
19
  "eslint": "9.39.4",
20
20
  "eslint-plugin-oxlint": "1.55.0",
@@ -22,6 +22,6 @@
22
22
  "oxlint": "1.55.0",
23
23
  "oxlint-tsgolint": "0.16.0",
24
24
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.0"
25
+ "typescript-eslint": "8.57.1"
26
26
  }
27
27
  }
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@eslint/js": "9.39.4",
17
- "@tailor-platform/sdk": "1.29.0",
17
+ "@tailor-platform/sdk": "1.31.0",
18
18
  "@types/node": "24.12.0",
19
19
  "eslint": "9.39.4",
20
20
  "eslint-plugin-oxlint": "1.55.0",
@@ -22,6 +22,6 @@
22
22
  "oxlint": "1.55.0",
23
23
  "oxlint-tsgolint": "0.16.0",
24
24
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.0"
25
+ "typescript-eslint": "8.57.1"
26
26
  }
27
27
  }
@@ -17,8 +17,8 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@eslint/js": "9.39.4",
20
- "@tailor-platform/function-types": "0.8.2",
21
- "@tailor-platform/sdk": "1.29.0",
20
+ "@tailor-platform/function-types": "0.8.3",
21
+ "@tailor-platform/sdk": "1.31.0",
22
22
  "@types/node": "24.12.0",
23
23
  "eslint": "9.39.4",
24
24
  "eslint-plugin-oxlint": "1.55.0",
@@ -26,7 +26,7 @@
26
26
  "oxlint": "1.55.0",
27
27
  "oxlint-tsgolint": "0.16.0",
28
28
  "typescript": "5.9.3",
29
- "typescript-eslint": "8.57.0",
29
+ "typescript-eslint": "8.57.1",
30
30
  "vitest": "4.1.0"
31
31
  }
32
32
  }
@@ -13,8 +13,8 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@eslint/js": "9.39.4",
16
- "@tailor-platform/function-types": "0.8.2",
17
- "@tailor-platform/sdk": "1.29.0",
16
+ "@tailor-platform/function-types": "0.8.3",
17
+ "@tailor-platform/sdk": "1.31.0",
18
18
  "@types/node": "24.12.0",
19
19
  "eslint": "9.39.4",
20
20
  "eslint-plugin-oxlint": "1.55.0",
@@ -22,6 +22,6 @@
22
22
  "oxlint": "1.55.0",
23
23
  "oxlint-tsgolint": "0.16.0",
24
24
  "typescript": "5.9.3",
25
- "typescript-eslint": "8.57.0"
25
+ "typescript-eslint": "8.57.1"
26
26
  }
27
27
  }
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "9.39.4",
18
- "@tailor-platform/function-types": "0.8.2",
19
- "@tailor-platform/sdk": "1.29.0",
18
+ "@tailor-platform/function-types": "0.8.3",
19
+ "@tailor-platform/sdk": "1.31.0",
20
20
  "@types/node": "24.12.0",
21
21
  "eslint": "9.39.4",
22
22
  "eslint-plugin-oxlint": "1.55.0",
@@ -24,7 +24,7 @@
24
24
  "oxlint": "1.55.0",
25
25
  "oxlint-tsgolint": "0.16.0",
26
26
  "typescript": "5.9.3",
27
- "typescript-eslint": "8.57.0",
27
+ "typescript-eslint": "8.57.1",
28
28
  "vitest": "4.1.0"
29
29
  }
30
30
  }
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@eslint/js": "9.39.4",
21
- "@tailor-platform/function-types": "0.8.2",
22
- "@tailor-platform/sdk": "1.29.0",
21
+ "@tailor-platform/function-types": "0.8.3",
22
+ "@tailor-platform/sdk": "1.31.0",
23
23
  "@types/node": "24.12.0",
24
24
  "eslint": "9.39.4",
25
25
  "eslint-plugin-oxlint": "1.55.0",
@@ -29,7 +29,7 @@
29
29
  "oxlint": "1.55.0",
30
30
  "oxlint-tsgolint": "0.16.0",
31
31
  "typescript": "5.9.3",
32
- "typescript-eslint": "8.57.0",
32
+ "typescript-eslint": "8.57.1",
33
33
  "vitest": "4.1.0"
34
34
  }
35
35
  }