@guandata/guanetl 0.1.29 → 0.1.30

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
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## @guandata/guanetl 0.1.30 - 2026-08-27
4
+
5
+ - 新增 `rmdir`:只允许删除空 ETL 目录,目录非空时拒绝操作并列出阻塞资源。
6
+ - 导出校验失败时不再把错误的数据集 ID 写入本地元数据,避免笔误污染后续保存。
7
+ - 修复 dry-run 资源命名与下一步提示,避免引导执行缺少必要参数的命令。
8
+ - 调度新增 cron 字段与 ETL 存在性预检;任务不存在时立即返回真实错误。
9
+ - 统一结构化错误与拼错子命令的非零退出行为,脚本可更可靠地识别失败。
10
+
3
11
  ## @guandata/guanetl 0.1.29 - 2026-08-25
4
12
 
5
13
  - ETL 调度配置适配会拦截原生 PUT 请求的客户网络代理,提升受限网络环境中的保存成功率。
package/README.md CHANGED
@@ -51,6 +51,13 @@ guanetl install-skill
51
51
 
52
52
  ## 版本更新
53
53
 
54
+ ### @guandata/guanetl 0.1.30
55
+
56
+ - 新增只删除空目录的 `rmdir`,非空目录会列出阻塞资源并拒绝操作。
57
+ - 导出校验失败不再污染本地元数据,dry-run 的资源名称和后续提示更准确。
58
+ - 调度新增 cron 与 ETL 存在性预检,任务不存在会立即返回真实错误。
59
+ - 结构化错误和非零退出状态更适合自动化流程判断。
60
+
54
61
  ### @guandata/guanetl 0.1.29
55
62
 
56
63
  - ETL 调度配置适配受限网络代理,提升客户环境中的保存成功率。
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guandata/guanetl",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "观远 ETL 本地开发工具 - 拉取、编辑、导出、预览、保存 ETL",
5
5
  "bin": {
6
6
  "guanetl": "bin/run.js"
@@ -178,6 +178,7 @@ guancli etl tree --max-depth 2 # ETL 所在目录,用于 create --parent
178
178
  guancli ds tree --max-depth 2 # 输出数据集目录,用于 create --output-parent-dir / BasicOutputDatasetInDir
179
179
  # 目录树很大时用 --keyword 词 过滤;--max-depth 0(默认不传)为全量
180
180
  guanetl mkdir-pair "ODS" --etl-parent <etl_parent_id> --ds-parent <ds_parent_id>
181
+ guanetl rmdir <dirId> --yes # 删空的 ETL 目录(非空拒绝并列出内容;物理删除不可恢复)
181
182
  ```
182
183
 
183
184
  3. 执行: