sunpeak 0.20.60 → 0.20.62
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/bin/commands/inspect.mjs +2 -1
- package/bin/commands/new.mjs +11 -8
- package/bin/commands/test-init.mjs +1 -0
- package/bin/commands/test.mjs +8 -4
- package/bin/lib/resolve-bin.mjs +18 -0
- package/bin/lib/test/base-config.mjs +3 -1
- package/bin/lib/test/test-config.mjs +11 -2
- package/bin/sunpeak.js +4 -2
- package/dist/chatgpt/index.cjs +1 -1
- package/dist/chatgpt/index.js +1 -1
- package/dist/claude/index.cjs +1 -1
- package/dist/claude/index.js +1 -1
- package/dist/embed.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/inspector/index.cjs +1 -1
- package/dist/inspector/index.js +1 -1
- package/dist/{inspector-WIO0nm2Q.cjs → inspector-Cl5w_7yQ.cjs} +7 -4
- package/dist/inspector-Cl5w_7yQ.cjs.map +1 -0
- package/dist/{inspector-CFSIZYOm.js → inspector-DPJeSQAd.js} +7 -4
- package/dist/inspector-DPJeSQAd.js.map +1 -0
- package/dist/protocol-DVkrOIAq.cjs.map +1 -1
- package/dist/protocol-fGgeFIiL.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +16 -15
- package/template/dist/albums/albums.html +4 -4
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.html +7 -7
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.html +7 -7
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.html +4 -4
- package/template/dist/review/review.json +1 -1
- package/template/node_modules/.bin/playwright +2 -2
- package/template/node_modules/.bin/vite +2 -2
- package/template/node_modules/.bin/vitest +2 -2
- package/template/node_modules/.vite/deps/_metadata.json +4 -4
- package/template/node_modules/.vite-mcp/deps/_metadata.json +21 -21
- package/template/node_modules/.vite-mcp/deps/embla-carousel-react.js +2 -1
- package/template/node_modules/.vite-mcp/deps/embla-carousel-react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/external-D8EJN_Cc.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/mapbox-gl.js +114 -87
- package/template/node_modules/.vite-mcp/deps/mapbox-gl.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/tailwind-merge.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/vitest.js +40 -24
- package/template/node_modules/.vite-mcp/deps/vitest.js.map +1 -1
- package/template/package.json +6 -5
- package/template/tests/e2e/carousel.spec.ts +9 -9
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-dark-chatgpt-darwin.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-dark-claude-darwin.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-chatgpt-darwin.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-claude-darwin.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-light-chatgpt-darwin.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-light-claude-darwin.png +0 -0
- package/template/vitest.config.ts +2 -0
- package/dist/inspector-CFSIZYOm.js.map +0 -1
- package/dist/inspector-WIO0nm2Q.cjs.map +0 -1
package/template/package.json
CHANGED
|
@@ -24,21 +24,22 @@
|
|
|
24
24
|
"zod": "^4.4.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@playwright/test": "1.
|
|
28
|
-
"@
|
|
27
|
+
"@playwright/test": "1.61.1",
|
|
28
|
+
"@rolldown/pluginutils": "^1.0.1",
|
|
29
|
+
"@tailwindcss/vite": "^4.3.2",
|
|
29
30
|
"@testing-library/jest-dom": "^6.9.1",
|
|
30
31
|
"@testing-library/react": "^16.3.2",
|
|
31
32
|
"@testing-library/user-event": "^14.6.1",
|
|
32
|
-
"@types/node": "^26.0
|
|
33
|
+
"@types/node": "^26.1.0",
|
|
33
34
|
"@types/react": "^19.2.17",
|
|
34
35
|
"@types/react-dom": "^19.2.3",
|
|
35
36
|
"@vitejs/plugin-react": "^6.0.3",
|
|
36
37
|
"happy-dom": "^20.10.6",
|
|
37
38
|
"react": "^19.2.7",
|
|
38
39
|
"react-dom": "^19.2.7",
|
|
39
|
-
"tailwindcss": "^4.3.
|
|
40
|
+
"tailwindcss": "^4.3.2",
|
|
40
41
|
"typescript": "^6.0.3",
|
|
41
|
-
"vite": "8.1.
|
|
42
|
+
"vite": "8.1.3",
|
|
42
43
|
"vitest": "^4.1.9"
|
|
43
44
|
}
|
|
44
45
|
}
|
|
@@ -44,9 +44,9 @@ test('should show detail view with place info in fullscreen', async ({ inspector
|
|
|
44
44
|
});
|
|
45
45
|
const app = result.app();
|
|
46
46
|
|
|
47
|
-
const
|
|
48
|
-
await expect(
|
|
49
|
-
await
|
|
47
|
+
const firstPlace = app.getByRole('heading', { name: 'Lady Bird Lake' });
|
|
48
|
+
await expect(firstPlace).toBeVisible();
|
|
49
|
+
await firstPlace.click();
|
|
50
50
|
|
|
51
51
|
await expect(app.locator('h1:has-text("Lady Bird Lake")')).toBeVisible({ timeout: 5000 });
|
|
52
52
|
await expect(app.locator('text=Highlights')).toBeVisible();
|
|
@@ -73,9 +73,9 @@ test('should not have a back button in detail view', async ({ inspector }) => {
|
|
|
73
73
|
});
|
|
74
74
|
const app = result.app();
|
|
75
75
|
|
|
76
|
-
const
|
|
77
|
-
await expect(
|
|
78
|
-
await
|
|
76
|
+
const firstPlace = app.getByRole('heading', { name: 'Lady Bird Lake' });
|
|
77
|
+
await expect(firstPlace).toBeVisible();
|
|
78
|
+
await firstPlace.click();
|
|
79
79
|
|
|
80
80
|
await expect(app.locator('h1:has-text("Lady Bird Lake")')).toBeVisible({ timeout: 5000 });
|
|
81
81
|
const backButton = app.locator('button[aria-label="Back to carousel"]');
|
|
@@ -88,9 +88,9 @@ test('should center the hero image without stretching', async ({ inspector }) =>
|
|
|
88
88
|
});
|
|
89
89
|
const app = result.app();
|
|
90
90
|
|
|
91
|
-
const
|
|
92
|
-
await expect(
|
|
93
|
-
await
|
|
91
|
+
const firstPlace = app.getByRole('heading', { name: 'Lady Bird Lake' });
|
|
92
|
+
await expect(firstPlace).toBeVisible();
|
|
93
|
+
await firstPlace.click();
|
|
94
94
|
|
|
95
95
|
await expect(app.locator('h1:has-text("Lady Bird Lake")')).toBeVisible({ timeout: 5000 });
|
|
96
96
|
await expect(app.locator('img[alt="Lady Bird Lake"]')).toBeVisible();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|