@fedify/init 2.5.0-dev.2568 → 2.5.0-dev.2597

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.
@@ -9,7 +9,7 @@ import { getLogger } from "@logtape/logtape";
9
9
  import { realpathSync } from "node:fs";
10
10
  import { join, relative } from "node:path";
11
11
  import { execFileSync } from "node:child_process";
12
- import { concat, filter, head, isArray, isEmpty, isNull, isString, keys, map, pick, pipe, prop, toArray, uniq, unless, when, zip } from "@fxts/core/index.js";
12
+ import { concat, filter, head, isArray, isEmpty, isNull, isString, keys, map, pick, pipe, toArray, uniq, unless, when, zip } from "@fxts/core/index.js";
13
13
  //#region src/action/configs.ts
14
14
  const logger = getLogger([
15
15
  "fedify",
@@ -82,7 +82,7 @@ const getDenoVersionFromCommand = () => {
82
82
  return null;
83
83
  }
84
84
  };
85
- const getDenoVersionFromRuntime = () => pipe(globalThis, prop("Deno"), prop("version"), prop("deno"));
85
+ const getDenoVersionFromRuntime = () => globalThis.Deno?.version?.deno;
86
86
  const parseVersion = (deno) => pipe(deno.match(/^(\d+)\.(\d+)\.(\d+)/), unless(isNull, ([, ...segments]) => segments.map(Number)));
87
87
  const isLaterOrEqualThan = (basis) => (target) => pipe(zip(basis, target), filter(([b, t]) => t !== b), head, (a) => a ? a[0] < a[1] : true);
88
88
  const getLinks = ({ kv, mq, initializer, dir }) => pipe({
@@ -1,4 +1,4 @@
1
1
  //#region deno.json
2
- var version = "2.5.0-dev.2568+889927c4";
2
+ var version = "2.5.0-dev.2597+7bed9e2b";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/init",
3
- "version": "2.5.0-dev.2568+889927c4",
3
+ "version": "2.5.0-dev.2597+7bed9e2b",
4
4
  "description": "Project initializer for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
@@ -61,7 +61,7 @@
61
61
  "@types/node": "^24.12.2",
62
62
  "cross-spawn": "^7.0.6",
63
63
  "tsdown": "^0.22.0",
64
- "typescript": "^6.0.0"
64
+ "typescript": "^6.0.3"
65
65
  },
66
66
  "scripts": {
67
67
  "build:self": "tsdown",