cmyr-template-cli 1.44.0 → 1.44.1

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.
Files changed (2) hide show
  1. package/dist/plopfile.js +7 -2
  2. package/package.json +1 -1
package/dist/plopfile.js CHANGED
@@ -868,8 +868,13 @@ function adjustDependabotConfig(params) {
868
868
  }
869
869
  npmUpdate.ignore = needsArtTemplateIgnore ? currentIgnores : void 0;
870
870
  }
871
- const hasGithubActionsUpdate = next.updates?.some((update) => update["package-ecosystem"] === "github-actions");
872
- if (!hasGithubActionsUpdate) {
871
+ const githubActionsUpdate = next.updates?.find((update) => update["package-ecosystem"] === "github-actions");
872
+ if (githubActionsUpdate) {
873
+ githubActionsUpdate.schedule ??= { interval: "monthly", time: "04:00", timezone: "Asia/Shanghai" };
874
+ githubActionsUpdate.schedule.interval = "monthly";
875
+ githubActionsUpdate.schedule.time = "04:00";
876
+ githubActionsUpdate.schedule.timezone = "Asia/Shanghai";
877
+ } else {
873
878
  next.updates.push({
874
879
  "package-ecosystem": "github-actions",
875
880
  directory: "/",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmyr-template-cli",
3
- "version": "1.44.0",
3
+ "version": "1.44.1",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",