chore: update version and changelog scripts

💘 Generated with Crush

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
Mikael Hugo 2026-05-02 06:19:16 +02:00
parent 7106a04951
commit 6744f6d254
8 changed files with 14 additions and 24 deletions

View file

@ -170,8 +170,5 @@
"fsevents": "~2.3.3",
"koffi": "^2.9.0",
"vectordrive": "^0.1.35"
},
"overrides": {
"gaxios": "^6.7.1"
}
}

View file

@ -33,7 +33,6 @@
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"chalk": "^5.6.2",
"gaxios": "^6",
"jsonrepair": "^3.14.0",
"openai": "^6.26.0",
"proxy-agent": "^6.5.0",

View file

@ -4,11 +4,10 @@
* Usage: node scripts/bump-version.mjs <new-version>
*/
import { readFileSync, writeFileSync, existsSync } from "fs";
import { resolve, dirname } from "path";
import { resolve } from "path";
import { execSync } from "child_process";
import { fileURLToPath } from "url";
const __dirname = dirname(fileURLToPath(import.meta.url));
const __dirname = import.meta.dirname;
const root = resolve(__dirname, "..");
const newVersion = process.argv[2];

View file

@ -5,10 +5,9 @@
*/
import { execSync } from "child_process";
import { readFileSync } from "fs";
import { resolve, dirname } from "path";
import { fileURLToPath } from "url";
import { resolve } from "path";
const __dirname = dirname(fileURLToPath(import.meta.url));
const __dirname = import.meta.dirname;
const root = resolve(__dirname, "..");
// ---------------------------------------------------------------------------

View file

@ -1,9 +1,8 @@
import { readFileSync, readdirSync, writeFileSync } from "node:fs";
import { dirname, join, relative, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { join, relative, resolve } from "node:path";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const __filename = import.meta.filename;
const __dirname = import.meta.dirname;
const repoRoot = resolve(__dirname, "..");
const featuresPath = join(repoRoot, "FEATURES.md");

View file

@ -6,10 +6,9 @@
* Usage: node scripts/update-changelog.mjs <changelog-entry-file>
*/
import { readFileSync, writeFileSync } from "fs";
import { resolve, dirname } from "path";
import { fileURLToPath } from "url";
import { resolve } from "path";
const __dirname = dirname(fileURLToPath(import.meta.url));
const __dirname = import.meta.dirname;
const root = resolve(__dirname, "..");
const entryFile = process.argv[2];

View file

@ -6,11 +6,10 @@
import { execFileSync } from 'node:child_process';
import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { dirname, join, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { join, resolve } from 'node:path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const __filename = import.meta.filename;
const __dirname = import.meta.dirname;
const ROOT = resolve(__dirname, '..');
let tarball = null;

View file

@ -1,9 +1,8 @@
import { readFileSync, writeFileSync } from "fs";
import { execFileSync, execSync } from "child_process";
import { fileURLToPath } from "url";
import { dirname, resolve } from "path";
import { resolve } from "path";
const __dirname = dirname(fileURLToPath(import.meta.url));
const __dirname = import.meta.dirname;
const root = resolve(__dirname, "..");
const pkgPath = new URL("../package.json", import.meta.url);