sunpeak 0.8.4 → 0.8.5

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/README.md CHANGED
@@ -40,7 +40,8 @@ Quickstart, build, test, and ship your ChatGPT App locally!
40
40
  Requirements: Node (20+), pnpm (10+)
41
41
 
42
42
  ```bash
43
- pnpm dlx sunpeak new
43
+ pnpm add -g sunpeak
44
+ sunpeak new
44
45
  ```
45
46
 
46
47
  To add sunpeak to an existing project, refer to the [documentation](https://docs.sunpeak.ai/add-to-existing-project).
package/bin/sunpeak.js CHANGED
@@ -400,17 +400,10 @@ function parseResourceArgs(args) {
400
400
  console.log(`
401
401
  ☀️ 🏔️ sunpeak - The ChatGPT App framework
402
402
 
403
- Usage:
404
- npx sunpeak new [name] [resources] Create a new project (no install needed)
405
- pnpm dlx sunpeak new Alternative with pnpm
406
-
407
- Resources: albums, carousel, confirmation, counter, map (comma/space separated)
408
- Example: npx sunpeak new my-app "albums,carousel"
409
-
410
- Inside your project, use npm scripts:
411
- pnpm test Run tests
403
+ Install:
404
+ pnpm add -g sunpeak
412
405
 
413
- Direct CLI commands (when sunpeak is installed):
406
+ Usage:
414
407
  sunpeak new [name] [resources] Create a new project
415
408
  sunpeak dev Start dev server
416
409
  sunpeak build Build resources
@@ -423,6 +416,9 @@ Direct CLI commands (when sunpeak is installed):
423
416
  sunpeak upgrade Upgrade sunpeak to latest version
424
417
  sunpeak --version Show version number
425
418
 
419
+ Resources: albums, carousel, confirmation, counter, map (comma/space separated)
420
+ Example: sunpeak new my-app "albums,carousel"
421
+
426
422
  For more information, visit: https://sunpeak.ai/
427
423
  `);
428
424
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sunpeak",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "The ChatGPT App framework. Quickstart, build, & test your ChatGPT App locally!",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -12,5 +12,5 @@
12
12
  ]
13
13
  }
14
14
  },
15
- "uri": "ui://albums-mjszyos6"
15
+ "uri": "ui://albums-mjt16aw5"
16
16
  }
@@ -12,5 +12,5 @@
12
12
  ]
13
13
  }
14
14
  },
15
- "uri": "ui://carousel-mjszyos6"
15
+ "uri": "ui://carousel-mjt16aw5"
16
16
  }
@@ -12,5 +12,5 @@
12
12
  ]
13
13
  }
14
14
  },
15
- "uri": "ui://confirmation-mjszyos6"
15
+ "uri": "ui://confirmation-mjt16aw5"
16
16
  }
@@ -11,5 +11,5 @@
11
11
  ]
12
12
  }
13
13
  },
14
- "uri": "ui://counter-mjszyos6"
14
+ "uri": "ui://counter-mjt16aw5"
15
15
  }
@@ -18,5 +18,5 @@
18
18
  ]
19
19
  }
20
20
  },
21
- "uri": "ui://map-mjszyos6"
21
+ "uri": "ui://map-mjt16aw5"
22
22
  }
@@ -7,115 +7,115 @@
7
7
  "react": {
8
8
  "src": "../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js",
9
9
  "file": "react.js",
10
- "fileHash": "1adce65b",
10
+ "fileHash": "0e51fec8",
11
11
  "needsInterop": true
12
12
  },
13
13
  "react-dom": {
14
14
  "src": "../../../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js",
15
15
  "file": "react-dom.js",
16
- "fileHash": "5f4c05ee",
16
+ "fileHash": "4b45983a",
17
17
  "needsInterop": true
18
18
  },
19
19
  "react/jsx-dev-runtime": {
20
20
  "src": "../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-dev-runtime.js",
21
21
  "file": "react_jsx-dev-runtime.js",
22
- "fileHash": "db478c36",
22
+ "fileHash": "8699c450",
23
23
  "needsInterop": true
24
24
  },
25
25
  "react/jsx-runtime": {
26
26
  "src": "../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js",
27
27
  "file": "react_jsx-runtime.js",
28
- "fileHash": "4eccc71b",
28
+ "fileHash": "651d9e7f",
29
29
  "needsInterop": true
30
30
  },
31
31
  "@openai/apps-sdk-ui/components/Avatar": {
32
32
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Avatar/index.js",
33
33
  "file": "@openai_apps-sdk-ui_components_Avatar.js",
34
- "fileHash": "db689388",
34
+ "fileHash": "33128183",
35
35
  "needsInterop": false
36
36
  },
37
37
  "@openai/apps-sdk-ui/components/Button": {
38
38
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Button/index.js",
39
39
  "file": "@openai_apps-sdk-ui_components_Button.js",
40
- "fileHash": "fb09cd35",
40
+ "fileHash": "b929b5a5",
41
41
  "needsInterop": false
42
42
  },
43
43
  "@openai/apps-sdk-ui/components/Checkbox": {
44
44
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Checkbox/index.js",
45
45
  "file": "@openai_apps-sdk-ui_components_Checkbox.js",
46
- "fileHash": "9955d764",
46
+ "fileHash": "097d6898",
47
47
  "needsInterop": false
48
48
  },
49
49
  "@openai/apps-sdk-ui/components/Icon": {
50
50
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Icon/index.js",
51
51
  "file": "@openai_apps-sdk-ui_components_Icon.js",
52
- "fileHash": "765cdd61",
52
+ "fileHash": "d4c227fa",
53
53
  "needsInterop": false
54
54
  },
55
55
  "@openai/apps-sdk-ui/components/Input": {
56
56
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Input/index.js",
57
57
  "file": "@openai_apps-sdk-ui_components_Input.js",
58
- "fileHash": "a6d61b3a",
58
+ "fileHash": "e4e68712",
59
59
  "needsInterop": false
60
60
  },
61
61
  "@openai/apps-sdk-ui/components/SegmentedControl": {
62
62
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/SegmentedControl/index.js",
63
63
  "file": "@openai_apps-sdk-ui_components_SegmentedControl.js",
64
- "fileHash": "ab1e5838",
64
+ "fileHash": "b2d42700",
65
65
  "needsInterop": false
66
66
  },
67
67
  "@openai/apps-sdk-ui/components/Select": {
68
68
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Select/index.js",
69
69
  "file": "@openai_apps-sdk-ui_components_Select.js",
70
- "fileHash": "02fa0bc6",
70
+ "fileHash": "2f773d0d",
71
71
  "needsInterop": false
72
72
  },
73
73
  "@openai/apps-sdk-ui/components/Textarea": {
74
74
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Textarea/index.js",
75
75
  "file": "@openai_apps-sdk-ui_components_Textarea.js",
76
- "fileHash": "5efa173b",
76
+ "fileHash": "c4149e45",
77
77
  "needsInterop": false
78
78
  },
79
79
  "@openai/apps-sdk-ui/theme": {
80
80
  "src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/lib/theme.js",
81
81
  "file": "@openai_apps-sdk-ui_theme.js",
82
- "fileHash": "adf633fb",
82
+ "fileHash": "e55a818f",
83
83
  "needsInterop": false
84
84
  },
85
85
  "clsx": {
86
86
  "src": "../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs",
87
87
  "file": "clsx.js",
88
- "fileHash": "f0393b05",
88
+ "fileHash": "7928d437",
89
89
  "needsInterop": false
90
90
  },
91
91
  "embla-carousel-react": {
92
92
  "src": "../../../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.3/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js",
93
93
  "file": "embla-carousel-react.js",
94
- "fileHash": "5aa6dc8a",
94
+ "fileHash": "1bb217b3",
95
95
  "needsInterop": false
96
96
  },
97
97
  "embla-carousel-wheel-gestures": {
98
98
  "src": "../../../../node_modules/.pnpm/embla-carousel-wheel-gestures@8.1.0_embla-carousel@8.6.0/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js",
99
99
  "file": "embla-carousel-wheel-gestures.js",
100
- "fileHash": "c63e155a",
100
+ "fileHash": "e5d1e192",
101
101
  "needsInterop": false
102
102
  },
103
103
  "mapbox-gl": {
104
104
  "src": "../../../../node_modules/.pnpm/mapbox-gl@3.17.0/node_modules/mapbox-gl/dist/mapbox-gl.js",
105
105
  "file": "mapbox-gl.js",
106
- "fileHash": "df535463",
106
+ "fileHash": "0dca694e",
107
107
  "needsInterop": true
108
108
  },
109
109
  "react-dom/client": {
110
110
  "src": "../../../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/client.js",
111
111
  "file": "react-dom_client.js",
112
- "fileHash": "83056a21",
112
+ "fileHash": "36decb8e",
113
113
  "needsInterop": true
114
114
  },
115
115
  "tailwind-merge": {
116
116
  "src": "../../../../node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs",
117
117
  "file": "tailwind-merge.js",
118
- "fileHash": "0b505b22",
118
+ "fileHash": "0aa9c93c",
119
119
  "needsInterop": false
120
120
  }
121
121
  },
@@ -1 +1 @@
1
- {"version":"4.0.16","results":[[":src/resources/carousel-resource.test.tsx",{"duration":255.92725199999995,"failed":false}],[":src/components/album/albums.test.tsx",{"duration":316.69233699999995,"failed":false}],[":src/resources/counter-resource.test.tsx",{"duration":296.34930299999996,"failed":false}],[":src/components/map/map-view.test.tsx",{"duration":74.30506199999991,"failed":false}],[":src/components/map/place-inspector.test.tsx",{"duration":401.9067449999998,"failed":false}],[":src/components/album/fullscreen-viewer.test.tsx",{"duration":275.725199,"failed":false}],[":src/components/map/place-list.test.tsx",{"duration":150.993152,"failed":false}],[":src/components/map/place-card.test.tsx",{"duration":324.07580099999996,"failed":false}],[":src/components/map/place-carousel.test.tsx",{"duration":391.78054900000006,"failed":false}],[":src/components/album/album-carousel.test.tsx",{"duration":70.01213700000017,"failed":false}],[":src/components/carousel/carousel.test.tsx",{"duration":71.646121,"failed":false}],[":src/resources/albums-resource.test.tsx",{"duration":224.81713300000013,"failed":false}],[":src/components/album/film-strip.test.tsx",{"duration":436.2063170000001,"failed":false}],[":src/components/album/album-card.test.tsx",{"duration":231.87361699999997,"failed":false}],[":src/components/carousel/card.test.tsx",{"duration":77.7521690000001,"failed":false}]]}
1
+ {"version":"4.0.16","results":[[":src/components/album/albums.test.tsx",{"duration":326.520274,"failed":false}],[":src/resources/carousel-resource.test.tsx",{"duration":261.3222820000001,"failed":false}],[":src/resources/counter-resource.test.tsx",{"duration":342.0812799999994,"failed":false}],[":src/components/map/map-view.test.tsx",{"duration":73.70137100000011,"failed":false}],[":src/components/map/place-inspector.test.tsx",{"duration":432.93000200000006,"failed":false}],[":src/components/album/fullscreen-viewer.test.tsx",{"duration":253.5347079999999,"failed":false}],[":src/components/map/place-list.test.tsx",{"duration":161.95495300000016,"failed":false}],[":src/components/map/place-card.test.tsx",{"duration":370.12367099999983,"failed":false}],[":src/components/map/place-carousel.test.tsx",{"duration":403.4559099999999,"failed":false}],[":src/components/album/album-carousel.test.tsx",{"duration":85.3357390000001,"failed":false}],[":src/components/carousel/carousel.test.tsx",{"duration":95.43344399999978,"failed":false}],[":src/resources/albums-resource.test.tsx",{"duration":250.54613099999983,"failed":false}],[":src/components/album/film-strip.test.tsx",{"duration":484.06368499999985,"failed":false}],[":src/components/album/album-card.test.tsx",{"duration":324.16230099999984,"failed":false}],[":src/components/carousel/card.test.tsx",{"duration":84.68081699999993,"failed":false}]]}