@olonjs/cli 3.0.125 → 3.0.126

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.
@@ -1643,7 +1643,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1643
1643
  "@tiptap/extension-link": "^2.11.5",
1644
1644
  "@tiptap/react": "^2.11.5",
1645
1645
  "@tiptap/starter-kit": "^2.11.5",
1646
- "@olonjs/core": "^1.0.114",
1646
+ "@olonjs/core": "^1.0.115",
1647
1647
  "class-variance-authority": "^0.7.1",
1648
1648
  "clsx": "^2.1.1",
1649
1649
  "lucide-react": "^0.474.0",
@@ -8073,8 +8073,8 @@ function hasRenderableCta(cta: { label?: string; href?: string } | undefined): c
8073
8073
  }
8074
8074
 
8075
8075
  export function OlonHeroView({ data }: Props) {
8076
- const { tenantId = 'default' } = useConfig();
8077
- const imageUrl = data.image?.url ? resolveAssetUrl(data.image.url, tenantId) : heroPlugImage;
8076
+ const { tenantId = 'default', basePath = '/' } = useConfig();
8077
+ const imageUrl = data.image?.url ? resolveAssetUrl(data.image.url, tenantId, basePath) : heroPlugImage;
8078
8078
 
8079
8079
  return (
8080
8080
  <section
@@ -1643,7 +1643,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1643
1643
  "@tiptap/extension-link": "^2.11.5",
1644
1644
  "@tiptap/react": "^2.11.5",
1645
1645
  "@tiptap/starter-kit": "^2.11.5",
1646
- "@olonjs/core": "^1.0.114",
1646
+ "@olonjs/core": "^1.0.115",
1647
1647
  "class-variance-authority": "^0.7.1",
1648
1648
  "clsx": "^2.1.1",
1649
1649
  "lucide-react": "^0.474.0",
@@ -8073,8 +8073,8 @@ function hasRenderableCta(cta: { label?: string; href?: string } | undefined): c
8073
8073
  }
8074
8074
 
8075
8075
  export function OlonHeroView({ data }: Props) {
8076
- const { tenantId = 'default' } = useConfig();
8077
- const imageUrl = data.image?.url ? resolveAssetUrl(data.image.url, tenantId) : heroPlugImage;
8076
+ const { tenantId = 'default', basePath = '/' } = useConfig();
8077
+ const imageUrl = data.image?.url ? resolveAssetUrl(data.image.url, tenantId, basePath) : heroPlugImage;
8078
8078
 
8079
8079
  return (
8080
8080
  <section
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olonjs/cli",
3
- "version": "3.0.125",
3
+ "version": "3.0.126",
4
4
  "description": "The Sovereign CLI Engine for OlonJS.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -91,7 +91,6 @@ program
91
91
  .argument('<type>', 'Type of artifact (tenant)')
92
92
  .argument('<name>', 'Name of the new tenant')
93
93
  .option('--template <name>', 'Template profile (default: alpha)', 'alpha')
94
- .option('--agritourism', 'Alias for --template agritourism')
95
94
  .option('--script <path>', 'Override default deterministic script path')
96
95
  .action(async (type, name, options) => {
97
96
  if (type !== 'tenant') {
@@ -101,7 +100,7 @@ program
101
100
 
102
101
  const targetDir = path.join(process.cwd(), name);
103
102
  const availableTemplates = getAvailableTemplates();
104
- const template = options.agritourism ? 'agritourism' : options.template;
103
+ const template = options.template;
105
104
  const scriptPath = options.script
106
105
  ? path.resolve(process.cwd(), options.script)
107
106
  : resolveTemplateScriptPath(template);
@@ -1,5 +0,0 @@
1
- {
2
- "name": "agritourism",
3
- "sourceApp": "tenant-agritourism",
4
- "dnaScript": "src_tenant.sh"
5
- }