From 4ecaab0924ebe79b8fbd0d69d41b103410e6e3ee Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Thu, 23 Oct 2025 16:38:41 +1100 Subject: [PATCH] moving some files around --- .vscode/tasks.json | 6 +++--- create-collection.js => eng/create-collection.js | 0 update-readme.js => eng/update-readme.js | 2 +- validate-collections.js => eng/validate-collections.js | 5 ++++- yaml-parser.js => eng/yaml-parser.js | 0 package.json | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) rename create-collection.js => eng/create-collection.js (100%) rename update-readme.js => eng/update-readme.js (99%) rename validate-collections.js => eng/validate-collections.js (99%) rename yaml-parser.js => eng/yaml-parser.js (100%) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8d39f63..f612066 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,7 +4,7 @@ { "label": "generate-readme", "type": "shell", - "command": "node ${workspaceFolder}/update-readme.js", + "command": "node ${workspaceFolder}/eng/update-readme.js", "problemMatcher": [], "group": { "kind": "build", @@ -15,7 +15,7 @@ { "label": "validate-collections", "type": "shell", - "command": "node ${workspaceFolder}/validate-collections.js", + "command": "node ${workspaceFolder}/eng/validate-collections.js", "problemMatcher": [], "group": "build", "detail": "Validates all collection manifest files." @@ -25,7 +25,7 @@ "type": "shell", "command": "node", "args": [ - "${workspaceFolder}/create-collection.js", + "${workspaceFolder}/eng/create-collection.js", "--id", "${input:collectionId}", "--tags", diff --git a/create-collection.js b/eng/create-collection.js similarity index 100% rename from create-collection.js rename to eng/create-collection.js diff --git a/update-readme.js b/eng/update-readme.js similarity index 99% rename from update-readme.js rename to eng/update-readme.js index 5ba0197..f482e12 100755 --- a/update-readme.js +++ b/eng/update-readme.js @@ -6,7 +6,7 @@ const { parseCollectionYaml, extractMcpServers, parseAgentFrontmatter, -} = require("./yaml-parser"); +} = require("../yaml-parser"); // Template sections for the README const TEMPLATES = { diff --git a/validate-collections.js b/eng/validate-collections.js similarity index 99% rename from validate-collections.js rename to eng/validate-collections.js index a0fa376..579eb92 100755 --- a/validate-collections.js +++ b/eng/validate-collections.js @@ -2,7 +2,10 @@ const fs = require("fs"); const path = require("path"); -const { parseCollectionYaml, parseAgentFrontmatter } = require("./yaml-parser"); +const { + parseCollectionYaml, + parseAgentFrontmatter, +} = require("../yaml-parser"); // Maximum number of items allowed in a collection const MAX_COLLECTION_ITEMS = 50; diff --git a/yaml-parser.js b/eng/yaml-parser.js similarity index 100% rename from yaml-parser.js rename to eng/yaml-parser.js diff --git a/package.json b/package.json index d575e26..8fc3de7 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "start": "node run build", - "build": "node update-readme.js", + "build": "node ./eng/update-readme.js", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "contributors:check": "all-contributors check"