aiplang 2.9.1 → 2.9.2

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/aiplang.js CHANGED
@@ -5,7 +5,7 @@ const fs = require('fs')
5
5
  const path = require('path')
6
6
  const http = require('http')
7
7
 
8
- const VERSION = '2.9.1'
8
+ const VERSION = '2.9.2'
9
9
  const RUNTIME_DIR = path.join(__dirname, '..', 'runtime')
10
10
  const cmd = process.argv[2]
11
11
  const args = process.argv.slice(3)
@@ -182,6 +182,12 @@ sect{Users}
182
182
  table @users { Name:name | Email:email | Plan:plan | edit PUT /api/users/{id} | delete /api/users/{id} | empty: No users yet. }
183
183
  foot{{{name}} Dashboard}`,
184
184
 
185
+ hello: `# {{name}}
186
+ %home dark /
187
+ nav{{{name}}}
188
+ hero{Hello, World!|Built with aiplang.} animate:blur-in
189
+ foot{© {{year}} {{name}}}`,
190
+
185
191
  landing: `# {{name}}
186
192
  %home dark /
187
193
  nav{{{name}}>/about:About>/contact:Contact}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiplang",
3
- "version": "2.9.1",
3
+ "version": "2.9.2",
4
4
  "description": "AI-first web language. One .aip file = complete app. Frontend + backend + database + auth.",
5
5
  "keywords": [
6
6
  "aiplang",
package/server/server.js CHANGED
@@ -1618,7 +1618,7 @@ async function startServer(aipFile, port = 3000) {
1618
1618
 
1619
1619
  // Health
1620
1620
  srv.addRoute('GET', '/health', (req, res) => res.json(200, {
1621
- status:'ok', version:'2.9.1',
1621
+ status:'ok', version:'2.9.2',
1622
1622
  models: app.models.map(m=>m.name),
1623
1623
  routes: app.apis.length, pages: app.pages.length,
1624
1624
  admin: app.admin?.prefix || null,