dsh-task-dispatch-table 0.1.11 → 0.1.12

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/README.md CHANGED
@@ -106,13 +106,13 @@ Configuration is stored in the plugin's own state database, so it survives host
106
106
  ## Development
107
107
 
108
108
  ```bash
109
- npm install
110
- npm run build # builds host first, then client
111
- npm run typecheck
112
- npm run smoke # smoke tests against dist/
109
+ pnpm install
110
+ pnpm build # builds host first, then client
111
+ pnpm typecheck
112
+ pnpm smoke # smoke tests against dist/
113
113
  ```
114
114
 
115
- > **`dist/` is a build artefact committed to git** — dsh installs plugins from git/npm without running build scripts, so after changing `src/` you must run `npm run build` and commit `dist/` with it, or the change will not take effect.
115
+ > **`dist/` is a build artefact committed to git** — dsh installs plugins from git/npm without running build scripts, so after changing `src/` you must run `pnpm build` and commit `dist/` with it, or the change will not take effect.
116
116
 
117
117
  ## License
118
118
 
package/README.zh.md CHANGED
@@ -106,13 +106,13 @@ dsh plugin --profile web add dsh-task-dispatch-table
106
106
  ## 开发
107
107
 
108
108
  ```bash
109
- npm install
110
- npm run build # 先构建 host,再构建 client
111
- npm run typecheck
112
- npm run smoke # 直接测 dist/ 产物
109
+ pnpm install
110
+ pnpm build # 先构建 host,再构建 client
111
+ pnpm typecheck
112
+ pnpm smoke # 直接测 dist/ 产物
113
113
  ```
114
114
 
115
- > **`dist/` 是提交进 git 的构建产物**——dsh 从 git/npm 安装插件时不跑构建脚本,所以改了 `src/` 必须重新 `npm run build` 并把 `dist/` 一并提交,否则改动不生效。
115
+ > **`dist/` 是提交进 git 的构建产物**——dsh 从 git/npm 安装插件时不跑构建脚本,所以改了 `src/` 必须重新 `pnpm build` 并把 `dist/` 一并提交,否则改动不生效。
116
116
 
117
117
  ## License
118
118
 
@@ -9,6 +9,7 @@ export interface CalendarTask {
9
9
  timezone: string | null;
10
10
  start: string | null;
11
11
  everyNWeeks: number | null;
12
+ everyNDays: number | null;
12
13
  };
13
14
  }
14
15
  /** 一条**未来计划**(尚未产生执行记录)。 */
@@ -26,6 +26,7 @@ function toScheduleNext(task) {
26
26
  timezone: task.schedule.timezone ?? undefined,
27
27
  start: task.schedule.start ?? undefined,
28
28
  everyNWeeks: task.schedule.everyNWeeks,
29
+ everyNDays: task.schedule.everyNDays,
29
30
  },
30
31
  };
31
32
  }