Skip to content

Commit 06e6dc8

Browse files
authored
feat: reduce npm packages (#49)
* feat: add .npmrc * feat: change glob to tinygloby * feat: remove tsCommandLineArgs * release: 1.10.0
1 parent f13d5f4 commit 06e6dc8

File tree

8 files changed

+294
-714
lines changed

8 files changed

+294
-714
lines changed

.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
engine-strict=true
2+
update-notifier=false
3+
audit=false
4+
fund=false

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.10.0] - 2025-11-20
9+
10+
### Changed
11+
12+
- Replaced `ts-command-line-args` dependency with native Node.js argument parser
13+
- Reduced package dependencies from 4 to 3 runtime dependencies
14+
- Improved CLI argument parsing with custom implementation using `process.argv`
15+
816
## [1.9.4] - 2025-11-18
917

1018
### Changed
@@ -224,6 +232,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
224232
- CLI interface with `-s`, `-e`, `-o` options
225233
- `index.html` automatic default route handling
226234

235+
[1.10.0]: https://github.com/BCsabaEngine/svelteesp32/compare/v1.9.4...v1.10.0
227236
[1.9.4]: https://github.com/BCsabaEngine/svelteesp32/compare/v1.9.3...v1.9.4
228237
[1.9.3]: https://github.com/BCsabaEngine/svelteesp32/compare/v1.9.2...v1.9.3
229238
[1.9.2]: https://github.com/BCsabaEngine/svelteesp32/compare/v1.9.1...v1.9.2

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./output.h --etag=true
7070
### Core Components
7171

7272
- **`src/index.ts`**: Main entry point that orchestrates the file processing pipeline
73-
- **`src/commandLine.ts`**: CLI argument parsing and validation using `ts-command-line-args`
73+
- **`src/commandLine.ts`**: CLI argument parsing and validation using native Node.js `process.argv` implementation
7474
- **`src/file.ts`**: File system operations for reading web assets
7575
- **`src/cppCode.ts`**: C++ code generation engine with Handlebars templates for PsychicHttp and ESPAsyncWebServer
7676
- **`src/cppCodeEspIdf.ts`**: Specialized C++ code generation for native ESP-IDF

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ In order to be able to easily update OTA, it is important - from the users' poin
1212

1313
This npm package provides a solution for **inserting any JS client application into the ESP web server** (PsychicHttp and also ESPAsyncWebServer (https://github.com/ESP32Async/ESPAsyncWebServer) and ESP-IDF available, PsychicHttp is the default). For this, JS, html, css, font, assets, etc. files must be converted to binary byte array. Npm mode is easy to use and easy to **integrate into your CI/CD pipeline**.
1414

15+
> Starting with version v1.10.0, we reduced npm dependencies
16+
1517
> Starting with version v1.9.0, code generator for esp-idf is available
1618
1719
> Starting with version v1.8.0, use the new and maintained ESPAsyncWebserver available at https://github.com/ESP32Async/ESPAsyncWebServer

0 commit comments

Comments
 (0)