tina4js 1.0.13 → 1.0.14
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/tina4.js +13 -13
- package/package.json +2 -2
- package/readme.md +2 -2
package/bin/tina4.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Tina4 CLI — Project scaffolding and build tooling.
|
|
5
5
|
*
|
|
6
6
|
* Usage:
|
|
7
|
-
* npx
|
|
8
|
-
* npx
|
|
7
|
+
* npx tina4js create <name> Scaffold a new project
|
|
8
|
+
* npx tina4js create <name> --pwa Include PWA support
|
|
9
9
|
* npx tina4 build Production build
|
|
10
10
|
* npx tina4 build --target php Build for tina4-php embedding
|
|
11
11
|
* npx tina4 build --target python Build for tina4-python embedding
|
|
@@ -443,21 +443,21 @@ async def spa_catchall(path, request, response):
|
|
|
443
443
|
|
|
444
444
|
function printHelp() {
|
|
445
445
|
console.log(`
|
|
446
|
-
${c.bold('
|
|
446
|
+
${c.bold('tina4js')} — Sub-3KB reactive framework
|
|
447
447
|
|
|
448
448
|
${c.bold('Usage:')}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
449
|
+
tina4js create <name> Create a new project
|
|
450
|
+
tina4js create <name> --pwa Create with PWA support
|
|
451
|
+
tina4js create <name> --css Create with tina4-css framework
|
|
452
|
+
tina4js create <name> --pwa --css Create with both
|
|
453
|
+
tina4js dev Start dev server
|
|
454
|
+
tina4js build Production build → dist/
|
|
455
|
+
tina4js build --target php Build for tina4-php
|
|
456
|
+
tina4js build --target python Build for tina4-python
|
|
457
457
|
|
|
458
458
|
${c.bold('Examples:')}
|
|
459
|
-
${c.dim('$')} npx
|
|
460
|
-
${c.dim('$')} npx
|
|
459
|
+
${c.dim('$')} npx tina4js create my-app
|
|
460
|
+
${c.dim('$')} npx tina4js create my-app --css
|
|
461
461
|
${c.dim('$')} cd my-app && npm install && npm run dev
|
|
462
462
|
`);
|
|
463
463
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tina4js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Sub-3KB reactive framework — signals, web components, routing, PWA",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/tina4.cjs.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"bin": {
|
|
42
|
-
"
|
|
42
|
+
"tina4js": "./bin/tina4.js"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
45
|
"dist/",
|
package/readme.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">tina4-js</h1>
|
|
6
|
-
<h3 align="center">This
|
|
6
|
+
<h3 align="center">This Is Now A 4Framework</h3>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
9
|
Sub-3KB reactive frontend. Signals. Web Components. Zero dependencies.
|
|
@@ -294,7 +294,7 @@ npm run dev # dev server with HMR
|
|
|
294
294
|
- **Fix:** All `@event` handlers auto-wrapped in `batch()` -- one re-render per handler, no mid-event DOM rebuilds
|
|
295
295
|
|
|
296
296
|
### 1.0.8
|
|
297
|
-
- Added `--css` flag to `
|
|
297
|
+
- Added `--css` flag to `tina4js create` for optional tina4-css integration
|
|
298
298
|
- Added gallery of 9 real-world examples
|
|
299
299
|
|
|
300
300
|
### 1.0.7
|