@strav/spring 0.3.10 → 0.3.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strav/spring",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "type": "module",
5
5
  "description": "Flagship framework scaffolding tool for the Strav ecosystem.",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  "README.md"
23
23
  ],
24
24
  "dependencies": {
25
- "@strav/kernel": "0.3.10"
25
+ "@strav/kernel": "0.3.12"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/bun": "latest"
@@ -1,13 +0,0 @@
1
- import type { Router } from '@strav/http'
2
-
3
- export default function (router: Router) {
4
- // Health check endpoint
5
- router.get('/health', async (ctx) => {
6
- return ctx.json({ status: 'ok', timestamp: new Date().toISOString() })
7
- })
8
-
9
- // API routes
10
- router.group('/api', () => {
11
- // Add your API routes here
12
- })
13
- }
@@ -1,10 +0,0 @@
1
- import { env } from '@strav/kernel'
2
-
3
- export default {
4
- secret: env('SESSION_SECRET'),
5
- cookieName: env('SESSION_COOKIE_NAME', 'session'),
6
- maxAge: 1000 * 60 * 60 * 24 * 7, // 1 week
7
- secure: env('APP_ENV') === 'production',
8
- httpOnly: true,
9
- sameSite: 'lax' as const,
10
- }