@ttmg/cli 0.2.4-beta.5 → 0.2.4-beta.7

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.
package/dist/index.js CHANGED
@@ -1932,7 +1932,7 @@ async function dev() {
1932
1932
  listen();
1933
1933
  }
1934
1934
 
1935
- var version = "0.2.4-beta.5";
1935
+ var version = "0.2.4-beta.7";
1936
1936
  var pkg = {
1937
1937
  version: version};
1938
1938
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttmg/cli",
3
- "version": "0.2.4-beta.5",
3
+ "version": "0.2.4-beta.7",
4
4
  "description": "TikTok Mini Game Command Line Tool",
5
5
  "license": "ISC",
6
6
  "bin": {
@@ -11,8 +11,6 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "prepublish": "npm run build",
14
- "check:node": "node scripts/checkNodeVersion.js",
15
- "preinstall": "node scripts/checkNodeVersion.js",
16
14
  "build": "rollup -c"
17
15
  },
18
16
  "keywords": [
@@ -74,6 +72,6 @@
74
72
  "typescript": "^5.9.2"
75
73
  },
76
74
  "engines": {
77
- "node": ">=20.19.1 <21 || >=22 <23"
75
+ "node": ">=20.19.1 <21 || >=22"
78
76
  }
79
77
  }
@@ -1,7 +1,7 @@
1
1
  // scripts/check-node.js
2
2
  const semver = require('semver');
3
3
 
4
- const range = '>=20.19.1 <21 || >=22 <23';
4
+ const range = '>=20.19.1 <21 || >=22';
5
5
  const version = process.version; // 形如 'v20.20.0'
6
6
 
7
7
  const ok = semver.satisfies(version, range);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttmg/cli",
3
- "version": "0.2.4-beta.5",
3
+ "version": "0.2.4-beta.7",
4
4
  "description": "TikTok Mini Game Command Line Tool",
5
5
  "license": "ISC",
6
6
  "bin": {
@@ -11,8 +11,6 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "prepublish": "npm run build",
14
- "check:node": "node scripts/checkNodeVersion.js",
15
- "preinstall": "node scripts/checkNodeVersion.js",
16
14
  "build": "rollup -c"
17
15
  },
18
16
  "keywords": [
@@ -74,6 +72,6 @@
74
72
  "typescript": "^5.9.2"
75
73
  },
76
74
  "engines": {
77
- "node": ">=20.19.1 <21 || >=22 <23"
75
+ "node": ">=20.19.1 <21 || >=22"
78
76
  }
79
77
  }