@olonjs/cli 3.0.141 → 3.0.142

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.
@@ -1658,7 +1658,7 @@ export const config = {
1658
1658
 
1659
1659
  const COOKIE_NAME = '__olonjs_admin_session';
1660
1660
  const COOKIE_MAX_AGE = 3600;
1661
- const JWT_MAX_AGE_SECONDS = 300;
1661
+ const JWT_MAX_AGE_SECONDS = 45;
1662
1662
 
1663
1663
  function base64urlToBase64(str: string): string {
1664
1664
  return str.replace(/-/g, '+').replace(/_/g, '/') + '='.repeat((4 - (str.length % 4)) % 4);
@@ -1817,7 +1817,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1817
1817
  "@tiptap/extension-link": "^2.11.5",
1818
1818
  "@tiptap/react": "^2.11.5",
1819
1819
  "@tiptap/starter-kit": "^2.11.5",
1820
- "@olonjs/core": "^1.1.5",
1820
+ "@olonjs/core": "^1.1.6",
1821
1821
  "class-variance-authority": "^0.7.1",
1822
1822
  "clsx": "^2.1.1",
1823
1823
  "lucide-react": "^0.474.0",
@@ -4150,6 +4150,10 @@ export type EmptyTenantSettings = z.infer<typeof EmptyTenantSettingsSchema>;
4150
4150
 
4151
4151
  END_OF_FILE_CONTENT
4152
4152
  mkdir -p "src/components/form-demo"
4153
+ echo "Creating src/components/form-demo/Untitled..."
4154
+ cat << 'END_OF_FILE_CONTENT' > "src/components/form-demo/Untitled"
4155
+ useFormSubmit
4156
+ END_OF_FILE_CONTENT
4153
4157
  echo "Creating src/components/form-demo/View.tsx..."
4154
4158
  cat << 'END_OF_FILE_CONTENT' > "src/components/form-demo/View.tsx"
4155
4159
  import { Icon } from '@/lib/IconResolver';
@@ -10926,16 +10930,11 @@ END_OF_FILE_CONTENT
10926
10930
  echo "Creating vercel.json..."
10927
10931
  cat << 'END_OF_FILE_CONTENT' > "vercel.json"
10928
10932
  {
10929
- "rewrites": [
10930
- {
10931
- "source": "/:pagePath*.json",
10932
- "destination": "/pages/:pagePath*.json"
10933
- },
10934
- {
10935
- "source": "/(.*)",
10936
- "destination": "/index.html"
10937
- }
10938
- ],
10933
+ "rewrites": [
10934
+
10935
+ { "source": "/:path*.json", "destination": "{BLOB_BASE}/tenants/{slug}/pages/:path*.json" },
10936
+ { "source": "/(.*)", "destination": "/index.html" }
10937
+ ],
10939
10938
  "headers": [
10940
10939
  {
10941
10940
  "source": "/assets/(.*)",
@@ -1658,7 +1658,7 @@ export const config = {
1658
1658
 
1659
1659
  const COOKIE_NAME = '__olonjs_admin_session';
1660
1660
  const COOKIE_MAX_AGE = 3600;
1661
- const JWT_MAX_AGE_SECONDS = 300;
1661
+ const JWT_MAX_AGE_SECONDS = 45;
1662
1662
 
1663
1663
  function base64urlToBase64(str: string): string {
1664
1664
  return str.replace(/-/g, '+').replace(/_/g, '/') + '='.repeat((4 - (str.length % 4)) % 4);
@@ -1817,7 +1817,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1817
1817
  "@tiptap/extension-link": "^2.11.5",
1818
1818
  "@tiptap/react": "^2.11.5",
1819
1819
  "@tiptap/starter-kit": "^2.11.5",
1820
- "@olonjs/core": "^1.1.5",
1820
+ "@olonjs/core": "^1.1.6",
1821
1821
  "class-variance-authority": "^0.7.1",
1822
1822
  "clsx": "^2.1.1",
1823
1823
  "lucide-react": "^0.474.0",
@@ -4150,6 +4150,10 @@ export type EmptyTenantSettings = z.infer<typeof EmptyTenantSettingsSchema>;
4150
4150
 
4151
4151
  END_OF_FILE_CONTENT
4152
4152
  mkdir -p "src/components/form-demo"
4153
+ echo "Creating src/components/form-demo/Untitled..."
4154
+ cat << 'END_OF_FILE_CONTENT' > "src/components/form-demo/Untitled"
4155
+ useFormSubmit
4156
+ END_OF_FILE_CONTENT
4153
4157
  echo "Creating src/components/form-demo/View.tsx..."
4154
4158
  cat << 'END_OF_FILE_CONTENT' > "src/components/form-demo/View.tsx"
4155
4159
  import { Icon } from '@/lib/IconResolver';
@@ -10926,16 +10930,11 @@ END_OF_FILE_CONTENT
10926
10930
  echo "Creating vercel.json..."
10927
10931
  cat << 'END_OF_FILE_CONTENT' > "vercel.json"
10928
10932
  {
10929
- "rewrites": [
10930
- {
10931
- "source": "/:pagePath*.json",
10932
- "destination": "/pages/:pagePath*.json"
10933
- },
10934
- {
10935
- "source": "/(.*)",
10936
- "destination": "/index.html"
10937
- }
10938
- ],
10933
+ "rewrites": [
10934
+
10935
+ { "source": "/:path*.json", "destination": "{BLOB_BASE}/tenants/{slug}/pages/:path*.json" },
10936
+ { "source": "/(.*)", "destination": "/index.html" }
10937
+ ],
10939
10938
  "headers": [
10940
10939
  {
10941
10940
  "source": "/assets/(.*)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olonjs/cli",
3
- "version": "3.0.141",
3
+ "version": "3.0.142",
4
4
  "description": "The Sovereign CLI Engine for OlonJS.",
5
5
  "type": "module",
6
6
  "bin": {