Version Packages (#1487)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-12-04 18:49:41 +01:00
committed by Ralph Khreish
parent 071dfc6be9
commit bf26dbd012
19 changed files with 91 additions and 43 deletions

View File

@@ -13,3 +13,5 @@
## null
## null
## null

View File

@@ -16,4 +16,6 @@
## null
## null
## 1.0.1

View File

@@ -17,7 +17,8 @@
"license": "MIT",
"scripts": {
"build": "tsc",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit",
"fix-null-versions": "npx tsx scripts/fix-null-versions.ts"
},
"devDependencies": {
"typescript": "^5.9.2"

View File

@@ -0,0 +1,37 @@
#!/usr/bin/env npx tsx
/**
* Fixes package.json files where version is null (changeset quirk).
* Replaces "version": null with "version": ""
*
* Usage: npx tsx packages/build-config/scripts/fix-null-versions.ts
*/
import { readFileSync, writeFileSync } from 'node:fs';
import { globSync } from 'glob';
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
const __dirname = dirname(fileURLToPath(import.meta.url));
const rootDir = join(__dirname, '..', '..', '..');
const packageFiles = globSync('**/package.json', {
cwd: rootDir,
ignore: ['**/node_modules/**'],
absolute: true
});
let fixed = 0;
for (const file of packageFiles) {
const content = readFileSync(file, 'utf8');
if (content.includes('"version": null')) {
const updated = content.replace(/"version": null/g, '"version": ""');
writeFileSync(file, updated);
console.log(`Fixed: ${file}`);
fixed++;
}
}
console.log(`\nDone. Fixed ${fixed} file(s).`);

View File

@@ -1,5 +1,7 @@
# @tm/claude-code-plugin
## 0.0.7
## 0.0.6
## 0.0.5

View File

@@ -1,6 +1,6 @@
{
"name": "@tm/claude-code-plugin",
"version": "0.0.6",
"version": "0.0.7",
"description": "Task Master AI plugin for Claude Code - AI-powered task management with commands, agents, and MCP integration",
"type": "module",
"private": true,

View File

@@ -27,3 +27,10 @@
- Updated dependencies []:
- @tm/core@null
## null
### Patch Changes
- Updated dependencies []:
- @tm/core@null

View File

@@ -16,6 +16,8 @@
## null
## null
## 0.26.1
All notable changes to the @task-master/tm-core package will be documented in this file.