init-xmcp 0.8.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
 
2
- > init-xmcp@0.8.0 build /home/runner/work/xmcp/xmcp/packages/init-xmcp
2
+ > init-xmcp@1.1.0 build /home/runner/work/xmcp/xmcp/packages/init-xmcp
3
3
  > tsc
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # init-xmcp
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 86844f7: Require Node.js 22 or newer when creating or initializing xmcp projects, and generate projects with the same minimum Node.js version.
8
+
9
+ ## 1.0.0
10
+
3
11
  ## 0.8.0
4
12
 
5
13
  ### Minor Changes
@@ -5,9 +5,9 @@ import chalk from "chalk";
5
5
  export function checkNodeVersion() {
6
6
  const nodeVersion = process.version;
7
7
  const majorVersion = parseInt(nodeVersion.slice(1).split(".")[0]);
8
- if (majorVersion < 20) {
8
+ if (majorVersion < 22) {
9
9
  console.error(chalk.red(`❌ Node.js version ${nodeVersion} is not supported.`));
10
- console.error(chalk.red(`xmcp requires Node.js 20 or higher.`));
10
+ console.error(chalk.red(`xmcp requires Node.js 22 or higher.`));
11
11
  console.error(chalk.yellow(`Please upgrade your Node.js version and try again.`));
12
12
  console.error(chalk.blue(`Visit https://nodejs.org/ to download the latest version.`));
13
13
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "init-xmcp",
3
- "version": "0.8.0",
3
+ "version": "1.1.0",
4
4
  "author": {
5
5
  "name": "xmcp",
6
6
  "email": "support@xmcp.dev",
@@ -7,11 +7,11 @@ export function checkNodeVersion(): void {
7
7
  const nodeVersion = process.version;
8
8
  const majorVersion = parseInt(nodeVersion.slice(1).split(".")[0]);
9
9
 
10
- if (majorVersion < 20) {
10
+ if (majorVersion < 22) {
11
11
  console.error(
12
12
  chalk.red(`❌ Node.js version ${nodeVersion} is not supported.`)
13
13
  );
14
- console.error(chalk.red(`xmcp requires Node.js 20 or higher.`));
14
+ console.error(chalk.red(`xmcp requires Node.js 22 or higher.`));
15
15
  console.error(
16
16
  chalk.yellow(`Please upgrade your Node.js version and try again.`)
17
17
  );