提升 AGC 版本至 0.1.12
同步 npm、Tauri、Cargo 与锁文件版本 更新 workspace 和 release 版本校验
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@genarrative/ai-game-creator-shell",
|
"name": "@genarrative/ai-game-creator-shell",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.1.11",
|
"version": "0.1.12",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node scripts/start-tauri-dev.mjs",
|
"dev": "node scripts/start-tauri-dev.mjs",
|
||||||
|
|||||||
@@ -1533,12 +1533,12 @@ if (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
tauriConfig.version !== '0.1.11' ||
|
tauriConfig.version !== '0.1.12' ||
|
||||||
packageConfig.version !== '0.1.11' ||
|
packageConfig.version !== '0.1.12' ||
|
||||||
cargoPackageVersion !== '0.1.11'
|
cargoPackageVersion !== '0.1.12'
|
||||||
) {
|
) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'AI game creator standard release must remain version 0.1.11',
|
'AI game creator standard release must remain version 0.1.12',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1695,7 +1695,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "genarrative-ai-game-creator-shell"
|
name = "genarrative-ai-game-creator-shell"
|
||||||
version = "0.1.11"
|
version = "0.1.12"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"agent-runtime-core",
|
"agent-runtime-core",
|
||||||
"axum",
|
"axum",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "genarrative-ai-game-creator-shell"
|
name = "genarrative-ai-game-creator-shell"
|
||||||
version = "0.1.11"
|
version = "0.1.12"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "Genarrative AI Game Creator",
|
"productName": "Genarrative AI Game Creator",
|
||||||
"version": "0.1.11",
|
"version": "0.1.12",
|
||||||
"identifier": "world.genarrative.ai-game-creator",
|
"identifier": "world.genarrative.ai-game-creator",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "npm --prefix ../.. run agc:serve",
|
"beforeDevCommand": "npm --prefix ../.. run agc:serve",
|
||||||
|
|||||||
Generated
+1
-1
@@ -93,7 +93,7 @@
|
|||||||
},
|
},
|
||||||
"apps/ai-game-creator-shell": {
|
"apps/ai-game-creator-shell": {
|
||||||
"name": "@genarrative/ai-game-creator-shell",
|
"name": "@genarrative/ai-game-creator-shell",
|
||||||
"version": "0.1.11",
|
"version": "0.1.12",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cubone/react-file-manager": "^1.35.0",
|
"@cubone/react-file-manager": "^1.35.0",
|
||||||
"@genarrative/image-canvas-core": "0.1.0",
|
"@genarrative/image-canvas-core": "0.1.0",
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export function collectNpmWorkspaceErrors(rootDir) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
const expectedWorkspaceVersion =
|
const expectedWorkspaceVersion =
|
||||||
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.11' : '0.1.0';
|
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.12' : '0.1.0';
|
||||||
if (manifest.version !== expectedWorkspaceVersion) {
|
if (manifest.version !== expectedWorkspaceVersion) {
|
||||||
errors.push(
|
errors.push(
|
||||||
`${manifestPath}: workspace version must be ${expectedWorkspaceVersion}`,
|
`${manifestPath}: workspace version must be ${expectedWorkspaceVersion}`,
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ function createValidFixture() {
|
|||||||
name: workspaceNames[workspacePath],
|
name: workspaceNames[workspacePath],
|
||||||
private: true,
|
private: true,
|
||||||
version:
|
version:
|
||||||
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.11' : '0.1.0',
|
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.12' : '0.1.0',
|
||||||
dependencies: localDependencies[workspacePath],
|
dependencies: localDependencies[workspacePath],
|
||||||
};
|
};
|
||||||
writeJson(rootDir, `${workspacePath}/package.json`, manifest);
|
writeJson(rootDir, `${workspacePath}/package.json`, manifest);
|
||||||
|
|||||||
Reference in New Issue
Block a user