From fd22751e72e5866885f8d31ec212694ecc29dd16 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Mon, 2 Feb 2026 06:41:16 +0100 Subject: [PATCH] Modernized NodeJS scripts. --- .github/copilot-instructions.md | 22 --------------------- scripts/{build-image.js => build-image.mjs} | 0 scripts/{new-version.js => new-version.mjs} | 0 3 files changed, 22 deletions(-) delete mode 100644 .github/copilot-instructions.md rename scripts/{build-image.js => build-image.mjs} (100%) rename scripts/{new-version.js => new-version.mjs} (100%) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md deleted file mode 100644 index c4d47e3..0000000 --- a/.github/copilot-instructions.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -description: Instructions for using the JMESPath Testing Tool repository. -applyTo: "**/*.md,**/.js" ---- -# AI Agent Instructions for JMESPath Testing Tool - -This repository contains a React-based web application that allows users to test JMESPath expressions against JSON data. The application includes both a frontend and a backend server. - -Coding Guidelines: - -1. Use React, Vite and JavaScript/TypeScript for development. -2. Check the current date to establish context for choosing versions and dependencies. -3. Use Node.js 24 or higher LTS version. -4. When asked, answer the question and provide explanations. Do not guess nor infer missing information. Report lack of information instead. -5. When requested to make changes, do not modify unrelated parts of the code nor apply unapproved changes. Always present a change plan first, wait for approval, then implement the changes. -6. Do not try to manage the files directly. Instead always use Git mv, rm, etc. commands to ensure proper tracking. -7. Do not run the development server(s) unless explicitly instructed to do so. Report the need to run the server for testing purposes and wait for approval. -8. When working with MUI components, use the latest stable version and leverage the tools from the MCP server (`mui-mcp`). -9. Do not hardcode color values. Use MUI theme palette colors instead. -10. Do not use emojis in code comments, program output, or log messages. -11. Suggest code commits, but never create them without consent. -12. Never push changes. diff --git a/scripts/build-image.js b/scripts/build-image.mjs similarity index 100% rename from scripts/build-image.js rename to scripts/build-image.mjs diff --git a/scripts/new-version.js b/scripts/new-version.mjs similarity index 100% rename from scripts/new-version.js rename to scripts/new-version.mjs