@witchpot/gmc 0.2.0 → 0.2.1
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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/config.js +3 -5
- package/src/constants.js +1 -2
- package/src/index.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to the Game Market Copilot CLI will be recorded here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.2.1 - 2026-07-04
|
|
8
|
+
|
|
9
|
+
- Updated `gmc update` to recommend the public `latest` npm dist-tag instead
|
|
10
|
+
of the older beta install channel.
|
|
11
|
+
|
|
7
12
|
## 0.2.0 - 2026-07-04
|
|
8
13
|
|
|
9
14
|
- Added workspace game list commands for creating, listing, resolving, and
|
package/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -2,7 +2,6 @@ import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
|
2
2
|
import { homedir } from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import {
|
|
5
|
-
CLI_BETA_PACKAGE_NAME,
|
|
6
5
|
CLI_PACKAGE_NAME,
|
|
7
6
|
CLI_VERSION,
|
|
8
7
|
DEFAULT_API_BASE_URL,
|
|
@@ -183,15 +182,14 @@ export async function handleLocalCommand(command, options, positional, config) {
|
|
|
183
182
|
data: {
|
|
184
183
|
currentVersion: CLI_VERSION,
|
|
185
184
|
packageName: CLI_PACKAGE_NAME,
|
|
186
|
-
betaPackageName: CLI_BETA_PACKAGE_NAME,
|
|
187
185
|
status: "manual_update_required",
|
|
188
186
|
updateCheck: {
|
|
189
187
|
available: null,
|
|
190
|
-
reason: "The CLI does not query the npm registry yet. Use npm install or npx
|
|
188
|
+
reason: "The CLI does not query the npm registry yet. Use npm install or npx with the latest npm dist-tag."
|
|
191
189
|
},
|
|
192
190
|
commands: {
|
|
193
|
-
npmGlobal: `npm install -g ${CLI_PACKAGE_NAME}`,
|
|
194
|
-
npmExec: `npx ${CLI_PACKAGE_NAME} --version`
|
|
191
|
+
npmGlobal: `npm install -g ${CLI_PACKAGE_NAME}@latest`,
|
|
192
|
+
npmExec: `npx ${CLI_PACKAGE_NAME}@latest --version`
|
|
195
193
|
},
|
|
196
194
|
notes: [
|
|
197
195
|
"This command is intentionally non-mutating.",
|
package/src/constants.js
CHANGED
|
@@ -7,8 +7,7 @@ export const EXIT_CONFIG = 3;
|
|
|
7
7
|
export const EXIT_API = 4;
|
|
8
8
|
|
|
9
9
|
export const CLI_PACKAGE_NAME = "@witchpot/gmc";
|
|
10
|
-
export const
|
|
11
|
-
export const CLI_VERSION = "0.2.0";
|
|
10
|
+
export const CLI_VERSION = "0.2.1";
|
|
12
11
|
|
|
13
12
|
export const DEFAULT_API_BASE_URL = "https://gamemarketcopilot.com";
|
|
14
13
|
export const DEFAULT_CONFIG_PATH = path.join(homedir(), ".config", "gmc", "config.json");
|