create-skybridge 2.0.3 → 2.1.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/dist/index.js CHANGED
@@ -324,7 +324,7 @@ export async function init(args = process.argv.slice(2)) {
324
324
  }
325
325
  // 8. pnpm ≥10 fails installs unless esbuild's build script is allow-listed
326
326
  if (pm === "pnpm") {
327
- fs.writeFileSync(path.join(root, "pnpm-workspace.yaml"), 'packages:\n - "."\nonlyBuiltDependencies:\n - esbuild\nallowBuilds:\n esbuild: true\n');
327
+ fs.writeFileSync(path.join(root, "pnpm-workspace.yaml"), 'packages:\n - "."\nonlyBuiltDependencies:\n - esbuild\nallowBuilds:\n esbuild: true\n "@swc/core": false\n msw: false\n');
328
328
  }
329
329
  // 9. Always install dependencies
330
330
  Spinner.start(`Installing dependencies with ${pm}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-skybridge",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Alpic",
@@ -1 +1 @@
1
- This is a ChatGPT/MCP app built with Skybridge. ALWAYS use the `chatgpt-app-builder` skill when planning or updating the codebase.
1
+ This is a ChatGPT/MCP App built with Skybridge. ALWAYS use the `chatgpt-app-builder` skill when planning or updating the codebase.
@@ -6,7 +6,7 @@
6
6
  # (For bun or deno, adapt the install/build/prune commands below.)
7
7
 
8
8
  # Build stage: install deps, compile the app, then prune dev deps.
9
- FROM node:24.18.0-slim AS build
9
+ FROM node:24.22.1-slim AS build
10
10
  WORKDIR /app
11
11
 
12
12
  COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
@@ -35,7 +35,7 @@ RUN if [ -f package-lock.json ]; then \
35
35
  fi
36
36
 
37
37
  # Runtime stage: copy built artifacts and prod deps, run as non-root.
38
- FROM node:24.18.0-slim AS runtime
38
+ FROM node:24.22.1-slim AS runtime
39
39
  WORKDIR /app
40
40
  ENV NODE_ENV=production
41
41
 
@@ -1,6 +1,6 @@
1
1
  # Skybridge Boilerplate
2
2
 
3
- A minimal TypeScript boilerplate for building MCP and ChatGPT Apps with the [Skybridge](https://docs.skybridge.tech) framework.
3
+ A minimal TypeScript boilerplate for building MCP Apps and ChatGPT plugins with the [Skybridge](https://docs.skybridge.tech) framework.
4
4
 
5
5
  ## Getting Started
6
6
 
@@ -87,7 +87,7 @@ The simplest way to deploy your app is by running the `deploy` command, which wi
87
87
 
88
88
  ## Resources
89
89
  - [Skybridge Documentation](https://docs.skybridge.tech/)
90
- - [Apps SDK Documentation](https://developers.openai.com/apps-sdk)
90
+ - [ChatGPT Plugins Documentation](https://developers.openai.com/plugins)
91
91
  - [MCP Apps Documentation](https://github.com/modelcontextprotocol/ext-apps/tree/main)
92
92
  - [Model Context Protocol Documentation](https://modelcontextprotocol.io/)
93
93
  - [Alpic Documentation](https://docs.alpic.ai/)
@@ -12,19 +12,19 @@
12
12
  "deploy": "alpic deploy"
13
13
  },
14
14
  "dependencies": {
15
- "skybridge": "^2.0.3",
15
+ "skybridge": "^2.1.0",
16
16
  "vite": "^8.1.5",
17
17
  "zod": "^4.4.3"
18
18
  },
19
19
  "devDependencies": {
20
- "@skybridge/devtools": "^2.0.3",
21
- "@skybridge/vite-plugin": "^2.0.3",
20
+ "@skybridge/devtools": "^2.1.0",
21
+ "@skybridge/vite-plugin": "^2.1.0",
22
22
  "@types/node": "^24.13.3",
23
23
  "alpic": "^1.155.0",
24
24
  "tsx": "^4.23.1",
25
25
  "typescript": "^6.0.3"
26
26
  },
27
27
  "engines": {
28
- "node": ">=24.18.0"
28
+ "node": ">=24.0.0"
29
29
  }
30
30
  }
@@ -1 +1 @@
1
- This is a ChatGPT/MCP app built with Skybridge. ALWAYS use the `chatgpt-app-builder` skill when planning or updating the codebase.
1
+ This is a ChatGPT/MCP App built with Skybridge. ALWAYS use the `chatgpt-app-builder` skill when planning or updating the codebase.
@@ -6,7 +6,7 @@
6
6
  # (For bun or deno, adapt the install/build/prune commands below.)
7
7
 
8
8
  # Build stage: install deps, compile the app, then prune dev deps.
9
- FROM node:24.18.0-slim AS build
9
+ FROM node:24.22.1-slim AS build
10
10
  WORKDIR /app
11
11
 
12
12
  COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
@@ -35,7 +35,7 @@ RUN if [ -f package-lock.json ]; then \
35
35
  fi
36
36
 
37
37
  # Runtime stage: copy built artifacts and prod deps, run as non-root.
38
- FROM node:24.18.0-slim AS runtime
38
+ FROM node:24.22.1-slim AS runtime
39
39
  WORKDIR /app
40
40
  ENV NODE_ENV=production
41
41
 
@@ -1,6 +1,6 @@
1
1
  # Skybridge Template
2
2
 
3
- A starter TypeScript template for building MCP and ChatGPT Apps with the [Skybridge](https://docs.skybridge.tech) framework.
3
+ A starter TypeScript template for building MCP Apps and ChatGPT plugins with the [Skybridge](https://docs.skybridge.tech) framework.
4
4
 
5
5
  ## Getting Started
6
6
 
@@ -91,7 +91,7 @@ The simplest way to deploy your app is by running the `deploy` command, which wi
91
91
 
92
92
  ## Resources
93
93
  - [Skybridge Documentation](https://docs.skybridge.tech/)
94
- - [Apps SDK Documentation](https://developers.openai.com/apps-sdk)
94
+ - [ChatGPT Plugins Documentation](https://developers.openai.com/plugins)
95
95
  - [MCP Apps Documentation](https://github.com/modelcontextprotocol/ext-apps/tree/main)
96
96
  - [Model Context Protocol Documentation](https://modelcontextprotocol.io/)
97
97
  - [Alpic Documentation](https://docs.alpic.ai/)
@@ -18,7 +18,7 @@
18
18
  "lucide-react": "^1.25.0",
19
19
  "react": "^19.2.7",
20
20
  "react-dom": "^19.2.7",
21
- "skybridge": "^2.0.3",
21
+ "skybridge": "^2.1.0",
22
22
  "sonner": "^2.0.7",
23
23
  "tw-animate-css": "^1.4.0",
24
24
  "vite": "^8.1.5",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@ai-sdk/anthropic": "^4.0.0",
29
- "@skybridge/devtools": "^2.0.3",
30
- "@skybridge/test": "^2.0.3",
31
- "@skybridge/vite-plugin": "^2.0.3",
29
+ "@skybridge/devtools": "^2.1.0",
30
+ "@skybridge/test": "^2.1.0",
31
+ "@skybridge/vite-plugin": "^2.1.0",
32
32
  "@tailwindcss/vite": "^4.3.3",
33
33
  "@types/node": "^24.13.3",
34
34
  "@types/react": "^19.2.17",
@@ -42,6 +42,6 @@
42
42
  "vitest": "^4.1.10"
43
43
  },
44
44
  "engines": {
45
- "node": ">=24.18.0"
45
+ "node": ">=24.0.0"
46
46
  }
47
47
  }
@@ -37,6 +37,7 @@ export const app = new Skybridge({
37
37
  redirectDomains: ["https://docs.skybridge.tech"],
38
38
  },
39
39
  },
40
+ openai: { entrypoints: [{ type: "global" }] },
40
41
  },
41
42
  async ({ name }) => {
42
43
  return {
@@ -6,7 +6,7 @@
6
6
  # (For bun or deno, adapt the install/build/prune commands below.)
7
7
 
8
8
  # Build stage: install deps, compile the app, then prune dev deps.
9
- FROM node:24.18.0-slim AS build
9
+ FROM node:24.22.1-slim AS build
10
10
  WORKDIR /app
11
11
 
12
12
  COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
@@ -35,7 +35,7 @@ RUN if [ -f package-lock.json ]; then \
35
35
  fi
36
36
 
37
37
  # Runtime stage: copy built artifacts and prod deps, run as non-root.
38
- FROM node:24.18.0-slim AS runtime
38
+ FROM node:24.22.1-slim AS runtime
39
39
  WORKDIR /app
40
40
  ENV NODE_ENV=production
41
41
 
@@ -1,6 +1,6 @@
1
1
  # Skybridge Boilerplate
2
2
 
3
- A minimal TypeScript boilerplate for building MCP and ChatGPT Apps with the [Skybridge](https://docs.skybridge.tech) framework.
3
+ A minimal TypeScript boilerplate for building MCP Apps and ChatGPT plugins with the [Skybridge](https://docs.skybridge.tech) framework.
4
4
 
5
5
  ## Getting Started
6
6
 
@@ -87,7 +87,7 @@ The simplest way to deploy your app is by running the `deploy` command, which wi
87
87
 
88
88
  ## Resources
89
89
  - [Skybridge Documentation](https://docs.skybridge.tech/)
90
- - [Apps SDK Documentation](https://developers.openai.com/apps-sdk)
90
+ - [ChatGPT Plugins Documentation](https://developers.openai.com/plugins)
91
91
  - [MCP Apps Documentation](https://github.com/modelcontextprotocol/ext-apps/tree/main)
92
92
  - [Model Context Protocol Documentation](https://modelcontextprotocol.io/)
93
93
  - [Alpic Documentation](https://docs.alpic.ai/)
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@types+node@24.13.3_@types+react@19.2.17_jiti@2.7.0_lightningcss@1.3_8c0d7eb4f29a667fc68ef4c081ca0a73/node_modules/@ladle/react/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@types+node@24.13.3_@types+react@19.2.17_jiti@2.7.0_lightningcss@1.3_8c0d7eb4f29a667fc68ef4c081ca0a73/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@swc+helpers@0.5.23_@types+node@24.13.3_@types+react@19.2.17_jiti@2._9105ecfa2ac4b29fe87a036530c3844f/node_modules/@ladle/react/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@swc+helpers@0.5.23_@types+node@24.13.3_@types+react@19.2.17_jiti@2._9105ecfa2ac4b29fe87a036530c3844f/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@types+node@24.13.3_@types+react@19.2.17_jiti@2.7.0_lightningcss@1.3_8c0d7eb4f29a667fc68ef4c081ca0a73/node_modules/@ladle/react/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@types+node@24.13.3_@types+react@19.2.17_jiti@2.7.0_lightningcss@1.3_8c0d7eb4f29a667fc68ef4c081ca0a73/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@swc+helpers@0.5.23_@types+node@24.13.3_@types+react@19.2.17_jiti@2._9105ecfa2ac4b29fe87a036530c3844f/node_modules/@ladle/react/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/@ladle+react@5.1.1_@swc+helpers@0.5.23_@types+node@24.13.3_@types+react@19.2.17_jiti@2._9105ecfa2ac4b29fe87a036530c3844f/node_modules:/home/runner/work/skybridge/skybridge/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../@ladle/react/lib/cli/cli.js" "$@"
@@ -16,14 +16,14 @@
16
16
  "dependencies": {
17
17
  "react": "^19.2.4",
18
18
  "react-dom": "^19.2.4",
19
- "skybridge": "^2.0.3",
19
+ "skybridge": "^2.1.0",
20
20
  "vite": "^8.1.3",
21
21
  "zod": "^4.4.3"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@ladle/react": "^5.1.1",
25
- "@skybridge/devtools": "^2.0.3",
26
- "@skybridge/vite-plugin": "^2.0.3",
25
+ "@skybridge/devtools": "^2.1.0",
26
+ "@skybridge/vite-plugin": "^2.1.0",
27
27
  "@types/node": "^24.13.2",
28
28
  "@types/react": "^19.2.14",
29
29
  "@types/react-dom": "^19.2.3",
@@ -37,6 +37,6 @@
37
37
  "typescript": "^6.0.3"
38
38
  },
39
39
  "engines": {
40
- "node": ">=24.18.0"
40
+ "node": ">=24.0.0"
41
41
  }
42
42
  }