mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2026-01-30 06:12:05 +00:00
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:
committed by
Ralph Khreish
parent
071dfc6be9
commit
bf26dbd012
@@ -13,3 +13,5 @@
|
||||
## null
|
||||
|
||||
## null
|
||||
|
||||
## null
|
||||
|
||||
@@ -16,4 +16,6 @@
|
||||
|
||||
## null
|
||||
|
||||
## null
|
||||
|
||||
## 1.0.1
|
||||
|
||||
@@ -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"
|
||||
|
||||
37
packages/build-config/scripts/fix-null-versions.ts
Normal file
37
packages/build-config/scripts/fix-null-versions.ts
Normal 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).`);
|
||||
@@ -1,5 +1,7 @@
|
||||
# @tm/claude-code-plugin
|
||||
|
||||
## 0.0.7
|
||||
|
||||
## 0.0.6
|
||||
|
||||
## 0.0.5
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -27,3 +27,10 @@
|
||||
|
||||
- Updated dependencies []:
|
||||
- @tm/core@null
|
||||
|
||||
## null
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @tm/core@null
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user