nanoshell 1.7.6 → 1.7.8

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.
Files changed (3) hide show
  1. package/README.md +26 -4
  2. package/SKILL.md +7 -7
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # NanoShell ⚡ (`nanoshell@1.7.6`)
1
+ # NanoShell ⚡ (`nanoshell@1.7.8`)
2
2
 
3
3
  > **Created & Engineered by Suman Biswas** 👑
4
4
  > *Hyper-lightweight 17MB RAM, 120 FPS Native WebKit Desktop Application Framework & Runtime Engine*
@@ -19,7 +19,29 @@
19
19
 
20
20
  ---
21
21
 
22
- ## 🆕 What's New in v1.7.6
22
+ ## 🚀 Quick Start (Modern `npm create` Standards)
23
+
24
+ ```bash
25
+ # 1. Scaffold a new application project (Always fetches latest release)
26
+ npm create nanoshell my-awesome-app
27
+
28
+ # 2. Start Development Mode (In-Window Hot Reloading on Ctrl+S)
29
+ cd my-awesome-app
30
+ npm start
31
+
32
+ # 3. Build Standalone Production Binary (.exe)
33
+ npm run build
34
+
35
+ # 4. Package Windows Installer (.exe + Setup.exe via Inno Setup)
36
+ npm run package
37
+ ```
38
+
39
+ ---
40
+
41
+ ## 🆕 What's New in v1.7.8
42
+
43
+ ### 🌟 Modern `npm create nanoshell` Support
44
+ - **Zero Cache Issues**: Added full `npm create nanoshell` / `npm init nanoshell` support. Automatically maps to latest registry releases without stale `npx` cache behavior.
23
45
 
24
46
  ### 🪟 Pure Native Win32 Windowing & Full API Control
25
47
  - **Zero Windowing Wrappers**: Fully excised AppCore window wrappers to give direct, un-sandboxed `HWND` control to native Zig code.
@@ -31,10 +53,10 @@
31
53
  - **Pixel-Accurate Hit-Testing**: Mouse input coordinates `(x, y)` are dynamically converted from Windows physical pixels to WebKit logical CSS coordinates (`toLogical = physical / dpi_scale`). Clicks, hovers, and drags land pixel-perfectly on DOM elements at any DPI.
32
54
  - **High-Quality GDI Halftone Blitting**: `SetStretchBltMode(HALFTONE)` ensures razor-sharp text and graphics rendering.
33
55
 
34
- ### 📦 Automatic Out-of-the-Box Windows Installer (`nanoshell package`)
56
+ ### 📦 Automatic Out-of-the-Box Windows Installer (`npm run package`)
35
57
  - Generate full-featured Windows Setup installers (`.exe`) with **one single command**:
36
58
  ```bash
37
- npx nanoshell package
59
+ npm run package
38
60
  ```
39
61
  - **Inno Setup Integration**: Auto-detects local or system Inno Setup (`ISCC.exe`), generates `setup.iss`, and builds single-file installers in `dist/` with Start Menu, Desktop shortcuts, and Control Panel Uninstaller support.
40
62
 
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: nanoshell-desktop-framework
3
3
  description: Build ultra-fast, 120 FPS, 17MB RAM native desktop applications using HTML, CSS, JS, and Zig with the NanoShell runtime engine (nanoshell) created by Suman Biswas. Includes Per-Monitor DPI V2 crisp scaling and Win32 direct windowing.
4
4
  ---
5
5
 
6
- # NanoShell Native Desktop Framework Skill Guide (`nanoshell@1.7.6`)
6
+ # NanoShell Native Desktop Framework Skill Guide (`nanoshell@1.7.8`)
7
7
 
8
8
  **Created & Engineered by Suman Biswas**
9
9
 
@@ -13,13 +13,13 @@ NanoShell is a hyper-lightweight, browser-free native desktop application framew
13
13
 
14
14
  ## Starter Template Scaffolding Command
15
15
 
16
- AI agents or developers can scaffold a new application using:
16
+ AI agents or developers can scaffold a new application using modern `npm create` standards (always fetches `@latest` without stale caching):
17
17
 
18
18
  ```bash
19
- npx nanoshell <app-name> # Scaffold new app template
20
- npx nanoshell start # Launch dev engine with hot-reloading
21
- npx nanoshell build # Build production release binary only
22
- npx nanoshell package # Build binary and generate Windows Inno Setup installer (.exe)
19
+ npm create nanoshell <app-name> # Scaffold new app template
20
+ npm start # Launch dev engine with hot-reloading
21
+ npm run build # Build production release binary only
22
+ npm run package # Build binary and generate Windows Inno Setup installer (.exe)
23
23
  ```
24
24
 
25
25
  `npx nanoshell package` generates a single-file Windows Setup `.exe` with a installer dialog allowing end-users to choose:
@@ -28,7 +28,7 @@ npx nanoshell package # Build binary and generate Windows Inno Setup insta
28
28
 
29
29
  ---
30
30
 
31
- ## ⚡ v1.7.6 Engine Architecture & High-DPI Rules for AI Agents
31
+ ## ⚡ v1.7.7 Engine Architecture & High-DPI Rules for AI Agents
32
32
 
33
33
  1. **Pure Win32 Subsystem**: Runs on `.Windows` subsystem with zero background CMD console windows.
34
34
  2. **Per-Monitor DPI V2 Aware**: Integrates `DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2`. Window client sizes are automatically scaled physically (`physical_size = logical_size * dpi_scale`).
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "nanoshell",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "description": "Hyper-lightweight native desktop application framework. 17MB RAM, 120 FPS, pure Win32 DPI-aware windowing with WebKit rendering. No Electron. Created by Suman Biswas.",
5
5
  "main": "cli/index.js",
6
6
  "bin": {
7
7
  "nanoshell": "cli/index.js",
8
+ "create-nanoshell": "cli/index.js",
8
9
  "create-nanoshell-app": "cli/index.js"
9
10
  },
10
- "readme": "README.md",
11
11
  "files": [
12
12
  "cli/index.js",
13
13
  "app/",