excel2json 1.0.14
excel2json: ^1.0.14 copied to clipboard
A Flutter development dependency tool for converting Excel files to JSON files and generating Dart LocaleKeys class. Supports Windows, macOS, and Linux.
1.0.14 #
- Fix: 优先通过项目根目录下的
.dart_tool/package_config.json精确解析excel2json在 pub 缓存中的真实根目录,彻底解决 Windows 上Cannot find excel2json package in pub cache报错 - Fix: 仍保留针对旧版 SDK 的多种
PUB_CACHE/.pub-cache回退逻辑,兼容更多环境 - Test: 扩展单测,通过构造临时
package_config.json和模拟的 Windows 目录结构,在 macOS 上验证跨平台解析逻辑
1.0.13 #
- Fix: 进一步兼容 Windows 路径,统一使用
/解析.dart_tool/pub/bin脚本路径,并放宽 pub cache 解析逻辑,避免误报找不到包 - Test: 新增 pub cache 解析的模拟测试用例,确保在 macOS 上也能验证 Windows 布局逻辑
1.0.12 #
- Fix: 放宽在 pub cache 中查找包的判断逻辑,只要存在
bin/目录就认为是有效包,避免 Windows 环境下误报 “Cannot find excel2json package in pub cache”
1.0.11 #
- Fix: Windows 下从
.dart_tool\\pub\\bin运行时无法找到二进制文件的问题(统一脚本路径分隔符,正确定位 pub cache 中的bin目录) - 改进: 新增
scripts/download-and-publish.sh,从 excel2x 仓库的dist目录自动同步各平台二进制并可选自动发布
1.0.10 #
- update bin
1.0.9+2 #
fix build shell
1.0.9+1 #
fix build flow
1.0.9 #
- 添加 Linux 平台支持(x64 和 ARM64)
- 自动同步 excel2x 版本和二进制文件
- 更新二进制文件到 v1.0.9 版本
1.0.8 #
- 更新二进制文件到 v1.0.8 版本
1.0.6 #
- Fix: 修复从 pub.dev 安装后找不到二进制文件的问题
- 改进了路径查找逻辑,支持在 pub cache 中查找二进制文件
- 更新二进制文件以支持新的参数
-dart_file_path(替代-dart_file) - 更新 README 文档以反映最新的参数变化
1.0.5 #
- Initial release
- Support for converting Excel files to JSON
- Automatic generation of Dart LocaleKeys class
- Support for macOS (Intel and Apple Silicon) and Windows
- Automatic Chinese to Pinyin conversion for keys