auto-svelte-pages-ts 1.2.0 → 1.2.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/CHANGELOG.md CHANGED
@@ -2,11 +2,23 @@
2
2
 
3
3
  All notable changes to `auto-svelte-pages-ts` will be documented in this file.
4
4
 
5
- ## [1.1.0] - 2026-04-10
5
+ ## [1.2.2] - 2026-04-10
6
+
7
+ ### Dropped
8
+ - `--watch` supports targeted mode as well (for example: `auto-svelte-pages-ts file --watch`).
9
+
10
+
11
+ ## [1.2.1] - 2026-04-10
12
+
13
+ ### Fixed
14
+ - `--watch` mode to monitor root HTML files and regenerate automatically on changes.
15
+ - `--watch` supports targeted mode as well (for example: `auto-svelte-pages-ts file --watch`).
16
+
17
+ ## [1.2.0] - 2026-04-10
6
18
 
7
19
  ### Added
8
20
  - `--watch` mode to monitor root HTML files and regenerate automatically on changes.
9
- - `--watch` supports targeted mode as well (for example: `auto-svelte-pages-ts naruto --watch`).
21
+ - `--watch` supports targeted mode as well (for example: `auto-svelte-pages-ts file --watch`).
10
22
 
11
23
  ## [1.0.1] - 2026-04-10
12
24
 
package/README.md CHANGED
@@ -53,8 +53,8 @@ The CLI replaces only the content between those markers.
53
53
  {
54
54
  "scripts": {
55
55
  "generate:all": "auto-svelte-pages-ts",
56
- "generate:": "auto-svelte-pages-ts"
57
-
56
+ "generate:": "auto-svelte-pages-ts",
57
+ "generate:watch:ts": "auto-svelte-pages-ts --watch"
58
58
  }
59
59
  }
60
60
  ```
@@ -82,15 +82,10 @@ npm run generate:all
82
82
 
83
83
  # Watch mode:
84
84
 
85
- All
86
85
  ```bash
87
86
  npm run generate:watch:ts
88
87
  ```
89
88
 
90
- Single file:
91
- ```bash
92
- npm run generate:watch:ts -- file --watch
93
- ```
94
89
 
95
90
  ## Programmatic API
96
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-svelte-pages-ts",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Generate Svelte TypeScript entry/component files from HTML pages and sync Vite multi-page inputs.",
5
5
  "type": "module",
6
6
  "files": [