Skip to content

Commit 59a2678

Browse files
authored
Merge pull request #97 from lambda-curry/codegen-bot/update-calendar-components-latest-shadcn
2 parents d9364f6 + f32ca85 commit 59a2678

26 files changed

Lines changed: 1641 additions & 849 deletions

.cursor/rules/storybook-testing.mdc

Lines changed: 385 additions & 234 deletions
Large diffs are not rendered by default.

apps/docs/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@
1414
"@hookform/error-message": "^2.0.0",
1515
"@hookform/resolvers": "^3.9.1",
1616
"@lambdacurry/forms": "*",
17-
"@storybook/addon-links": "^9.0.1",
18-
"@storybook/react-vite": "^9.0.1",
17+
"@storybook/addon-links": "^9.0.6",
18+
"@storybook/react-vite": "^9.0.6",
1919
"react": "^19.0.0",
2020
"react-hook-form": "^7.51.0",
2121
"react-router": "^7.6.1",
2222
"remix-hook-form": "^7.0.1",
23-
"storybook": "^9.0.1"
23+
"storybook": "^9.0.6"
2424
},
2525
"devDependencies": {
2626
"@react-router/dev": "^7.0.0",
27-
"@storybook/addon-docs": "^9.0.1",
28-
"@storybook/test-runner": "^0.22.0",
27+
"@storybook/addon-docs": "^9.0.6",
28+
"@storybook/test": "^8.6.14",
29+
"@storybook/test-runner": "^0.22.1",
2930
"@storybook/testing-library": "^0.2.2",
3031
"@tailwindcss/postcss": "^4.1.8",
3132
"@tailwindcss/vite": "^4.0.0",

apps/docs/simple-server.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const http = require('http');
2-
const fs = require('fs');
3-
const path = require('path');
1+
const http = require('node:http');
2+
const fs = require('node:fs');
3+
const path = require('node:path');
44

55
const server = http.createServer((req, res) => {
66
// Add CORS headers
@@ -9,24 +9,25 @@ const server = http.createServer((req, res) => {
99
res.setHeader('Access-Control-Allow-Headers', 'Content-Type');
1010

1111
let filePath = path.join(__dirname, 'storybook-static', req.url === '/' ? 'index.html' : req.url);
12-
12+
1313
// If file doesn't exist, serve index.html for SPA routing
1414
if (!fs.existsSync(filePath)) {
1515
filePath = path.join(__dirname, 'storybook-static', 'index.html');
1616
}
17-
17+
1818
const ext = path.extname(filePath);
19-
const contentType = {
20-
'.html': 'text/html',
21-
'.js': 'text/javascript',
22-
'.css': 'text/css',
23-
'.json': 'application/json',
24-
'.png': 'image/png',
25-
'.jpg': 'image/jpeg',
26-
'.gif': 'image/gif',
27-
'.svg': 'image/svg+xml'
28-
}[ext] || 'text/plain';
29-
19+
const contentType =
20+
{
21+
'.html': 'text/html',
22+
'.js': 'text/javascript',
23+
'.css': 'text/css',
24+
'.json': 'application/json',
25+
'.png': 'image/png',
26+
'.jpg': 'image/jpeg',
27+
'.gif': 'image/gif',
28+
'.svg': 'image/svg+xml',
29+
}[ext] || 'text/plain';
30+
3031
fs.readFile(filePath, (err, content) => {
3132
if (err) {
3233
console.error('Error reading file:', filePath, err);
@@ -43,4 +44,3 @@ const PORT = 45678;
4344
server.listen(PORT, () => {
4445
console.log(`Server running on http://127.0.0.1:${PORT}`);
4546
});
46-

apps/docs/src/0.2 Writing Tests.mdx

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)