提升AGC标准安装包patch版本
Project CI / Repository checks (push) Successful in 3m24s
Project CI / Frontend tests (push) Successful in 4m5s
Project CI / Backend tests (push) Successful in 5m4s
Project CI / Native shell tests (push) Successful in 13m0s

同步Tauri、Cargo与Node版本到0.1.1

更新AGC配置检查门禁
This commit is contained in:
2026-08-24 12:41:25 +08:00
parent 299b52d71b
commit 042eb05b0e
8 changed files with 24 additions and 17 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@genarrative/ai-game-creator-shell",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"scripts": {
"dev": "node scripts/start-tauri-dev.mjs",
@@ -1547,11 +1547,13 @@ if (!viteConfigSource.includes('allow: [repoRoot]')) {
);
}
if (!(
tauriConfig.build?.beforeDevCommand?.includes(
'run ai-game-creator-shell:dev-server',
) || tauriConfig.build?.beforeDevCommand?.includes('run agc:serve')
)) {
if (
!(
tauriConfig.build?.beforeDevCommand?.includes(
'run ai-game-creator-shell:dev-server',
) || tauriConfig.build?.beforeDevCommand?.includes('run agc:serve')
)
) {
throw new Error(
'AI game creator shell beforeDevCommand must start the selected Vite dev server',
);
@@ -1731,12 +1733,12 @@ if (
}
if (
tauriConfig.version !== '0.1.0' ||
packageConfig.version !== '0.1.0' ||
cargoPackageVersion !== '0.1.0'
tauriConfig.version !== '0.1.1' ||
packageConfig.version !== '0.1.1' ||
cargoPackageVersion !== '0.1.1'
) {
throw new Error(
'AI game creator standard release must remain version 0.1.0 while game-chat uses its dedicated version',
'AI game creator standard release must remain version 0.1.1 while game-chat uses its dedicated version',
);
}
+1 -1
View File
@@ -1695,7 +1695,7 @@ dependencies = [
[[package]]
name = "genarrative-ai-game-creator-shell"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"agent-runtime-core",
"axum",
@@ -1,6 +1,6 @@
[package]
name = "genarrative-ai-game-creator-shell"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
publish = false
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Genarrative AI Game Creator",
"version": "0.1.0",
"version": "0.1.1",
"identifier": "world.genarrative.ai-game-creator",
"build": {
"beforeDevCommand": "npm --prefix ../.. run agc:serve",
+1 -1
View File
@@ -93,7 +93,7 @@
},
"apps/ai-game-creator-shell": {
"name": "@genarrative/ai-game-creator-shell",
"version": "0.1.0",
"version": "0.1.1",
"dependencies": {
"@cubone/react-file-manager": "^1.35.0",
"@genarrative/image-canvas-core": "0.1.0",
+6 -2
View File
@@ -173,8 +173,12 @@ export function collectNpmWorkspaceErrors(rootDir) {
`${manifestPath}: name must be ${WORKSPACE_NAMES[workspacePath]}, received ${String(manifest.name)}`,
);
}
if (manifest.version !== '0.1.0') {
errors.push(`${manifestPath}: workspace version must be 0.1.0`);
const expectedWorkspaceVersion =
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.1' : '0.1.0';
if (manifest.version !== expectedWorkspaceVersion) {
errors.push(
`${manifestPath}: workspace version must be ${expectedWorkspaceVersion}`,
);
}
for (const nestedLockfile of findNestedLockfiles(rootDir, workspacePath)) {
+2 -1
View File
@@ -78,7 +78,8 @@ function createValidFixture() {
const manifest = {
name: workspaceNames[workspacePath],
private: true,
version: '0.1.0',
version:
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.1' : '0.1.0',
dependencies: localDependencies[workspacePath],
};
writeJson(rootDir, `${workspacePath}/package.json`, manifest);